summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPatrick Lauer <patrick@gentoo.org>2009-01-08 19:49:26 +0000
committerPatrick Lauer <patrick@gentoo.org>2009-01-08 19:49:26 +0000
commitaeea015265473e2effd9517e59cba332cfad53c1 (patch)
treeb35b4971a179aa4f44b8e9f2097e0b745380bb53 /app-forensics/aide
parentStable for HPPA (bug #253424). (diff)
downloadhistorical-aeea015265473e2effd9517e59cba332cfad53c1.tar.gz
historical-aeea015265473e2effd9517e59cba332cfad53c1.tar.bz2
historical-aeea015265473e2effd9517e59cba332cfad53c1.zip
Removing some old versions
Package-Manager: portage-2.2_rc20/cvs/Linux 2.6.28 x86_64
Diffstat (limited to 'app-forensics/aide')
-rw-r--r--app-forensics/aide/ChangeLog7
-rw-r--r--app-forensics/aide/aide-0.13.1-r1.ebuild136
2 files changed, 5 insertions, 138 deletions
diff --git a/app-forensics/aide/ChangeLog b/app-forensics/aide/ChangeLog
index 032c8feb975a..f664fe39ff67 100644
--- a/app-forensics/aide/ChangeLog
+++ b/app-forensics/aide/ChangeLog
@@ -1,6 +1,9 @@
# ChangeLog for app-forensics/aide
-# Copyright 2002-2008 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/aide/ChangeLog,v 1.36 2008/05/19 16:16:13 dev-zero Exp $
+# Copyright 2002-2009 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/aide/ChangeLog,v 1.37 2009/01/08 19:49:26 patrick Exp $
+
+ 08 Jan 2009; Patrick Lauer <patrick@gentoo.org> -aide-0.13.1-r1.ebuild:
+ Removing unneeded old
19 May 2008; Tiziano Müller <dev-zero@gentoo.org> aide-0.13.1.ebuild,
aide-0.13.1-r1.ebuild, aide-0.13.1-r2.ebuild:
diff --git a/app-forensics/aide/aide-0.13.1-r1.ebuild b/app-forensics/aide/aide-0.13.1-r1.ebuild
deleted file mode 100644
index a771833e61e2..000000000000
--- a/app-forensics/aide/aide-0.13.1-r1.ebuild
+++ /dev/null
@@ -1,136 +0,0 @@
-# Copyright 1999-2008 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-r1.ebuild,v 1.3 2008/05/19 16:16:13 dev-zero 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 curl mhash nls postgres selinux static xattr zlib"
-#IUSE="acl audit curl mhash nls postgres selinux static xattr zlib"
-
-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 )
-
-RDEPEND="!static? ( ${DEPEND} )
- virtual/mailx"
-
-DEPEND="${DEPEND}
- nls? ( sys-devel/gettext )
- sys-devel/bison
- sys-devel/flex"
-
-pkg_config() {
- if use mhash && use postgres ; then
- eerror "We cannot emerge aide with mhash and postgres USE flags at the same time."
- eerror "Please remove mhash OR postgres USE flags."
- die "Please remove either mhash or postgres USE flag."
- fi
-}
-
-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
- # parallel make borked
- emake -j1 || 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
-
- dodoc ChangeLog AUTHORS NEWS README "${FILESDIR}"/aide.cron
- 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
-}