summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2005-11-07 12:58:58 +0000
committerDaniel Black <dragonheart@gentoo.org>2005-11-07 12:58:58 +0000
commit1c98998dc44a2c4f44aef7f1f6209353d8912f77 (patch)
treea3d056fb08d378c1d3ab92c62134a385b36c6063 /app-forensics/aide
parentVersion 0.09 stable for x86. (diff)
downloadhistorical-1c98998dc44a2c4f44aef7f1f6209353d8912f77.tar.gz
historical-1c98998dc44a2c4f44aef7f1f6209353d8912f77.tar.bz2
historical-1c98998dc44a2c4f44aef7f1f6209353d8912f77.zip
=app-forensics/aide-0.11_rc2 masked for testing
Package-Manager: portage-2.0.53_rc7
Diffstat (limited to 'app-forensics/aide')
-rw-r--r--app-forensics/aide/ChangeLog7
-rw-r--r--app-forensics/aide/Manifest30
-rw-r--r--app-forensics/aide/aide-0.11_rc2.ebuild115
-rw-r--r--app-forensics/aide/files/digest-aide-0.11_rc21
4 files changed, 143 insertions, 10 deletions
diff --git a/app-forensics/aide/ChangeLog b/app-forensics/aide/ChangeLog
index b4b83b3d93b0..210cb1518a14 100644
--- a/app-forensics/aide/ChangeLog
+++ b/app-forensics/aide/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for app-forensics/aide
# Copyright 2002-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/aide/ChangeLog,v 1.15 2005/10/02 21:47:00 strerror Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/aide/ChangeLog,v 1.16 2005/11/07 12:58:58 dragonheart Exp $
+
+*aide-0.11_rc2 (07 Nov 2005)
+
+ 07 Nov 2005; Daniel Black <dragonheart@gentoo.org> +aide-0.11_rc2.ebuild:
+ version bump in development
02 Oct 2005; Benjamin Smee <strerror@gentoo.org>
+files/aide-0.10_p20040917-r1-fix-psql.diff:
diff --git a/app-forensics/aide/Manifest b/app-forensics/aide/Manifest
index 1aabb494ffe2..1cef4779cfb7 100644
--- a/app-forensics/aide/Manifest
+++ b/app-forensics/aide/Manifest
@@ -1,17 +1,29 @@
-MD5 4a0822e3949514e3f02289044fcb65f8 aide-0.9.ebuild 1390
+-----BEGIN PGP SIGNED MESSAGE-----
+Hash: SHA1
+
+MD5 05465c7afe965c14f6361c4d3624fe69 ChangeLog 5028
MD5 91b1915d9d4ebc8ceb302db89bd31b77 aide-0.10.ebuild 1418
MD5 7281a76e068801286ae965927b25c83b aide-0.10_p20040917-r1.ebuild 3081
MD5 f963571827dc97f1cbb03143bfcdbbca aide-0.10_p20040917.ebuild 2595
-MD5 0d5000bae612523d3dd5869de7bd14a6 ChangeLog 4888
-MD5 20ee07270b7eadc3659cd96a982e460f metadata.xml 230
+MD5 fccad3434b78f50f73e12535ed7efba0 aide-0.11_rc2.ebuild 3085
+MD5 4a0822e3949514e3f02289044fcb65f8 aide-0.9.ebuild 1390
MD5 4f38a077259ca3be62ae6a55c82d5302 files/aide-0.10-gentoo.diff 2760
-MD5 9fd564a250e289afba0bf43ef639eae3 files/aideinit 2948
+MD5 71915b04e537c8182a7cb3c7f560e04e files/aide-0.10_p20040917-fix-psql.diff 4726
MD5 71915b04e537c8182a7cb3c7f560e04e files/aide-0.10_p20040917-r1-fix-psql.diff 4726
-MD5 ff4b62bd8854921c76dd8a59552f3382 files/digest-aide-0.10_p20040917 71
-MD5 b26d49d6bcafd39178a0da345cb2985d files/digest-aide-0.9 60
-MD5 ff4b62bd8854921c76dd8a59552f3382 files/digest-aide-0.10_p20040917-r1 71
MD5 f07734c5b540f7a251d3d8139ef0f75f files/aide-0.9-gentoo.diff 2319
-MD5 8c599ad3440b5d4a3244875ff0655225 files/digest-aide-0.10 61
-MD5 71915b04e537c8182a7cb3c7f560e04e files/aide-0.10_p20040917-fix-psql.diff 4726
MD5 85ae869c8edee90f3cceb6bf309c6c60 files/aide.conf 2713
MD5 677202a99eef995fb515577bc4614aa8 files/aide.cron 5775
+MD5 9fd564a250e289afba0bf43ef639eae3 files/aideinit 2948
+MD5 8c599ad3440b5d4a3244875ff0655225 files/digest-aide-0.10 61
+MD5 ff4b62bd8854921c76dd8a59552f3382 files/digest-aide-0.10_p20040917 71
+MD5 ff4b62bd8854921c76dd8a59552f3382 files/digest-aide-0.10_p20040917-r1 71
+MD5 292b5c3ae44bc9b2c1e0eff0fdb03eb6 files/digest-aide-0.11_rc2 65
+MD5 b26d49d6bcafd39178a0da345cb2985d files/digest-aide-0.9 60
+MD5 20ee07270b7eadc3659cd96a982e460f metadata.xml 230
+-----BEGIN PGP SIGNATURE-----
+Version: GnuPG v1.4.2-ecc0.1.6 (GNU/Linux)
+
+iD8DBQFDb0+emdTrptrqvGERAviJAJ9stb8ASjdUhZibX5fZscJZr7Oi6gCfT+OY
+GbcUx/AJyDcpn07SIbSNfHE=
+=dSEa
+-----END PGP SIGNATURE-----
diff --git a/app-forensics/aide/aide-0.11_rc2.ebuild b/app-forensics/aide/aide-0.11_rc2.ebuild
new file mode 100644
index 000000000000..0bda8be8f8e2
--- /dev/null
+++ b/app-forensics/aide/aide-0.11_rc2.ebuild
@@ -0,0 +1,115 @@
+# Copyright 1999-2005 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/aide/aide-0.11_rc2.ebuild,v 1.1 2005/11/07 12:58:58 dragonheart Exp $
+
+inherit eutils
+
+DESCRIPTION="AIDE (Advanced Intrusion Detection Environment) is a replacement for Tripwire"
+HOMEPAGE="http://aide.sourceforge.net/"
+SRC_URI="mirror://sourceforge/${PN}/${P/_/-}.tar.gz"
+
+SLOT="0"
+LICENSE="GPL-2"
+KEYWORDS="~x86 ~ppc ~sparc ~alpha ~amd64"
+IUSE="nls postgres zlib crypt"
+
+DEPEND="app-arch/gzip
+ sys-devel/bison
+ sys-devel/flex
+ app-crypt/mhash
+ crypt? ( dev-libs/libgcrypt )
+ postgres? ( dev-db/postgresql )
+ zlib? ( sys-libs/zlib )"
+RDEPEND="nls? ( sys-devel/gettext )"
+
+S=${WORKDIR}/${P/_/-}
+
+src_unpaick() {
+ unpack ${A}
+ cd ${S}
+
+ use postgres && epatch ${FILESDIR}/${PF}-fix-psql.diff
+ epatch ${FILESDIR}/${MY_PF}-gentoo.diff
+
+ export WANT_AUTOCONF='2.5'
+ export WANT_AUTOMAKE='1.7'
+ sh autogen.sh || die "autogen.sh failed"
+}
+
+src_compile() {
+ # passing --without-psql or --with-psql causes postgres to be enabled ...
+ # it's a broken configure.in file ... so lets just work around it
+ local myconf=""
+ use postgres && myconf="$myconf --with-psql"
+ use crypt && myconf="$myconf --with-gcrypt"
+
+ econf \
+ $(use_with zlib) \
+ $(use_with nls locale) \
+ --with-mhash \
+ --sysconfdir=/etc/aide \
+ --with-extra-lib=/usr/lib \
+ ${myconf} \
+ || die
+ emake || die
+}
+
+src_test() {
+ # aide abort()'s inside the sandbox for some reason
+ #if ! has sandbox ${FEATURES};
+ if 1;
+ then
+ src/aide --init -c doc/aide.conf -V20 \
+ || die "failed to initialise database"
+ mv aide.db.new doc/aide.db
+ make check || die "failed self test"
+ fi
+}
+
+src_install() {
+ make DESTDIR="${D}" install || die
+ use nls || rm -rf ${D}/usr/lib/locale
+
+ keepdir /var/lib/aide
+ keepdir /var/log/aide
+
+ insinto /etc/aide
+ doins ${FILESDIR}/aide.conf
+
+ exeinto /usr/sbin
+ newexe ${FILESDIR}/aideinit aideinit
+
+ exeinto /etc/cron.daily
+ newexe ${FILESDIR}/aide.cron aide.cron
+
+ dodoc ChangeLog AUTHORS NEWS README
+ dohtml doc/manual.html
+}
+
+pkg_postinst() {
+ chown root:0 /var/lib/aide
+ chmod 0755 /var/lib/aide
+
+ echo
+ einfo "A sample configuration file has been installed as"
+ einfo "/etc/aide/aide.conf. Please edit to meet your needs."
+ einfo "Read the aide.conf(5) manual page for more information."
+ einfo "A cron file has been installed in /etc/cron.daily/aide.cron"
+ einfo "A helper script, aideinit, has been installed and can"
+ einfo "be used to make AIDE management easier. Please run"
+ einfo "aideinit --help for more information"
+ echo
+
+ if use postgres; then
+ einfo "Due to a bad assumption by aide, you must issue the following"
+ einfo "command after the database initialization (aide --init ...):"
+ einfo
+ einfo 'psql -c "update pg_index set indisunique=false from pg_class \\ '
+ einfo " where pg_class.relname='TABLE_pkey' and \ "
+ einfo ' pg_class.oid=pg_index.indexrelid" -h HOSTNAME -p PORT DBASE USER'
+ einfo
+ einfo "where TABLE, HOSTNAME, PORT, DBASE, and USER are the same as"
+ einfo "your aide.conf."
+ echo
+ fi
+}
diff --git a/app-forensics/aide/files/digest-aide-0.11_rc2 b/app-forensics/aide/files/digest-aide-0.11_rc2
new file mode 100644
index 000000000000..e5262957fb8c
--- /dev/null
+++ b/app-forensics/aide/files/digest-aide-0.11_rc2
@@ -0,0 +1 @@
+MD5 01c0d82ab6ffaa7ed1f99a9dcc360475 aide-0.11-rc2.tar.gz 263729