summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorGuillaume Destuynder <kang@gentoo.org>2004-06-15 20:03:45 +0000
committerGuillaume Destuynder <kang@gentoo.org>2004-06-15 20:03:45 +0000
commite404747d985686c9f7883e365b15e70372117faf (patch)
treebb04c6b2fb205b43ed74d69d30d20726a9bb7fec /sys-apps/rsbac-admin/files
parentFix bugs 18823 (lesspipe.sh misdetects troff files) and 38854 (lesspipe encha... (diff)
downloadgentoo-2-e404747d985686c9f7883e365b15e70372117faf.tar.gz
gentoo-2-e404747d985686c9f7883e365b15e70372117faf.tar.bz2
gentoo-2-e404747d985686c9f7883e365b15e70372117faf.zip
Version bump to 1.2.3_pre5
Diffstat (limited to 'sys-apps/rsbac-admin/files')
-rw-r--r--sys-apps/rsbac-admin/files/digest-rsbac-admin-1.2.3_pre51
-rw-r--r--sys-apps/rsbac-admin/files/rklogd.init41
-rw-r--r--sys-apps/rsbac-admin/files/rsbac.conf7
3 files changed, 49 insertions, 0 deletions
diff --git a/sys-apps/rsbac-admin/files/digest-rsbac-admin-1.2.3_pre5 b/sys-apps/rsbac-admin/files/digest-rsbac-admin-1.2.3_pre5
new file mode 100644
index 000000000000..330ba139ce4b
--- /dev/null
+++ b/sys-apps/rsbac-admin/files/digest-rsbac-admin-1.2.3_pre5
@@ -0,0 +1 @@
+MD5 f485f42734de66da4c50fb1b62d4d6a5 rsbac-admin-v1.2.3-pre5.tar.bz2 801138
diff --git a/sys-apps/rsbac-admin/files/rklogd.init b/sys-apps/rsbac-admin/files/rklogd.init
new file mode 100644
index 000000000000..87f54d263b55
--- /dev/null
+++ b/sys-apps/rsbac-admin/files/rklogd.init
@@ -0,0 +1,41 @@
+#!/sbin/runscript
+# Copyright 1999-2004 Gentoo Technologies, Inc.
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-apps/rsbac-admin/files/rklogd.init,v 1.1 2004/06/15 20:03:45 kang Exp $
+
+opts="depend checkconfig start stop reload"
+
+depend() {
+ need clock hostname
+}
+
+checkconfig() {
+ if [ ! -d /secoff/log ]; then
+ eerror "Please first create /secoff/log directory"
+ return 1
+ fi
+}
+
+start() {
+ checkconfig || return 1
+ ebegin "Starting rklogd"
+ start-stop-daemon --start --quiet --exec /usr/sbin/rklogd
+ eend $? "Failed to start rklogd"
+}
+
+stop() {
+ ebegin "Stopping rklogd"
+ start-stop-daemon --stop --quiet --pidfile /var/run/rklogd.pid
+ eend $? "Failed to stop rklogd"
+ sleep 1 # needed for rklogd to stop in case we're restarting
+}
+
+reload() {
+ if [ ! -f /var/run/rklogd.pid ]; then
+ eerror "rklogd isn't running"
+ return 1
+ fi
+ ebegin "Reloading configuration and re-opening log files"
+ kill -HUP `cat /var/run/rklogd.pid` &>/dev/null
+ eend $?
+}
diff --git a/sys-apps/rsbac-admin/files/rsbac.conf b/sys-apps/rsbac-admin/files/rsbac.conf
new file mode 100644
index 000000000000..18e9e06f2407
--- /dev/null
+++ b/sys-apps/rsbac-admin/files/rsbac.conf
@@ -0,0 +1,7 @@
+# RSBAC menu configuration
+RSBACMOD="GEN FF RC AUTH CAP JAIL "
+DIALOG="dialog"
+# RSBACLANG is not set
+TMPDIR="/tmp"
+# RSBACPATH is not set
+# RSBACLOGFILE is not set