diff options
author | Elfyn McBratney <beu@gentoo.org> | 2005-05-15 14:55:30 +0000 |
---|---|---|
committer | Elfyn McBratney <beu@gentoo.org> | 2005-05-15 14:55:30 +0000 |
commit | a07345599a5cbd67d8f6851fa1659ea6cf1a074b (patch) | |
tree | 476e8b3006a64b2e3a999027970e66bab0350dc1 /sys-process/audit | |
parent | Stable on hppa. (diff) | |
download | gentoo-2-a07345599a5cbd67d8f6851fa1659ea6cf1a074b.tar.gz gentoo-2-a07345599a5cbd67d8f6851fa1659ea6cf1a074b.tar.bz2 gentoo-2-a07345599a5cbd67d8f6851fa1659ea6cf1a074b.zip |
Version bump. Prune older versions.
(Portage version: 2.0.51.21-r1)
Diffstat (limited to 'sys-process/audit')
-rw-r--r-- | sys-process/audit/ChangeLog | 8 | ||||
-rw-r--r-- | sys-process/audit/audit-0.7.2.ebuild | 43 | ||||
-rw-r--r-- | sys-process/audit/audit-0.7.ebuild | 38 | ||||
-rw-r--r-- | sys-process/audit/audit-0.8.ebuild (renamed from sys-process/audit/audit-0.7.1.ebuild) | 21 | ||||
-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/files/digest-audit-0.7.2 | 1 | ||||
-rw-r--r-- | sys-process/audit/files/digest-audit-0.8 | 1 |
8 files changed, 24 insertions, 90 deletions
diff --git a/sys-process/audit/ChangeLog b/sys-process/audit/ChangeLog index 508c598794b6..eb87db943f6c 100644 --- a/sys-process/audit/ChangeLog +++ b/sys-process/audit/ChangeLog @@ -1,6 +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.5 2005/05/09 05:45:13 beu Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/ChangeLog,v 1.6 2005/05/15 14:55:30 beu Exp $ + +*audit-0.8 (15 May 2005) + + 15 May 2005; Elfyn McBratney <beu@gentoo.org> -audit-0.7.ebuild, + -audit-0.7.1.ebuild, -audit-0.7.2.ebuild, +audit-0.8.ebuild: + Version bump. Prune older versions. *audit-0.7.4 (09 May 2005) diff --git a/sys-process/audit/audit-0.7.2.ebuild b/sys-process/audit/audit-0.7.2.ebuild deleted file mode 100644 index 215867da9148..000000000000 --- a/sys-process/audit/audit-0.7.2.ebuild +++ /dev/null @@ -1,43 +0,0 @@ -# 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.2.ebuild,v 1.1 2005/05/01 02:40:15 beu 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 deleted file mode 100644 index 6750e3662f48..000000000000 --- a/sys-process/audit/audit-0.7.ebuild +++ /dev/null @@ -1,38 +0,0 @@ -# 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/audit-0.7.1.ebuild b/sys-process/audit/audit-0.8.ebuild index 68ad399fb5aa..76a267f44653 100644 --- a/sys-process/audit/audit-0.7.1.ebuild +++ b/sys-process/audit/audit-0.8.ebuild @@ -1,6 +1,6 @@ # 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 $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-0.8.ebuild,v 1.1 2005/05/15 14:55:30 beu Exp $ DESCRIPTION="Userspace utilities for storing and processing auditing records." HOMEPAGE="http://people.redhat.com/sgrubb/audit/" @@ -25,19 +25,30 @@ src_unpack() { } src_compile() { - econf || die "econf failed" + econf --sbindir=/sbin --libdir=/lib || die "econf failed" emake || die "emake failed" } src_install() { emake DESTDIR=${D} install || die "emake install failed" + dodir /usr/lib + mv ${D}/lib/*.a ${D}/usr/lib # remove RH garbage rm -rf ${D}/etc/rc.d ${D}/etc/sysconfig # docs - dodoc AUTHORS ChangeLog README THANKS TODO + dodoc AUTHORS ChangeLog README* THANKS TODO sample.rules # scripts - newinitd ${FILESDIR}/auditd.initd auditd - newconfd ${FILESDIR}/auditd.confd auditd + newinitd ${FILESDIR}/auditd.initd-0.7.2-r1 auditd + newconfd ${FILESDIR}/auditd.confd-0.7.2-r1 auditd # audit logs go here keepdir /var/log/audit/ + # restrictive perms for security + chmod 0750 ${D}/sbin/{auditctl,auditd,ausearch,autrace} ${D}/var/log/audit/ + chmod 0640 ${D}/etc/{auditd.conf,audit.rules} +} + +pkg_postinst() { + # upstream wants these to have restrictive perms + chmod 0750 /sbin/{auditctl,auditd,ausearch,autrace} /var/log/audit/ + chmod 0640 /etc/{auditd.conf,audit.rules} } diff --git a/sys-process/audit/files/digest-audit-0.7 b/sys-process/audit/files/digest-audit-0.7 deleted file mode 100644 index b2e7c9cc3e1f..000000000000 --- a/sys-process/audit/files/digest-audit-0.7 +++ /dev/null @@ -1 +0,0 @@ -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 deleted file mode 100644 index ed806a84e20a..000000000000 --- a/sys-process/audit/files/digest-audit-0.7.1 +++ /dev/null @@ -1 +0,0 @@ -MD5 03d26ae05ce5cf6ddba625b560a6f1b9 audit-0.7.1.tar.gz 69401 diff --git a/sys-process/audit/files/digest-audit-0.7.2 b/sys-process/audit/files/digest-audit-0.7.2 deleted file mode 100644 index 73d71d6b692a..000000000000 --- a/sys-process/audit/files/digest-audit-0.7.2 +++ /dev/null @@ -1 +0,0 @@ -MD5 56c82cfe0d5af98a3313a8a76a08ed43 audit-0.7.2.tar.gz 70184 diff --git a/sys-process/audit/files/digest-audit-0.8 b/sys-process/audit/files/digest-audit-0.8 new file mode 100644 index 000000000000..99350ccd329b --- /dev/null +++ b/sys-process/audit/files/digest-audit-0.8 @@ -0,0 +1 @@ +MD5 e2930c151b3cddb563df50c69733c26f audit-0.8.tar.gz 74782 |