Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: sys-auth/pambase/
Date: Fri, 11 Oct 2019 15:29:11
Message-Id: 1570807578.21fec2010fe4bf1e95ab0b63ee06b472d9035dce.mgorny@gentoo
1 commit: 21fec2010fe4bf1e95ab0b63ee06b472d9035dce
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 11 15:26:18 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 11 15:26:18 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=21fec201
7
8 sys-auth/pambase: Remove old fbsd-only version
9
10 Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>
11
12 sys-auth/pambase/Manifest | 1 -
13 sys-auth/pambase/pambase-20101024-r2.ebuild | 94 -----------------------------
14 2 files changed, 95 deletions(-)
15
16 diff --git a/sys-auth/pambase/Manifest b/sys-auth/pambase/Manifest
17 index 35262a7385b..1bdf9ee2a0b 100644
18 --- a/sys-auth/pambase/Manifest
19 +++ b/sys-auth/pambase/Manifest
20 @@ -1,3 +1,2 @@
21 -DIST pambase-20101024.tar.bz2 3201 BLAKE2B 714da8dd0b354cee29ad175a0ed2094fba8f3bfb5839319a515ed133991eb224ae280928177dcb0524f52193f44a68064a2413ae47d380472bc7b5da0b13f1bf SHA512 8d2a89b38d94d2e423a033ea6922c0a0039a0fb64d60c05991d877b4fa893954723fe1c1763f3f67ed6fbc3639282a4ee1d76824f7f29025b6050632a6984b6f
22 DIST pambase-20150213.tar.xz 3480 BLAKE2B 7c59774bb8888fd2c4656264f1d8ea8cdd5ffffff4dc5d03091592726c8bd7775ba1573091c8616aa891298a1fe309b19885b5ec21efb45fe38900b7c959aaf5 SHA512 3b49dd3f06a0942fcced95527f62cbc4ff723c48dc896a0b57ecd19736d2892db974c782be3fe24e8e6e17294869a772ae9ee6118af96dfdc7a3a6561dc3f3e5
23 DIST pambase-20190402.tar.gz 3679 BLAKE2B 992d7bf6b6f74ef22a8808b57dd6faffb6c351eaa8be4172f320031334ca6def698b2cb17005b58ac3c18e89a94012e279b0f27cc2bea5040ae8ddc3233cba2d SHA512 565d64653e9898b9bd231c1461ec0988a19dbc9500ff1417a7197ac75804abeb13ca543121ae4afb29017c1e99073a16137e5c876f43dcc01e2641218760f4ae
24
25 diff --git a/sys-auth/pambase/pambase-20101024-r2.ebuild b/sys-auth/pambase/pambase-20101024-r2.ebuild
26 deleted file mode 100644
27 index 71c40477c57..00000000000
28 --- a/sys-auth/pambase/pambase-20101024-r2.ebuild
29 +++ /dev/null
30 @@ -1,94 +0,0 @@
31 -# Copyright 1999-2019 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=4
35 -
36 -inherit eutils
37 -
38 -DESCRIPTION="PAM base configuration files"
39 -HOMEPAGE="https://github.com/gentoo/pambase"
40 -SRC_URI="https://dev.gentoo.org/~flameeyes/${PN}/${P}.tar.bz2"
41 -
42 -LICENSE="GPL-2"
43 -SLOT="0"
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 -RDEPEND="
49 - || (
50 - >=sys-libs/pam-0.99.9.0-r1
51 - ( sys-auth/openpam sys-freebsd/freebsd-pam-modules )
52 - )
53 - cracklib? ( >=sys-libs/pam-0.99[cracklib] )
54 - consolekit? ( >=sys-auth/consolekit-0.3[pam] )
55 - gnome-keyring? ( >=gnome-base/gnome-keyring-2.20[pam] )
56 - selinux? ( >=sys-libs/pam-0.99[selinux] )
57 - passwdqc? ( >=sys-auth/pam_passwdqc-1.0.4 )
58 - mktemp? ( sys-auth/pam_mktemp )
59 - pam_ssh? ( sys-auth/pam_ssh )
60 - sha512? ( >=sys-libs/pam-1.0.1 )
61 - pam_krb5? (
62 - || ( >=sys-libs/pam-1.1.0 sys-auth/openpam )
63 - >=sys-auth/pam_krb5-4.3
64 - )
65 - !<sys-freebsd/freebsd-pam-modules-6.2-r1
66 - !<sys-libs/pam-0.99.9.0-r1"
67 -DEPEND="app-portage/portage-utils"
68 -
69 -src_compile() {
70 - local implementation=
71 - local linux_pam_version=
72 - if has_version sys-libs/pam; then
73 - implementation="linux-pam"
74 - local ver_str=$(qatom `best_version sys-libs/pam` | cut -d ' ' -f 3)
75 - linux_pam_version=$(printf "0x%02x%02x%02x" ${ver_str//\./ })
76 - elif has_version sys-auth/openpam; then
77 - implementation="openpam"
78 - else
79 - die "PAM implementation not identified"
80 - fi
81 -
82 - use_var() {
83 - local varname=$(echo $1 | tr [a-z] [A-Z])
84 - local usename=${2-$(echo $1 | tr [A-Z] [a-z])}
85 - local varvalue=$(use $usename && echo yes || echo no)
86 - echo "${varname}=${varvalue}"
87 - }
88 -
89 - emake \
90 - GIT=true \
91 - $(use_var debug) \
92 - $(use_var cracklib) \
93 - $(use_var passwdqc) \
94 - $(use_var consolekit) \
95 - $(use_var GNOME_KEYRING gnome-keyring) \
96 - $(use_var selinux) \
97 - $(use_var mktemp) \
98 - $(use_var PAM_SSH pam_ssh) \
99 - $(use_var sha512) \
100 - $(use_var KRB5 pam_krb5) \
101 - $(use_var minimal) \
102 - IMPLEMENTATION=${implementation} \
103 - LINUX_PAM_VERSION=${linux_pam_version}
104 -}
105 -
106 -src_test() { :; }
107 -
108 -src_install() {
109 - emake GIT=true DESTDIR="${ED}" install
110 -}
111 -
112 -pkg_postinst() {
113 - if use sha512; then
114 - elog "Starting from version 20080801, pambase optionally enables"
115 - elog "SHA512-hashed passwords. For this to work, you need sys-libs/pam-1.0.1"
116 - elog "built against sys-libs/glibc-2.7 or later."
117 - elog "If you don't have support for this, it will automatically fallback"
118 - elog "to MD5-hashed passwords, just like before."
119 - elog
120 - elog "Please note that the change only affects the newly-changed passwords"
121 - elog "and that SHA512-hashed passwords will not work on earlier versions"
122 - elog "of glibc or Linux-PAM."
123 - fi
124 -}