Gentoo Archives: gentoo-commits

From: Pacho Ramos <pacho@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pambase/
Date: Sun, 23 Sep 2018 16:46:33
Message-Id: 1537721181.0e56e1b8697c635a2f534bb0375fc5383ba610f3.pacho@gentoo
1 commit: 0e56e1b8697c635a2f534bb0375fc5383ba610f3
2 Author: Pacho Ramos <pacho <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 23 16:46:10 2018 +0000
4 Commit: Pacho Ramos <pacho <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 23 16:46:21 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0e56e1b8
7
8 sys-auth/pambase: Drop old
9
10 Package-Manager: Portage-2.3.49, Repoman-2.3.11
11
12 sys-auth/pambase/Manifest | 2 -
13 sys-auth/pambase/pambase-20101024-r2.ebuild | 4 +-
14 sys-auth/pambase/pambase-20120417-r3.ebuild | 112 ----------------------------
15 sys-auth/pambase/pambase-20140313.ebuild | 93 -----------------------
16 sys-auth/pambase/pambase-20150213.ebuild | 99 ------------------------
17 5 files changed, 2 insertions(+), 308 deletions(-)
18
19 diff --git a/sys-auth/pambase/Manifest b/sys-auth/pambase/Manifest
20 index 26671861bf6..27db15c99a5 100644
21 --- a/sys-auth/pambase/Manifest
22 +++ b/sys-auth/pambase/Manifest
23 @@ -1,4 +1,2 @@
24 DIST pambase-20101024.tar.bz2 3201 BLAKE2B 714da8dd0b354cee29ad175a0ed2094fba8f3bfb5839319a515ed133991eb224ae280928177dcb0524f52193f44a68064a2413ae47d380472bc7b5da0b13f1bf SHA512 8d2a89b38d94d2e423a033ea6922c0a0039a0fb64d60c05991d877b4fa893954723fe1c1763f3f67ed6fbc3639282a4ee1d76824f7f29025b6050632a6984b6f
25 -DIST pambase-20120417.tar.bz2 3361 BLAKE2B 6b2799de56deb59cfc50c807700949072e221c2fe8d66fd6fb0150bb636390de51171c3af0c252c878f25d24d367cf53053aebc3cb392a6c06c86c4aafd06c45 SHA512 7a666eb67f6484e536ecb070402036bcfdd137aced27df3f08b136d06eee5c13a6dc14aa93ea09e94c7f31e5a98db97dbaccd0c46af24b57028247de3a7cd9fe
26 -DIST pambase-20140313.tar.bz2 3417 BLAKE2B cb18ba77b18e6bf5fc9a902370c4f6db96046f96f38131c33842c01903b683b4c7b69edd3976102fe85bb54fef00f56544a64d0402c0c1cc368ecc6ea30fbefd SHA512 76dd2a70947dac9573d47b81764ebe4f829bfd38d59c007e698a52c70757fa88525f510c14a1f474c58e3d33cb421ff61aa4ed1aae54497456004eff7494bfc8
27 DIST pambase-20150213.tar.xz 3480 BLAKE2B 7c59774bb8888fd2c4656264f1d8ea8cdd5ffffff4dc5d03091592726c8bd7775ba1573091c8616aa891298a1fe309b19885b5ec21efb45fe38900b7c959aaf5 SHA512 3b49dd3f06a0942fcced95527f62cbc4ff723c48dc896a0b57ecd19736d2892db974c782be3fe24e8e6e17294869a772ae9ee6118af96dfdc7a3a6561dc3f3e5
28
29 diff --git a/sys-auth/pambase/pambase-20101024-r2.ebuild b/sys-auth/pambase/pambase-20101024-r2.ebuild
30 index 3f6d40cbdfe..08c9ebacb43 100644
31 --- a/sys-auth/pambase/pambase-20101024-r2.ebuild
32 +++ b/sys-auth/pambase/pambase-20101024-r2.ebuild
33 @@ -1,4 +1,4 @@
34 -# Copyright 1999-2018 Gentoo Foundation
35 +# Copyright 1999-2018 Gentoo Authors
36 # Distributed under the terms of the GNU General Public License v2
37
38 EAPI=4
39 @@ -11,7 +11,7 @@ SRC_URI="https://dev.gentoo.org/~flameeyes/${PN}/${P}.tar.bz2"
40
41 LICENSE="GPL-2"
42 SLOT="0"
43 -KEYWORDS="alpha amd64 arm hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 ~amd64-fbsd ~x86-fbsd ~amd64-linux ~x86-linux"
44 +KEYWORDS="~amd64-fbsd ~x86-fbsd"
45 IUSE="debug +cracklib passwdqc consolekit gnome-keyring selinux mktemp pam_ssh +sha512 pam_krb5 minimal"
46 RESTRICT="binchecks"
47
48
49 diff --git a/sys-auth/pambase/pambase-20120417-r3.ebuild b/sys-auth/pambase/pambase-20120417-r3.ebuild
50 deleted file mode 100644
51 index 422c3d40da1..00000000000
52 --- a/sys-auth/pambase/pambase-20120417-r3.ebuild
53 +++ /dev/null
54 @@ -1,112 +0,0 @@
55 -# Copyright 1999-2018 Gentoo Foundation
56 -# Distributed under the terms of the GNU General Public License v2
57 -
58 -EAPI=5
59 -inherit eutils
60 -
61 -DESCRIPTION="PAM base configuration files"
62 -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:PAM"
63 -SRC_URI="https://dev.gentoo.org/~flameeyes/${PN}/${P}.tar.bz2
64 - https://dev.gentoo.org/~phajdan.jr/${PN}/${P}.tar.bz2"
65 -
66 -LICENSE="GPL-2"
67 -SLOT="0"
68 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 -x86-fbsd ~amd64-linux ~x86-linux"
69 -IUSE="consolekit +cracklib debug gnome-keyring minimal mktemp pam_krb5 pam_ssh passwdqc selinux +sha512 systemd"
70 -
71 -RESTRICT=binchecks
72 -
73 -MIN_PAM_REQ=1.1.3
74 -
75 -RDEPEND="
76 - || (
77 - >=sys-libs/pam-${MIN_PAM_REQ}
78 - ( sys-auth/openpam sys-freebsd/freebsd-pam-modules )
79 - )
80 - consolekit? ( >=sys-auth/consolekit-0.4.5_p2012[pam] )
81 - cracklib? ( >=sys-libs/pam-${MIN_PAM_REQ}[cracklib] )
82 - gnome-keyring? ( >=gnome-base/gnome-keyring-2.32[pam] )
83 - mktemp? ( sys-auth/pam_mktemp )
84 - pam_krb5? (
85 - || ( >=sys-libs/pam-${MIN_PAM_REQ} sys-auth/openpam )
86 - >=sys-auth/pam_krb5-4.3
87 - )
88 - pam_ssh? ( sys-auth/pam_ssh )
89 - passwdqc? ( >=sys-auth/pam_passwdqc-1.0.4 )
90 - selinux? ( >=sys-libs/pam-${MIN_PAM_REQ}[selinux] )
91 - sha512? ( >=sys-libs/pam-${MIN_PAM_REQ} )
92 - systemd? ( >=sys-apps/systemd-44-r1[pam] )
93 - !<sys-apps/shadow-4.1.5-r1
94 - !<sys-freebsd/freebsd-pam-modules-6.2-r1
95 - !<sys-libs/pam-0.99.9.0-r1"
96 -DEPEND="app-portage/portage-utils"
97 -
98 -src_prepare() {
99 - epatch "${FILESDIR}"/${P}-systemd.patch
100 - epatch "${FILESDIR}"/${P}-lastlog-silent.patch
101 - epatch "${FILESDIR}"/${P}-systemd-auth.patch # 485470
102 -}
103 -
104 -src_compile() {
105 - local implementation=
106 - local linux_pam_version=
107 - if has_version sys-libs/pam; then
108 - implementation=linux-pam
109 - local ver_str=$(qatom `best_version sys-libs/pam` | cut -d ' ' -f 3)
110 - linux_pam_version=$(printf "0x%02x%02x%02x" ${ver_str//\./ })
111 - elif has_version sys-auth/openpam; then
112 - implementation=openpam
113 - else
114 - die "PAM implementation not identified"
115 - fi
116 -
117 - use_var() {
118 - local varname=$(echo $1 | tr [a-z] [A-Z])
119 - local usename=${2-$(echo $1 | tr [A-Z] [a-z])}
120 - local varvalue=$(usex $usename)
121 - echo "${varname}=${varvalue}"
122 - }
123 -
124 - emake \
125 - GIT=true \
126 - $(use_var debug) \
127 - $(use_var cracklib) \
128 - $(use_var passwdqc) \
129 - $(use_var consolekit) \
130 - $(use_var systemd) \
131 - $(use_var GNOME_KEYRING gnome-keyring) \
132 - $(use_var selinux) \
133 - $(use_var mktemp) \
134 - $(use_var PAM_SSH pam_ssh) \
135 - $(use_var sha512) \
136 - $(use_var KRB5 pam_krb5) \
137 - $(use_var minimal) \
138 - IMPLEMENTATION=${implementation} \
139 - LINUX_PAM_VERSION=${linux_pam_version}
140 -}
141 -
142 -src_test() { :; }
143 -
144 -src_install() {
145 - emake GIT=true DESTDIR="${ED}" install
146 -}
147 -
148 -pkg_postinst() {
149 - if use sha512; then
150 - elog "Starting from version 20080801, pambase optionally enables"
151 - elog "SHA512-hashed passwords. For this to work, you need sys-libs/pam-1.0.1"
152 - elog "built against sys-libs/glibc-2.7 or later."
153 - elog "If you don't have support for this, it will automatically fallback"
154 - elog "to MD5-hashed passwords, just like before."
155 - elog
156 - elog "Please note that the change only affects the newly-changed passwords"
157 - elog "and that SHA512-hashed passwords will not work on earlier versions"
158 - elog "of glibc or Linux-PAM."
159 - fi
160 -
161 - if use systemd && use consolekit; then
162 - ewarn "You are enabling 2 session trackers, ConsoleKit and systemd-logind"
163 - ewarn "at the same time. This is not recommended setup to have, please"
164 - ewarn "consider disabling either USE=\"consolekit\" or USE=\"systemd\."
165 - fi
166 -}
167
168 diff --git a/sys-auth/pambase/pambase-20140313.ebuild b/sys-auth/pambase/pambase-20140313.ebuild
169 deleted file mode 100644
170 index cc094090145..00000000000
171 --- a/sys-auth/pambase/pambase-20140313.ebuild
172 +++ /dev/null
173 @@ -1,93 +0,0 @@
174 -# Copyright 1999-2018 Gentoo Foundation
175 -# Distributed under the terms of the GNU General Public License v2
176 -
177 -EAPI=5
178 -inherit eutils
179 -
180 -DESCRIPTION="PAM base configuration files"
181 -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:PAM"
182 -SRC_URI="https://dev.gentoo.org/~ssuominen/${P}.tar.bz2"
183 -
184 -LICENSE="GPL-2"
185 -SLOT="0"
186 -KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 -x86-fbsd ~amd64-linux ~x86-linux"
187 -IUSE="consolekit +cracklib debug gnome-keyring minimal mktemp pam_krb5 pam_ssh passwdqc selinux +sha512 systemd"
188 -
189 -RESTRICT=binchecks
190 -
191 -MIN_PAM_REQ=1.1.3
192 -
193 -RDEPEND="
194 - || (
195 - >=sys-libs/pam-${MIN_PAM_REQ}
196 - ( sys-auth/openpam sys-freebsd/freebsd-pam-modules )
197 - )
198 - consolekit? ( >=sys-auth/consolekit-0.4.6[pam] )
199 - cracklib? ( >=sys-libs/pam-${MIN_PAM_REQ}[cracklib] )
200 - gnome-keyring? ( >=gnome-base/gnome-keyring-2.32[pam] )
201 - mktemp? ( sys-auth/pam_mktemp )
202 - pam_krb5? (
203 - || ( >=sys-libs/pam-${MIN_PAM_REQ} sys-auth/openpam )
204 - >=sys-auth/pam_krb5-4.3
205 - )
206 - pam_ssh? ( sys-auth/pam_ssh )
207 - passwdqc? ( >=sys-auth/pam_passwdqc-1.0.4 )
208 - selinux? ( >=sys-libs/pam-${MIN_PAM_REQ}[selinux] )
209 - sha512? ( >=sys-libs/pam-${MIN_PAM_REQ} )
210 - systemd? ( >=sys-apps/systemd-204[pam] )
211 - !<sys-apps/shadow-4.1.5-r1
212 - !<sys-freebsd/freebsd-pam-modules-6.2-r1
213 - !<sys-libs/pam-0.99.9.0-r1"
214 -DEPEND="app-portage/portage-utils"
215 -
216 -src_compile() {
217 - local implementation=
218 - local linux_pam_version=
219 - if has_version sys-libs/pam; then
220 - implementation=linux-pam
221 - local ver_str=$(qatom `best_version sys-libs/pam` | cut -d ' ' -f 3)
222 - linux_pam_version=$(printf "0x%02x%02x%02x" ${ver_str//\./ })
223 - elif has_version sys-auth/openpam; then
224 - implementation=openpam
225 - else
226 - die "PAM implementation not identified"
227 - fi
228 -
229 - use_var() {
230 - local varname=$(echo $1 | tr [a-z] [A-Z])
231 - local usename=${2-$(echo $1 | tr [A-Z] [a-z])}
232 - local varvalue=$(usex $usename)
233 - echo "${varname}=${varvalue}"
234 - }
235 -
236 - emake \
237 - GIT=true \
238 - $(use_var debug) \
239 - $(use_var cracklib) \
240 - $(use_var passwdqc) \
241 - $(use_var consolekit) \
242 - $(use_var systemd) \
243 - $(use_var GNOME_KEYRING gnome-keyring) \
244 - $(use_var selinux) \
245 - $(use_var mktemp) \
246 - $(use_var PAM_SSH pam_ssh) \
247 - $(use_var sha512) \
248 - $(use_var KRB5 pam_krb5) \
249 - $(use_var minimal) \
250 - IMPLEMENTATION=${implementation} \
251 - LINUX_PAM_VERSION=${linux_pam_version}
252 -}
253 -
254 -src_test() { :; }
255 -
256 -src_install() {
257 - emake GIT=true DESTDIR="${ED}" install
258 -}
259 -
260 -pkg_postinst() {
261 - if use systemd && use consolekit; then
262 - ewarn "You are enabling 2 session trackers, ConsoleKit and systemd-logind"
263 - ewarn "at the same time. This is not recommended setup to have, please"
264 - ewarn "consider disabling either USE=\"consolekit\" or USE=\"systemd\."
265 - fi
266 -}
267
268 diff --git a/sys-auth/pambase/pambase-20150213.ebuild b/sys-auth/pambase/pambase-20150213.ebuild
269 deleted file mode 100644
270 index 8d0468eac7f..00000000000
271 --- a/sys-auth/pambase/pambase-20150213.ebuild
272 +++ /dev/null
273 @@ -1,99 +0,0 @@
274 -# Copyright 1999-2018 Gentoo Foundation
275 -# Distributed under the terms of the GNU General Public License v2
276 -
277 -EAPI=5
278 -inherit eutils
279 -
280 -DESCRIPTION="PAM base configuration files"
281 -HOMEPAGE="https://wiki.gentoo.org/wiki/Project:PAM"
282 -SRC_URI="https://dev.gentoo.org/~vapier/dist/${P}.tar.xz"
283 -
284 -LICENSE="GPL-2"
285 -SLOT="0"
286 -KEYWORDS="alpha amd64 arm arm64 hppa ia64 m68k ~mips ppc ppc64 s390 sh sparc x86 -x86-fbsd ~amd64-linux ~x86-linux"
287 -IUSE="consolekit +cracklib debug gnome-keyring minimal mktemp +nullok pam_krb5 pam_ssh passwdqc securetty selinux +sha512 systemd"
288 -
289 -RESTRICT=binchecks
290 -
291 -MIN_PAM_REQ=1.1.3
292 -
293 -RDEPEND="
294 - || (
295 - >=sys-libs/pam-${MIN_PAM_REQ}
296 - ( sys-auth/openpam sys-freebsd/freebsd-pam-modules )
297 - )
298 - consolekit? ( >=sys-auth/consolekit-0.4.6[pam] )
299 - cracklib? ( sys-libs/pam[cracklib] )
300 - gnome-keyring? ( >=gnome-base/gnome-keyring-2.32[pam] )
301 - mktemp? ( sys-auth/pam_mktemp )
302 - pam_krb5? (
303 - || ( >=sys-libs/pam-${MIN_PAM_REQ} sys-auth/openpam )
304 - >=sys-auth/pam_krb5-4.3
305 - )
306 - pam_ssh? ( sys-auth/pam_ssh )
307 - passwdqc? ( >=sys-auth/pam_passwdqc-1.0.4 )
308 - selinux? ( sys-libs/pam[selinux] )
309 - sha512? ( >=sys-libs/pam-${MIN_PAM_REQ} )
310 - systemd? ( >=sys-apps/systemd-204[pam] )
311 - !<sys-apps/shadow-4.1.5-r1
312 - !<sys-freebsd/freebsd-pam-modules-6.2-r1
313 - !<sys-libs/pam-0.99.9.0-r1"
314 -DEPEND="app-portage/portage-utils
315 - app-arch/xz-utils"
316 -
317 -src_prepare() {
318 - epatch "${FILESDIR}"/${P}-selinux-note.patch #540096
319 -}
320 -
321 -src_compile() {
322 - local implementation linux_pam_version
323 - if has_version sys-libs/pam; then
324 - implementation=linux-pam
325 - local ver_str=$(qatom $(best_version sys-libs/pam) | cut -d ' ' -f 3)
326 - linux_pam_version=$(printf "0x%02x%02x%02x" ${ver_str//\./ })
327 - elif has_version sys-auth/openpam; then
328 - implementation=openpam
329 - else
330 - die "PAM implementation not identified"
331 - fi
332 -
333 - use_var() {
334 - local varname=$(echo "$1" | tr '[:lower:]' '[:upper:]')
335 - local usename=${2-$(echo "$1" | tr '[:upper:]' '[:lower:]')}
336 - local varvalue=$(usex ${usename})
337 - echo "${varname}=${varvalue}"
338 - }
339 -
340 - emake \
341 - GIT=true \
342 - $(use_var debug) \
343 - $(use_var cracklib) \
344 - $(use_var passwdqc) \
345 - $(use_var consolekit) \
346 - $(use_var systemd) \
347 - $(use_var GNOME_KEYRING gnome-keyring) \
348 - $(use_var selinux) \
349 - $(use_var nullok) \
350 - $(use_var mktemp) \
351 - $(use_var pam_ssh) \
352 - $(use_var securetty) \
353 - $(use_var sha512) \
354 - $(use_var KRB5 pam_krb5) \
355 - $(use_var minimal) \
356 - IMPLEMENTATION=${implementation} \
357 - LINUX_PAM_VERSION=${linux_pam_version}
358 -}
359 -
360 -src_test() { :; }
361 -
362 -src_install() {
363 - emake GIT=true DESTDIR="${ED}" install
364 -}
365 -
366 -pkg_postinst() {
367 - if use systemd && use consolekit; then
368 - ewarn "You are enabling 2 session trackers, ConsoleKit and systemd-logind"
369 - ewarn "at the same time. This is not recommended setup to have, please"
370 - ewarn "consider disabling either USE=\"consolekit\" or USE=\"systemd\."
371 - fi
372 -}