summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2011-09-11 02:58:55 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2011-09-11 02:58:55 +0000
commite8e6855655d15d075bebc37a7f6178420e44818d (patch)
tree09b9b58df624d7ad063b286f1ad066c2a649eaaf /sys-process/audit/audit-2.1.3.ebuild
parentAdded missing DEPEND sys-devel/libtool (bug #382501). (diff)
downloadgentoo-2-e8e6855655d15d075bebc37a7f6178420e44818d.tar.gz
gentoo-2-e8e6855655d15d075bebc37a7f6178420e44818d.tar.bz2
gentoo-2-e8e6855655d15d075bebc37a7f6178420e44818d.zip
Get this into shape for full usage with OpenRC, and also the pending cleanup for the package.mask. Please see the new configuration options in the conf.d file. The upstream AUDITD_CLEAN_STOP and AUDITD_STOP_DISABLE sysconfig options are represented by the audit.rules.stop.pre sequence now.
(Portage version: 2.2.0_alpha51/cvs/Linux x86_64)
Diffstat (limited to 'sys-process/audit/audit-2.1.3.ebuild')
-rw-r--r--sys-process/audit/audit-2.1.3.ebuild10
1 files changed, 5 insertions, 5 deletions
diff --git a/sys-process/audit/audit-2.1.3.ebuild b/sys-process/audit/audit-2.1.3.ebuild
index 12902d29f61f..062b9a788c4c 100644
--- a/sys-process/audit/audit-2.1.3.ebuild
+++ b/sys-process/audit/audit-2.1.3.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2011 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-2.1.3.ebuild,v 1.1 2011/09/10 19:06:09 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-2.1.3.ebuild,v 1.2 2011/09/11 02:58:55 robbat2 Exp $
EAPI="3"
PYTHON_DEPEND="2"
@@ -50,7 +50,6 @@ src_prepare() {
"${S}"/configure.ac || die
sed -i \
-e 's,system-config-audit,,g' \
- -e '/^SUBDIRS/s,\\$,,g' \
"${S}"/Makefile.am || die
rm -rf "${S}"/system-config-audit
@@ -126,8 +125,8 @@ src_install() {
docinto contrib/plugin
dodoc contrib/plugin/*
- newinitd "${FILESDIR}"/auditd-init.d-1.7.17 auditd
- newconfd "${FILESDIR}"/auditd-conf.d-1.2.3 auditd
+ newinitd "${FILESDIR}"/auditd-init.d-2.1.3 auditd
+ newconfd "${FILESDIR}"/auditd-conf.d-2.1.3 auditd
# things like shadow use this so we need to be in /
dodir /$(get_libdir)
@@ -139,7 +138,8 @@ src_install() {
# Gentoo rules
insinto /etc/audit/
- doins "${FILESDIR}"/audit.rules*
+ newins "${FILESDIR}"/audit.rules-2.1.3 audit.rules
+ doins "${FILESDIR}"/audit.rules.stop*
# audit logs go here
keepdir /var/log/audit/