# 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.18 2007/03/01 06:33:47 robbat2 Exp $
+# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/ChangeLog,v 1.19 2007/04/01 22:10:54 robbat2 Exp $
+
+*audit-1.5.1 (01 Apr 2007)
+
+ 01 Apr 2007; Robin H. Johnson <robbat2@gentoo.org> +audit-1.5.1.ebuild:
+ Bug #171282, version bump to fix glibc selinux compile issues.
01 Mar 2007; Robin H. Johnson <robbat2@gentoo.org> audit-1.2.9-r2.ebuild:
Fix another libdir snafu.
RMD160 9c397b86fb3c604b42e704fcb7d335e2b504325d files/elf-em.h-2.6.18-rc4 1571
SHA256 039326066a1e0a6ecbfd0a9023a140a3041c138efcf165aac0dded5444beb31c files/elf-em.h-2.6.18-rc4 1571
DIST audit-1.2.9.tar.gz 240266 RMD160 329692787d24469b86107377e0004bfae380e0ea SHA1 a654638c49effc2514bc4b4c711fedf3af82a352 SHA256 3660d1220246e81df1e140867acefc82a61418009c740d92e56af2ae0baa4aff
+DIST audit-1.5.1.tar.gz 616664 RMD160 6ebaf730dcf2f419ad2bf63f1311edfb0ab0bb02 SHA1 dbc2f50ff11d4dd9ea7094217a6ecdf53f41a92a SHA256 c4a19d31458fc203bad1e105c0eb4cb857579e1210340153ee6a7874d8af81fa
EBUILD audit-1.2.9-r1.ebuild 2149 RMD160 198117c42393baa577bd85583e80485ac1845220 SHA1 81b172e40fef80cc4b1a355883b2464368529810 SHA256 72e9ca2aaf3cd8f895b5cba9f65a35aec684ec9c451a64ec3ec0a5855d338d14
MD5 4ccb78e8fcc59b2e2a4d4709dec29378 audit-1.2.9-r1.ebuild 2149
RMD160 198117c42393baa577bd85583e80485ac1845220 audit-1.2.9-r1.ebuild 2149
MD5 855d7b9a8025d3a984a8c8fd4275ad1b audit-1.2.9.ebuild 2105
RMD160 97de566a99d9b20dc82af1205457e02a9943780c audit-1.2.9.ebuild 2105
SHA256 b1831bd74bcf219f062b7a572b7e21c6a3383c44b360650803d764f8ccb92fe1 audit-1.2.9.ebuild 2105
-MISC ChangeLog 3864 RMD160 f47e1c1f062cacdbf79b7bbae844159cb4d82fb9 SHA1 6c32dfdf38c5cc80136b2ec3953ef6e4e7e91afc SHA256 4303f11fcd7530f228334b3fb8cffbacccb4e89b722ef741190da0539e91593a
-MD5 ce74c2ad91f1b7322f40307be3f0c254 ChangeLog 3864
-RMD160 f47e1c1f062cacdbf79b7bbae844159cb4d82fb9 ChangeLog 3864
-SHA256 4303f11fcd7530f228334b3fb8cffbacccb4e89b722ef741190da0539e91593a ChangeLog 3864
+EBUILD audit-1.5.1.ebuild 2116 RMD160 3e7f7615b19b793995f4c5a2d3bc5af2ab0c28d6 SHA1 437c540138d45665748cc7491db15373244014a3 SHA256 3c6ffb6ab3547db95a187915764b85bf857ffffd4cafbf1f6bb49d92669768ce
+MD5 26d1f63071982931399948ab92929adc audit-1.5.1.ebuild 2116
+RMD160 3e7f7615b19b793995f4c5a2d3bc5af2ab0c28d6 audit-1.5.1.ebuild 2116
+SHA256 3c6ffb6ab3547db95a187915764b85bf857ffffd4cafbf1f6bb49d92669768ce audit-1.5.1.ebuild 2116
+MISC ChangeLog 4032 RMD160 4e6ca35ae752ff4a1e9c3580441e0bf20c7b383e SHA1 5c41f7b240354193ed9f7a0e865081cfb2237a70 SHA256 bf8a45afa8cfe1d2d5d8ffd931ed05f6e3a198bcd084b2488baaaf7135c4975e
+MD5 6dc855c4549ed8838cb9c8fd8d2d30ec ChangeLog 4032
+RMD160 4e6ca35ae752ff4a1e9c3580441e0bf20c7b383e ChangeLog 4032
+SHA256 bf8a45afa8cfe1d2d5d8ffd931ed05f6e3a198bcd084b2488baaaf7135c4975e ChangeLog 4032
MISC metadata.xml 231 RMD160 e78f0580e975fa82702433055e1498b0d9228104 SHA1 de14a9907da991c933aed57aeba714d7b7ce28c6 SHA256 f62f6487425736b6d2f27bb84ee09ccee245c1abf74462b6fbcb90f2c368ad2e
MD5 426b16b0f03a2c3b0fa6864a71876999 metadata.xml 231
RMD160 e78f0580e975fa82702433055e1498b0d9228104 metadata.xml 231
MD5 6680465051b7c6f77446364536f6d36f files/digest-audit-1.2.9-r2 235
RMD160 6151f479783510a59a0974d3133d50a648cfd363 files/digest-audit-1.2.9-r2 235
SHA256 45a8955de9c405232ff0c416b2bbe7025b986788532130d1a4c35a91402c3f24 files/digest-audit-1.2.9-r2 235
+MD5 10d41e115a17158ef22581d0a3c9f3c1 files/digest-audit-1.5.1 235
+RMD160 bcf7184bbcb14916b13724764014d1246c28d5ab files/digest-audit-1.5.1 235
+SHA256 2cc3ba9686dc5728634ff762d52a52c08a2a86028d2d6e8ca5adb9df057a1932 files/digest-audit-1.5.1 235
--- /dev/null
+# 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.1.ebuild,v 1.1 2007/04/01 22:10:54 robbat2 Exp $
+
+inherit eutils autotools toolchain-funcs
+
+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="~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
+
+HEADER_KV="2.6.18-rc4"
+src_unpack() {
+ unpack ${A} || die "unpack failed"
+ cd ${S} || die "cd '${S}' failed"
+ eautoreconf || die "eautoreconf failed"
+}
+
+src_compile() {
+ econf --sbindir=/sbin --libdir=/$(get_libdir) || die "econf failed"
+ emake || die "emake failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install || die "emake install failed"
+ dodir /usr/lib
+ mv ${D}/$(get_libdir)/*.a ${D}/usr/$(get_libdir)
+ mv ${D}/$(get_libdir)/*.la ${D}/usr/$(get_libdir)
+ gen_usr_ldscript libaudit.so libauparse.so
+ sed -i \
+ -e "s~^dependency_libs=' /$(get_libdir)/libaudit.la'~dependency_libs=' /usr/$(get_libdir)/libaudit.la~g" \
+ ${D}/usr/$(get_libdir)/python2.4/site-packages/_audit.la || \
+ die "Failed to fix _libaudit.la for Python"
+
+ # remove RedHat garbage
+ rm -rf ${D}/etc/rc.d ${D}/etc/sysconfig
+ # docs
+ dodoc AUTHORS ChangeLog README* THANKS TODO sample.rules contrib/*
+ # scripts
+ newinitd ${FILESDIR}/auditd-init.d-1.2.3 auditd
+ newconfd ${FILESDIR}/auditd-conf.d-1.2.3 auditd
+ # 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 /
+}
+
+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
+}
--- /dev/null
+MD5 9f410eae053012d1f4db7f60c45cf8bf audit-1.5.1.tar.gz 616664
+RMD160 6ebaf730dcf2f419ad2bf63f1311edfb0ab0bb02 audit-1.5.1.tar.gz 616664
+SHA256 c4a19d31458fc203bad1e105c0eb4cb857579e1210340153ee6a7874d8af81fa audit-1.5.1.tar.gz 616664