From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from pigeon.gentoo.org ([208.92.234.80] helo=lists.gentoo.org) by finch.gentoo.org with esmtp (Exim 4.60) (envelope-from ) id 1NKyQ4-0004Sv-93 for garchives@archives.gentoo.org; Wed, 16 Dec 2009 18:16:16 +0000 Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id C1C4CE0995; Wed, 16 Dec 2009 18:16:15 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) by pigeon.gentoo.org (Postfix) with ESMTP id 75F41E0995 for ; Wed, 16 Dec 2009 18:16:15 +0000 (UTC) Received: from stork.gentoo.org (stork.gentoo.org [64.127.104.133]) (using TLSv1 with cipher AES256-SHA (256/256 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTP id 1A78667FD1 for ; Wed, 16 Dec 2009 18:16:15 +0000 (UTC) Received: from flameeyes by stork.gentoo.org with local (Exim 4.69) (envelope-from ) id 1NKyQ2-0000cc-Ae for gentoo-commits@lists.gentoo.org; Wed, 16 Dec 2009 18:16:14 +0000 From: "Diego Petteno (flameeyes)" To: gentoo-commits@lists.gentoo.org Reply-To: gentoo-dev@lists.gentoo.org, flameeyes@gentoo.org Subject: [gentoo-commits] gentoo-x86 commit in sys-libs/pam: ChangeLog pam-1.1.1.ebuild X-VCS-Repository: gentoo-x86 X-VCS-Files: ChangeLog pam-1.1.1.ebuild X-VCS-Directories: sys-libs/pam X-VCS-Committer: flameeyes X-VCS-Committer-Name: Diego Petteno Content-Type: text/plain; charset=utf8 Message-Id: Sender: Diego Petteno Date: Wed, 16 Dec 2009 18:16:14 +0000 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: quoted-printable X-Archives-Salt: 73a1dfde-25e5-4485-b678-394af372a20c X-Archives-Hash: d0f333995200667e3e65a84fd7f41823 flameeyes 09/12/16 18:16:14 Modified: ChangeLog Added: pam-1.1.1.ebuild Log: Version bump, some patches were merged in. Caution to uClibc users sinc= e the NIS/YP patch doesn't apply, as upstream changed that code quite a b= it, it should be fixed but be wary anyway. (Portage version: 2.2_rc59/cvs/Linux x86_64) Revision Changes Path 1.251 sys-libs/pam/ChangeLog file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/pam/Chang= eLog?rev=3D1.251&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/pam/Chang= eLog?rev=3D1.251&content-type=3Dtext/plain diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/pam/Chang= eLog?r1=3D1.250&r2=3D1.251 Index: ChangeLog =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D RCS file: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v retrieving revision 1.250 retrieving revision 1.251 diff -u -r1.250 -r1.251 --- ChangeLog 26 Nov 2009 10:11:59 -0000 1.250 +++ ChangeLog 16 Dec 2009 18:16:14 -0000 1.251 @@ -1,6 +1,13 @@ # ChangeLog for sys-libs/pam # Copyright 1999-2009 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.250 2009/1= 1/26 10:11:59 maekke Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.251 2009/1= 2/16 18:16:14 flameeyes Exp $ + +*pam-1.1.1 (16 Dec 2009) + + 16 Dec 2009; Diego E. Petten=C3=B2 +pam-1.1.1.e= build: + Version bump, some patches were merged in. Caution to uClibc users sin= ce + the NIS/YP patch doesn't apply, as upstream changed that code quite a = bit, + it should be fixed but be wary anyway. =20 26 Nov 2009; Markus Meier pam-1.1.0.ebuild: amd64 stable, bug #284087 1.1 sys-libs/pam/pam-1.1.1.ebuild file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/pam/pam-1= .1.1.ebuild?rev=3D1.1&view=3Dmarkup plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/sys-libs/pam/pam-1= .1.1.ebuild?rev=3D1.1&content-type=3Dtext/plain Index: pam-1.1.1.ebuild =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D= =3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D # Copyright 1999-2009 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 # $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-1.1.1.ebuild,v 1.1 20= 09/12/16 18:16:14 flameeyes Exp $ inherit libtool multilib eutils autotools pam toolchain-funcs flag-o-mati= c MY_PN=3D"Linux-PAM" MY_P=3D"${MY_PN}-${PV}" HOMEPAGE=3D"http://www.kernel.org/pub/linux/libs/pam/" DESCRIPTION=3D"Linux-PAM (Pluggable Authentication Modules)" SRC_URI=3D"mirror://kernel/linux/libs/pam/library/${MY_P}.tar.bz2 mirror://kernel/linux/libs/pam/documentation/${MY_P}-docs.tar.bz2" LICENSE=3D"PAM" SLOT=3D"0" KEYWORDS=3D"~alpha ~amd64 ~arm ~hppa ~ia64 ~m68k ~mips ~ppc ~ppc64 ~s390 = ~sh ~sparc ~x86" IUSE=3D"cracklib nls elibc_FreeBSD selinux vim-syntax audit test elibc_gl= ibc debug" RDEPEND=3D"nls? ( virtual/libintl ) cracklib? ( >=3Dsys-libs/cracklib-2.8.3 ) audit? ( sys-process/audit ) selinux? ( >=3Dsys-libs/libselinux-1.28 ) elibc_glibc? ( >=3Dsys-libs/glibc-2.7 )" DEPEND=3D"${RDEPEND} sys-devel/flex nls? ( sys-devel/gettext )" PDEPEND=3D"sys-auth/pambase vim-syntax? ( app-vim/pam-syntax )" S=3D"${WORKDIR}/${MY_P}" PROVIDE=3D"virtual/pam" check_old_modules() { local retval=3D"0" if sed -e 's:#.*::' "${ROOT}"/etc/pam.d/* 2>/dev/null | fgrep -q pam_sta= ck.so; then eerror "" eerror "Your current setup is using the pam_stack module." eerror "This module is deprecated and no longer supported, and since ve= rsion" eerror "0.99 is no longer installed, nor provided by any other package.= " eerror "The package will be built (to allow binary package builds), but= will" eerror "not be installed." eerror "Please replace pam_stack usage with proper include directive us= age," eerror "following the PAM Upgrade guide at the following URL" eerror " http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml" eerror "" ebeep 15 retval=3D1 fi if sed -e 's:#.*::' "${ROOT}"/etc/pam.d/* 2>/dev/null | egrep -q 'pam_(p= wdb|console)'; then eerror "" eerror "Your current setup is using one or more of the following module= s," eerror "that are not built or supported anymore:" eerror "pam_pwdb, pam_console" eerror "If you are in real need for these modules, please contact the m= aintainers" eerror "of PAM through http://bugs.gentoo.org/ providing information ab= out its" eerror "use cases." eerror "Please also make sure to read the PAM Upgrade guide at the foll= owing URL:" eerror " http://www.gentoo.org/proj/en/base/pam/upgrade-0.99.xml" eerror "" ebeep 10 retval=3D1 fi return $retval } pkg_setup() { check_old_modules } src_unpack() { unpack ${A} cd "${S}" # Avoid building xtests during "make all"; note that for what # we're concerned xtests are not even executed, so we should # probably use EXTRA_PROGRAMS. epatch "${FILESDIR}/${MY_PN}-0.99.8.1-xtests.patch" # Remove libtool-2 libtool macros, see bug 261167 rm m4/libtool.m4 m4/lt*.m4 || die "rm libtool macros failed." AT_M4DIR=3D"m4" eautoreconf elibtoolize } src_compile() { local myconf if use hppa || use elibc_FreeBSD; then myconf=3D"${myconf} --disable-pie" fi econf \ --libdir=3D/usr/$(get_libdir) \ --docdir=3D/usr/share/doc/${PF} \ --htmldir=3D/usr/share/doc/${PF}/html \ --enable-securedir=3D/$(get_libdir)/security \ --enable-isadir=3D/$(get_libdir)/security \ $(use_enable nls) \ $(use_enable selinux) \ $(use_enable cracklib) \ $(use_enable audit) \ $(use_enable debug) \ --disable-db \ --disable-dependency-tracking \ --disable-prelude \ ${myconf} || die "econf failed" emake sepermitlockdir=3D"/var/run/sepermit" || die "emake failed" } src_install() { emake DESTDIR=3D"${D}" install \ sepermitlockdir=3D"/var/run/sepermit" || die "make install failed" # Need to be suid fperms u+s /sbin/unix_chkpwd dodir /$(get_libdir) mv "${D}/usr/$(get_libdir)/libpam.so"* "${D}/$(get_libdir)/" mv "${D}/usr/$(get_libdir)/libpamc.so"* "${D}/$(get_libdir)/" mv "${D}/usr/$(get_libdir)/libpam_misc.so"* "${D}/$(get_libdir)/" gen_usr_ldscript libpam.so libpamc.so libpam_misc.so dodoc CHANGELOG ChangeLog README AUTHORS Copyright NEWS || die docinto modules for dir in modules/pam_*; do newdoc "${dir}"/README README."$(basename "${dir}")" done # Remove the wrongly installed manpages rm "${D}"/usr/share/man/man8/pam_userdb.8* use cracklib || rm "${D}"/usr/share/man/man8/pam_cracklib.8* # Get rid of the .la files. We certainly don't need them for PAM # modules, and libpam is installed as a shared object only, so we # don't ned them for static linking either. find "${D}" -name '*.la' -delete } pkg_preinst() { check_old_modules || die "deprecated PAM modules still used" }