diff options
author | Matsuu Takuto <matsuu@gentoo.org> | 2007-09-26 17:14:18 +0000 |
---|---|---|
committer | Matsuu Takuto <matsuu@gentoo.org> | 2007-09-26 17:14:18 +0000 |
commit | 26b813d5f49eef2a497fb5b771223bd2f8cf7ea4 (patch) | |
tree | edaf51864011ff777fe33d249abff637ed620873 /app-forensics | |
parent | Added audit and xattr USE flag for app-forensics/aide. (diff) | |
download | historical-26b813d5f49eef2a497fb5b771223bd2f8cf7ea4.tar.gz historical-26b813d5f49eef2a497fb5b771223bd2f8cf7ea4.tar.bz2 historical-26b813d5f49eef2a497fb5b771223bd2f8cf7ea4.zip |
Version bumped.
Package-Manager: portage-2.1.3.9
Diffstat (limited to 'app-forensics')
-rw-r--r-- | app-forensics/aide/ChangeLog | 13 | ||||
-rw-r--r-- | app-forensics/aide/Manifest | 28 | ||||
-rw-r--r-- | app-forensics/aide/aide-0.13.1.ebuild | 129 | ||||
-rw-r--r-- | app-forensics/aide/files/aide-0.13.1-gentoo.patch | 36 | ||||
-rw-r--r-- | app-forensics/aide/files/digest-aide-0.13.1 | 3 | ||||
-rw-r--r-- | app-forensics/aide/metadata.xml | 2 |
6 files changed, 201 insertions, 10 deletions
diff --git a/app-forensics/aide/ChangeLog b/app-forensics/aide/ChangeLog index 6f39975c099f..583bbc8ecca7 100644 --- a/app-forensics/aide/ChangeLog +++ b/app-forensics/aide/ChangeLog @@ -1,6 +1,17 @@ # ChangeLog for app-forensics/aide # Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/app-forensics/aide/ChangeLog,v 1.23 2007/09/04 18:16:06 armin76 Exp $ +# $Header: /var/cvsroot/gentoo-x86/app-forensics/aide/ChangeLog,v 1.24 2007/09/26 17:14:17 matsuu Exp $ + +*aide-0.13.1 (26 Sep 2007) + + 26 Sep 2007; MATSUU Takuto <matsuu@gentoo.org> + +files/aide-0.13.1-gentoo.patch, metadata.xml, +aide-0.13.1.ebuild: + Version bumped, bug #126694, #191597. + Added static USE flag, bug #92250. + Added mail-client/mailx to DEPEND, bug #153952. + Fixed dependency, bug #163687. + Clean up ebuild. + Added myself to metadata.xml as maintainer. 04 Sep 2007; Raúl Porcel <armin76@gentoo.org> aide-0.10_p20040917-r1.ebuild: diff --git a/app-forensics/aide/Manifest b/app-forensics/aide/Manifest index 6a72941399aa..a402f6b91b72 100644 --- a/app-forensics/aide/Manifest +++ b/app-forensics/aide/Manifest @@ -10,6 +10,10 @@ AUX aide-0.10_p20040917-r1-fix-psql.diff 4726 RMD160 33a45a2d283d9e3f3c553fe08d4 MD5 71915b04e537c8182a7cb3c7f560e04e files/aide-0.10_p20040917-r1-fix-psql.diff 4726 RMD160 33a45a2d283d9e3f3c553fe08d428336be5fe036 files/aide-0.10_p20040917-r1-fix-psql.diff 4726 SHA256 9e8eab95389aaf09a2d81f5ed76391751961eb9677d0bc292cd9a90ffac0e6fc files/aide-0.10_p20040917-r1-fix-psql.diff 4726 +AUX aide-0.13.1-gentoo.patch 1218 RMD160 a696dfa3819a9be30e34de1d87dcd218283bfd44 SHA1 44085e22669cc2a616979d559afccd3deff37724 SHA256 c78aed624a51f683b83f2cc45239748861e14fe9e3a94277b0e1040b9a87eb00 +MD5 4f0ca93d2b08f6bdf71a7b91aab6f24a files/aide-0.13.1-gentoo.patch 1218 +RMD160 a696dfa3819a9be30e34de1d87dcd218283bfd44 files/aide-0.13.1-gentoo.patch 1218 +SHA256 c78aed624a51f683b83f2cc45239748861e14fe9e3a94277b0e1040b9a87eb00 files/aide-0.13.1-gentoo.patch 1218 AUX aide-0.9-gentoo.diff 2319 RMD160 f0cac1a144bd985a4eec9e1b9a100bee1ef6a044 SHA1 a1cbece243361f7088cc0fe8ba6c11c936503ee6 SHA256 edca6d817c0f40a8d54a203baa962b9b56636d39f31182ddd6a78204ee58bcfc MD5 f07734c5b540f7a251d3d8139ef0f75f files/aide-0.9-gentoo.diff 2319 RMD160 f0cac1a144bd985a4eec9e1b9a100bee1ef6a044 files/aide-0.9-gentoo.diff 2319 @@ -28,6 +32,7 @@ RMD160 c5a3f7dd8de191b26f32830ff003d4488452e01e files/aideinit 2948 SHA256 a7d82272bb381f08d7efcb4fdb9a1eace8c113b3fa2052cc23a2d2871381bba2 files/aideinit 2948 DIST aide-0.10.tar.gz 234184 RMD160 b3b63b018f3358f1d03cbc76270e5ea6ff9df943 SHA1 e1a65a96ea66742290b3e445d98c543008057938 SHA256 4819b9b46acaedb5293c87fc7c742a89dcb6f63b71b1fcdeb81349fb41f2935c DIST aide-0.10_p20040917.tar.gz 201023 RMD160 4390149398890f1d1fcea56d2d419968c65147a3 SHA1 599a1c12148fa9b7d4f59cbb8733ee4ab32ef6d8 SHA256 684d64e830810f93f4ed63d251df74fa3036cc64d6d0a1e8236a994159c1560d +DIST aide-0.13.1.tar.gz 285400 RMD160 802ac5bd817032bf3a696db7f547bef322b2487a SHA1 0112ee0a974020b99f09d1f2a9fb05433a7b9681 SHA256 b55065413bad3c24af51a551e6ab7cd4a9ecd9f449929261a45fc2f53e040021 DIST aide-0.9.tar.gz 216096 RMD160 aeb3a2ff2c3f4cbbec84a582ebad9389d5032adb SHA1 15648f3131c8dd7a82e0437a5c28ade8f5742d7d SHA256 aabed3de2a3807a7b12c382f92c15faf97b2032a6e4c2def2d72b40cca9567ea EBUILD aide-0.10.ebuild 1418 RMD160 e436c751e380969ef17403af7e8a5350406bcaab SHA1 43e19a5bd45e9763ad9bdb4fb21f2a17f7dd084f SHA256 7c7de17df332d0af7b54817383ef28d703a9d74847cd2a51173ea39cc8327207 MD5 91b1915d9d4ebc8ceb302db89bd31b77 aide-0.10.ebuild 1418 @@ -41,18 +46,22 @@ EBUILD aide-0.10_p20040917.ebuild 2584 RMD160 1ad89a5b541cfc3caf79f85d5985265cac MD5 7b9b0b62adc0ca84a756cdeb33383991 aide-0.10_p20040917.ebuild 2584 RMD160 1ad89a5b541cfc3caf79f85d5985265cac9c5ea6 aide-0.10_p20040917.ebuild 2584 SHA256 92c5f054187843103e52bfb9ce808cf25b775eaf3877f2f29a9e142afbe2f076 aide-0.10_p20040917.ebuild 2584 +EBUILD aide-0.13.1.ebuild 3559 RMD160 636a13a706933ba5bd5d190d15c396b4472ccb1d SHA1 78151694ab83d663ab06498aa7363d9e50fbeae5 SHA256 130147d3b117d2df5d7a42a61eb276ed384f3b2493f5e2d8b7c50067ebf35c09 +MD5 3183f92916dc1d5cd5876846f26ade5b aide-0.13.1.ebuild 3559 +RMD160 636a13a706933ba5bd5d190d15c396b4472ccb1d aide-0.13.1.ebuild 3559 +SHA256 130147d3b117d2df5d7a42a61eb276ed384f3b2493f5e2d8b7c50067ebf35c09 aide-0.13.1.ebuild 3559 EBUILD aide-0.9.ebuild 1390 RMD160 093942222a4aa654fedb0847407e5b32b685638f SHA1 c5b040c5a2ce590eedd635f1a7f8d95b5a916429 SHA256 e455e58e33647aa112d2c96bb69056645b12d7b5cd773bc8509128e3676af0fc MD5 4a0822e3949514e3f02289044fcb65f8 aide-0.9.ebuild 1390 RMD160 093942222a4aa654fedb0847407e5b32b685638f aide-0.9.ebuild 1390 SHA256 e455e58e33647aa112d2c96bb69056645b12d7b5cd773bc8509128e3676af0fc aide-0.9.ebuild 1390 -MISC ChangeLog 5607 RMD160 73c6a8df057fb376f990efa0ac695d5ae5a395c1 SHA1 2f83b8cd3f33e11b38254c84fe6f3c322b87b812 SHA256 8bd18e8154370ea319ac7173cb97126349e0748d41de4785cd8f68072fdecf8b -MD5 2de8b2258fa0a358009a15f6ddcd82aa ChangeLog 5607 -RMD160 73c6a8df057fb376f990efa0ac695d5ae5a395c1 ChangeLog 5607 -SHA256 8bd18e8154370ea319ac7173cb97126349e0748d41de4785cd8f68072fdecf8b ChangeLog 5607 -MISC metadata.xml 230 RMD160 bae79bd47dd753f27518cf7f9da71328ff1e005b SHA1 d88c6d49a90025a7ecb8f501bba12aaefbbbf589 SHA256 54d210721f07e0e12229fe8d2a4f394ffa1432d52e9e0af50a5dd4f2f763d387 -MD5 20ee07270b7eadc3659cd96a982e460f metadata.xml 230 -RMD160 bae79bd47dd753f27518cf7f9da71328ff1e005b metadata.xml 230 -SHA256 54d210721f07e0e12229fe8d2a4f394ffa1432d52e9e0af50a5dd4f2f763d387 metadata.xml 230 +MISC ChangeLog 5979 RMD160 8530f6c40c12372db05fc9cb3b78c8728f75a954 SHA1 8b613a55e3ed6789fb8bf7a14497e255b3c8e7be SHA256 a15a989b81e3f4242cdf59968865d5d0ce1457d57765439fd5c6356eb1c46d1f +MD5 f791437f67629f9b7485a089d77acf92 ChangeLog 5979 +RMD160 8530f6c40c12372db05fc9cb3b78c8728f75a954 ChangeLog 5979 +SHA256 a15a989b81e3f4242cdf59968865d5d0ce1457d57765439fd5c6356eb1c46d1f ChangeLog 5979 +MISC metadata.xml 227 RMD160 8fd92f1523d63aec4ec954abee49accf1064c6e6 SHA1 d1d36ec61b481027477edfb7a93cb1c42fb83ff6 SHA256 bb6f7d60ac5d9f18aaea588265033a77bfdeb50676739866d80241cfb869c77c +MD5 8a0253acb1f25a07dd94d59edd17a795 metadata.xml 227 +RMD160 8fd92f1523d63aec4ec954abee49accf1064c6e6 metadata.xml 227 +SHA256 bb6f7d60ac5d9f18aaea588265033a77bfdeb50676739866d80241cfb869c77c metadata.xml 227 MD5 71793e1b73d52836cc1bfbfc226c7693 files/digest-aide-0.10 229 RMD160 2c471e678418d1dc46bcb1d8e1cb9130fd840d04 files/digest-aide-0.10 229 SHA256 9bf4e36a5208d1fd99a1d27cee864d7ab59fcf3a7e8c67f2934ed2f96f3bc395 files/digest-aide-0.10 229 @@ -62,6 +71,9 @@ SHA256 4b227ef6d016d87d6c00c9447959353755ee365eef2a1bfefe4bcc09a99b86f1 files/di MD5 419e97a0fdbe7eac0f9cafe516306696 files/digest-aide-0.10_p20040917-r1 259 RMD160 81a9da02b2811a4fbcae647afd3359b4b6ea21d2 files/digest-aide-0.10_p20040917-r1 259 SHA256 4b227ef6d016d87d6c00c9447959353755ee365eef2a1bfefe4bcc09a99b86f1 files/digest-aide-0.10_p20040917-r1 259 +MD5 7d87bbc160a87891252aa1c8f31bdab3 files/digest-aide-0.13.1 235 +RMD160 90411420e3bf2644d9fae1895c4a4ca4f34de42f files/digest-aide-0.13.1 235 +SHA256 75240c00325c79f1915aac80b659a54147734de893869d412155af0daeeaec9b files/digest-aide-0.13.1 235 MD5 7908f7231fee25f342daf68e09d3bbdd files/digest-aide-0.9 226 RMD160 89dd7ab6504b0fda75d315f94f6410ac3ab6403c files/digest-aide-0.9 226 SHA256 4b1067a480c5dcdee33fe120442b186751d2713f33b029c27ea7f25765edc242 files/digest-aide-0.9 226 diff --git a/app-forensics/aide/aide-0.13.1.ebuild b/app-forensics/aide/aide-0.13.1.ebuild new file mode 100644 index 000000000000..a11053b888f4 --- /dev/null +++ b/app-forensics/aide/aide-0.13.1.ebuild @@ -0,0 +1,129 @@ +# Copyright 1999-2007 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/app-forensics/aide/aide-0.13.1.ebuild,v 1.1 2007/09/26 17:14:17 matsuu Exp $ +WANT_AUTOCONF='latest' +WANT_AUTOMAKE='latest' +inherit eutils autotools + +DESCRIPTION="AIDE (Advanced Intrusion Detection Environment) is a replacement for Tripwire" +HOMEPAGE="http://aide.sourceforge.net/" +SRC_URI="mirror://sourceforge/aide/${P}.tar.gz" + +SLOT="0" +LICENSE="GPL-2" +KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" +IUSE="acl audit curl mhash nls postgres selinux static xattr zlib" + +DEPEND="acl? ( sys-apps/acl ) + audit? ( sys-process/audit ) + curl? ( net-misc/curl ) + mhash? ( >=app-crypt/mhash-0.9.2 ) + !mhash? ( dev-libs/libgcrypt ) + nls? ( virtual/libintl ) + postgres? ( dev-db/postgresql ) + selinux? ( sys-libs/libselinux ) + xattr? ( sys-apps/attr ) + zlib? ( sys-libs/zlib )" + +RDEPEND="!static? ( ${DEPEND} ) + virtual/mailx" + +DEPEND="${DEPEND} + nls? ( sys-devel/gettext ) + sys-devel/bison + sys-devel/flex" + +src_unpack() { + unpack ${A} + cd "${S}" + epatch "${FILESDIR}"/${P}-gentoo.patch + + if ! use mhash ; then + # dev-libs/libgcrypt doesn't support whirlpool algorithm + sed -i -e 's/\+whirlpool//' doc/aide.conf.in || die + fi + + if ! use selinux ; then + sed -i -e 's/\+selinux//' doc/aide.conf.in || die + fi + + if ! use xattr ; then + sed -i -e 's/\+xattrs//' doc/aide.conf.in || die + fi + + if ! use acl ; then + sed -i -e 's/\+acl//' doc/aide.conf.in || die + fi + eautoreconf +} + +src_compile() { + local myconf="--sysconfdir=/etc/aide $(use_enable static)" + + # --without-* borked + use zlib && myconf="${myconf} --with-zlib" + use nls && myconf="${myconf} --with-locale" + use postgres && myconf="${myconf} --with-psql" + use selinux && myconf="${myconf} --with-selinux" + use acl && myconf="${myconf} --with-posix-acl" + use xattr && myconf="${myconf} --with-xattr" + use audit && myconf="${myconf} --with-audit" + + # curl doesn't work with static + use curl && ! use static && myconf="${myconf} --with-curl" + + # If you use dev-libs/libgcrypt, --without-mhash is needed. + use mhash \ + && myconf="${myconf} --with-mhash" \ + || myconf="${myconf} --with-gcrypt --without-mhash" + + econf ${myconf} || die + emake || die +} + +src_install() { + emake DESTDIR="${D}" install || die + + keepdir /var/lib/aide + keepdir /var/log/aide + + insinto /etc/aide + doins "${FILESDIR}"/aide.conf + # doins doc/aide.conf + + dosbin "${FILESDIR}"/aideinit + + exeinto /etc/cron.daily + doexe "${FILESDIR}"/aide.cron + + dodoc ChangeLog AUTHORS NEWS README + dohtml doc/manual.html +} + +pkg_postinst() { + chown root:0 /var/lib/aide + chmod 0755 /var/lib/aide + + elog + elog "A sample configuration file has been installed as" + elog "/etc/aide/aide.conf. Please edit to meet your needs." + elog "Read the aide.conf(5) manual page for more information." + elog "A cron file has been installed in /etc/cron.daily/aide.cron" + elog "A helper script, aideinit, has been installed and can" + elog "be used to make AIDE management easier. Please run" + elog "aideinit --help for more information" + elog + + if use postgres; then + elog "Due to a bad assumption by aide, you must issue the following" + elog "command after the database initialization (aide --init ...):" + elog + elog 'psql -c "update pg_index set indisunique=false from pg_class \\ ' + elog " where pg_class.relname='TABLE_pkey' and \ " + elog ' pg_class.oid=pg_index.indexrelid" -h HOSTNAME -p PORT DBASE USER' + elog + elog "where TABLE, HOSTNAME, PORT, DBASE, and USER are the same as" + elog "your aide.conf." + elog + fi +} diff --git a/app-forensics/aide/files/aide-0.13.1-gentoo.patch b/app-forensics/aide/files/aide-0.13.1-gentoo.patch new file mode 100644 index 000000000000..9c1c07b5ce5f --- /dev/null +++ b/app-forensics/aide/files/aide-0.13.1-gentoo.patch @@ -0,0 +1,36 @@ +diff -Naur aide-0.13.1.orig/Makefile.am aide-0.13.1/Makefile.am +--- aide-0.13.1.orig/Makefile.am 2006-10-11 03:39:01.000000000 +0900 ++++ aide-0.13.1/Makefile.am 2007-09-27 01:35:39.000000000 +0900 +@@ -33,7 +33,7 @@ + src/aide -c doc/aide.conf -V20 + + update-db: all +- src/aide -B "database_out=file://$(top_srcdir)/doc/aide.db" -c doc/aide.conf -i ++ src/aide -B "database_out=file://$(abs_top_srcdir)/doc/aide.db" -c doc/aide.conf -i + + dist-hook: configure + mkdir $(distdir)/include +diff -Naur aide-0.13.1.orig/doc/aide.conf.in aide-0.13.1/doc/aide.conf.in +--- aide-0.13.1.orig/doc/aide.conf.in 2006-11-25 04:53:56.000000000 +0900 ++++ aide-0.13.1/doc/aide.conf.in 2007-09-27 01:35:39.000000000 +0900 +@@ -19,7 +19,7 @@ + # corresponding line. + # + +-@@define TOPDIR @top_srcdir@ ++@@define TOPDIR @abs_top_srcdir@ + + @@ifndef TOPDIR + @@define TOPDIR / +diff -Naur aide-0.13.1.orig/src/Makefile.am aide-0.13.1/src/Makefile.am +--- aide-0.13.1.orig/src/Makefile.am 2006-10-28 06:10:38.000000000 +0900 ++++ aide-0.13.1/src/Makefile.am 2007-09-27 01:35:39.000000000 +0900 +@@ -20,6 +20,8 @@ + # This is no longer needed + # SUBDIRS = crypt + ++DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ ++ + bin_PROGRAMS = aide + + aide_SOURCES = \ diff --git a/app-forensics/aide/files/digest-aide-0.13.1 b/app-forensics/aide/files/digest-aide-0.13.1 new file mode 100644 index 000000000000..4c341c826432 --- /dev/null +++ b/app-forensics/aide/files/digest-aide-0.13.1 @@ -0,0 +1,3 @@ +MD5 27978cc6bca4f0fbf3f6f5a1b330661c aide-0.13.1.tar.gz 285400 +RMD160 802ac5bd817032bf3a696db7f547bef322b2487a aide-0.13.1.tar.gz 285400 +SHA256 b55065413bad3c24af51a551e6ab7cd4a9ecd9f449929261a45fc2f53e040021 aide-0.13.1.tar.gz 285400 diff --git a/app-forensics/aide/metadata.xml b/app-forensics/aide/metadata.xml index 25f363e289d8..847fc3955a66 100644 --- a/app-forensics/aide/metadata.xml +++ b/app-forensics/aide/metadata.xml @@ -3,6 +3,6 @@ <pkgmetadata> <herd>forensics</herd> <maintainer> - <email>forensics@gentoo.org</email> + <email>matsuu@gentoo.org</email> </maintainer> </pkgmetadata> |