diff options
author | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-01-01 02:32:51 +0000 |
---|---|---|
committer | Diego Elio Pettenò <flameeyes@gentoo.org> | 2008-01-01 02:32:51 +0000 |
commit | 0dace4974da833488be411dfdb00407dcde9a849 (patch) | |
tree | 134e5012456bd0e5d56f45b81ca309a6218f385e /sys-libs/pam | |
parent | - little more hacking on making these tools work for both 32 and 64 bit ELF f... (diff) | |
download | gentoo-2-0dace4974da833488be411dfdb00407dcde9a849.tar.gz gentoo-2-0dace4974da833488be411dfdb00407dcde9a849.tar.bz2 gentoo-2-0dace4974da833488be411dfdb00407dcde9a849.zip |
Check for /etc/pam.d files in $ROOT, add missing flex build-time dependency. Fixes bug #203929.
(Portage version: 2.1.4_rc13)
Diffstat (limited to 'sys-libs/pam')
-rw-r--r-- | sys-libs/pam/ChangeLog | 8 | ||||
-rw-r--r-- | sys-libs/pam/pam-0.99.9.0.ebuild | 11 |
2 files changed, 12 insertions, 7 deletions
diff --git a/sys-libs/pam/ChangeLog b/sys-libs/pam/ChangeLog index 1997133770a6..9cfa84e75045 100644 --- a/sys-libs/pam/ChangeLog +++ b/sys-libs/pam/ChangeLog @@ -1,6 +1,10 @@ # ChangeLog for sys-libs/pam -# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.188 2007/12/20 15:45:36 flameeyes Exp $ +# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/ChangeLog,v 1.189 2008/01/01 02:32:51 flameeyes Exp $ + + 01 Jan 2008; Diego Pettenò <flameeyes@gentoo.org> pam-0.99.9.0.ebuild: + Check for /etc/pam.d files in $ROOT, add missing flex build-time dependency. + Fixes bug #203929. 20 Dec 2007; Diego Pettenò <flameeyes@gentoo.org> pam-0.78-r5.ebuild: Remove pam_console USE flag so that it's always disabled. diff --git a/sys-libs/pam/pam-0.99.9.0.ebuild b/sys-libs/pam/pam-0.99.9.0.ebuild index 32afe8b94286..121a13b8db66 100644 --- a/sys-libs/pam/pam-0.99.9.0.ebuild +++ b/sys-libs/pam/pam-0.99.9.0.ebuild @@ -1,6 +1,6 @@ -# Copyright 1999-2007 Gentoo Foundation +# Copyright 1999-2008 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 -# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.99.9.0.ebuild,v 1.11 2007/11/24 11:27:34 flameeyes Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.99.9.0.ebuild,v 1.12 2008/01/01 02:32:51 flameeyes Exp $ WANT_AUTOCONF="latest" WANT_AUTOMAKE="latest" @@ -26,6 +26,7 @@ RDEPEND="nls? ( virtual/libintl ) sys-libs/pwdb selinux? ( >=sys-libs/libselinux-1.28 )" DEPEND="${RDEPEND} + sys-devel/flex test? ( elibc_glibc? ( >=sys-libs/glibc-2.4 ) ) nls? ( sys-devel/gettext )" PDEPEND="vim-syntax? ( app-vim/pam-syntax )" @@ -37,7 +38,7 @@ PROVIDE="virtual/pam" check_old_modules() { local retval="0" - if sed -e 's:#.*::' /etc/pam.d/* | fgrep -q pam_stack.so; then + if sed -e 's:#.*::' "${ROOT}"/etc/pam.d/* | fgrep -q pam_stack.so; then eerror "" eerror "Your current setup is using the pam_stack module." eerror "This module is deprecated and no longer supported, and since version" @@ -53,7 +54,7 @@ check_old_modules() { retval=1 fi - if sed -e 's:#.*::' /etc/pam.d/* | egrep -q 'pam_(pwdb|radius|timestamp|console)'; then + if sed -e 's:#.*::' "${ROOT}"/etc/pam.d/* | egrep -q 'pam_(pwdb|radius|timestamp|console)'; then eerror "" eerror "Your current setup is using one or more of the following modules," eerror "that are not built or supported anymore:" @@ -75,7 +76,7 @@ check_old_modules() { # This works only for those modules that are moved to sys-auth/$module, or the # message will be wrong. for module in pam_chroot pam_userdb; do - if sed -e 's:#.*::' /etc/pam.d/* | fgrep -q ${module}.so; then + if sed -e 's:#.*::' "${ROOT}"/etc/pam.d/* | fgrep -q ${module}.so; then ewarn "" ewarn "Your current setup is using the ${module} module." ewarn "Since version 0.99, ${CATEGORY}/${PN} does not provide this module" |