1 |
flameeyes 08/10/28 21:59:31 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pambase-20081028-r1.ebuild pambase-20081028.ebuild |
5 |
Log: |
6 |
Version bump to create the new system-services pam.d file. |
7 |
(Portage version: 2.2_rc12/cvs/Linux 2.6.27-gentoo-r1 x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.56 sys-auth/pambase/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?rev=1.56&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?rev=1.56&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/ChangeLog?r1=1.55&r2=1.56 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v |
19 |
retrieving revision 1.55 |
20 |
retrieving revision 1.56 |
21 |
diff -u -r1.55 -r1.56 |
22 |
--- ChangeLog 29 Sep 2008 05:25:07 -0000 1.55 |
23 |
+++ ChangeLog 28 Oct 2008 21:59:31 -0000 1.56 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for sys-auth/pambase |
26 |
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v 1.55 2008/09/29 05:25:07 flameeyes Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/ChangeLog,v 1.56 2008/10/28 21:59:31 flameeyes Exp $ |
29 |
+ |
30 |
+*pambase-20081028-r1 (28 Oct 2008) |
31 |
+*pambase-20081028 (28 Oct 2008) |
32 |
+ |
33 |
+ 28 Oct 2008; Diego Pettenò <flameeyes@g.o> |
34 |
+ +pambase-20081028.ebuild, +pambase-20081028-r1.ebuild: |
35 |
+ Version bump to create the new system-services pam.d file. |
36 |
|
37 |
*pambase-20080801-r1 (29 Sep 2008) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 sys-auth/pambase/pambase-20081028-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/pambase-20081028-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/pambase-20081028-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: pambase-20081028-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2008 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/pambase-20081028-r1.ebuild,v 1.1 2008/10/28 21:59:31 flameeyes Exp $ |
52 |
|
53 |
EAPI=2 |
54 |
|
55 |
inherit eutils |
56 |
|
57 |
DESCRIPTION="PAM base configuration files" |
58 |
HOMEPAGE="http://www.gentoo.org/proj/en/base/pam/" |
59 |
SRC_URI="http://www.flameeyes.eu/gentoo-distfiles/${P}.tar.bz2" |
60 |
|
61 |
LICENSE="GPL-2" |
62 |
SLOT="0" |
63 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
64 |
IUSE="debug cracklib passwdqc consolekit gnome-keyring selinux mktemp ssh +sha512" |
65 |
RESTRICT="binchecks" |
66 |
|
67 |
RDEPEND=" |
68 |
|| ( |
69 |
>=sys-libs/pam-0.99.9.0-r1 |
70 |
( sys-auth/openpam |
71 |
|| ( sys-freebsd/freebsd-pam-modules sys-netbsd/netbsd-pam-modules ) |
72 |
) |
73 |
) |
74 |
cracklib? ( >=sys-libs/pam-0.99[cracklib] ) |
75 |
consolekit? ( sys-auth/consolekit[pam] ) |
76 |
gnome-keyring? ( >=gnome-base/gnome-keyring-2.20[pam] ) |
77 |
selinux? ( >=sys-libs/pam-0.99[selinux] ) |
78 |
passwdqc? ( >=sys-auth/pam_passwdqc-1.0.4 ) |
79 |
mktemp? ( sys-auth/pam_mktemp ) |
80 |
ssh? ( sys-auth/pam_ssh ) |
81 |
sha512? ( >=sys-libs/pam-1.0.1 ) |
82 |
!<sys-freebsd/freebsd-pam-modules-6.2-r1 |
83 |
!<sys-libs/pam-0.99.9.0-r1" |
84 |
DEPEND="" |
85 |
|
86 |
src_compile() { |
87 |
has_version sys-libs/pam && implementation="linux-pam" |
88 |
has_version sys-auth/openpam && implementation="openpam" |
89 |
|
90 |
emake \ |
91 |
GIT=true \ |
92 |
DEBUG=$(use debug && echo yes || echo no) \ |
93 |
CRACKLIB=$(use cracklib && echo yes || echo no) \ |
94 |
PASSWDQC=$(use passwdqc && echo yes || echo no) \ |
95 |
CONSOLEKIT=$(use consolekit && echo yes || echo no) \ |
96 |
GNOME_KEYRING=$(use gnome-keyring && echo yes || echo no) \ |
97 |
SELINUX=$(use selinux && echo yes || echo no) \ |
98 |
MKTEMP=$(use mktemp && echo yes || echo no) \ |
99 |
PAM_SSH=$(use ssh && echo yes || echo no) \ |
100 |
SHA512=$(use sha512 && echo yes || echo no) \ |
101 |
IMPLEMENTATION=${implementation} \ |
102 |
|| die "emake failed" |
103 |
} |
104 |
|
105 |
src_install() { |
106 |
emake GIT=true DESTDIR="${D}" install || die "emake install failed" |
107 |
} |
108 |
|
109 |
pkg_postinst() { |
110 |
if use sha512; then |
111 |
elog "Starting from version 20080801, pambase optionally enables" |
112 |
elog "SHA512-hashed passwords. For this to work, you need sys-libs/pam-1.0.1" |
113 |
elog "built against sys-libs/glibc-2.7 or later." |
114 |
elog "If you don't have support for this, it will automatically fallback" |
115 |
elog "to MD5-hashed passwords, just like before." |
116 |
elog |
117 |
elog "Please note that the change only affects the newly-changed passwords" |
118 |
elog "and that SHA512-hashed passwords will not work on earlier versions" |
119 |
elog "of glibc or Linux-PAM." |
120 |
fi |
121 |
} |
122 |
|
123 |
|
124 |
|
125 |
1.1 sys-auth/pambase/pambase-20081028.ebuild |
126 |
|
127 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/pambase-20081028.ebuild?rev=1.1&view=markup |
128 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-auth/pambase/pambase-20081028.ebuild?rev=1.1&content-type=text/plain |
129 |
|
130 |
Index: pambase-20081028.ebuild |
131 |
=================================================================== |
132 |
# Copyright 1999-2008 Gentoo Foundation |
133 |
# Distributed under the terms of the GNU General Public License v2 |
134 |
# $Header: /var/cvsroot/gentoo-x86/sys-auth/pambase/pambase-20081028.ebuild,v 1.1 2008/10/28 21:59:31 flameeyes Exp $ |
135 |
|
136 |
EAPI=1 |
137 |
|
138 |
inherit eutils |
139 |
|
140 |
DESCRIPTION="PAM base configuration files" |
141 |
HOMEPAGE="http://www.gentoo.org/proj/en/base/pam/" |
142 |
SRC_URI="http://www.flameeyes.eu/gentoo-distfiles/${P}.tar.bz2" |
143 |
|
144 |
LICENSE="GPL-2" |
145 |
SLOT="0" |
146 |
KEYWORDS="~alpha ~amd64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~sparc-fbsd ~x86 ~x86-fbsd" |
147 |
IUSE="debug cracklib passwdqc consolekit gnome-keyring selinux mktemp ssh +sha512" |
148 |
RESTRICT="binchecks" |
149 |
|
150 |
RDEPEND=" |
151 |
|| ( |
152 |
>=sys-libs/pam-0.99.9.0-r1 |
153 |
( sys-auth/openpam |
154 |
|| ( sys-freebsd/freebsd-pam-modules sys-netbsd/netbsd-pam-modules ) |
155 |
) |
156 |
) |
157 |
cracklib? ( >=sys-libs/pam-0.99 ) |
158 |
consolekit? ( sys-auth/consolekit ) |
159 |
gnome-keyring? ( >=gnome-base/gnome-keyring-2.20 ) |
160 |
selinux? ( >=sys-libs/pam-0.99 ) |
161 |
passwdqc? ( >=sys-auth/pam_passwdqc-1.0.4 ) |
162 |
mktemp? ( sys-auth/pam_mktemp ) |
163 |
ssh? ( sys-auth/pam_ssh ) |
164 |
sha512? ( >=sys-libs/pam-1.0.1 ) |
165 |
!<sys-freebsd/freebsd-pam-modules-6.2-r1 |
166 |
!<sys-libs/pam-0.99.9.0-r1" |
167 |
DEPEND="" |
168 |
|
169 |
pkg_setup() { |
170 |
if use cracklib && ! built_with_use sys-libs/pam cracklib; then |
171 |
eerror "To enable cracklib support in the main PAM configuration" |
172 |
eerror "you need to enable cracklib USE flag on sys-libs/pam" |
173 |
eerror "first." |
174 |
die "Missing pam_cracklib" |
175 |
fi |
176 |
|
177 |
if use selinux && ! built_with_use sys-libs/pam selinux; then |
178 |
eerror "To enable selinux support in the main PAM configuration" |
179 |
eerror "you need to enable selinux USE flag on sys-libs/pam" |
180 |
eerror "first." |
181 |
die "Missing pam_selinux" |
182 |
fi |
183 |
|
184 |
if use consolekit && ! built_with_use sys-auth/consolekit pam; then |
185 |
eerror "To enable ConsoleKit support in the main PAM configuration" |
186 |
eerror "you need to enable pam USE flag on sys-auth/consolekit" |
187 |
eerror "first." |
188 |
die "Missing pam_ck_connector" |
189 |
fi |
190 |
|
191 |
if use gnome-keyring && ! built_with_use gnome-base/gnome-keyring pam; then |
192 |
eerror "To enable GNOME Keyring support in the main PAM configuration" |
193 |
eerror "you need to enable pam USE flag on gnome-base/gnome-keyring" |
194 |
eerror "first." |
195 |
die "Missing pam_gnome_keyring" |
196 |
fi |
197 |
} |
198 |
|
199 |
src_compile() { |
200 |
has_version sys-libs/pam && implementation="linux-pam" |
201 |
has_version sys-auth/openpam && implementation="openpam" |
202 |
|
203 |
emake \ |
204 |
GIT=true \ |
205 |
DEBUG=$(use debug && echo yes || echo no) \ |
206 |
CRACKLIB=$(use cracklib && echo yes || echo no) \ |
207 |
PASSWDQC=$(use passwdqc && echo yes || echo no) \ |
208 |
CONSOLEKIT=$(use consolekit && echo yes || echo no) \ |
209 |
GNOME_KEYRING=$(use gnome-keyring && echo yes || echo no) \ |
210 |
SELINUX=$(use selinux && echo yes || echo no) \ |
211 |
MKTEMP=$(use mktemp && echo yes || echo no) \ |
212 |
PAM_SSH=$(use ssh && echo yes || echo no) \ |
213 |
SHA512=$(use sha512 && echo yes || echo no) \ |
214 |
IMPLEMENTATION=${implementation} \ |
215 |
|| die "emake failed" |
216 |
} |
217 |
|
218 |
src_install() { |
219 |
emake GIT=true DESTDIR="${D}" install || die "emake install failed" |
220 |
} |
221 |
|
222 |
pkg_postinst() { |
223 |
if use sha512; then |
224 |
elog "Starting from version 20080801, pambase optionally enables" |
225 |
elog "SHA512-hashed passwords. For this to work, you need sys-libs/pam-1.0.1" |
226 |
elog "built against sys-libs/glibc-2.7 or later." |
227 |
elog "If you don't have support for this, it will automatically fallback" |
228 |
elog "to MD5-hashed passwords, just like before." |
229 |
elog |
230 |
elog "Please note that the change only affects the newly-changed passwords" |
231 |
elog "and that SHA512-hashed passwords will not work on earlier versions" |
232 |
elog "of glibc or Linux-PAM." |
233 |
fi |
234 |
} |