commit:     d5b84c6f84f2b394a6f0379df03e697540b5d554
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Wed Mar  2 12:24:56 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Wed Mar  2 12:26:15 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5b84c6f

sys-auth/pam_blue: treeclean

Closes: https://bugs.gentoo.org/830448
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 profiles/package.mask                              |  7 ---
 sys-auth/pam_blue/Manifest                         |  1 -
 .../pam_blue/files/pam_blue-0.9.0-bad-log.patch    | 11 -----
 .../files/pam_blue-0.9.0-char-locales.patch        | 17 -------
 sys-auth/pam_blue/metadata.xml                     | 13 -----
 sys-auth/pam_blue/pam_blue-0.9.0-r1.ebuild         | 55 ----------------------
 6 files changed, 104 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 1da8be3a6c49..7c818c369d50 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -229,13 +229,6 @@ dev-python/python-slip
 # This is likely to cause issues in tests; Unmask if using for other purposes
 >=dev-php/PHP_Timer-5.0
 
-# Florian Schmaus <[email protected]> (2022-01-02)
-# Unmaintained, upstream gone, only packaged by
-# Gentoo, and the whole idea to unlock based on
-# bluetooth appears to be insecure. Bug #830448
-# Removal after 2022-03-01.
-sys-auth/pam_blue
-
 # Jonas Stein <[email protected]> (2021-12-24)
 # Alpha version
 =app-editors/ghex-4.0.0_alpha

diff --git a/sys-auth/pam_blue/Manifest b/sys-auth/pam_blue/Manifest
deleted file mode 100644
index 640e704e726a..000000000000
--- a/sys-auth/pam_blue/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST pam_blue-0.9.0.tar.bz2 251688 BLAKE2B 
ab8b56daab325ce837fc93a223067227679609413ef9389a1d6f91fb0695ed27925d2ce12a5a9a1f2bd5c0cf945646239a59a66d7e34230835b330d0cc59e149
 SHA512 
f611b6e3b509d2b917dd15a82f6fa3219ce554cdbf3bd224981c740bb3161dea67db9275b9bc13cd54644e0cb546eb2bb32dbff7e510170a0911b40d81f2d620

diff --git a/sys-auth/pam_blue/files/pam_blue-0.9.0-bad-log.patch 
b/sys-auth/pam_blue/files/pam_blue-0.9.0-bad-log.patch
deleted file mode 100644
index 5f2a2628e4b0..000000000000
--- a/sys-auth/pam_blue/files/pam_blue-0.9.0-bad-log.patch
+++ /dev/null
@@ -1,11 +0,0 @@
---- a/src/bluepmain.c
-+++ b/src/bluepmain.c
-@@ -88,7 +88,7 @@
- 
-   if ( (lst = parse_rc()) == NULL) { /* something goes wrong (no config file, 
...) */
-     user = NULL;
--    syslog (LOG_ERR, "Can't parse configuration file [%s]!" CONFIG_FILE);
-+    syslog (LOG_ERR, "Can't parse configuration file [%s]!", CONFIG_FILE);
-     return PAM_AUTH_ERR;
-   }
-     

diff --git a/sys-auth/pam_blue/files/pam_blue-0.9.0-char-locales.patch 
b/sys-auth/pam_blue/files/pam_blue-0.9.0-char-locales.patch
deleted file mode 100644
index 40d2810f486c..000000000000
--- a/sys-auth/pam_blue/files/pam_blue-0.9.0-char-locales.patch
+++ /dev/null
@@ -1,17 +0,0 @@
-https://bugs.gentoo.org/412941
-
-fix matching in various locales
-
-patch by Leho Kraav <[email protected]>
-
---- a/src/lexer.l
-+++ b/src/lexer.l
-@@ -28,7 +28,7 @@
- bluemac                   { return BLUEMAC; }
- @                         { return AT;}
- ;                         { return SEMICOLON; }
--[a-zA-Z][a-zA-Z0-9_]*     { yylval.word  = (char *) strdup(yytext); return 
WORD; }
-+[[:alpha:]][[:alnum:]_-]* { yylval.word  = (char *) strdup(yytext); return 
WORD; }
- {HXDIGD}{HXDIGD}{HXDIG}   { yylval.word  = (char *) strdup(yytext); return 
MAC; }
- [0-9][0-9]*               { yylval.value = atoi(yytext);   return DIGIT; }
- =                         { return EQUAL; }

diff --git a/sys-auth/pam_blue/metadata.xml b/sys-auth/pam_blue/metadata.xml
deleted file mode 100644
index 51495135381d..000000000000
--- a/sys-auth/pam_blue/metadata.xml
+++ /dev/null
@@ -1,13 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-  <!-- maintainer-needed -->
-  <longdescription lang="en">
-    Bluepam is an extension for the common pam modules, give the user the
-    ability for authenticaten via a bluetooth compatible device like a cell
-    phone or various other bluetooth dongles (e.g. epox-presenter). Due to the
-    fact that a whole part of the bluetooth stack is implemented in hardware it
-    is relatively difficult to change the bluetoth hardware mac address which
-    makes this module more secure.
-  </longdescription>
-</pkgmetadata>

diff --git a/sys-auth/pam_blue/pam_blue-0.9.0-r1.ebuild 
b/sys-auth/pam_blue/pam_blue-0.9.0-r1.ebuild
deleted file mode 100644
index 5b2e6ba48f06..000000000000
--- a/sys-auth/pam_blue/pam_blue-0.9.0-r1.ebuild
+++ /dev/null
@@ -1,55 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-
-inherit autotools pam
-
-DESCRIPTION="PAM module providing ability to authenticate via a bluetooth 
compatible device"
-HOMEPAGE="http://pam.0xdef.net/";
-SRC_URI="http://pam.0xdef.net/source/${P}.tar.bz2";
-S="${WORKDIR}"/${PN}
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="~amd64 ~x86"
-
-DEPEND="
-       net-wireless/bluez
-       sys-libs/pam
-"
-RDEPEND="${DEPEND}"
-
-PATCHES=(
-       "${FILESDIR}"/${P}-char-locales.patch #412941
-       "${FILESDIR}"/${P}-bad-log.patch
-)
-
-src_prepare() {
-       default
-
-       # bug #778407
-       sed -i "s|-rpath='/lib/security'|-rpath /lib/security|" src/Makefile.am 
|| die
-
-       mv configure.{in,ac} || die
-       eautoreconf
-}
-
-src_configure() {
-       econf --libdir="$(getpam_mod_dir)"
-}
-
-src_install() {
-       # manual install to avoid sandbox violation and installing useless .la 
file
-       dopammod src/.libs/pam_blue.so
-       newpamsecurity . data/sample.conf bluesscan.conf.sample
-
-       dodoc AUTHORS NEWS README ChangeLog
-       doman doc/${PN}.7
-}
-
-pkg_postinst() {
-       elog "For configuration info, see /etc/security/bluesscan.conf.sample"
-       elog "http://pam.0xdef.net/doc.html and http://pam.0xdef.net/faq.html";
-       elog "Edit the file as required and copy/rename to bluesscan.conf when 
done."
-}

Reply via email to