summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Destuynder <kang@gentoo.org>2004-06-29 01:37:06 +0000
committerGuillaume Destuynder <kang@gentoo.org>2004-06-29 01:37:06 +0000
commit5df8791ae69a928e8dca12a840f536ca635a8c11 (patch)
tree3da24d3a8125df9660f8c42544f92cc85529d53d /sys-apps/rsbac-admin
parentver bump (Manifest recommit) (diff)
downloadgentoo-2-5df8791ae69a928e8dca12a840f536ca635a8c11.tar.gz
gentoo-2-5df8791ae69a928e8dca12a840f536ca635a8c11.tar.bz2
gentoo-2-5df8791ae69a928e8dca12a840f536ca635a8c11.zip
version bump
Diffstat (limited to 'sys-apps/rsbac-admin')
-rw-r--r--sys-apps/rsbac-admin/ChangeLog15
-rw-r--r--sys-apps/rsbac-admin/Manifest13
-rw-r--r--sys-apps/rsbac-admin/files/digest-rsbac-admin-1.2.31
-rw-r--r--sys-apps/rsbac-admin/files/rsbac.conf3
-rw-r--r--sys-apps/rsbac-admin/rsbac-admin-1.2.3.ebuild70
5 files changed, 94 insertions, 8 deletions
diff --git a/sys-apps/rsbac-admin/ChangeLog b/sys-apps/rsbac-admin/ChangeLog
index 31254c6f758b..c02db4f50651 100644
--- a/sys-apps/rsbac-admin/ChangeLog
+++ b/sys-apps/rsbac-admin/ChangeLog
@@ -1,9 +1,20 @@
# ChangeLog for sys-apps/rsbac-admin
-# Copyright 2002-2004 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/ChangeLog,v 1.5 2004/06/25 03:08:35 agriffis Exp $
+# Copyright 2002-2003 Gentoo Technologies, Inc.; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/ChangeLog,v 1.6 2004/06/29 01:37:06 kang Exp $
+
+*rsbac-admin-1.2.3 (26 Jun 2004)
+
+ 26 Jun 2004; Guillaume Destuynder <kang@gentoo.org> rsbac-admin-1.2.3.ebuild
+ Version bump. Minor modifications: now using egroup, now depending on
+ corresponding kernels.
*rsbac-admin-1.2.3_pre5 (15 Jun 2004)
+ 17 Jun 2004; Guillaume Destuynder <kang@gentoo.org> files/rsbac.conf,
+ rsbac-admin-1.2.3_pre5.ebuild:
+ Fixed rsbac.conf to conform documentation.
+ Fixed ebuild to add this rsbac.conf to the installation
+
15 Jun 2004; Guillaume Destuynder <kang@gentoo.org>
rsbac-admin-1.2.3_pre5.ebuild, files/rsbac.conf, files/rklogd.init:
Version bump, new ebuild submitted by Michal Purzynski <albeiro@gentoo.pl>
diff --git a/sys-apps/rsbac-admin/Manifest b/sys-apps/rsbac-admin/Manifest
index 935f2519ef5f..dcea8f3f075b 100644
--- a/sys-apps/rsbac-admin/Manifest
+++ b/sys-apps/rsbac-admin/Manifest
@@ -1,8 +1,11 @@
-MD5 8fcebf0c6f01870eb9c24762f1c33f10 rsbac-admin-1.2.3_pre5.ebuild 2175
-MD5 c108ca5a688e8c9b12941bcc9574154e rsbac-admin-1.2.1.ebuild 1119
-MD5 0fc4752f2d52f08675298ee084399de2 ChangeLog 957
MD5 035ff78da2388cc0585f93ef2247332d metadata.xml 161
-MD5 87fe9bca51ee364e89aec4f47fb5a974 files/rklogd.init 1018
-MD5 39e9a96b67ef8a159eb266fa66065c76 files/rsbac.conf 165
+MD5 c108ca5a688e8c9b12941bcc9574154e rsbac-admin-1.2.1.ebuild 1119
+MD5 8fcebf0c6f01870eb9c24762f1c33f10 rsbac-admin-1.2.3_pre5.ebuild 2175
+MD5 f61e051a64e5c8a42ce374a47633135e .#ChangeLog.1.4 1170
+MD5 3b6b80dc11acc826ba372c360c13a8b5 ChangeLog 1381
+MD5 23b7982b8367bf82123876f3e46f7992 rsbac-admin-1.2.3.ebuild 2065
MD5 1ef42cb872e4d23179e0a27d6dbb8d02 files/digest-rsbac-admin-1.2.1 71
+MD5 99b65a3492d28aabf99abe1473914fa5 files/rsbac.conf 205
+MD5 87fe9bca51ee364e89aec4f47fb5a974 files/rklogd.init 1018
MD5 bfb2ca643b1171d7eb526396d5b3401a files/digest-rsbac-admin-1.2.3_pre5 76
+MD5 5089c0e6bbae98d91f7e78a9450465e5 files/digest-rsbac-admin-1.2.3 71
diff --git a/sys-apps/rsbac-admin/files/digest-rsbac-admin-1.2.3 b/sys-apps/rsbac-admin/files/digest-rsbac-admin-1.2.3
new file mode 100644
index 000000000000..5f65a2f57556
--- /dev/null
+++ b/sys-apps/rsbac-admin/files/digest-rsbac-admin-1.2.3
@@ -0,0 +1 @@
+MD5 4c89346ddfe74d6faf9c991576c21b9b rsbac-admin-v1.2.3.tar.bz2 936731
diff --git a/sys-apps/rsbac-admin/files/rsbac.conf b/sys-apps/rsbac-admin/files/rsbac.conf
index 18e9e06f2407..222d597330c6 100644
--- a/sys-apps/rsbac-admin/files/rsbac.conf
+++ b/sys-apps/rsbac-admin/files/rsbac.conf
@@ -1,5 +1,6 @@
# RSBAC menu configuration
-RSBACMOD="GEN FF RC AUTH CAP JAIL "
+# Thu Jun 17 01:36:19 CEST 2004
+RSBACMOD="DAZ FF RC ACL AUTH CAP JAIL RES "
DIALOG="dialog"
# RSBACLANG is not set
TMPDIR="/tmp"
diff --git a/sys-apps/rsbac-admin/rsbac-admin-1.2.3.ebuild b/sys-apps/rsbac-admin/rsbac-admin-1.2.3.ebuild
new file mode 100644
index 000000000000..56ad1cb93be1
--- /dev/null
+++ b/sys-apps/rsbac-admin/rsbac-admin-1.2.3.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2004 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.3.ebuild,v 1.1 2004/06/29 01:37:06 kang Exp $
+
+IUSE="ncurses debug"
+
+# 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://rsbac.org/download/code/v${PV}/rsbac-admin-v${PV}.tar.bz2"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86"
+
+DEPEND="dev-util/dialog
+ || ( >=sys-kernel/rsbac-sources-2.4.26
+ >=sys-kernel/rsbac-dev-sources-2.6.7 )"
+
+
+RDEPEND=">=sys-libs/ncurses-5.2"
+
+src_unpack() {
+ cd ${WORKDIR}
+ unpack ${ADMIN}.tar.bz2 || die "cannot unpack rsbac-admin tool"
+}
+
+src_compile() {
+ cd ${WORKDIR}/${ADMIN}
+ econf || die "cannot ./configure RSBAC Admin Tools."
+ cd contrib/rsbac-klogd-2.0; econf || die "cannot ./configure rsbac-klogd"
+ cd ${WORKDIR}/${ADMIN}
+ emake || die "cannot make RSBAC Admin tools: Did you really already compiled 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"
+ if use debug; then
+ emake -C contrib/regression || die "cannot make regression"
+ fi
+}
+
+src_install() {
+ cd ${WORKDIR}/${ADMIN}
+ einstall || die "cannot make install"
+ einstall -C contrib/rsbac-klogd-2.0 || die "cannot install rsbac-klogd"
+ if use debug; then
+ exeinto /usr/share/rsbac-admin-dev/regression
+ doexe contrib/regression/*_test
+ fi
+ insinto /etc
+ newins ${FILESDIR}/rsbac.conf rsbac.conf
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/rklogd.init rklogd
+
+ dodir /secoff
+ dodir /secoff/log
+ keepdir /secoff
+}
+
+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"
+ 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"
+ fi
+}