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
commitc8ae37beccc811a5d89775b531085af9f24114a6 (patch)
tree492f9112738874c667fc3835ba0efb25630d4941 /sys-apps/rsbac-admin
parentver bump (diff)
downloadhistorical-c8ae37beccc811a5d89775b531085af9f24114a6.tar.gz
historical-c8ae37beccc811a5d89775b531085af9f24114a6.tar.bz2
historical-c8ae37beccc811a5d89775b531085af9f24114a6.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/Manifest12
-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, 93 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..18e478c11963 100644
--- a/sys-apps/rsbac-admin/Manifest
+++ b/sys-apps/rsbac-admin/Manifest
@@ -1,8 +1,10 @@
-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 1cf9fdbd45537a350feb338a882f5ed9 ChangeLog 1381
+MD5 a1c4ed7ddb272d95e6a1d6536b22ff36 rsbac-admin-1.2.3.ebuild 2139
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
+}