summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMatsuu Takuto <matsuu@gentoo.org>2010-05-27 17:23:55 +0000
committerMatsuu Takuto <matsuu@gentoo.org>2010-05-27 17:23:55 +0000
commitb40d7105cc6011cf5036c2c5e271ac215a67d8fc (patch)
treebe454ce3e17edddac9354ba962de00b0cca32f20 /app-forensics/aide
parentVersion bump. (diff)
downloadhistorical-b40d7105cc6011cf5036c2c5e271ac215a67d8fc.tar.gz
historical-b40d7105cc6011cf5036c2c5e271ac215a67d8fc.tar.bz2
historical-b40d7105cc6011cf5036c2c5e271ac215a67d8fc.zip
Version bumped, bug #319561.
Package-Manager: portage-2.1.8.3/cvs/Linux x86_64
Diffstat (limited to 'app-forensics/aide')
-rw-r--r--app-forensics/aide/ChangeLog8
-rw-r--r--app-forensics/aide/Manifest32
-rw-r--r--app-forensics/aide/aide-0.14.ebuild132
-rw-r--r--app-forensics/aide/files/aide-0.14-as-needed.patch20
-rw-r--r--app-forensics/aide/files/aide-0.14-gentoo.patch26
5 files changed, 203 insertions, 15 deletions
diff --git a/app-forensics/aide/ChangeLog b/app-forensics/aide/ChangeLog
index c2108a128cd1..1c0010ce5a62 100644
--- a/app-forensics/aide/ChangeLog
+++ b/app-forensics/aide/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for app-forensics/aide
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/aide/ChangeLog,v 1.46 2010/05/26 11:36:28 matsuu Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/aide/ChangeLog,v 1.47 2010/05/27 17:23:55 matsuu Exp $
+
+*aide-0.14 (27 May 2010)
+
+ 27 May 2010; MATSUU Takuto <matsuu@gentoo.org> +aide-0.14.ebuild,
+ +files/aide-0.14-as-needed.patch, +files/aide-0.14-gentoo.patch:
+ Version bumped, bug #319561.
*aide-0.13.1-r5 (26 May 2010)
diff --git a/app-forensics/aide/Manifest b/app-forensics/aide/Manifest
index 9719149d7229..54055635449f 100644
--- a/app-forensics/aide/Manifest
+++ b/app-forensics/aide/Manifest
@@ -7,30 +7,34 @@ AUX aide-0.13.1-equ-matching.patch 2451 RMD160 515a0762483224fdfdca4197ee318f104
AUX aide-0.13.1-gentoo.patch 1218 RMD160 a696dfa3819a9be30e34de1d87dcd218283bfd44 SHA1 44085e22669cc2a616979d559afccd3deff37724 SHA256 c78aed624a51f683b83f2cc45239748861e14fe9e3a94277b0e1040b9a87eb00
AUX aide-0.13.1-libgrypt_init.patch 1957 RMD160 9d515a5e21f758dc11ac417f276b180c745e7235 SHA1 c89d092744ba2a7bf47bfa2c5b75a1702b46ba2c SHA256 66c01f0a43cde218151e7e34c9505ce7438235a779c0cd8235111d1b85392750
AUX aide-0.13.1-zlib.patch 438 RMD160 99ad04b9396fb3bf5e50b8e52a0b03e10e692de4 SHA1 841ead3b055824177568b015b435d63e1ab0c194 SHA256 1cfa2518622ef1e1f6ad2196e2e1699abe79bfbd7a301c1151267e61e5572762
+AUX aide-0.14-as-needed.patch 795 RMD160 ebdac176db7e48123e4b22e7e504fb7b61005895 SHA1 13d203d44f2af4b804eba319d3ef3369b0ea4caa SHA256 44bbd4d2ef4504ff8c96c7e5bea6b9a08f052b7eef25f742060cb22327dc7adb
+AUX aide-0.14-gentoo.patch 840 RMD160 8510e632970899fdd42c3a2995c60d3874545b81 SHA1 bd389ac7f1220916919dcc30b9c4dbc771497087 SHA256 a7e3ed5604b7d3248e70d07bc98a527291180f30d8a41d361e307064c614d39c
AUX aide.conf 2713 RMD160 4f1de8580deb49af8bf93fb2df19f411f2990841 SHA1 0970af5c16aee29aed81f394575be27a66cfcdd4 SHA256 093c6397a4e26ab24127684eb8f9bb223ee5f2c2f9720e54c8ad8b425d52ba49
AUX aide.cron 5997 RMD160 07a10b1bae5373eb186d72ec9b0e9c0987dd1cee SHA1 09f8f66eaec409bc7e2cd77bb74da48fc6136d66 SHA256 f4874c85d808c9f1726421c5f1146c4aa6a6bf831f61962c8265d5e7272f4558
AUX aideinit 2949 RMD160 a2cb2f5bd69e560e2d76b61b2173608435b50857 SHA1 8fcbb4d6c136cf1b2cbac3de91b3963974a6b826 SHA256 1b4a01b8f50eb0b9217df55686ccd103ea92fca3892fe3a6a0364f83cae3548f
DIST aide-0.13.1.tar.gz 285400 RMD160 802ac5bd817032bf3a696db7f547bef322b2487a SHA1 0112ee0a974020b99f09d1f2a9fb05433a7b9681 SHA256 b55065413bad3c24af51a551e6ab7cd4a9ecd9f449929261a45fc2f53e040021
+DIST aide-0.14.tar.gz 467226 RMD160 f76809db02f24ecd3cc5a1186b4531c85edffe65 SHA1 805a4a6b8f94503f410759a0df59c8320352294e SHA256 f53f4c2d734a5e91bed07405ed315495f5847bd2747496ff7fd057b8e5d292b6
EBUILD aide-0.13.1-r3.ebuild 3782 RMD160 f93882c017dd19546c0d16a825a7169ac50b5993 SHA1 9a26d39322a4798237e18f986448d8b3173ade7a SHA256 5e862f78654fa96da6b4bddef670f2264ca98422a965898c64781f8211f3888a
EBUILD aide-0.13.1-r4.ebuild 3864 RMD160 9004d8e99e7eb78465d58bbb3d2785b19354a4d1 SHA1 6442d364a2b37ca274f1356b73799f191307d9fa SHA256 78f53ca0c5c3534456e75a42b9edf1451101ca5cdfc5b6b0b3c257e76e1ba356
EBUILD aide-0.13.1-r5.ebuild 3934 RMD160 94756564877136925b208b4d43bb23f307b50524 SHA1 6d52e492ad2f92566b786b1336a1509a09eab83f SHA256 140d6d6bc2ad61a5a278ebc4de693ed370f9b7715a2d621018dadc0680b82da7
EBUILD aide-0.13.1.ebuild 3909 RMD160 1055b7d279b3e9306dda868c5edee309ee780545 SHA1 8a1cd7dfd7bdbf19147a6e5ada9a7671ced1094d SHA256 3fcfcbcc5c6499dc09cb37bcd60903827df37d5c56ce48221c18a2d2c17f3320
-MISC ChangeLog 9118 RMD160 ffa380b5686270bfa263397236dd2cdef408f781 SHA1 0918afbdaf8c18bd2024e29d7bb23f428d75abe2 SHA256 66664e468ea80be7d7efb3d82b25113da8d66e3e46997612456d1e074e1d3d50
+EBUILD aide-0.14.ebuild 3498 RMD160 331290c08c9bfedf2626241b80ef10f6ff5d5ea0 SHA1 632ea1ab0de6c9716fa9fd955f1b3fb95670a967 SHA256 42f085790a1c31500c062fe871af0a944832af83675c97319c3784c284785cd8
+MISC ChangeLog 9311 RMD160 128559e539ae783391cf39392b94603f8ab9016d SHA1 60830979dd56b53c35f5e9d23d5c945abaa6ff74 SHA256 56b0bff893a079cc8f09e764d9ea31c397bfeadead6617882f1ee24b6d4e0778
MISC metadata.xml 227 RMD160 8fd92f1523d63aec4ec954abee49accf1064c6e6 SHA1 d1d36ec61b481027477edfb7a93cb1c42fb83ff6 SHA256 bb6f7d60ac5d9f18aaea588265033a77bfdeb50676739866d80241cfb869c77c
-----BEGIN PGP SIGNATURE-----
Version: GnuPG v2.0.15 (GNU/Linux)
-iQIcBAEBAgAGBQJL/QfFAAoJECaGw+YFKA1pCQEP/1m3/gyi/Ry+1TyLQ6eXm5DV
-jmlLmOQiuNWZ2ZN/71hESoWU0RYcKfHpSX5ZmgN07O8R3VpNFE1Fy/ORzhOWz50s
-D4I4RM01DBvpZOrx+0RXAu22wZS+iQkm0xyYktLXl+O99EM5+59vkgeO6BEhRtzN
-ypwtakdgw3BpNcxaU9Yi+BUMEDEa5DknFTRxqn/q9zEpv29KyM5NJfQNmLMNlk/H
-ugUKnuUOIhnN8i99aaukyrdGpqi+DuSr5rkMBNU1JpKPz5lNCvUwN+UrnH89oNFF
-iBb1324Xuk/wSpqsX/T+6jub2kmo9yKocZHqvO/+XYOcl2LRbBJN6fgnYP7tNBMV
-CCbIuwQK3Jawxk+6GajRLukXkYUNKDNIagNW7cvHT55JL7J3mgu3V94LePmqmyWC
-c+2RogaOM6Gq9C6FzwyZyeRUgMtiTGg8uqapy6ncGnC9I0bDsERxa4l7sbeCeQfD
-aP/Eq+8xV5ARh+zS+sfFIBlCAAl5vkWvx9oDEf5+wZ1Vn3Ct8tLXCmmfXGAmWtSi
-/51zaQDYMQF0HHqQ98lm/vlEajzEk+QWBzkOmmLQSzF+9LcoUcg1vNVbR8Py4bM3
-KAMl96m2msvmbgZfiqZjh8R1UPB7wdEyKo0I2Wn0Twl0ckzD/OWkXNRSKcsQaDq7
-4QSCDnhYH+qASRyCaBRC
-=pPQV
+iQIcBAEBAgAGBQJL/qrqAAoJECaGw+YFKA1p4zEP/ROqZXlyxEI+xvVL34Wc2dQc
+l491pSU6cdke2OGC1lwQ1IXnrt1czDbo5SdZ/bBF4zJ3FOZVp0erYgjNvZhW2eg3
+LSn3KM42rI8gWtCrLIR3Fw/MZlnvYdz2n5Iizg3rxKJ7Kjw4dLwMaIP4z2du0MuB
+wn0Uth2QhktOms4blaNcK+C/Llw9/tGUsHZdXSlh3ic3kgXWMaYqGHxvUAyKdiKN
+6Nam98OxxNPV0NpXimsR70mRRCiTx8EyT+AGMzEe7uIjnL8L8UKS/rP19/N+n2/b
+LtubgGhidxUubhdF8v+Kv01N1e3hjcqL6cAdeptruPSqnJJDq7OhA3hg4Q1qliPJ
+1H2VAzw3HCLMF8eeOlvJ3RYW+v8Eb24mbQ7/yOIkjCkTPCRJz/BEo9OrzQo3bwhj
+WIIWDtAP+NzwvXjJ8abB+I7cHXhwEiKdQksv2c454jeA+L4REFtFGrctQY9aNH1n
+lQLonlSV/L79Y01l6slWrhs3KghLrpwpqTQZbOJBukJhoT3ZNJQkk+WrwcNlJMYd
+VV0CEQl5fO9jC+lBgTI8ahdcSNqa/kHbd/0CvVY4dMtbRfcaM86aKpL+hDzEUeAV
+yBEEkuHMzS34l8jtyt3B4b5VaBbVM8HS+uxOb2sHiCaWLjkDCvUDe1vy5ye38Ufe
+fzg531PcJCt25MtMJ6N2
+=prh9
-----END PGP SIGNATURE-----
diff --git a/app-forensics/aide/aide-0.14.ebuild b/app-forensics/aide/aide-0.14.ebuild
new file mode 100644
index 000000000000..fb3cfbfbda9d
--- /dev/null
+++ b/app-forensics/aide/aide-0.14.ebuild
@@ -0,0 +1,132 @@
+# Copyright 1999-2010 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/aide/aide-0.14.ebuild,v 1.1 2010/05/27 17:23:55 matsuu Exp $
+
+EAPI="3"
+
+inherit autotools confutils eutils
+
+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 curl mhash nls postgres selinux static xattr zlib"
+#IUSE="acl audit curl mhash nls postgres prelink selinux static xattr zlib"
+
+# libsandbox: Can't dlopen libc: (null)
+#RESTRICT="test"
+
+DEPEND="acl? ( sys-apps/acl )
+ curl? ( net-misc/curl )
+ mhash? ( >=app-crypt/mhash-0.9.2 )
+ !mhash? ( dev-libs/libgcrypt )
+ nls? ( virtual/libintl )
+ postgres? ( virtual/postgresql-base )
+ selinux? ( sys-libs/libselinux )
+ xattr? ( sys-apps/attr )
+ zlib? ( sys-libs/zlib )"
+# audit? ( sys-process/audit )
+# prelink? ( sys-devel/prelink )
+
+RDEPEND="!static? ( ${DEPEND} )"
+
+DEPEND="${DEPEND}
+ nls? ( sys-devel/gettext )
+ sys-devel/bison
+ sys-devel/flex"
+
+pkg_config() {
+ confutils_use_conflict mhash postgres
+ confutils_use_conflict curl static
+}
+
+src_prepare() {
+ epatch "${FILESDIR}/${P}-gentoo.patch"
+
+ # fix libgcrypt issue, bug #266175
+ epatch "${FILESDIR}/${PN}-0.13.1-libgrypt_init.patch"
+
+ # fix as-need issue, bug #271326
+ epatch "${FILESDIR}/${P}-as-needed.patch"
+
+ # fix zlib issue, bug #316665
+ epatch "${FILESDIR}/${PN}-0.13.1-zlib.patch"
+
+ 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_configure() {
+ local myconf="
+ $(use_with acl posix-acl)
+ $(use_with curl)
+ $(use_with !mhash gcrypt)
+ $(use_with mhash mhash)
+ $(use_with nls locale)
+ $(use_with postgres psql)
+ $(use_with selinux)
+ $(use_enable static)
+ $(use_with xattr)
+ $(use_with zlib)
+ --sysconfdir=${EPREFIX}/etc/aide"
+# $(use_with audit)
+# $(use_with prelink)
+
+ econf ${myconf} || die "econf failed"
+}
+
+src_install() {
+ emake DESTDIR="${D}" install install-man || die "emake install failed"
+
+ keepdir /var/lib/aide || die
+ fowners root:0 /var/lib/aide || die
+ fperms 0755 /var/lib/aide || die
+
+ keepdir /var/log/aide || die
+
+ insinto /etc/aide
+ doins "${FILESDIR}"/aide.conf || die
+
+ dosbin "${FILESDIR}"/aideinit || die
+
+ dodoc ChangeLog AUTHORS NEWS README "${FILESDIR}"/aide.cron || die
+ dohtml doc/manual.html || die
+}
+
+pkg_postinst() {
+ 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 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.14-as-needed.patch b/app-forensics/aide/files/aide-0.14-as-needed.patch
new file mode 100644
index 000000000000..7a90b4e25079
--- /dev/null
+++ b/app-forensics/aide/files/aide-0.14-as-needed.patch
@@ -0,0 +1,20 @@
+--- aide-0.14.orig/configure.in 2010-02-26 17:25:29.000000000 +0900
++++ aide-0.14/configure.in 2010-05-27 00:11:34.000000000 +0900
+@@ -42,7 +42,7 @@
+ AC_ARG_WITH(extra-libs,
+ AC_HELP_STRING([--with-extra-libs],
+ [Specify additional paths with -L to find libraries]),
+- [LDFLAGS="$LDFLAGS $withval"]
++ [LIBS="$LIBS $withval"]
+ )
+ AC_ARG_WITH(extra-link-libs,
+ AC_HELP_STRING([--with-extra-link-libs],
+@@ -671,7 +671,7 @@
+ AC_CHECK_HEADERS(curl/curl.h,,
+ [AC_MSG_ERROR([You don't have curl properly installed. Install it or try --without-curl.])])
+ CFLAGS="$CFLAGS $CURL_CFLAGS"
+- LDFLAGS="$LDFLAGS $CURL_LIBS"
++ LIBS="$LIBS $CURL_LIBS"
+ AC_CHECK_LIB(curl,curl_easy_init,havecurl=yes,
+ [AC_MSG_ERROR([You don't have curl properly installed. Install it or try --without-curl.])]
+ )
diff --git a/app-forensics/aide/files/aide-0.14-gentoo.patch b/app-forensics/aide/files/aide-0.14-gentoo.patch
new file mode 100644
index 000000000000..f2c8156ed161
--- /dev/null
+++ b/app-forensics/aide/files/aide-0.14-gentoo.patch
@@ -0,0 +1,26 @@
+diff -Naur aide-0.14.orig//src/Makefile.am aide-0.14//src/Makefile.am
+--- aide-0.14.orig//src/Makefile.am 2010-02-20 04:23:08.000000000 +0900
++++ aide-0.14//src/Makefile.am 2010-05-26 23:56:47.000000000 +0900
+@@ -26,7 +26,7 @@
+ LEX_OUTPUT_ROOT = lex.yy
+
+ LDADD = -lm @CRYPTLIB@ @ACLLIB@ @SELINUXLIB@ @AUDITLIB@ @ATTRLIB@ @ELFLIB@
+-AM_CFLAGS = @AIDE_DEFS@ -W -Wall -g
++AM_CFLAGS = -DLOCALEDIR=\"$(localedir)\" @AIDE_DEFS@ -W -Wall -g
+
+ CLEANFILES = conf_yacc.h conf_yacc.c conf_lex.c db_lex.c *~
+
+diff -Naur aide-0.14.orig//src/db.c aide-0.14//src/db.c
+--- aide-0.14.orig//src/db.c 2010-02-18 05:06:57.000000000 +0900
++++ aide-0.14//src/db.c 2010-05-27 00:16:07.000000000 +0900
+@@ -26,6 +26,10 @@
+ #include "db_file.h"
+ #include "db_disk.h"
+
++#ifdef WITH_CURL
++#include "fopen.h"
++#endif
++
+ #ifdef WITH_PSQL
+ #include "db_sql.h"
+ #endif