diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2008-02-19 23:10:16 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2008-02-19 23:10:16 +0000 |
commit | deba660ee4aca711fc8df489290895100f4bd6b1 (patch) | |
tree | d15b9f120f59fedec7fdb29b60abeab46b93e5fb /sys-process | |
parent | Add a new revision with pambase's system-remote-login as base stack. (diff) | |
download | historical-deba660ee4aca711fc8df489290895100f4bd6b1.tar.gz historical-deba660ee4aca711fc8df489290895100f4bd6b1.tar.bz2 historical-deba660ee4aca711fc8df489290895100f4bd6b1.zip |
Version bump.
Package-Manager: portage-2.1.4.4
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/audit/ChangeLog | 7 | ||||
-rw-r--r-- | sys-process/audit/Manifest | 4 | ||||
-rw-r--r-- | sys-process/audit/audit-1.6.8.ebuild | 88 |
3 files changed, 97 insertions, 2 deletions
diff --git a/sys-process/audit/ChangeLog b/sys-process/audit/ChangeLog index e4a7dfd50f46..9963c9841d82 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.34 2008/01/13 20:44:37 kumba Exp $ +# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/ChangeLog,v 1.35 2008/02/19 23:10:16 robbat2 Exp $ + +*audit-1.6.8 (19 Feb 2008) + + 19 Feb 2008; Robin H. Johnson <robbat2@gentoo.org> +audit-1.6.8.ebuild: + Version bump. 13 Jan 2008; Joshua Kinard <kumba@gentoo.org> audit-1.6.2.ebuild: Marked unstable on mips. diff --git a/sys-process/audit/Manifest b/sys-process/audit/Manifest index 2d62ef0848e3..8e89e9303567 100644 --- a/sys-process/audit/Manifest +++ b/sys-process/audit/Manifest @@ -12,6 +12,7 @@ DIST audit-1.5.1.tar.gz 616664 RMD160 6ebaf730dcf2f419ad2bf63f1311edfb0ab0bb02 S DIST audit-1.5.4.tar.gz 325636 RMD160 433fb71f6d24f23fa8835646e457dc5267b02735 SHA1 478cbf6a08cdd0afc7f5d2cff6e2bd100dbc9a94 SHA256 192fcbd0cc45aa26d44607081acdbb60a002067a750d505822e99c8ab9929931 DIST audit-1.6.1.tar.gz 791114 RMD160 6734fffc26abd8233e7bc2668d80a3341f40ff89 SHA1 97eb2ffe77f00306f00a9cec5083a6925b76f6e9 SHA256 457656ab19f81823ab477a37b27c644d9d5382ca810b411819ef5930dceeca5b 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 EBUILD audit-1.2.9-r1.ebuild 2150 RMD160 b4885daabac49f34d39bb905e456e47fdf4f9eb3 SHA1 d1c9ad9381a78bf3420f329c8e59cdb82c231a44 SHA256 918538939055f23ee54932329e391d57f48f3350ec1357a90a8366fb8f38ce54 EBUILD audit-1.2.9-r2.ebuild 2380 RMD160 ade857589a80b28fad10936d80e6b25fb41bd68b SHA1 3c7822b5431d1f444e2147d49e8cb1c10b513f89 SHA256 cda69cd56e8584d00b53e9d2ddd7721c8e81f956ab514c2e4ff74f1397eaa720 EBUILD audit-1.2.9.ebuild 2106 RMD160 01c5bc236821d2c2667562267fdc2ca675317a5e SHA1 bc40ff924d26f19ec89b77334ba901c89d23e954 SHA256 c2aeaa82f3ac68e407d143857bcbe2d025dea3f7a72c012fa86f3f49b67c878b @@ -19,5 +20,6 @@ EBUILD audit-1.5.1.ebuild 2117 RMD160 f17eed72b757ebab268d6fb7ee319bde1e072465 S EBUILD audit-1.5.4.ebuild 1997 RMD160 c5af2f10f5579c692d86d9abf477dff0d2d0dd69 SHA1 fd475c7839c09fad89b0c0a8501db5c924927383 SHA256 2f6025a8d490971d60b496593a28fbebf5106b3fb23f83d9dade1b69de2d65bf 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 -MISC ChangeLog 5769 RMD160 ac5c6e0a634c3099ebaf69c092af39490a766fac SHA1 137ce7bf6b7ee490248c4cafcad059ddb2bea8f5 SHA256 62b0ebe0bb6b11b4a8b1caf802802cd86e9efa924d34765dad7059b4dba06da5 +EBUILD audit-1.6.8.ebuild 2378 RMD160 b5f117525ed50c62303a31127f3911b5ce53ff33 SHA1 cafe91bd70afef5218bc5bb2f35858e2d803018e SHA256 2d6b66a3d5179a549a0898be3a0a4cef64557396f4c7a969663e5d72049ac7eb +MISC ChangeLog 5890 RMD160 8427a497334cea7c930d88e0978bd5bbadf0bad8 SHA1 7a5ee57af3ef2faa77f72a959ac154f3682bb8c8 SHA256 eacaf90a44389c05fa35bd64bfad81e30b5aa01caec1fedea8bee18969e8c879 MISC metadata.xml 231 RMD160 e78f0580e975fa82702433055e1498b0d9228104 SHA1 de14a9907da991c933aed57aeba714d7b7ce28c6 SHA256 f62f6487425736b6d2f27bb84ee09ccee245c1abf74462b6fbcb90f2c368ad2e diff --git a/sys-process/audit/audit-1.6.8.ebuild b/sys-process/audit/audit-1.6.8.ebuild new file mode 100644 index 000000000000..c93af7abbc4e --- /dev/null +++ b/sys-process/audit/audit-1.6.8.ebuild @@ -0,0 +1,88 @@ +# 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.6.8.ebuild,v 1.1 2008/02/19 23:10:16 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 ~ia64 ~mips ~ppc ~ppc64 ~sparc ~x86" +IUSE="" + +RDEPEND=">=dev-lang/python-2.4" +DEPEND="${RDEPEND} + dev-lang/swig + >=sys-kernel/linux-headers-2.6.22-r2" +# 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 + + # Regenerate autotooling + eautoreconf +} + +src_compile() { + #append-flags -D'__attribute__(x)=' + econf --sbindir=/sbin || die + emake || die "emake failed" +} + +src_install() { + emake DESTDIR="${D}" install || die "emake install failed" + dodoc AUTHORS ChangeLog README* THANKS TODO 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}" + 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 +} |