summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorIlya Tumaykin <itumaykin@gmail.com>2017-07-01 16:41:54 +0300
committerMichał Górny <mgorny@gentoo.org>2017-07-01 23:41:12 +0200
commit2c86304fc737dd5468fd4f90f4ab70ae79ee6c07 (patch)
tree0b65facfd9f97c68486b2fe05e0345592bff4349 /app-forensics
parentdev-libs/libfmt: 4.0.0 version bump (diff)
downloadgentoo-2c86304fc737dd5468fd4f90f4ab70ae79ee6c07.tar.gz
gentoo-2c86304fc737dd5468fd4f90f4ab70ae79ee6c07.tar.bz2
gentoo-2c86304fc737dd5468fd4f90f4ab70ae79ee6c07.zip
app-forensics/aide: remove old
Closes: https://github.com/gentoo/gentoo/pull/5021 Package-Manager: Portage-2.3.6, Repoman-2.3.2
Diffstat (limited to 'app-forensics')
-rw-r--r--app-forensics/aide/Manifest1
-rw-r--r--app-forensics/aide/aide-0.14.2.ebuild113
-rw-r--r--app-forensics/aide/files/aide-0.14-as-needed.patch20
-rw-r--r--app-forensics/aide/files/aide-0.14-configure.patch38
-rw-r--r--app-forensics/aide/files/aide-0.14-gentoo.patch26
5 files changed, 0 insertions, 198 deletions
diff --git a/app-forensics/aide/Manifest b/app-forensics/aide/Manifest
index a586feab16c6..0eef896e0967 100644
--- a/app-forensics/aide/Manifest
+++ b/app-forensics/aide/Manifest
@@ -1,2 +1 @@
-DIST aide-0.14.2.tar.gz 418098 SHA256 bf4cd417b0f4778b4f9a618d23e0b0b7db10349ba6a0129394dc82fbc2fa8b9b SHA512 4ef96078fde057a54dda467fb55711e30d947969873715a02052362c57112f5bfd3155460ef353f70ce69fea3a3c491b7925bebbdb7034dbf618c63c360347df WHIRLPOOL fa91e4493bcac4cf11a8fedfd5e3c490752936f9ea04871d812b831f33089b694892e32ed19cef273926d3a8c091fb15a7b98a5e5303f08609f164773475d142
DIST aide-0.16.tar.gz 391009 SHA256 a81c53a131c4fd130b169b3a26ac35386a2f6e1e014f12807524cc273ed97345 SHA512 29ad97756e3e2fb21dc332ed03b494a1c73e621266f8622ec80bdba23092a38ee975b97f3cff2330e4c16e64e2f672259eea9291ca706a4009e7399b4e14e6a7 WHIRLPOOL d9ecba06d8367ed2ef622ee6b3ccf6a0ed37bad52548063c5c153bd31b856ed8a3379e6057cc1d4aebd29473ded71e9190c8c17dbeaa65eec3365be1d43d5f46
diff --git a/app-forensics/aide/aide-0.14.2.ebuild b/app-forensics/aide/aide-0.14.2.ebuild
deleted file mode 100644
index 20322e586e73..000000000000
--- a/app-forensics/aide/aide-0.14.2.ebuild
+++ /dev/null
@@ -1,113 +0,0 @@
-# Copyright 1999-2014 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-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="amd64 x86"
-IUSE="acl audit curl mhash nls postgres prelink selinux static xattr zlib"
-
-CDEPEND="acl? ( virtual/acl )
- audit? ( sys-process/audit )
- curl? ( net-misc/curl )
- mhash? ( >=app-crypt/mhash-0.9.2 )
- !mhash? ( dev-libs/libgcrypt:0 )
- nls? ( virtual/libintl )
- postgres? ( dev-db/postgresql )
- prelink? ( sys-devel/prelink )
- selinux? (
- sys-libs/libselinux
- )
- xattr? ( sys-apps/attr )
- zlib? ( sys-libs/zlib )"
-
-RDEPEND="!static? ( ${CDEPEND} )
- selinux? ( sec-policy/selinux-aide )"
-
-DEPEND="${CDEPEND}
- nls? ( sys-devel/gettext )
- sys-devel/bison
- sys-devel/flex"
-
-pkg_setup() {
- confutils_use_conflict mhash postgres
- confutils_use_conflict static curl postgres
-}
-
-src_prepare() {
- epatch "${FILESDIR}/${PN}-0.14-gentoo.patch"
-
- # fix as-need issue, bug #271326
- epatch "${FILESDIR}/${PN}-0.14-as-needed.patch"
-
- # fix configure issue, bug #323187
- epatch "${FILESDIR}/${PN}-0.14-configure.patch"
-
- eautoreconf
-}
-
-src_configure() {
- econf \
- $(use_with acl posix-acl) \
- $(use_with audit) \
- $(use_with curl) \
- $(use_with !mhash gcrypt) \
- $(use_with mhash mhash) \
- $(use_with nls locale) \
- $(use_with postgres psql) \
- $(use_with prelink) \
- $(use_with selinux) \
- $(use_enable static) \
- $(use_with xattr) \
- $(use_with zlib) \
- --sysconfdir="${EPREFIX}/etc/aide" || 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 AUTHORS ChangeLog NEWS README Todo "${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
deleted file mode 100644
index 7a90b4e25079..000000000000
--- a/app-forensics/aide/files/aide-0.14-as-needed.patch
+++ /dev/null
@@ -1,20 +0,0 @@
---- 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-configure.patch b/app-forensics/aide/files/aide-0.14-configure.patch
deleted file mode 100644
index 54afd8c4f4c6..000000000000
--- a/app-forensics/aide/files/aide-0.14-configure.patch
+++ /dev/null
@@ -1,38 +0,0 @@
-diff -Naur aide-0.14.orig/configure.in aide-0.14/configure.in
---- aide-0.14.orig/configure.in 2010-02-26 17:25:29.000000000 +0900
-+++ aide-0.14/configure.in 2010-06-09 14:24:43.000000000 +0900
-@@ -407,14 +407,14 @@
- AC_ARG_WITH([zlib],
- AC_HELP_STRING([--with-zlib],
- [use zlib compression]),
-- ,
-+ [with_zlib="$withval"],
- [with_zlib=yes]
- )
-
- AC_ARG_WITH([curl],
- AC_HELP_STRING([--with-curl],
- [use curl for http,https and ftp backends]),
-- ,
-+ [with_curl="$withval"],
- [with_curl=no]
- )
-
-@@ -422,7 +422,7 @@
- AC_ARG_WITH([sun-acl],
- [AC_HELP_STRING([--with-sun-acl],
- [use ACL on solaris (no checking)])],
-- [],
-+ [with_sun_acl="$withval"],
- [with_sun_acl=no]
- )
-
-@@ -440,7 +440,7 @@
- AC_ARG_WITH([posix-acl],
- [AC_HELP_STRING([--with-posix-acl],
- [use POSIX ACLs (no checking)])],
-- [],
-+ [with_posix_acl_support="$withval"],
- [with_posix_acl_support=no]
- )
-
diff --git a/app-forensics/aide/files/aide-0.14-gentoo.patch b/app-forensics/aide/files/aide-0.14-gentoo.patch
deleted file mode 100644
index f2c8156ed161..000000000000
--- a/app-forensics/aide/files/aide-0.14-gentoo.patch
+++ /dev/null
@@ -1,26 +0,0 @@
-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