1 |
flameeyes 09/06/20 20:50:21 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pambase-20090620.ebuild |
5 |
Log: |
6 |
Bump so to enable pam_tall2 properly when building with Linux-PAM-1.1.0. |
7 |
(Portage version: 2.2_rc33/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.68 sys-auth/pambase/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?rev=1.68&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?rev=1.68&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?r1=1.67&r2=1.68 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v |
19 |
retrieving revision 1.67 |
20 |
retrieving revision 1.68 |
21 |
diff -u -r1.67 -r1.68 |
22 |
--- ChangeLog 15 May 2009 18:54:15 -0000 1.67 |
23 |
+++ ChangeLog 20 Jun 2009 20:50:21 -0000 1.68 |
24 |
@@ -1,6 +1,12 @@ |
25 |
# ChangeLog for sys-auth/pambase |
26 |
# Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v 1.67 2009/05/15 18:54:15 flameeyes Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v 1.68 2009/06/20 20:50:21 flameeyes Exp $ |
29 |
+ |
30 |
+*pambase-20090620 (20 Jun 2009) |
31 |
+ |
32 |
+ 20 Jun 2009; Diego E. Pettenò <flameeyes@g.o> |
33 |
+ +pambase-20090620.ebuild: |
34 |
+ Bump so to enable pam_tall2 properly when building with Linux-PAM-1.1.0. |
35 |
|
36 |
*pambase-20090515 (15 May 2009) |
37 |
|
38 |
|
39 |
|
40 |
|
41 |
1.1 sys-auth/pambase/pambase-20090620.ebuild |
42 |
|
43 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/pambase-20090620.ebuild?rev=1.1&view=markup |
44 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/pambase-20090620.ebuild?rev=1.1&content-type=text/plain |
45 |
|
46 |
Index: pambase-20090620.ebuild |
47 |
=================================================================== |
48 |
# Copyright 1999-2009 Gentoo Foundation |
49 |
# Distributed under the terms of the GNU General Public License v2 |
50 |
# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/pambase-20090620.ebuild,v 1.1 2009/06/20 20:50:21 flameeyes Exp $ |
51 |
|
52 |
EAPI=2 |
53 |
|
54 |
inherit eutils |
55 |
|
56 |
DESCRIPTION="PAM base configuration files" |
57 |
HOMEPAGE="http://www.gentoo.org/proj/en/base/pam/" |
58 |
SRC_URI="http://www.flameeyes.eu/gentoo-distfiles/${P}.tar.bz2" |
59 |
|
60 |
LICENSE="GPL-2" |
61 |
SLOT="0" |
62 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
63 |
IUSE="debug cracklib passwdqc consolekit gnome-keyring selinux mktemp ssh +sha512" |
64 |
RESTRICT="binchecks" |
65 |
|
66 |
RDEPEND=" |
67 |
|| ( |
68 |
>=sys-libs/pam-0.99.9.0-r1 |
69 |
( sys-auth/openpam |
70 |
|| ( sys-freebsd/freebsd-pam-modules sys-netbsd/netbsd-pam-modules ) |
71 |
) |
72 |
) |
73 |
cracklib? ( >=sys-libs/pam-0.99[cracklib] ) |
74 |
consolekit? ( >=sys-auth/consolekit-0.3[pam] ) |
75 |
gnome-keyring? ( >=gnome-base/gnome-keyring-2.20[pam] ) |
76 |
selinux? ( >=sys-libs/pam-0.99[selinux] ) |
77 |
passwdqc? ( >=sys-auth/pam_passwdqc-1.0.4 ) |
78 |
mktemp? ( sys-auth/pam_mktemp ) |
79 |
ssh? ( sys-auth/pam_ssh ) |
80 |
sha512? ( >=sys-libs/pam-1.0.1 ) |
81 |
!<sys-freebsd/freebsd-pam-modules-6.2-r1 |
82 |
!<sys-libs/pam-0.99.9.0-r1" |
83 |
DEPEND="" |
84 |
|
85 |
src_compile() { |
86 |
local implementation= |
87 |
local linux_pam_version= |
88 |
if has_version sys-libs/pam; then |
89 |
implementation="linux-pam" |
90 |
local ver_str=$(qatom `best_version sys-libs/pam` | cut -d ' ' -f 3) |
91 |
linux_pam_version=$(printf "0x%02x%02x%02x" ${ver_str//\./ }) |
92 |
elif has_version sys-auth/openpam; then |
93 |
implementation="openpam" |
94 |
else |
95 |
die "PAM implementation not identified" |
96 |
fi |
97 |
|
98 |
use_var() { |
99 |
local varname=$(echo $1 | tr [a-z] [A-Z]) |
100 |
local usename=${2-$(echo $1 | tr [A-Z] [a-z])} |
101 |
local varvalue=$(use $usename && echo yes || echo no) |
102 |
echo "${varname}=${varvalue}" |
103 |
} |
104 |
|
105 |
emake \ |
106 |
GIT=true \ |
107 |
$(use_var debug) \ |
108 |
$(use_var cracklib) \ |
109 |
$(use_var passwdqc) \ |
110 |
$(use_var consolekit) \ |
111 |
$(use_var GNOME_KEYRING gnome-keyring) \ |
112 |
$(use_var selinux) \ |
113 |
$(use_var mktemp) \ |
114 |
$(use_var PAM_SSH ssh) \ |
115 |
$(use_var sha512) \ |
116 |
IMPLEMENTATION=${implementation} \ |
117 |
LINUX_PAM_VERSION=${linux_pam_version} \ |
118 |
|| die "emake failed" |
119 |
} |
120 |
|
121 |
src_install() { |
122 |
emake GIT=true DESTDIR="${D}" install || die "emake install failed" |
123 |
} |
124 |
|
125 |
pkg_postinst() { |
126 |
if use sha512; then |
127 |
elog "Starting from version 20080801, pambase optionally enables" |
128 |
elog "SHA512-hashed passwords. For this to work, you need sys-libs/pam-1.0.1" |
129 |
elog "built against sys-libs/glibc-2.7 or later." |
130 |
elog "If you don't have support for this, it will automatically fallback" |
131 |
elog "to MD5-hashed passwords, just like before." |
132 |
elog |
133 |
elog "Please note that the change only affects the newly-changed passwords" |
134 |
elog "and that SHA512-hashed passwords will not work on earlier versions" |
135 |
elog "of glibc or Linux-PAM." |
136 |
fi |
137 |
} |