summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2007-07-08 05:15:18 +0000
committerMike Frysinger <vapier@gentoo.org>2007-07-08 05:15:18 +0000
commit94a94853b50d41c467908df8bec956773072fa65 (patch)
tree5e5076b1bf4a12889c68d75168e6a7b42a7ede87 /sys-process
parentremove reference to old, removed dbus (bug #183696) (diff)
downloadgentoo-2-94a94853b50d41c467908df8bec956773072fa65.tar.gz
gentoo-2-94a94853b50d41c467908df8bec956773072fa65.tar.bz2
gentoo-2-94a94853b50d41c467908df8bec956773072fa65.zip
Version bump.
(Portage version: 2.1.3_rc6)
Diffstat (limited to 'sys-process')
-rw-r--r--sys-process/audit/ChangeLog7
-rw-r--r--sys-process/audit/audit-1.5.4.ebuild70
-rw-r--r--sys-process/audit/files/digest-audit-1.5.43
3 files changed, 79 insertions, 1 deletions
diff --git a/sys-process/audit/ChangeLog b/sys-process/audit/ChangeLog
index 1239e810f8bd..2e17616dca20 100644
--- a/sys-process/audit/ChangeLog
+++ b/sys-process/audit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-process/audit
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/ChangeLog,v 1.19 2007/04/01 22:10:54 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/ChangeLog,v 1.20 2007/07/08 05:15:18 vapier Exp $
+
+*audit-1.5.4 (08 Jul 2007)
+
+ 08 Jul 2007; Mike Frysinger <vapier@gentoo.org> +audit-1.5.4.ebuild:
+ Version bump.
*audit-1.5.1 (01 Apr 2007)
diff --git a/sys-process/audit/audit-1.5.4.ebuild b/sys-process/audit/audit-1.5.4.ebuild
new file mode 100644
index 000000000000..2bf6ab34e83f
--- /dev/null
+++ b/sys-process/audit/audit-1.5.4.ebuild
@@ -0,0 +1,70 @@
+# Copyright 1999-2007 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-1.5.4.ebuild,v 1.1 2007/07/08 05:15:18 vapier Exp $
+
+inherit autotools multilib toolchain-funcs
+
+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="~amd64 ~ppc ~x86"
+IUSE=""
+
+RDEPEND=">=dev-lang/python-2.4"
+DEPEND="${RDEPEND}
+ dev-lang/swig
+ >=sys-kernel/linux-headers-2.6.20-r2"
+# Do not use os-headers as this is linux specific
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+ # stupid package does not include generated autotools
+ eautoreconf
+}
+
+src_compile() {
+ econf --sbindir=/sbin || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README* THANKS TODO sample.rules contrib/*
+
+ newinitd "${FILESDIR}"/auditd-init.d-1.2.3 auditd
+ newconfd "${FILESDIR}"/auditd-conf.d-1.2.3 auditd
+
+ # things like shadow use this so we need to be in /
+ dodir /$(get_libdir)
+ mv "${D}"/usr/$(get_libdir)/lib*.so* "${D}"/$(get_libdir)/ || die
+ gen_usr_ldscript libaudit.so libauparse.so
+
+ # remove RedHat garbage
+ rm -r "${D}"/etc/{rc.d,sysconfig} || die
+
+ # Gentoo rules
+ insinto /etc/audit/
+ doins "${FILESDIR}"/audit.rules*
+
+ # audit logs go here
+ keepdir /var/log/audit/
+
+ # Security
+ lockdown_perms "${D}"
+}
+
+pkg_postinst() {
+ lockdown_perms "${ROOT}"
+}
+
+lockdown_perms() {
+ # upstream wants these to have restrictive perms
+ basedir="$1"
+ chmod 0750 ${basedir}/sbin/au{ditctl,report,dispd,ditd,search,trace} 2>/dev/null
+ chmod 0750 ${basedir}/var/log/audit/ 2>/dev/null
+ chmod 0640 ${basedir}/etc/{audit/,}{auditd.conf,audit.rules*} 2>/dev/null
+}
diff --git a/sys-process/audit/files/digest-audit-1.5.4 b/sys-process/audit/files/digest-audit-1.5.4
new file mode 100644
index 000000000000..6ab21dd6ab44
--- /dev/null
+++ b/sys-process/audit/files/digest-audit-1.5.4
@@ -0,0 +1,3 @@
+MD5 069ac1d35b505df1b795684f5764555e audit-1.5.4.tar.gz 325636
+RMD160 433fb71f6d24f23fa8835646e457dc5267b02735 audit-1.5.4.tar.gz 325636
+SHA256 192fcbd0cc45aa26d44607081acdbb60a002067a750d505822e99c8ab9929931 audit-1.5.4.tar.gz 325636