summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRobin H. Johnson <robbat2@gentoo.org>2008-05-25 04:35:40 +0000
committerRobin H. Johnson <robbat2@gentoo.org>2008-05-25 04:35:40 +0000
commitad9d22102cc2de091b6ba83121927e78098927e1 (patch)
treeec6c2abed0f5f2de05b9ce6058f9998eaaa3a101
parentVersion bump for ca-certificates. (diff)
downloadhistorical-ad9d22102cc2de091b6ba83121927e78098927e1.tar.gz
historical-ad9d22102cc2de091b6ba83121927e78098927e1.tar.bz2
historical-ad9d22102cc2de091b6ba83121927e78098927e1.zip
Version bump.
Package-Manager: portage-2.1.5.2
-rw-r--r--sys-process/audit/ChangeLog7
-rw-r--r--sys-process/audit/Manifest14
-rw-r--r--sys-process/audit/audit-1.7.4.ebuild113
3 files changed, 122 insertions, 12 deletions
diff --git a/sys-process/audit/ChangeLog b/sys-process/audit/ChangeLog
index 484a5bd3c243..1f94481dbdce 100644
--- a/sys-process/audit/ChangeLog
+++ b/sys-process/audit/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for sys-process/audit
# Copyright 1999-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/ChangeLog,v 1.47 2008/05/24 15:10:48 opfer Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/ChangeLog,v 1.48 2008/05/25 04:35:40 robbat2 Exp $
+
+*audit-1.7.4 (25 May 2008)
+
+ 25 May 2008; Robin H. Johnson <robbat2@gentoo.org> +audit-1.7.4.ebuild:
+ Version bump.
24 May 2008; Christian Faulhammer <opfer@gentoo.org> audit-1.7.3.ebuild:
stable x86, security bug 215705
diff --git a/sys-process/audit/Manifest b/sys-process/audit/Manifest
index ea3f4db1f14d..845dd94a8623 100644
--- a/sys-process/audit/Manifest
+++ b/sys-process/audit/Manifest
@@ -1,6 +1,3 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
AUX audit-1.5.4-build.patch 292 RMD160 6f97369e4d1b27b293f5b875790dee502927f7e0 SHA1 964fc33bf0c668ebd9bf0cf439538fc5b5101a22 SHA256 ef286820b8d34efa8aa04a8cd0344a78eeb0fa50a6ad12f94427bd01dea53534
AUX audit-1.5.4-swig-gcc-attribute.patch 434 RMD160 dc8c3d070a75f05883784dce72273551513e6fad SHA1 eb8774038fb07434030c9dad839e7d5dc5c9d027 SHA256 0da2225a8bd1f3f83a2e8c54d1c2fe97f9917be6b0a4ed116baa8f06f1800818
AUX audit-1.6.8-subdirs-fix.patch 548 RMD160 e17fef17c9f5d19a19ec912e9e693080436af938 SHA1 efe094b98380a34d840910f8a0375c21c8fb052b SHA256 26b3ce2f56ce792924be534a43e4c455b9067898642419a1411c4048f1da6c47
@@ -14,19 +11,14 @@ DIST audit-1.6.1.tar.gz 791114 RMD160 6734fffc26abd8233e7bc2668d80a3341f40ff89 S
DIST audit-1.6.2.tar.gz 776148 RMD160 e22d294e797f1903bfc10a7ef116f0b8123d2488 SHA1 ae9f65497bb35b0db72d97dc5d808fb4729a7aab SHA256 c8168604d14ccbd0db3f8972035fe7e4363925a4aa6b2998d973af659796de5c
DIST audit-1.6.8.tar.gz 799726 RMD160 8dfd6671f61a932ece208d650e042e31cc128b00 SHA1 d6b1d0aae3c8260bca70a9b6564bac40f0911a5d SHA256 88f32ed843f68a16506e3818d074ba5667040567c105f439ca0bfba97f1a2cf7
DIST audit-1.7.3.tar.gz 837045 RMD160 64a60dd52316ce55b9f2220453ab88b62aa3b950 SHA1 3c35f1cc22e25dcbffbf97d108e6ae540fa515e2 SHA256 70347c79d267f6fd53700e981e6fa2640ad5def12180c1a46a2de43b863d6b30
+DIST audit-1.7.4.tar.gz 840298 RMD160 08d57fc039021f05763920603c435747fe51c954 SHA1 5348fc1f310fd8eb068480c6b6d61e3c24c58207 SHA256 db5412852aa36ee25eb174e4f4a4676cc2d0b93cbe41a740eebf903b49b4d593
DIST audit-1.7.tar.gz 827447 RMD160 1eed3ddeb2e16255afe7082feb12afc44cf32b27 SHA1 8b7eafeaa0c609f3640ee5c7f4ed7730ef2532de SHA256 b439f85e90c5ad2d9b9e0f9148f1374756dc0a5d7fb6a925415cf7b442941837
EBUILD audit-1.5.4.ebuild 1998 RMD160 142bb63507770fbbe1df9802ced6de2f70302337 SHA1 68aeeee6be3b0d16f8de65ad70a3e43840381f9f SHA256 c82761edac5ae13067ba07cc9ebc9b6150cc8153e7427060e842cda3eaf1720b
EBUILD audit-1.6.1.ebuild 2377 RMD160 38a790e3c70f6214c4188c8036280a14cd63bd4c SHA1 92b1e3cd01fde97e992f84313f424d26829d5d1a SHA256 7cf9fe270225a9d75ac2ad2f7d6dd7baed76919db05d3612e56aaca8198bc103
EBUILD audit-1.6.2.ebuild 2375 RMD160 3cc4ecf0bee9b63e16195ae5bc441b05e206e107 SHA1 210883b3de3d136653a19db68ab89aa435154538 SHA256 69cec25370267a580f4a97d9e5a4a456313c15789809910935f2241cab3d8e8e
EBUILD audit-1.6.8.ebuild 2953 RMD160 b532827cf705b16f286cc94cd8ce35a80b22d6b7 SHA1 cbb82e3bfed112303e8d59782bf27b6cf6b6722f SHA256 a1bed2475397ca728ca5a0116bf9959a49a2c18792409b9ea92fae7e3391c5dd
EBUILD audit-1.7.3.ebuild 2939 RMD160 a06517521a687a1a07d9eb74ac3d7f39e5bcf960 SHA1 9f398c1e65994886c4cab52773febdbb853a08b4 SHA256 bc1aaf2c87f2aaa43cf9a9d7e3264709ccc33fd8c7c3172f37f8994d8bf776fa
+EBUILD audit-1.7.4.ebuild 2943 RMD160 8263395c00870c9a3876a48929c5af53348ca2a0 SHA1 d11766fa79f14858b83a720fc18607db8f3f7f45 SHA256 4ceacabe7e1c3d07789bded66b4811b30ae35808c1f1948812b8082229c1b7b6
EBUILD audit-1.7.ebuild 2941 RMD160 d9f9682c5a25c562409d384dbdb1d1c8540e41dd SHA1 81fe7adc7ec1687bdeedad62f5ce67bc8154bc0a SHA256 608e54cd279e432927b06099ce64525cf1f7ba55edef9d223dafcf42e6cf28bb
-MISC ChangeLog 7514 RMD160 242c387ea0db1ddfccb5207604d8b133a7bb540d SHA1 6116d84a90847937ef43f315fddd45ff1ff2290f SHA256 4dc543eef5d84f5457879676a775503b6eb1d7189f7e4edfa5f485e1cd6ccd95
+MISC ChangeLog 7635 RMD160 9fa9f1405db9b01203ddceacc9fe55bd5820dc31 SHA1 af72363e04c9a27ff4a39f47cb034d69b45e536a SHA256 b2a961262d04451abb2b05f4c18f5ddb5f907bc90a58eedf632242963d3f270b
MISC metadata.xml 231 RMD160 e78f0580e975fa82702433055e1498b0d9228104 SHA1 de14a9907da991c933aed57aeba714d7b7ce28c6 SHA256 f62f6487425736b6d2f27bb84ee09ccee245c1abf74462b6fbcb90f2c368ad2e
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.9 (GNU/Linux)
-
-iEYEARECAAYFAkg4MA8ACgkQNQqtfCuFneNftACfSYwv21+GczAjSSLPZdug1Dxa
-LhIAoIgx6EOtWn6wR9p6bG8kBciPgpjc
-=l/28
------END PGP SIGNATURE-----
diff --git a/sys-process/audit/audit-1.7.4.ebuild b/sys-process/audit/audit-1.7.4.ebuild
new file mode 100644
index 000000000000..e80c3a3e1ec7
--- /dev/null
+++ b/sys-process/audit/audit-1.7.4.ebuild
@@ -0,0 +1,113 @@
+# Copyright 1999-2008 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-1.7.4.ebuild,v 1.1 2008/05/25 04:35:40 robbat2 Exp $
+
+inherit autotools multilib toolchain-funcs python
+
+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 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86"
+IUSE="ldap"
+# Testcases are pretty useless as they are built for RedHat users/groups and
+# kernels.
+RESTRICT="test"
+
+RDEPEND=">=dev-lang/python-2.4
+ ldap? ( net-nds/openldap )"
+DEPEND="${RDEPEND}
+ dev-lang/swig
+ >=sys-kernel/linux-headers-2.6.23"
+# Do not use os-headers as this is linux specific
+
+src_unpack() {
+ unpack ${A}
+ cd "${S}"
+
+ # Old patch applies fine
+ #EPATCH_OPTS="-p0 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-build.patch
+
+ # Applied by upstream
+ #EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/${PN}-1.5.4-swig-gcc-attribute.patch
+
+ # Do not build GUI tools
+ sed -i \
+ -e '/AC_CONFIG_SUBDIRS.*system-config-audit/d' \
+ "${S}"/configure.ac
+ sed -i \
+ -e 's,system-config-audit,,g' \
+ -e '/^SUBDIRS/s,\\$,,g' \
+ "${S}"/Makefile.am
+ rm -rf "${S}"/system-config-audit
+
+ # Probably goes away in 1.6.9
+ EPATCH_OPTS="-p1 -d${S}" epatch "${FILESDIR}"/audit-1.6.8-subdirs-fix.patch
+
+ if ! use ldap; then
+ sed -i \
+ -e '/^AC_OUTPUT/s,audisp/plugins/zos-remote/Makefile,,g' \
+ "${S}"/configure.ac
+ sed -i \
+ -e '/^SUBDIRS/s,zos-remote,,g' \
+ "${S}"/audisp/plugins/Makefile.am
+ fi
+
+ # Regenerate autotooling
+ eautoreconf
+}
+
+src_compile() {
+ #append-flags -D'__attribute__(x)='
+ econf --sbindir=/sbin --without-prelude || die
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodoc AUTHORS ChangeLog README* THANKS TODO
+ docinto contrib
+ dodoc contrib/*
+ docinto contrib/plugin
+ dodoc contrib/plugin/*
+
+ 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}"
+ python_mod_optimize
+}
+
+pkg_postrm() {
+ python_mod_cleanup
+}
+
+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
+}