summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2005-05-01 02:19:00 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2005-05-01 02:19:00 +0000
commitfa646a3a0345f8d7008cb49cf3dc6c71c9a3c25a (patch)
treeb28c09f6fb04e7f6f422a58112c3d9f0aab2a8c8 /sys-process/audit
parentVersion bump (diff)
downloadhistorical-fa646a3a0345f8d7008cb49cf3dc6c71c9a3c25a.tar.gz
historical-fa646a3a0345f8d7008cb49cf3dc6c71c9a3c25a.tar.bz2
historical-fa646a3a0345f8d7008cb49cf3dc6c71c9a3c25a.zip
Initial commit, doing this for beu!.
Package-Manager: portage-2.0.51.20-r5
Diffstat (limited to 'sys-process/audit')
-rw-r--r--sys-process/audit/ChangeLog12
-rw-r--r--sys-process/audit/Manifest8
-rw-r--r--sys-process/audit/audit-0.7.1.ebuild43
-rw-r--r--sys-process/audit/audit-0.7.ebuild38
-rw-r--r--sys-process/audit/files/auditd.confd12
-rw-r--r--sys-process/audit/files/auditd.initd26
-rw-r--r--sys-process/audit/files/digest-audit-0.71
-rw-r--r--sys-process/audit/files/digest-audit-0.7.11
-rw-r--r--sys-process/audit/metadata.xml8
9 files changed, 149 insertions, 0 deletions
diff --git a/sys-process/audit/ChangeLog b/sys-process/audit/ChangeLog
new file mode 100644
index 000000000000..f9cf1cc53c94
--- /dev/null
+++ b/sys-process/audit/ChangeLog
@@ -0,0 +1,12 @@
+# ChangeLog for sys-process/audit
+# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/ChangeLog,v 1.1 2005/05/01 02:19:00 robbat2 Exp $
+
+ 30 Apr 2005; Robin H. Johnson <robbat2@gentoo.org> :
+ Improvements by me!.
+
+*audit-0.7.1 (29 Apr 2005)
+
+ 29 Apr 2005; Elfyn McBratney <beu@gentoo.org> :
+ Initial ebuild, from yours truly.
+
diff --git a/sys-process/audit/Manifest b/sys-process/audit/Manifest
new file mode 100644
index 000000000000..c1ac8985512e
--- /dev/null
+++ b/sys-process/audit/Manifest
@@ -0,0 +1,8 @@
+MD5 72f1c8a16118107f7f189d9640c4315a audit-0.7.1.ebuild 1120
+MD5 e6ceb05617d1dca6729c1aa0d1ab6623 ChangeLog 402
+MD5 84124fe920f0d72eac925d160de3bde3 audit-0.7.ebuild 1036
+MD5 4028de99a5b2e8ae083e2b2da72a4ce6 metadata.xml 227
+MD5 55e18ec35f409c781ee0b974f0006239 files/digest-audit-0.7 60
+MD5 bf5a8a780a21b8072984968db475969e files/digest-audit-0.7.1 62
+MD5 d0c04da868c3fe0dff941187f054ecf6 files/auditd.confd 474
+MD5 ff488634acfe98b2aeb6737938987801 files/auditd.initd 704
diff --git a/sys-process/audit/audit-0.7.1.ebuild b/sys-process/audit/audit-0.7.1.ebuild
new file mode 100644
index 000000000000..68ad399fb5aa
--- /dev/null
+++ b/sys-process/audit/audit-0.7.1.ebuild
@@ -0,0 +1,43 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-0.7.1.ebuild,v 1.1 2005/05/01 02:19:00 robbat2 Exp $
+
+DESCRIPTION="Userspace utilities for storing and processing auditing records."
+HOMEPAGE="http://people.redhat.com/sgrubb/audit/"
+SRC_URI="${HOMEPAGE}${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="sys-devel/libtool
+ virtual/os-headers
+ >=sys-devel/automake-1.9
+ >=sys-devel/autoconf-2.59"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A} || die "unpack failed"
+ cd ${S} || die "cd '${S}' failed"
+ WANT_AUTOMAKE="1.9" \
+ autoreconf -fv --install || die "autoreconf failed"
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR=${D} install || die "emake install failed"
+ # remove RH garbage
+ rm -rf ${D}/etc/rc.d ${D}/etc/sysconfig
+ # docs
+ dodoc AUTHORS ChangeLog README THANKS TODO
+ # scripts
+ newinitd ${FILESDIR}/auditd.initd auditd
+ newconfd ${FILESDIR}/auditd.confd auditd
+ # audit logs go here
+ keepdir /var/log/audit/
+}
diff --git a/sys-process/audit/audit-0.7.ebuild b/sys-process/audit/audit-0.7.ebuild
new file mode 100644
index 000000000000..6750e3662f48
--- /dev/null
+++ b/sys-process/audit/audit-0.7.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-0.7.ebuild,v 1.1 2005/05/01 02:19:00 robbat2 Exp $
+
+DESCRIPTION="Userspace utilities for storing and processing auditing records .."
+HOMEPAGE="http://people.redhat.com/sgrubb/audit/"
+SRC_URI="http://people.redhat.com/sgrubb/audit/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~x86"
+IUSE=""
+
+DEPEND="sys-devel/libtool
+ virtual/os-headers
+ >=sys-devel/automake-1.9
+ >=sys-devel/autoconf-2.59"
+RDEPEND=""
+
+src_unpack() {
+ unpack ${A} || die "unpack failed"
+ cd ${S} || die "cd '${S}' failed"
+ WANT_AUTOMAKE="1.9" \
+ autoreconf -fv --install || die "autoreconf failed"
+}
+
+src_compile() {
+ econf || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ make DESTDIR=${D} install || die "emake install failed"
+ rm -rf ${D}/etc/rc.d ${D}/etc/sysconfig
+ dodoc AUTHORS ChangeLog README THANKS TODO
+ exeinto /etc/init.d
+ newexe ${FILESDIR}/auditd.initd auditd
+}
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
diff --git a/sys-process/audit/metadata.xml b/sys-process/audit/metadata.xml
new file mode 100644
index 000000000000..d5f0a66b8ccc
--- /dev/null
+++ b/sys-process/audit/metadata.xml
@@ -0,0 +1,8 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+ <herd>no-herd</herd>
+ <maintainer>
+ <email>beu@gentoo.org</email>
+ </maintainer>
+</pkgmetadata>