diff options
author | Robin H. Johnson <robbat2@gentoo.org> | 2006-02-01 02:32:51 +0000 |
---|---|---|
committer | Robin H. Johnson <robbat2@gentoo.org> | 2006-02-01 02:32:51 +0000 |
commit | 4bb0a85402d873ea0355afe733a1bf2c76783819 (patch) | |
tree | de0ef46689918b8b475174196e0be755b55d4035 /sys-process | |
parent | old (diff) | |
download | gentoo-2-4bb0a85402d873ea0355afe733a1bf2c76783819.tar.gz gentoo-2-4bb0a85402d873ea0355afe733a1bf2c76783819.tar.bz2 gentoo-2-4bb0a85402d873ea0355afe733a1bf2c76783819.zip |
Add audit-1.1.3. KEYWORDS are -* because it needs masked kernel headers.
(Portage version: 2.1_pre4-r1)
Diffstat (limited to 'sys-process')
-rw-r--r-- | sys-process/audit/ChangeLog | 10 | ||||
-rw-r--r-- | sys-process/audit/Manifest | 93 | ||||
-rw-r--r-- | sys-process/audit/audit-1.1.3.ebuild | 57 | ||||
-rw-r--r-- | sys-process/audit/files/audit-1.1.3-compilefix.patch | 123 | ||||
-rw-r--r-- | sys-process/audit/files/digest-audit-1.1.3 | 3 |
5 files changed, 264 insertions, 22 deletions
diff --git a/sys-process/audit/ChangeLog b/sys-process/audit/ChangeLog index b5534237e666..76999f310a4f 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.8 2005/06/06 01:39:22 beu Exp $ +# Copyright 1999-2006 Gentoo Foundation; Distributed under the GPL v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/ChangeLog,v 1.9 2006/02/01 02:32:51 robbat2 Exp $ + +*audit-1.1.3 (01 Feb 2006) + + 01 Feb 2006; Robin H. Johnson <robbat2@gentoo.org> + +files/audit-1.1.3-compilefix.patch, +audit-1.1.3.ebuild: + Add audit-1.1.3. KEYWORDS are -* because it needs masked kernel headers. *audit-0.9.1 (06 Jun 2005) diff --git a/sys-process/audit/Manifest b/sys-process/audit/Manifest index 36edf9acacef..cacd22024b10 100644 --- a/sys-process/audit/Manifest +++ b/sys-process/audit/Manifest @@ -1,28 +1,81 @@ ------BEGIN PGP SIGNED MESSAGE----- -Hash: SHA1 - -MD5 23a5c32533900128dac2ca45b5889521 audit-0.8.1.ebuild 1568 -MD5 7b7ff6f6407bc96c457a91f20a6f0c28 audit-0.7.3.ebuild 1564 -MD5 b7ae6b273342ab1c9a026a88c13cafa1 audit-0.7.2-r1.ebuild 1571 -MD5 5b827f7378df0f835535406269d5d301 metadata.xml 296 MD5 e2d96210e56b001ca85519b16eb2aa78 ChangeLog 1475 +RMD160 6959a0322192629bd73132f78d10879b0f32bb89 ChangeLog 1475 +SHA256 c6f62c848bb57863ed0229bb908ad24d645d6ed82b44c7df3e76710c70a6714f ChangeLog 1475 +MD5 b7ae6b273342ab1c9a026a88c13cafa1 audit-0.7.2-r1.ebuild 1571 +RMD160 f6fa25c23fbd547be702bd294d49fb2463840422 audit-0.7.2-r1.ebuild 1571 +SHA256 487c009299e82b28b743e2d1892b76051d13a5159d3b9fd4525af0a4c7e5f0c2 audit-0.7.2-r1.ebuild 1571 +MD5 7b7ff6f6407bc96c457a91f20a6f0c28 audit-0.7.3.ebuild 1564 +RMD160 304ba124145a91718380c3323dba7a750c60a743 audit-0.7.3.ebuild 1564 +SHA256 4c0ec3c67541629d804eb5aa768cc3fb77b7397ab30c35a7289c792314ad6c18 audit-0.7.3.ebuild 1564 MD5 800dc38b7b284025611145ab70338ae7 audit-0.7.4.ebuild 1564 +RMD160 8548886ca10bd324cc969887359b243ee1ec72b5 audit-0.7.4.ebuild 1564 +SHA256 ce7620877d6609ff0a045f41cb0bf8afff6ca4b6bb31091c9aa6aba36600b999 audit-0.7.4.ebuild 1564 +MD5 23a5c32533900128dac2ca45b5889521 audit-0.8.1.ebuild 1568 +RMD160 7a33b02295170287c912e63061843a7180a626d3 audit-0.8.1.ebuild 1568 +SHA256 bd5b99c939ab394f891c7bece7c71dcf6b1f537263c774bc15c92ec8bc38a3f9 audit-0.8.1.ebuild 1568 MD5 f72d5400e4239d7aa72c76c188ecc7c0 audit-0.8.ebuild 1562 +RMD160 fe1045f4888da8e3c9c475bde582667f41934c96 audit-0.8.ebuild 1562 +SHA256 e61f879a74d4ad8597c836768a009029fd73eca50cc361248aabc2a00cdc0eb9 audit-0.8.ebuild 1562 MD5 ccaf6e8614e3b817335570e1085e2a9a audit-0.9.1.ebuild 1564 -MD5 5c9d503ee28782e29f1c87f4cf9efc3a files/digest-audit-0.7.4 62 -MD5 b6cd1cd6edc78bf88c12015eae5fda21 files/digest-audit-0.8 60 -MD5 7c1f1f14a4750e7d8bbc1de62b3fcf59 files/auditd.initd 708 +RMD160 02e47ad08ae4f58d9f82b2773cf854d9a3aced53 audit-0.9.1.ebuild 1564 +SHA256 a01bf8e0f27c70b7d40183f587bf59c1734ea60bb11733353900632fe9131389 audit-0.9.1.ebuild 1564 +MD5 ccaf6e8614e3b817335570e1085e2a9a audit-1.0.12.ebuild 1564 +RMD160 02e47ad08ae4f58d9f82b2773cf854d9a3aced53 audit-1.0.12.ebuild 1564 +SHA256 a01bf8e0f27c70b7d40183f587bf59c1734ea60bb11733353900632fe9131389 audit-1.0.12.ebuild 1564 +MD5 ccaf6e8614e3b817335570e1085e2a9a audit-1.0.3.ebuild 1564 +RMD160 02e47ad08ae4f58d9f82b2773cf854d9a3aced53 audit-1.0.3.ebuild 1564 +SHA256 a01bf8e0f27c70b7d40183f587bf59c1734ea60bb11733353900632fe9131389 audit-1.0.3.ebuild 1564 +MD5 ccaf6e8614e3b817335570e1085e2a9a audit-1.1.2.ebuild 1564 +RMD160 02e47ad08ae4f58d9f82b2773cf854d9a3aced53 audit-1.1.2.ebuild 1564 +SHA256 a01bf8e0f27c70b7d40183f587bf59c1734ea60bb11733353900632fe9131389 audit-1.1.2.ebuild 1564 +MD5 a6cf6e06ea5d843a8615d776fd84d4e9 audit-1.1.3.ebuild 1646 +RMD160 d4a6542a2c8f0bf5885165a6955bb41e339b9530 audit-1.1.3.ebuild 1646 +SHA256 a0cc3550f9b1a0089a02e57764eac5c12fde96f6f453be58327498c743f39743 audit-1.1.3.ebuild 1646 +MD5 fe4a6c96f2df7f9126c1f043610399f2 files/audit-1.1.3-compilefix.patch 3742 +RMD160 dd0a5338aaac12850e771d6baa9d0bfb5d3a4925 files/audit-1.1.3-compilefix.patch 3742 +SHA256 8ffe02eb9ee988996c9cb4ccdcc3ee39903131173260b13b72b94298fb3afff4 files/audit-1.1.3-compilefix.patch 3742 +MD5 d0c04da868c3fe0dff941187f054ecf6 files/auditd.confd 474 +RMD160 c50759bdfda42fb58caedda86a16b37f8c7e4cf9 files/auditd.confd 474 +SHA256 4e1377ee330a3f5e16c9eeaf3f9c56ab9edc76fc7b65140f0f1d917fd77169f4 files/auditd.confd 474 MD5 402bf22e8e90b45f8a8349314cd61068 files/auditd.confd-0.7.2-r1 483 -MD5 acc06693c8205b28388a54f7812a5738 files/digest-audit-0.7.2-r1 62 +RMD160 dcf9352e4c9a82768ebd0290c98d3e89b539b638 files/auditd.confd-0.7.2-r1 483 +SHA256 dce987232ae7bf4545b2aedcd73c4f1023bba949e5335dc7fa60927effa9fc62 files/auditd.confd-0.7.2-r1 483 +MD5 7c1f1f14a4750e7d8bbc1de62b3fcf59 files/auditd.initd 708 +RMD160 64bc9edad5e5367b5b8685ea677974a861982432 files/auditd.initd 708 +SHA256 8bd37af8033abf07eaec1214fe56f607561ee2b436fca05002d0cdc222c27cfc files/auditd.initd 708 MD5 d50e111e375e27af12b1c200175cd7b6 files/auditd.initd-0.7.2-r1 709 -MD5 4d90073ff2ad766b0878e6b160e318bd files/digest-audit-0.8.1 62 -MD5 d0c04da868c3fe0dff941187f054ecf6 files/auditd.confd 474 +RMD160 b13f83a40faa483b060e9f888a81138c573618e2 files/auditd.initd-0.7.2-r1 709 +SHA256 4c00b21e22add54e3c5f9a3b95fda9f5c2f03e51b0e6555cb941a8a4d76d6f8e files/auditd.initd-0.7.2-r1 709 +MD5 acc06693c8205b28388a54f7812a5738 files/digest-audit-0.7.2-r1 62 +RMD160 c7938b106e75d61c7868808bdba0e7c0db40f1d4 files/digest-audit-0.7.2-r1 62 +SHA256 12550a0af500cdd68e09a0c5c84cd95ec07c8f72e706482885dc937e2682c657 files/digest-audit-0.7.2-r1 62 MD5 362246ef4478da970cb07885a1218e39 files/digest-audit-0.7.3 62 +RMD160 f9265b568a5020cff1b4f8c1f6dce4044a2b0e9a files/digest-audit-0.7.3 62 +SHA256 cf76c07c4341c560ca4e554005ad91eb00fe6d00620c811ead9c47c1105325d3 files/digest-audit-0.7.3 62 +MD5 5c9d503ee28782e29f1c87f4cf9efc3a files/digest-audit-0.7.4 62 +RMD160 5a1572021a6072d7c813d5dd3af1edd4c3b94957 files/digest-audit-0.7.4 62 +SHA256 400112be75f1a578ce0b6074a3081d67a1549127e19ac6708b3627557242e235 files/digest-audit-0.7.4 62 +MD5 b6cd1cd6edc78bf88c12015eae5fda21 files/digest-audit-0.8 60 +RMD160 854ba2397c68b56e5a7f0a9b50d6947433e9a7ab files/digest-audit-0.8 60 +SHA256 2888d50e7100daa1b6ddf5b6f2bf8d15d2030615b84f239b6cea6d4443e62d81 files/digest-audit-0.8 60 +MD5 4d90073ff2ad766b0878e6b160e318bd files/digest-audit-0.8.1 62 +RMD160 21eab176797ea2a064d28c7f44052dfd576d8705 files/digest-audit-0.8.1 62 +SHA256 b067bb153d2a93e2b31817bc7d6f749e6a6aa73e5aec66281c995b5fa8d48943 files/digest-audit-0.8.1 62 MD5 218045283f07df1580cadf6ef3473da0 files/digest-audit-0.9.1 62 ------BEGIN PGP SIGNATURE----- -Version: GnuPG v1.4.1 (GNU/Linux) - -iD8DBQFCo7eJjUHll2nfF60RAoABAJ9CVf03JdIHVEUJqvNv7uVVb+sPQgCgroLE -t1Freqsqt46GjlrmQHOp2/k= -=WJWV ------END PGP SIGNATURE----- +RMD160 98c3dc5abee6f982dcb17111787ce4aae5669fcf files/digest-audit-0.9.1 62 +SHA256 d524f6988aea8cdce75e53b3b483da30b1ba64805eda5cb35e5b5ed630f27032 files/digest-audit-0.9.1 62 +MD5 aa4f7371572120c53025c6986dcf63cc files/digest-audit-1.0.12 64 +RMD160 cfe4f8ba268b2bf58d259f64a85939ab084f502b files/digest-audit-1.0.12 64 +SHA256 105a5d132236be0198c822054421c83debcbb6bcc5768ac47e2e08553133ccc9 files/digest-audit-1.0.12 64 +MD5 f67d8493697c47c7ce20c1900e8fa96e files/digest-audit-1.0.3 62 +RMD160 7cded3c62e0d4925c92523f3ee3425dc3491989e files/digest-audit-1.0.3 62 +SHA256 b3c5d7ef216ce5f69c750577f4e974f208182d8d63ce6edced0aedc11067f3d7 files/digest-audit-1.0.3 62 +MD5 e3e9c85a6b7110140d60ea7d1a08ddb3 files/digest-audit-1.1.2 63 +RMD160 0681c6401e19efd9e653f38fefaa6940cc7bc9a7 files/digest-audit-1.1.2 63 +SHA256 4ea93c11efca54bdaaa502370fafe8a4f52675fc7bdbded32b3b8127aa8ce230 files/digest-audit-1.1.2 63 +MD5 a80136feb5f0f97b25b59551791f215d files/digest-audit-1.1.3 235 +RMD160 3fe78764b06dac10476b2362486f9752b682b673 files/digest-audit-1.1.3 235 +SHA256 767ae51f40e78e9455aec4012e2dd1b28b42323e473b811d8d29586c057cd622 files/digest-audit-1.1.3 235 +MD5 5b827f7378df0f835535406269d5d301 metadata.xml 296 +RMD160 6ab135a8e466e887a5a6d02338979f93da0a2acc metadata.xml 296 +SHA256 87bd81cdf18bd09d861194a0a7afd33e8f8f7fc7c91b381a411d6fadc03073ce metadata.xml 296 diff --git a/sys-process/audit/audit-1.1.3.ebuild b/sys-process/audit/audit-1.1.3.ebuild new file mode 100644 index 000000000000..dba0a576c600 --- /dev/null +++ b/sys-process/audit/audit-1.1.3.ebuild @@ -0,0 +1,57 @@ +# Copyright 1999-2006 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/sys-process/audit/audit-1.1.3.ebuild,v 1.1 2006/02/01 02:32:51 robbat2 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="-*" +IUSE="" + +DEPEND="sys-devel/libtool + virtual/os-headers + >=sys-devel/automake-1.9 + >=sys-devel/autoconf-2.59 + >=sys-kernel/linux-header-2.6.15*" +RDEPEND="" + +src_unpack() { + unpack ${A} || die "unpack failed" + EPATCH_OPTS="-p1 -d ${S}" \ + epatch ${FILESDIR}/${P}-compilefix.patch + cd ${S} || die "cd '${S}' failed" + WANT_AUTOMAKE="1.9" \ + autoreconf -fv --install || die "autoreconf failed" +} + +src_compile() { + 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,la} ${D}/usr/lib + # remove RedHat garbage + rm -rf ${D}/etc/rc.d ${D}/etc/sysconfig + # docs + dodoc AUTHORS ChangeLog README* THANKS TODO sample.rules + # scripts + 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/audit-1.1.3-compilefix.patch b/sys-process/audit/files/audit-1.1.3-compilefix.patch new file mode 100644 index 000000000000..f33886976940 --- /dev/null +++ b/sys-process/audit/files/audit-1.1.3-compilefix.patch @@ -0,0 +1,123 @@ +diff -Nuarp --exclude '*~' --exclude 'config.*' --exclude ltmain.sh audit-1.1.3/lib/libaudit.h audit-1.1.3.new/lib/libaudit.h +--- audit-1.1.3/lib/libaudit.h 2006-01-05 13:19:20.000000000 -0800 ++++ audit-1.1.3.new/lib/libaudit.h 2006-01-31 18:12:49.057268514 -0800 +@@ -31,6 +31,7 @@ extern "C" { + #include <asm/types.h> + #include <stdint.h> + #include <sys/socket.h> ++#include <signal.h> /* to avoid redefinition of sigval/siginfo */ + #include <linux/netlink.h> + #include <linux/audit.h> + #include <stdarg.h> +diff -Nuarp --exclude '*~' --exclude 'config.*' --exclude ltmain.sh audit-1.1.3/src/auditctl-llist.c audit-1.1.3.new/src/auditctl-llist.c +--- audit-1.1.3/src/auditctl-llist.c 2006-01-04 08:27:42.000000000 -0800 ++++ audit-1.1.3.new/src/auditctl-llist.c 2006-01-31 18:07:52.367438434 -0800 +@@ -126,16 +126,16 @@ int list_find_item(llist *l, unsigned in + void list_clear(llist* l) + { + lnode* nextnode; +- register lnode* current; ++ register lnode* curnode; + +- current = l->head; +- while (current) ++ curnode = l->head; ++ while (curnode) + { +- nextnode=current->next; +- if (current->w) +- free(current->w); +- free(current); +- current=nextnode; ++ nextnode=curnode->next; ++ if (curnode->w) ++ free(curnode->w); ++ free(curnode); ++ curnode=nextnode; + } + l->head = 0; + l->cur = 0; +diff -Nuarp --exclude '*~' --exclude 'config.*' --exclude ltmain.sh audit-1.1.3/src/ausearch-int.c audit-1.1.3.new/src/ausearch-int.c +--- audit-1.1.3/src/ausearch-int.c 2006-01-04 08:27:42.000000000 -0800 ++++ audit-1.1.3.new/src/ausearch-int.c 2006-01-31 18:09:11.607132293 -0800 +@@ -112,16 +112,16 @@ int ilist_find_item(ilist *l, unsigned i + void ilist_clear(ilist* l) + { + int_node* nextnode; +- register int_node* current; ++ register int_node* curnode; + + if (l == NULL) + return; + +- current = l->head; +- while (current) { +- nextnode=current->next; +- free(current); +- current=nextnode; ++ curnode = l->head; ++ while (curnode) { ++ nextnode=curnode->next; ++ free(curnode); ++ curnode=nextnode; + } + l->head = NULL; + l->cur = NULL; +diff -Nuarp --exclude '*~' --exclude 'config.*' --exclude ltmain.sh audit-1.1.3/src/ausearch-llist.c audit-1.1.3.new/src/ausearch-llist.c +--- audit-1.1.3/src/ausearch-llist.c 2006-01-04 08:27:42.000000000 -0800 ++++ audit-1.1.3.new/src/ausearch-llist.c 2006-01-31 18:08:40.173666993 -0800 +@@ -136,15 +136,15 @@ int list_find_item(llist *l, unsigned in + void list_clear(llist* l) + { + lnode* nextnode; +- register lnode* current; ++ register lnode* curnode; + +- current = l->head; +- while (current) { +- nextnode=current->next; +- if (current->message) +- free(current->message); +- free(current); +- current=nextnode; ++ curnode = l->head; ++ while (curnode) { ++ nextnode=curnode->next; ++ if (curnode->message) ++ free(curnode->message); ++ free(curnode); ++ curnode=nextnode; + } + l->head = NULL; + l->cur = NULL; +diff -Nuarp --exclude '*~' --exclude 'config.*' --exclude ltmain.sh audit-1.1.3/src/ausearch-string.c audit-1.1.3.new/src/ausearch-string.c +--- audit-1.1.3/src/ausearch-string.c 2006-01-04 08:27:42.000000000 -0800 ++++ audit-1.1.3.new/src/ausearch-string.c 2006-01-31 18:08:54.386329531 -0800 +@@ -130,17 +130,17 @@ int slist_find_item(slist *l, unsigned i + void slist_clear(slist* l) + { + snode* nextnode; +- register snode* current; ++ register snode* curnode; + +- current = l->head; +- while (current) { +- nextnode=current->next; +- if (current->str) +- free(current->str); +- if (current->key) +- free(current->key); +- free(current); +- current=nextnode; ++ curnode = l->head; ++ while (curnode) { ++ nextnode=curnode->next; ++ if (curnode->str) ++ free(curnode->str); ++ if (curnode->key) ++ free(curnode->key); ++ free(curnode); ++ curnode=nextnode; + } + l->head = NULL; + l->cur = NULL; diff --git a/sys-process/audit/files/digest-audit-1.1.3 b/sys-process/audit/files/digest-audit-1.1.3 new file mode 100644 index 000000000000..aa64bc08d123 --- /dev/null +++ b/sys-process/audit/files/digest-audit-1.1.3 @@ -0,0 +1,3 @@ +MD5 ff5be0c2fdc3a28ec4903f64a5587faf audit-1.1.3.tar.gz 264682 +RMD160 f231e05c4b1651528554b1512c36342c47c85ff5 audit-1.1.3.tar.gz 264682 +SHA256 7e2f838b054fec5121a80e4717e5807854a59a8f8daa06a7a9d55e5108a71b13 audit-1.1.3.tar.gz 264682 |