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 | |
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')
-rw-r--r-- | sys-process/audit/ChangeLog | 12 | ||||
-rw-r--r-- | sys-process/audit/Manifest | 8 | ||||
-rw-r--r-- | sys-process/audit/audit-0.7.1.ebuild | 43 | ||||
-rw-r--r-- | sys-process/audit/audit-0.7.ebuild | 38 | ||||
-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 | ||||
-rw-r--r-- | sys-process/audit/metadata.xml | 8 |
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..09f6273e3150 --- /dev/null +++ b/sys-process/audit/Manifest @@ -0,0 +1,8 @@ +MD5 b2ef1e68458084e6ebad1d2bdae575ed index.html 1044 +MD5 51400dfa92316c2fe7ef329ea0875d29 audit-0.7.1.ebuild 910 +MD5 ccf793f2ad74c845f69aff346651387e ChangeLog 204 +MD5 80b242aad16c5760c0c2c71f70bb00f6 audit-0.7.ebuild 939 +MD5 18eaaadf443e15c3bb5199b984540711 metadata.xml 222 +MD5 55e18ec35f409c781ee0b974f0006239 files/digest-audit-0.7 60 +MD5 bf5a8a780a21b8072984968db475969e files/digest-audit-0.7.1 62 +MD5 5a2dd60ae78880e5a7750bba7d4e219b files/auditd.initd 496 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> |