summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Destuynder <kang@gentoo.org>2005-04-04 11:25:06 +0000
committerGuillaume Destuynder <kang@gentoo.org>2005-04-04 11:25:06 +0000
commitd9e9324f128d2b7e86a8d8f5db08406ac1278e2f (patch)
tree57a70ba7c4fe6933b65c0ae9418aaf8ec28f1548 /sys-apps
parent2.22 stable on x86 (diff)
downloadhistorical-d9e9324f128d2b7e86a8d8f5db08406ac1278e2f.tar.gz
historical-d9e9324f128d2b7e86a8d8f5db08406ac1278e2f.tar.bz2
historical-d9e9324f128d2b7e86a8d8f5db08406ac1278e2f.zip
Fixes possible lib error from #87843 and changed enewgroup/enewuser to conform new eclass possibilities;)
Package-Manager: portage-2.0.51.19
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/rsbac-admin/ChangeLog7
-rw-r--r--sys-apps/rsbac-admin/Manifest4
-rw-r--r--sys-apps/rsbac-admin/rsbac-admin-1.2.4.ebuild14
3 files changed, 14 insertions, 11 deletions
diff --git a/sys-apps/rsbac-admin/ChangeLog b/sys-apps/rsbac-admin/ChangeLog
index 8d32bef75170..8e630d55fdc1 100644
--- a/sys-apps/rsbac-admin/ChangeLog
+++ b/sys-apps/rsbac-admin/ChangeLog
@@ -1,6 +1,11 @@
# 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.13 2005/03/21 17:30:04 kang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/ChangeLog,v 1.14 2005/04/04 11:25:06 kang Exp $
+
+ 04 Apr 2005; Guillaume Destuynder <kang@gentoo.org>
+ rsbac-admin-1.2.4.ebuild:
+ Fixes possible lib error from #87843 and changed enewgroup/enewuser to conform
+ new eclass possibilities;)
*rsbac-admin-1.2.4 (21 Mar 2005)
diff --git a/sys-apps/rsbac-admin/Manifest b/sys-apps/rsbac-admin/Manifest
index 1ded44882312..fe170a91c255 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 f7b9c51923f22825b8440d08f5659ea7 rsbac-admin-1.2.4.ebuild 2634
-MD5 2c83c54b6448d1982b0cbb778374c9b4 ChangeLog 2375
+MD5 51b97ebb516204ce11f50823e5e179a7 rsbac-admin-1.2.4.ebuild 2676
+MD5 974b481c37524ba0ddabf09eb3ccbfb3 ChangeLog 2568
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 4a7aa9cf8329..5d6880279b86 100644
--- a/sys-apps/rsbac-admin/rsbac-admin-1.2.4.ebuild
+++ b/sys-apps/rsbac-admin/rsbac-admin-1.2.4.ebuild
@@ -1,6 +1,6 @@
# 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.2 2005/03/21 17:30:04 kang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/rsbac-admin-1.2.4.ebuild,v 1.3 2005/04/04 11:25:06 kang Exp $
inherit eutils
@@ -16,6 +16,7 @@ SRC_URI="http://rsbac.org/download/code/v${PV}/rsbac-admin-v${PV}.tar.bz2"
SLOT="0"
LICENSE="GPL-2"
KEYWORDS="x86"
+NSS="1.2.4"
DEPEND="dev-util/dialog
sys-libs/pam
@@ -42,6 +43,8 @@ src_compile() {
a RSBAC-enabled kernel ? Please check the documentation at:
http://hardened.gentoo.org/rsbac"
emake -C contrib/rsbac-klogd-2.0 || die "cannot make rsbac-klogd"
+ LD="../../src/librsbac.so.$NSS" econf contrib/nss_rsbac \
+ || die "cannot conf nss_rsbac"
emake -C contrib/nss_rsbac || die "cannot make nss_rsbac"
emake -C contrib/pam_rsbac || die "cannot make pam_rsbac"
if use debug; then
@@ -72,13 +75,8 @@ src_install() {
}
pkg_postinst() {
- if ! groupmod secoff; then
- enewgroup secoff 400 || die "problem adding group secoff"
- fi
-
- if ! id secoff; then
- enewuser secoff 400 /bin/bash /secoff secoff || die "problem adding user secoff"
- fi
+ enewgroup secoff 400 || die "problem adding group secoff"
+ enewuser secoff 400 /bin/bash /secoff secoff || die "problem adding user secoff"
chmod 700 /secoff /secoff/log || die "problem changing permissions of /secoff and/or /secoff/log"
chown secoff:secoff -R /secoff || die "problem changing ownership of /secoff"