summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Destuynder <kang@gentoo.org>2005-04-28 13:40:18 +0000
committerGuillaume Destuynder <kang@gentoo.org>2005-04-28 13:40:18 +0000
commit12f4535d6a11af1fff7ec67351b20cb7a3bebdc7 (patch)
treea1ff4182e15371b5c710f4cb75c8744bb147816e /sys-apps/rsbac-admin
parentexaples permissions issue fixed (bug #90002) (diff)
downloadhistorical-12f4535d6a11af1fff7ec67351b20cb7a3bebdc7.tar.gz
historical-12f4535d6a11af1fff7ec67351b20cb7a3bebdc7.tar.bz2
historical-12f4535d6a11af1fff7ec67351b20cb7a3bebdc7.zip
Fixed pam_rsbac installation and added pam USE keyword.
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-apps/rsbac-admin')
-rw-r--r--sys-apps/rsbac-admin/ChangeLog6
-rw-r--r--sys-apps/rsbac-admin/Manifest4
-rw-r--r--sys-apps/rsbac-admin/rsbac-admin-1.2.4.ebuild17
3 files changed, 17 insertions, 10 deletions
diff --git a/sys-apps/rsbac-admin/ChangeLog b/sys-apps/rsbac-admin/ChangeLog
index 8ddb42129037..6baa38d8d854 100644
--- a/sys-apps/rsbac-admin/ChangeLog
+++ b/sys-apps/rsbac-admin/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for sys-apps/rsbac-admin
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/ChangeLog,v 1.15 2005/04/04 16:32:35 kang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/ChangeLog,v 1.16 2005/04/28 13:40:18 kang Exp $
+
+ 28 Apr 2005; Guillaume Destuynder <kang@gentoo.org>
+ rsbac-admin-1.2.4.ebuild:
+ Fixed pam_rsbac installation and added pam USE keyword
04 Apr 2005; Guillaume Destuynder <kang@gentoo.org>
rsbac-admin-1.2.4.ebuild:
diff --git a/sys-apps/rsbac-admin/Manifest b/sys-apps/rsbac-admin/Manifest
index 46365e85058a..c9cb33c5e583 100644
--- a/sys-apps/rsbac-admin/Manifest
+++ b/sys-apps/rsbac-admin/Manifest
@@ -1,6 +1,6 @@
MD5 6b79594e93eecd76a98fd248d9eb3ad8 rsbac-admin-1.2.3.ebuild 2229
-MD5 3c0e6b6b8637f9cbe24bf24bc05e6a43 rsbac-admin-1.2.4.ebuild 2702
-MD5 6ee90dab7c46078e003c490940675bd0 ChangeLog 2674
+MD5 23b9e101aaa9c85ee801c130bb1f58c0 rsbac-admin-1.2.4.ebuild 2760
+MD5 11d7368304c1c6a8a88a560d6adba833 ChangeLog 2814
MD5 035ff78da2388cc0585f93ef2247332d metadata.xml 161
MD5 0ebfdd628334dbf801142d2a5cd832c1 files/nsswitch.conf 469
MD5 5bba238d756a6695447f1bb0264a01a3 files/rklogd.init 1014
diff --git a/sys-apps/rsbac-admin/rsbac-admin-1.2.4.ebuild b/sys-apps/rsbac-admin/rsbac-admin-1.2.4.ebuild
index 97dce5fed771..0410ca0271a6 100644
--- a/sys-apps/rsbac-admin/rsbac-admin-1.2.4.ebuild
+++ b/sys-apps/rsbac-admin/rsbac-admin-1.2.4.ebuild
@@ -1,10 +1,10 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/rsbac-admin-1.2.4.ebuild,v 1.4 2005/04/04 16:32:35 kang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/rsbac-admin-1.2.4.ebuild,v 1.5 2005/04/28 13:40:18 kang Exp $
inherit eutils
-IUSE="debug"
+IUSE="debug pam"
# RSBAC Adming packet name
ADMIN=rsbac-admin-v${PV}
@@ -19,7 +19,7 @@ KEYWORDS="x86"
NSS="1.2.4"
DEPEND="dev-util/dialog
- sys-libs/pam
+ pam? sys-libs/pam
sys-apps/baselayout
|| ( >=sys-kernel/rsbac-sources-2.4.29-r1
>=sys-kernel/rsbac-dev-sources-2.6.10-r3 )"
@@ -47,7 +47,9 @@ src_compile() {
LD="../../src/librsbac.so.$NSS" econf || die "cannot conf nss_rsbac"
cd ${WORKDIR}/${ADMIN}
emake -C contrib/nss_rsbac || die "cannot make nss_rsbac"
- emake -C contrib/pam_rsbac || die "cannot make pam_rsbac"
+ use pam && {
+ emake -C contrib/pam_rsbac || die "cannot make pam_rsbac"
+ }
if use debug; then
emake -C contrib/regression || die "cannot make regression"
fi
@@ -66,9 +68,10 @@ src_install() {
newins ${FILESDIR}/rsbac.conf rsbac.conf ${FILESDIR}/nsswitch.conf
exeinto /etc/init.d
newinitd ${FILESDIR}/rklogd.init rklogd
- insinto /lib/security
- newins ${WORKDIR}/${ADMIN}/contrib/pam_rsbac/pam_rsbac.so
-
+ use pam && {
+ insinto /lib/security
+ newins ${WORKDIR}/${ADMIN}/contrib/pam_rsbac/pam_rsbac.so pam_rsbac.so
+ }
dodir /secoff
keepdir /secoff
dodir /secoff/log