Gentoo Archives: gentoo-commits

From: "Jakov Smolić" <jsmolic@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pam_blue/files/, profiles/, sys-auth/pam_blue/
Date: Wed, 02 Mar 2022 12:26:58
Message-Id: 1646223975.d5b84c6f84f2b394a6f0379df03e697540b5d554.jsmolic@gentoo
1 commit: d5b84c6f84f2b394a6f0379df03e697540b5d554
2 Author: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
3 AuthorDate: Wed Mar 2 12:24:56 2022 +0000
4 Commit: Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
5 CommitDate: Wed Mar 2 12:26:15 2022 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5b84c6f
7
8 sys-auth/pam_blue: treeclean
9
10 Closes: https://bugs.gentoo.org/830448
11 Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>
12
13 profiles/package.mask | 7 ---
14 sys-auth/pam_blue/Manifest | 1 -
15 .../pam_blue/files/pam_blue-0.9.0-bad-log.patch | 11 -----
16 .../files/pam_blue-0.9.0-char-locales.patch | 17 -------
17 sys-auth/pam_blue/metadata.xml | 13 -----
18 sys-auth/pam_blue/pam_blue-0.9.0-r1.ebuild | 55 ----------------------
19 6 files changed, 104 deletions(-)
20
21 diff --git a/profiles/package.mask b/profiles/package.mask
22 index 1da8be3a6c49..7c818c369d50 100644
23 --- a/profiles/package.mask
24 +++ b/profiles/package.mask
25 @@ -229,13 +229,6 @@ dev-python/python-slip
26 # This is likely to cause issues in tests; Unmask if using for other purposes
27 >=dev-php/PHP_Timer-5.0
28
29 -# Florian Schmaus <flow@g.o> (2022-01-02)
30 -# Unmaintained, upstream gone, only packaged by
31 -# Gentoo, and the whole idea to unlock based on
32 -# bluetooth appears to be insecure. Bug #830448
33 -# Removal after 2022-03-01.
34 -sys-auth/pam_blue
35 -
36 # Jonas Stein <jstein@g.o> (2021-12-24)
37 # Alpha version
38 =app-editors/ghex-4.0.0_alpha
39
40 diff --git a/sys-auth/pam_blue/Manifest b/sys-auth/pam_blue/Manifest
41 deleted file mode 100644
42 index 640e704e726a..000000000000
43 --- a/sys-auth/pam_blue/Manifest
44 +++ /dev/null
45 @@ -1 +0,0 @@
46 -DIST pam_blue-0.9.0.tar.bz2 251688 BLAKE2B ab8b56daab325ce837fc93a223067227679609413ef9389a1d6f91fb0695ed27925d2ce12a5a9a1f2bd5c0cf945646239a59a66d7e34230835b330d0cc59e149 SHA512 f611b6e3b509d2b917dd15a82f6fa3219ce554cdbf3bd224981c740bb3161dea67db9275b9bc13cd54644e0cb546eb2bb32dbff7e510170a0911b40d81f2d620
47
48 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
49 deleted file mode 100644
50 index 5f2a2628e4b0..000000000000
51 --- a/sys-auth/pam_blue/files/pam_blue-0.9.0-bad-log.patch
52 +++ /dev/null
53 @@ -1,11 +0,0 @@
54 ---- a/src/bluepmain.c
55 -+++ b/src/bluepmain.c
56 -@@ -88,7 +88,7 @@
57 -
58 - if ( (lst = parse_rc()) == NULL) { /* something goes wrong (no config file, ...) */
59 - user = NULL;
60 -- syslog (LOG_ERR, "Can't parse configuration file [%s]!" CONFIG_FILE);
61 -+ syslog (LOG_ERR, "Can't parse configuration file [%s]!", CONFIG_FILE);
62 - return PAM_AUTH_ERR;
63 - }
64 -
65
66 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
67 deleted file mode 100644
68 index 40d2810f486c..000000000000
69 --- a/sys-auth/pam_blue/files/pam_blue-0.9.0-char-locales.patch
70 +++ /dev/null
71 @@ -1,17 +0,0 @@
72 -https://bugs.gentoo.org/412941
73 -
74 -fix matching in various locales
75 -
76 -patch by Leho Kraav <leho@×××××.com>
77 -
78 ---- a/src/lexer.l
79 -+++ b/src/lexer.l
80 -@@ -28,7 +28,7 @@
81 - bluemac { return BLUEMAC; }
82 - @ { return AT;}
83 - ; { return SEMICOLON; }
84 --[a-zA-Z][a-zA-Z0-9_]* { yylval.word = (char *) strdup(yytext); return WORD; }
85 -+[[:alpha:]][[:alnum:]_-]* { yylval.word = (char *) strdup(yytext); return WORD; }
86 - {HXDIGD}{HXDIGD}{HXDIG} { yylval.word = (char *) strdup(yytext); return MAC; }
87 - [0-9][0-9]* { yylval.value = atoi(yytext); return DIGIT; }
88 - = { return EQUAL; }
89
90 diff --git a/sys-auth/pam_blue/metadata.xml b/sys-auth/pam_blue/metadata.xml
91 deleted file mode 100644
92 index 51495135381d..000000000000
93 --- a/sys-auth/pam_blue/metadata.xml
94 +++ /dev/null
95 @@ -1,13 +0,0 @@
96 -<?xml version="1.0" encoding="UTF-8"?>
97 -<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
98 -<pkgmetadata>
99 - <!-- maintainer-needed -->
100 - <longdescription lang="en">
101 - Bluepam is an extension for the common pam modules, give the user the
102 - ability for authenticaten via a bluetooth compatible device like a cell
103 - phone or various other bluetooth dongles (e.g. epox-presenter). Due to the
104 - fact that a whole part of the bluetooth stack is implemented in hardware it
105 - is relatively difficult to change the bluetoth hardware mac address which
106 - makes this module more secure.
107 - </longdescription>
108 -</pkgmetadata>
109
110 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
111 deleted file mode 100644
112 index 5b2e6ba48f06..000000000000
113 --- a/sys-auth/pam_blue/pam_blue-0.9.0-r1.ebuild
114 +++ /dev/null
115 @@ -1,55 +0,0 @@
116 -# Copyright 1999-2021 Gentoo Authors
117 -# Distributed under the terms of the GNU General Public License v2
118 -
119 -EAPI=7
120 -
121 -inherit autotools pam
122 -
123 -DESCRIPTION="PAM module providing ability to authenticate via a bluetooth compatible device"
124 -HOMEPAGE="http://pam.0xdef.net/"
125 -SRC_URI="http://pam.0xdef.net/source/${P}.tar.bz2"
126 -S="${WORKDIR}"/${PN}
127 -
128 -LICENSE="GPL-2"
129 -SLOT="0"
130 -KEYWORDS="~amd64 ~x86"
131 -
132 -DEPEND="
133 - net-wireless/bluez
134 - sys-libs/pam
135 -"
136 -RDEPEND="${DEPEND}"
137 -
138 -PATCHES=(
139 - "${FILESDIR}"/${P}-char-locales.patch #412941
140 - "${FILESDIR}"/${P}-bad-log.patch
141 -)
142 -
143 -src_prepare() {
144 - default
145 -
146 - # bug #778407
147 - sed -i "s|-rpath='/lib/security'|-rpath /lib/security|" src/Makefile.am || die
148 -
149 - mv configure.{in,ac} || die
150 - eautoreconf
151 -}
152 -
153 -src_configure() {
154 - econf --libdir="$(getpam_mod_dir)"
155 -}
156 -
157 -src_install() {
158 - # manual install to avoid sandbox violation and installing useless .la file
159 - dopammod src/.libs/pam_blue.so
160 - newpamsecurity . data/sample.conf bluesscan.conf.sample
161 -
162 - dodoc AUTHORS NEWS README ChangeLog
163 - doman doc/${PN}.7
164 -}
165 -
166 -pkg_postinst() {
167 - elog "For configuration info, see /etc/security/bluesscan.conf.sample"
168 - elog "http://pam.0xdef.net/doc.html and http://pam.0xdef.net/faq.html"
169 - elog "Edit the file as required and copy/rename to bluesscan.conf when done."
170 -}