diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2005-05-01 02:19:00 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2005-05-01 02:19:00 +0000 |
commit | a2c9e787f198ac8632038e1b03f98a58f65a50a5 (patch) | |
tree | efadc25f11fd0f67bb6a1960a1367fa20990b906 /sys-process/audit/files | |
parent | Version bump (diff) | |
download | gentoo-2-a2c9e787f198ac8632038e1b03f98a58f65a50a5.tar.gz gentoo-2-a2c9e787f198ac8632038e1b03f98a58f65a50a5.tar.bz2 gentoo-2-a2c9e787f198ac8632038e1b03f98a58f65a50a5.zip |
Initial commit, doing this for beu!.
(Portage version: 2.0.51.20-r5)
Diffstat (limited to 'sys-process/audit/files')
-rw-r--r-- | sys-process/audit/files/auditd.confd | 12 | ||||
-rw-r--r-- | sys-process/audit/files/auditd.initd | 26 | ||||
-rw-r--r-- | sys-process/audit/files/digest-audit-0.7 | 1 | ||||
-rw-r--r-- | sys-process/audit/files/digest-audit-0.7.1 | 1 |
4 files changed, 40 insertions, 0 deletions
diff --git a/sys-process/audit/files/auditd.confd b/sys-process/audit/files/auditd.confd new file mode 100644 index 000000000000..5213240c55c7 --- /dev/null +++ b/sys-process/audit/files/auditd.confd @@ -0,0 +1,12 @@ +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/files/auditd.confd,v 1.1 2005/05/01 02:19:00 robbat2 Exp $ + +# Configuration options for auditd +# -f for foreground mode +# There are some other options as well, but you'll have to look in the source +# code to find them As they aren't ready for use yet. +extraoptions='' + +# Audit rules file +rulefile=/etc/audit.rules diff --git a/sys-process/audit/files/auditd.initd b/sys-process/audit/files/auditd.initd new file mode 100644 index 000000000000..a450098f4a43 --- /dev/null +++ b/sys-process/audit/files/auditd.initd @@ -0,0 +1,26 @@ +#!/sbin/runscript +# Copyright 1999-2005 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/files/auditd.initd,v 1.1 2005/05/01 02:19:00 robbat2 Exp $ + +start() { + ebegin "Starting auditd" + start-stop-daemon \ + --start --quiet --pidfile /var/run/auditd.pid \ + --exec /usr/sbin/auditd -- ${extraoptions} + local ret=$? + eend $ret + if [ $ret -eq 0 -a -n "${rulefile}" -a -f "${rulefile}" ]; then + einfo "Loading audit rules from ${rulefile}" + /sbin/auditctl -R "${rulefile}" + ret=$? + fi + return $ret +} + +stop() { + ebegin "Stopping auditd" + start-stop-daemon \ + --stop --quiet --pidfile /var/run/auditd.pid + eend $? +} diff --git a/sys-process/audit/files/digest-audit-0.7 b/sys-process/audit/files/digest-audit-0.7 new file mode 100644 index 000000000000..b2e7c9cc3e1f --- /dev/null +++ b/sys-process/audit/files/digest-audit-0.7 @@ -0,0 +1 @@ +MD5 48a94a0d0bd890b451b84397133b5781 audit-0.7.tar.gz 68557 diff --git a/sys-process/audit/files/digest-audit-0.7.1 b/sys-process/audit/files/digest-audit-0.7.1 new file mode 100644 index 000000000000..ed806a84e20a --- /dev/null +++ b/sys-process/audit/files/digest-audit-0.7.1 @@ -0,0 +1 @@ +MD5 03d26ae05ce5cf6ddba625b560a6f1b9 audit-0.7.1.tar.gz 69401 |