summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'sys-libs/pam/pam-0.75-r11.ebuild')
-rw-r--r--sys-libs/pam/pam-0.75-r11.ebuild11
1 files changed, 8 insertions, 3 deletions
diff --git a/sys-libs/pam/pam-0.75-r11.ebuild b/sys-libs/pam/pam-0.75-r11.ebuild
index f922b8332596..572ba7d23340 100644
--- a/sys-libs/pam/pam-0.75-r11.ebuild
+++ b/sys-libs/pam/pam-0.75-r11.ebuild
@@ -1,11 +1,13 @@
# Copyright 1999-2003 Gentoo Technologies, Inc.
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r11.ebuild,v 1.20 2003/10/08 06:27:59 pappy Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-libs/pam/pam-0.75-r11.ebuild,v 1.21 2003/10/29 04:01:01 pebenito Exp $
-IUSE="berkdb"
+IUSE="berkdb selinux"
PATCH_LEVEL=""
+SELINUX_PATCH="pam-0.75-selinux.diff.bz2"
+
S="${WORKDIR}/Linux-PAM-${PV}"
S2="${WORKDIR}/pam"
DESCRIPTION="Pluggable Authentication Modules"
@@ -23,7 +25,8 @@ DEPEND=">=sys-libs/cracklib-2.7-r3
>=sys-devel/autoconf-2.5
>=sys-devel/automake-1.6
>=sys-devel/flex-2.5.4a-r5
- berkdb? ( >=sys-libs/db-3.2.9 )"
+ berkdb? ( >=sys-libs/db-3.2.9 )
+ selinux? ( sys-libs/libselinux )"
#inherit needs to be after DEPEND definition to protect RDEPEND
inherit gcc eutils flag-o-matic
@@ -46,6 +49,8 @@ src_unpack() {
fi
done
+ use selinux && epatch ${FILESDIR}/${SELINUX_PATCH}
+
cd ${S}/doc
einfo "Unpacking docs..."
tar -xvzf Linux-PAM-0.75-docs.tar.gz > /dev/null || \