summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDiego Elio Pettenò <flameeyes@gentoo.org>2007-07-10 13:49:07 +0000
committerDiego Elio Pettenò <flameeyes@gentoo.org>2007-07-10 13:49:07 +0000
commiteae2b769ace9847a6ba9d556a6a905a89e316bc9 (patch)
treeff4df271ea00601b08b2742781d90509a9b17a33 /sys-libs/pam/pam-0.78-r3.ebuild
parentFix vulnerability reported in bug 184815. Thank mu-b <mu-b AT digit-labs.org>... (diff)
downloadhistorical-eae2b769ace9847a6ba9d556a6a905a89e316bc9.tar.gz
historical-eae2b769ace9847a6ba9d556a6a905a89e316bc9.tar.bz2
historical-eae2b769ace9847a6ba9d556a6a905a89e316bc9.zip
Reduce the pamd installation code, remove two directories too.
Package-Manager: portage-2.1.3_rc7
Diffstat (limited to 'sys-libs/pam/pam-0.78-r3.ebuild')
-rw-r--r--sys-libs/pam/pam-0.78-r3.ebuild9
1 files changed, 4 insertions, 5 deletions
diff --git a/sys-libs/pam/pam-0.78-r3.ebuild b/sys-libs/pam/pam-0.78-r3.ebuild
index 470f69476b1e..561267c2e716 100644
--- a/sys-libs/pam/pam-0.78-r3.ebuild
+++ b/sys-libs/pam/pam-0.78-r3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.78-r3.ebuild,v 1.7 2007/01/23 07:16:48 flameeyes Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.78-r3.ebuild,v 1.8 2007/07/10 13:49:07 flameeyes Exp $
FORCE_SYSTEMAUTH_UPDATE="no"
@@ -328,13 +328,12 @@ src_install() {
# need this for pam_console
keepdir /var/run/console
- for x in ${FILESDIR}/pam.d/*; do
- [[ -f ${x} ]] && dopamd ${x}
- done
+ newpamd "${FILESDIR}/system-auth.pamd.0.78" system-auth
+ newpamd "${FILESDIR}/other.pamd" other
# Only add this one if needed.
if [[ ${FORCE_SYSTEMAUTH_UPDATE} = "yes" ]] ; then
- newpamd ${FILESDIR}/pam.d/system-auth system-auth.new || \
+ newpamd "${FILESDIR}/system-auth.pamd.0.78" system-auth.new || \
die "Failed to install system-auth.new!"
fi