summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Destuynder <kang@gentoo.org>2007-06-20 17:05:40 +0000
committerGuillaume Destuynder <kang@gentoo.org>2007-06-20 17:05:40 +0000
commit6d589e5818288f816735840441e773d7d5e46043 (patch)
tree466a44546d73e02882eb78b464de0397cb972420 /sys-apps/rsbac-admin
parentalpha stable wrt #168824 (diff)
downloadhistorical-6d589e5818288f816735840441e773d7d5e46043.tar.gz
historical-6d589e5818288f816735840441e773d7d5e46043.tar.bz2
historical-6d589e5818288f816735840441e773d7d5e46043.zip
Fixed FHS compliance for libtool archives, changed rsbac.org link to www.rsbac.org
Package-Manager: portage-2.1.3_rc4
Diffstat (limited to 'sys-apps/rsbac-admin')
-rw-r--r--sys-apps/rsbac-admin/ChangeLog9
-rw-r--r--sys-apps/rsbac-admin/Manifest15
-rw-r--r--sys-apps/rsbac-admin/files/digest-rsbac-admin-1.3.4-r13
-rw-r--r--sys-apps/rsbac-admin/rsbac-admin-1.3.4-r1.ebuild80
4 files changed, 102 insertions, 5 deletions
diff --git a/sys-apps/rsbac-admin/ChangeLog b/sys-apps/rsbac-admin/ChangeLog
index d50ee1315732..8137f335aabe 100644
--- a/sys-apps/rsbac-admin/ChangeLog
+++ b/sys-apps/rsbac-admin/ChangeLog
@@ -1,6 +1,13 @@
# ChangeLog for sys-apps/rsbac-admin
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/ChangeLog,v 1.29 2007/06/08 14:26:20 kang Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/ChangeLog,v 1.30 2007/06/20 17:05:40 kang Exp $
+
+*rsbac-admin-1.3.4-r1 (20 Jun 2007)
+
+ 20 Jun 2007; Guillaume Destuynder <kang@gentoo.org>
+ +rsbac-admin-1.3.4-r1.ebuild:
+ Fixed FHS compliance for libtool archives, changed website url to
+ www.rsbac.org instead of rsbac.org.
*rsbac-admin-1.3.4 (08 Jun 2007)
diff --git a/sys-apps/rsbac-admin/Manifest b/sys-apps/rsbac-admin/Manifest
index 32cfc4008101..e6a193a11e43 100644
--- a/sys-apps/rsbac-admin/Manifest
+++ b/sys-apps/rsbac-admin/Manifest
@@ -40,14 +40,18 @@ EBUILD rsbac-admin-1.3.1.ebuild 2149 RMD160 af89853dc2518e1b56950dec06f4f0f1784b
MD5 1632ecb6e5c709ba517d740b2c36e689 rsbac-admin-1.3.1.ebuild 2149
RMD160 af89853dc2518e1b56950dec06f4f0f1784b5d0d rsbac-admin-1.3.1.ebuild 2149
SHA256 4d6c5a440a3b7f6bbe54f0c7554cbf55270324b4a12926eede9669d81ff2b067 rsbac-admin-1.3.1.ebuild 2149
+EBUILD rsbac-admin-1.3.4-r1.ebuild 2395 RMD160 46949fc682e48f4762c41a3c847a4b1d274bf318 SHA1 bc41669e2760e22e6f7b42dbe1f76f69c8fd56e8 SHA256 1232fdc4217763d437718587e710a1eb99882955fd9f9a04fe89840212f7ef14
+MD5 4dba7f2fd52ceffc951620d232d7675e rsbac-admin-1.3.4-r1.ebuild 2395
+RMD160 46949fc682e48f4762c41a3c847a4b1d274bf318 rsbac-admin-1.3.4-r1.ebuild 2395
+SHA256 1232fdc4217763d437718587e710a1eb99882955fd9f9a04fe89840212f7ef14 rsbac-admin-1.3.4-r1.ebuild 2395
EBUILD rsbac-admin-1.3.4.ebuild 2151 RMD160 0e6bad49597f3a7726b5a94b61c7d09dd7ced861 SHA1 b3e7ba6b52b3c5fb9874500c43936439a2914ca4 SHA256 35ddc79cc13c2e576ced69cfc79f3a4ca506b7c11fce66facb5c863a32b8f519
MD5 46055cf4c5216537706791fb477702a9 rsbac-admin-1.3.4.ebuild 2151
RMD160 0e6bad49597f3a7726b5a94b61c7d09dd7ced861 rsbac-admin-1.3.4.ebuild 2151
SHA256 35ddc79cc13c2e576ced69cfc79f3a4ca506b7c11fce66facb5c863a32b8f519 rsbac-admin-1.3.4.ebuild 2151
-MISC ChangeLog 5233 RMD160 86261f821b8b940e02215d9ffceb58a32e1263b4 SHA1 dc4fe379a9dd0d21b0b441a21433c09b24527440 SHA256 0376b616b94d15a22f61dcc4045edd5b14be3684a27a1f4cccba2ed9ef291868
-MD5 657a2d97458b43c784f9cfdb294a690d ChangeLog 5233
-RMD160 86261f821b8b940e02215d9ffceb58a32e1263b4 ChangeLog 5233
-SHA256 0376b616b94d15a22f61dcc4045edd5b14be3684a27a1f4cccba2ed9ef291868 ChangeLog 5233
+MISC ChangeLog 5463 RMD160 d98ff3b63f149539833e01348954420fd2499fd4 SHA1 528f315c3df89740dd7f1349b194cb5803603bf4 SHA256 0636658dbcf6fdbdf83d418734424b025dcde796ef60e5187200af27a62fb580
+MD5 65cee4907dd94fb7c83ffeb01d907b62 ChangeLog 5463
+RMD160 d98ff3b63f149539833e01348954420fd2499fd4 ChangeLog 5463
+SHA256 0636658dbcf6fdbdf83d418734424b025dcde796ef60e5187200af27a62fb580 ChangeLog 5463
MISC metadata.xml 161 RMD160 600015e5b2643ae38ea2f9e5aaff6d31d42470a8 SHA1 578b6ea4c02d377eb40ee4000df8bc3d97497f82 SHA256 f9146563cc3df2b0d02d2f554c5293d439b56a4d36bc5aed0c66aa83dfb06c2f
MD5 035ff78da2388cc0585f93ef2247332d metadata.xml 161
RMD160 600015e5b2643ae38ea2f9e5aaff6d31d42470a8 metadata.xml 161
@@ -73,3 +77,6 @@ SHA256 67edddf3d70a4250e168ffdf0b3be7c683e01c68f73660b9e0739f999f31a00e files/di
MD5 5c8cbf00401bc63381252a06ec5e6283 files/digest-rsbac-admin-1.3.4 256
RMD160 6e0e7d58920335a23dd49098b634cc5bfc1d7b97 files/digest-rsbac-admin-1.3.4 256
SHA256 74ba42b06f9d84c8d84bac46a8e4e945d28beb0e334ad9f78ce6ee4793e0dd30 files/digest-rsbac-admin-1.3.4 256
+MD5 5c8cbf00401bc63381252a06ec5e6283 files/digest-rsbac-admin-1.3.4-r1 256
+RMD160 6e0e7d58920335a23dd49098b634cc5bfc1d7b97 files/digest-rsbac-admin-1.3.4-r1 256
+SHA256 74ba42b06f9d84c8d84bac46a8e4e945d28beb0e334ad9f78ce6ee4793e0dd30 files/digest-rsbac-admin-1.3.4-r1 256
diff --git a/sys-apps/rsbac-admin/files/digest-rsbac-admin-1.3.4-r1 b/sys-apps/rsbac-admin/files/digest-rsbac-admin-1.3.4-r1
new file mode 100644
index 000000000000..1b82522ad234
--- /dev/null
+++ b/sys-apps/rsbac-admin/files/digest-rsbac-admin-1.3.4-r1
@@ -0,0 +1,3 @@
+MD5 2351e083b7cffb3c94afad5aedfdf02a rsbac-admin-1.3.4.tar.bz2 279557
+RMD160 8ac22d3d16340fbc8882bdcf7f93ece419e37406 rsbac-admin-1.3.4.tar.bz2 279557
+SHA256 b2c378461c580e201f0184a64db87d479471b25cd6a8541cd706c9e48dce24e5 rsbac-admin-1.3.4.tar.bz2 279557
diff --git a/sys-apps/rsbac-admin/rsbac-admin-1.3.4-r1.ebuild b/sys-apps/rsbac-admin/rsbac-admin-1.3.4-r1.ebuild
new file mode 100644
index 000000000000..791774f5a63e
--- /dev/null
+++ b/sys-apps/rsbac-admin/rsbac-admin-1.3.4-r1.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2007 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.3.4-r1.ebuild,v 1.1 2007/06/20 17:05:40 kang Exp $
+
+inherit eutils libtool toolchain-funcs
+
+IUSE="pam"
+
+# RSBAC Adming packet name
+#ADMIN=rsbac-admin-v${PV}
+
+DESCRIPTION="Rule Set Based Access Control (RSBAC) Admin Tools"
+HOMEPAGE="http://www.rsbac.org/ http://hardened.gentoo.org/rsbac"
+SRC_URI="http://download.rsbac.org/code/${PV}/rsbac-admin-${PV}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~amd64"
+NSS="1.3.4"
+
+DEPEND="dev-util/dialog
+ pam? ( sys-libs/pam )
+ sys-apps/baselayout"
+
+RDEPEND=">=sys-libs/ncurses-5.2"
+
+src_unpack() {
+ unpack $A
+ cd ${S}
+ elibtoolize
+}
+
+src_compile() {
+ local rsbacmakeargs
+ rsbacmakeargs="libs tools"
+ use pam && {
+ rsbacmakeargs="${makeargs} pam nss"
+ }
+ emake PREFIX=/usr ${rsbacmakeargs} || die "cannot build (${rsbacmakeargs})"
+}
+
+src_install() {
+ local rsabacinstallargs
+ rsbacinstallargs="headers-install libs-install tools-install"
+ use pam && {
+ rsbacinstallargs="${rsbacinstallargs} pam-install nss-install"
+ }
+ make PREFIX=/usr DESTDIR=${D} ${rsbacinstallargs} || \
+ die "cannot install (${rsbacinstallargs})"
+ insinto /etc
+ newins ${FILESDIR}/rsbac.conf rsbac.conf ${FILESDIR}/nsswitch.conf
+ dodir /secoff
+ keepdir /secoff
+ dodir /var/log/rsbac
+ keepdir /var/log/rsbac
+ #FHS compliance
+ dodir /usr/lib
+ mv ${D}/lib/librsbac.la ${D}/lib/librsbac.a ${D}/usr/lib
+ mv ${D}/lib/libnss_rsbac.la ${D}/lib/libnss_rsbac.a ${D}/usr/lib
+ gen_usr_ldscript librsbac.so
+ gen_usr_ldscript libnss_rsbac.so
+}
+
+pkg_postinst() {
+ enewgroup secoff 400 || die "problem adding group secoff"
+ enewuser secoff 400 /bin/bash /secoff secoff || \
+ die "problem adding user secoff"
+ enewgroup audit 404 || die "problem adding group audit"
+ enewuser audit 404 -1 /dev/null audit || \
+ die "problem adding user audit"
+
+ chmod 700 /secoff /var/log/rsbac || \
+ die "problem changing permissions of /secoff and/or /secoff/log"
+ chown secoff:secoff -R /secoff || \
+ die "problem changing ownership of /secoff"
+ einfo "It is suggested to run (for example) a separate copy of syslog-ng to"
+ einfo "log RSBAC messages, as user audit (uid 404) instead of using the deprecated"
+ einfo "rklogd. See http://www.rsbac.org/documentation/administration_examples/syslog-ng"
+ einfo "for more information."
+}