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
commit5545f9ea3fc87bf3bcf88f10041c8148ec9e912c (patch)
tree3957e2910e969a91462935fd1b70a4386ce2f717 /sys-apps
parent2.22 stable on x86 (diff)
downloadgentoo-2-5545f9ea3fc87bf3bcf88f10041c8148ec9e912c.tar.gz
gentoo-2-5545f9ea3fc87bf3bcf88f10041c8148ec9e912c.tar.bz2
gentoo-2-5545f9ea3fc87bf3bcf88f10041c8148ec9e912c.zip
Fixes possible lib error from #87843 and changed enewgroup/enewuser to conform new eclass possibilities;)
(Portage version: 2.0.51.19)
Diffstat (limited to 'sys-apps')
-rw-r--r--sys-apps/rsbac-admin/ChangeLog7
-rw-r--r--sys-apps/rsbac-admin/Manifest2
-rw-r--r--sys-apps/rsbac-admin/rsbac-admin-1.2.4.ebuild14
3 files changed, 13 insertions, 10 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..2274e06db031 100644
--- a/sys-apps/rsbac-admin/Manifest
+++ b/sys-apps/rsbac-admin/Manifest
@@ -1,5 +1,5 @@
MD5 6b79594e93eecd76a98fd248d9eb3ad8 rsbac-admin-1.2.3.ebuild 2229
-MD5 f7b9c51923f22825b8440d08f5659ea7 rsbac-admin-1.2.4.ebuild 2634
+MD5 628afa6cb1d225352b845e3ebd2090a3 rsbac-admin-1.2.4.ebuild 2676
MD5 2c83c54b6448d1982b0cbb778374c9b4 ChangeLog 2375
MD5 035ff78da2388cc0585f93ef2247332d metadata.xml 161
MD5 0ebfdd628334dbf801142d2a5cd832c1 files/nsswitch.conf 469
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"