1 |
flameeyes 10/10/30 16:42:45 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: pam-1.1.3.ebuild |
5 |
Removed: pam-1.1.0.ebuild |
6 |
Log: |
7 |
Cleanup old version no longer relevant (and remove four patches); version bump with security fixes (bug #343399), also don't require autotools rebuild any longer since all our patches are merged. |
8 |
|
9 |
(Portage version: 2.2.0_alpha2/cvs/Linux x86_64) |
10 |
|
11 |
Revision Changes Path |
12 |
1.276 sys-libs/pam/ChangeLog |
13 |
|
14 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/pam/ChangeLog?rev=1.276&view=markup |
15 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/pam/ChangeLog?rev=1.276&content-type=text/plain |
16 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/pam/ChangeLog?r1=1.275&r2=1.276 |
17 |
|
18 |
Index: ChangeLog |
19 |
=================================================================== |
20 |
RCS file: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v |
21 |
retrieving revision 1.275 |
22 |
retrieving revision 1.276 |
23 |
diff -u -r1.275 -r1.276 |
24 |
--- ChangeLog 25 Oct 2010 03:01:54 -0000 1.275 |
25 |
+++ ChangeLog 30 Oct 2010 16:42:45 -0000 1.276 |
26 |
@@ -1,6 +1,16 @@ |
27 |
# ChangeLog for sys-libs/pam |
28 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
29 |
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.275 2010/10/25 03:01:54 jer Exp $ |
30 |
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.276 2010/10/30 16:42:45 flameeyes Exp $ |
31 |
+ |
32 |
+*pam-1.1.3 (30 Oct 2010) |
33 |
+ |
34 |
+ 30 Oct 2010; Diego E. Pettenò <flameeyes@g.o> |
35 |
+ -files/Linux-PAM-1.0.2-noyp.patch, -pam-1.1.0.ebuild, |
36 |
+ -files/Linux-PAM-1.1.0-debug.patch, -files/Linux-PAM-1.1.0-nonls.patch, |
37 |
+ -files/Linux-PAM-1.1.0-xcrypt.patch, +pam-1.1.3.ebuild: |
38 |
+ Cleanup old version no longer relevant (and remove four patches); version |
39 |
+ bump with security fixes (bug #343399), also don't require autotools |
40 |
+ rebuild any longer since all our patches are merged. |
41 |
|
42 |
25 Oct 2010; Jeroen Roovers <jer@g.o> pam-1.1.2.ebuild: |
43 |
Stable for HPPA (bug #341121). |
44 |
|
45 |
|
46 |
|
47 |
1.1 sys-libs/pam/pam-1.1.3.ebuild |
48 |
|
49 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/pam/pam-1.1.3.ebuild?rev=1.1&view=markup |
50 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/sys-libs/pam/pam-1.1.3.ebuild?rev=1.1&content-type=text/plain |
51 |
|
52 |
Index: pam-1.1.3.ebuild |
53 |
=================================================================== |
54 |
# Copyright 1999-2010 Gentoo Foundation |
55 |
# Distributed under the terms of the GNU General Public License v2 |
56 |
# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-1.1.3.ebuild,v 1.1 2010/10/30 16:42:45 flameeyes Exp $ |
57 |
|
58 |
EAPI="3" |
59 |
|
60 |
# if you have to re-run autotools, remember to depend on libtool-2 |
61 |
|
62 |
inherit libtool multilib eutils pam toolchain-funcs flag-o-matic db-use |
63 |
|
64 |
MY_PN="Linux-PAM" |
65 |
MY_P="${MY_PN}-${PV}" |
66 |
|
67 |
HOMEPAGE="http://www.kernel.org/pub/linux/libs/pam/" |
68 |
DESCRIPTION="Linux-PAM (Pluggable Authentication Modules)" |
69 |
|
70 |
SRC_URI="mirror://kernel/linux/libs/pam/library/${MY_P}.tar.bz2 |
71 |
mirror://kernel/linux/libs/pam/documentation/${MY_P}-docs.tar.bz2" |
72 |
|
73 |
LICENSE="|| ( BSD GPL-2 )" |
74 |
SLOT="0" |
75 |
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~amd64-linux ~ia64-linux ~x86-linux" |
76 |
IUSE="cracklib nls elibc_FreeBSD selinux vim-syntax audit test elibc_glibc debug berkdb" |
77 |
|
78 |
RDEPEND="nls? ( virtual/libintl ) |
79 |
cracklib? ( >=sys-libs/cracklib-2.8.3 ) |
80 |
audit? ( sys-process/audit ) |
81 |
selinux? ( >=sys-libs/libselinux-1.28 ) |
82 |
berkdb? ( sys-libs/db ) |
83 |
elibc_glibc? ( >=sys-libs/glibc-2.7 )" |
84 |
DEPEND="${RDEPEND} |
85 |
sys-devel/flex |
86 |
nls? ( sys-devel/gettext )" |
87 |
PDEPEND="sys-auth/pambase |
88 |
vim-syntax? ( app-vim/pam-syntax )" |
89 |
RDEPEND="${RDEPEND} |
90 |
!sys-auth/pam_userdb" |
91 |
|
92 |
S="${WORKDIR}/${MY_P}" |
93 |
|
94 |
PROVIDE="virtual/pam" |
95 |
|
96 |
check_old_modules() { |
97 |
local retval="0" |
98 |
|
99 |
if sed -e 's:#.*::' "${EROOT}"/etc/pam.d/* 2>/dev/null | fgrep -q pam_stack.so; then |
100 |
eerror "" |
101 |
eerror "Your current setup is using the pam_stack module." |
102 |
eerror "This module is deprecated and no longer supported, and since version" |
103 |
eerror "0.99 is no longer installed, nor provided by any other package." |
104 |
eerror "The package will be built (to allow binary package builds), but will" |
105 |
eerror "not be installed." |
106 |
eerror "Please replace pam_stack usage with proper include directive usage," |
107 |
eerror "following the PAM Upgrade guide at the following URL" |
108 |
eerror " http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml" |
109 |
eerror "" |
110 |
|
111 |
retval=1 |
112 |
fi |
113 |
|
114 |
if sed -e 's:#.*::' "${EROOT}"/etc/pam.d/* 2>/dev/null | egrep -q 'pam_(pwdb|console)'; then |
115 |
eerror "" |
116 |
eerror "Your current setup is using one or more of the following modules," |
117 |
eerror "that are not built or supported anymore:" |
118 |
eerror "pam_pwdb, pam_console" |
119 |
eerror "If you are in real need for these modules, please contact the maintainers" |
120 |
eerror "of PAM through http://bugs.gentoo.org/ providing information about its" |
121 |
eerror "use cases." |
122 |
eerror "Please also make sure to read the PAM Upgrade guide at the following URL:" |
123 |
eerror " http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml" |
124 |
eerror "" |
125 |
|
126 |
retval=1 |
127 |
fi |
128 |
|
129 |
return $retval |
130 |
} |
131 |
|
132 |
pkg_setup() { |
133 |
check_old_modules |
134 |
} |
135 |
|
136 |
src_prepare() { |
137 |
elibtoolize |
138 |
} |
139 |
|
140 |
src_configure() { |
141 |
local myconf |
142 |
|
143 |
if use hppa || use elibc_FreeBSD; then |
144 |
myconf="${myconf} --disable-pie" |
145 |
fi |
146 |
|
147 |
# Disable automatic detection of libxcrypt; we _don't_ want the |
148 |
# user to link libxcrypt in by default, since we won't track the |
149 |
# dependency and allow to break PAM this way. |
150 |
export ac_cv_header_xcrypt_h=no |
151 |
|
152 |
econf \ |
153 |
--disable-dependency-tracking \ |
154 |
--enable-fast-install \ |
155 |
--libdir="${EPREFIX}"/usr/$(get_libdir) \ |
156 |
--docdir="${EPREFIX}"/usr/share/doc/${PF} \ |
157 |
--htmldir="${EPREFIX}"/usr/share/doc/${PF}/html \ |
158 |
--enable-securedir="${EPREFIX}"/$(get_libdir)/security \ |
159 |
--enable-isadir="${EPREFIX}"/$(get_libdir)/security \ |
160 |
$(use_enable nls) \ |
161 |
$(use_enable selinux) \ |
162 |
$(use_enable cracklib) \ |
163 |
$(use_enable audit) \ |
164 |
$(use_enable debug) \ |
165 |
$(use_enable berkdb db) \ |
166 |
--with-db-uniquename=-$(db_findver sys-libs/db) \ |
167 |
--disable-prelude \ |
168 |
${myconf} |
169 |
} |
170 |
|
171 |
src_compile() { |
172 |
emake sepermitlockdir="${EPREFIX}/var/run/sepermit" || die "emake failed" |
173 |
} |
174 |
|
175 |
src_test() { |
176 |
# explicitly allow parallel-build during testing |
177 |
emake sepermitlockdir="${EPREFIX}/var/run/sepermit" check || die "emake check failed" |
178 |
} |
179 |
|
180 |
src_install() { |
181 |
local lib |
182 |
|
183 |
emake DESTDIR="${D}" install \ |
184 |
sepermitlockdir="${EPREFIX}/var/run/sepermit" || die "make install failed" |
185 |
|
186 |
# Need to be suid |
187 |
fperms u+s /sbin/unix_chkpwd |
188 |
|
189 |
gen_usr_ldscript -a pam pamc pam_misc |
190 |
|
191 |
# create extra symlinks just in case something depends on them... |
192 |
for lib in pam pamc pam_misc; do |
193 |
if ! [[ -f "${ED}"/$(get_libdir)/lib${lib}$(get_libname) ]]; then |
194 |
dosym lib${lib}$(get_libname 0) /$(get_libdir)/lib${lib}$(get_libname) |
195 |
fi |
196 |
done |
197 |
|
198 |
dodoc CHANGELOG ChangeLog README AUTHORS Copyright NEWS || die |
199 |
|
200 |
docinto modules |
201 |
for dir in modules/pam_*; do |
202 |
newdoc "${dir}"/README README."$(basename "${dir}")" |
203 |
done |
204 |
|
205 |
# Get rid of the .la files. We certainly don't need them for PAM |
206 |
# modules, and libpam is installed as a shared object only, so we |
207 |
# don't need them for static linking either. |
208 |
find "${D}" -name '*.la' -delete |
209 |
} |
210 |
|
211 |
pkg_preinst() { |
212 |
check_old_modules || die "deprecated PAM modules still used" |
213 |
} |
214 |
|
215 |
pkg_postinst() { |
216 |
ewarn "Some software with pre-loaded PAM libraries might experience" |
217 |
ewarn "warnings or failures related to missing symbols and/or versions" |
218 |
ewarn "after any update. While unfortunate this is a limit of the" |
219 |
ewarn "implementation of PAM and the software, and it requires you to" |
220 |
ewarn "restart the software manually after the update." |
221 |
ewarn "" |
222 |
ewarn "You can get a list of such software running a command like" |
223 |
ewarn " lsof / | egrep 'DEL.*libpam\\.so'" |
224 |
elog "" |
225 |
elog "Because of a bug present up to version 1.1.1-r2, you might have" |
226 |
elog "an executable /var/log/tallylog file. If it is so, you can safely" |
227 |
elog "correct it by running the command" |
228 |
elog " chmod -x /var/log/tallylog" |
229 |
elog "" |
230 |
} |