commit:     1c4f0c458a33a1f5beb5bda9fe54e9931a6b6e24
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Tue May  4 08:16:09 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Tue May  4 08:17:12 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1c4f0c45

app-forensics/aide: Drop 0.16-r1, EAPI6--

Bug: https://bugs.gentoo.org/787983
Package-Manager: Portage-3.0.18, Repoman-3.0.3
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 app-forensics/aide/Manifest                        |   1 -
 app-forensics/aide/aide-0.16-r1.ebuild             | 127 ---------------------
 .../aide/files/aide-0.16-add-missing-include.patch |  24 ----
 .../aide/files/aide-0.16-support-attr-2.4.48.patch |  28 -----
 app-forensics/aide/files/aide.conf                 | 115 -------------------
 5 files changed, 295 deletions(-)

diff --git a/app-forensics/aide/Manifest b/app-forensics/aide/Manifest
index adae5e37bdc..3123f6ddcfd 100644
--- a/app-forensics/aide/Manifest
+++ b/app-forensics/aide/Manifest
@@ -1,2 +1 @@
 DIST aide-0.16.2_p20200614.tar.gz 144202 BLAKE2B 
a2533eaf0dd6caa82718eaa89878ddc101f64767788eeac3a250ceb584a2c5958ef8a5481b89eeb720e21af07da8f3576fb46d8ee9966fd2361354a35a7eaa6e
 SHA512 
f5f83b8401465471043c60aeb6314f7bcab24c9f962f6ce550445bec8d866a5c8c00eba9e9f157f1223cde58631de139533c7de64fb3c861a5d8e7b5e367e106
-DIST aide-0.16.tar.gz 391009 BLAKE2B 
8769d8c6bdf72f307b75f3c1feaa2effdeaead00a0c65ab25bbb50dc6f7c7b53fda4d0a3a54dd5030de1444a34a81c294437d45193aeb8aec7ef0af83a173d47
 SHA512 
29ad97756e3e2fb21dc332ed03b494a1c73e621266f8622ec80bdba23092a38ee975b97f3cff2330e4c16e64e2f672259eea9291ca706a4009e7399b4e14e6a7

diff --git a/app-forensics/aide/aide-0.16-r1.ebuild 
b/app-forensics/aide/aide-0.16-r1.ebuild
deleted file mode 100644
index 56e81d58727..00000000000
--- a/app-forensics/aide/aide-0.16-r1.ebuild
+++ /dev/null
@@ -1,127 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit autotools readme.gentoo-r1
-
-DESCRIPTION="AIDE (Advanced Intrusion Detection Environment) is a file 
integrity checker"
-HOMEPAGE="http://aide.sourceforge.net/";
-SRC_URI="mirror://sourceforge/aide/${P}.tar.gz"
-
-LICENSE="GPL-2"
-SLOT="0"
-KEYWORDS="amd64 x86"
-IUSE="acl audit curl e2fs mhash postgres prelink selinux xattr zlib"
-
-COMMON_DEPEND="
-       !mhash? (
-               dev-libs/libgcrypt:0=
-               dev-libs/libgpg-error
-       )
-       mhash? ( app-crypt/mhash )
-       dev-libs/libpcre
-       acl? ( virtual/acl )
-       audit? ( sys-process/audit )
-       curl? ( net-misc/curl )
-       e2fs? ( sys-fs/e2fsprogs )
-       postgres? ( dev-db/postgresql:= )
-       prelink? ( dev-libs/elfutils )
-       selinux? ( sys-libs/libselinux )
-       xattr? ( sys-apps/attr )
-       zlib? ( sys-libs/zlib )
-"
-RDEPEND="
-       ${COMMON_DEPEND}
-       prelink? ( sys-devel/prelink )
-       selinux? ( sec-policy/selinux-aide )
-"
-DEPEND="${COMMON_DEPEND}
-       sys-devel/bison
-       sys-devel/flex
-       virtual/pkgconfig
-"
-
-REQUIRED_USE="
-       postgres? ( !mhash )
-"
-
-HTML_DOCS=( doc/manual.html )
-
-DISABLE_AUTOFORMATTING=1
-DOC_CONTENTS="
-Example configuration file was installed at '${EPREFIX}/etc/aide/aide.conf'.
-Please edit it to meet your needs. Refer to aide.conf(5) manual page
-for more information.
-
-A helper script, aideinit, was installed and can be used to make AIDE
-management easier. Please run 'aideinit --help' for more information.
-"
-
-PATCHES=(
-       "${FILESDIR}/${P}-add-missing-include.patch"
-       "${FILESDIR}/${P}-fix-LIBS-LDFLAGS-mixing.patch"
-       "${FILESDIR}/${P}-fix-acl-configure-option.patch"
-       "${FILESDIR}/${P}-support-attr-2.4.48.patch"
-)
-
-src_prepare() {
-       default_src_prepare
-       sed -i -e 's| -Werror||g' configure.ac || die
-       eautoreconf
-}
-
-src_configure() {
-       local myeconfargs=(
-               --sysconfdir="${EPREFIX}/etc/${PN}"
-               --with-confighmactype="sha512"          # Override default weak 
MD5 hash.
-               --with-dbhmackey="sha512"                       # Override 
default weak MD5 hash.
-               # Disable broken l10n support: 
https://sourceforge.net/p/aide/bugs/98/
-               # This doesn't affect anything because there are no 
localizations yet.
-               --without-locale
-               --disable-static
-               $(use_with zlib)
-               $(use_with curl)
-               $(use_with acl posix-acl)
-               $(use_with selinux)
-               $(use_with prelink prelink "${EPREFIX}/usr/sbin/prelink")
-               $(use_with xattr)
-               $(use_with e2fs e2fsattrs)
-               $(use_with mhash mhash)
-               $(use_with !mhash gcrypt)
-               $(use_with postgres psql)
-               $(use_with audit)
-       )
-       econf "${myeconfargs[@]}"
-}
-
-src_install() {
-       default_src_install
-       readme.gentoo_create_doc
-
-       insinto /etc/${PN}
-       doins "${FILESDIR}"/aide.conf
-
-       dosbin "${FILESDIR}"/aideinit
-       dodoc "${FILESDIR}"/aide.cron
-
-       keepdir /var/{lib,log}/${PN}
-}
-
-pkg_postinst() {
-       readme.gentoo_print_elog
-
-       if use postgres; then
-               elog
-               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 "in your aide.conf."
-               elog
-       fi
-}

diff --git a/app-forensics/aide/files/aide-0.16-add-missing-include.patch 
b/app-forensics/aide/files/aide-0.16-add-missing-include.patch
deleted file mode 100644
index 75f0403c968..00000000000
--- a/app-forensics/aide/files/aide-0.16-add-missing-include.patch
+++ /dev/null
@@ -1,24 +0,0 @@
-commit 1cbb888d55388d6bb88141c946bd6993b3e9872f
-Author: Ilya Tumaykin <[email protected]>
-Date:   Tue May 23 17:24:29 2017 +0300
-
-db: add missing include
-
-url_fclose() function used in this file is defined in fopen.h.
-See https://sourceforge.net/p/aide/bugs/99/
-
-diff --git a/src/db.c b/src/db.c
-index dd133d4..858240d 100644
---- a/src/db.c
-+++ b/src/db.c
-@@ -28,6 +28,10 @@
- #include "db_disk.h"
- #include "md.h"
-
-+#ifdef WITH_CURL
-+#include "fopen.h"
-+#endif
-+
- #ifdef WITH_PSQL
- #include "db_sql.h"
- #endif

diff --git a/app-forensics/aide/files/aide-0.16-support-attr-2.4.48.patch 
b/app-forensics/aide/files/aide-0.16-support-attr-2.4.48.patch
deleted file mode 100644
index 8acb6e5b56b..00000000000
--- a/app-forensics/aide/files/aide-0.16-support-attr-2.4.48.patch
+++ /dev/null
@@ -1,28 +0,0 @@
-Fix build against attr >= 2.4.48
-
-Drop obsolete attr/xattr.h include as did attr upstream in attr-2.4.48.
-See 
http://git.savannah.nongnu.org/cgit/attr.git/commit/?id=7921157890d07858d092f4003ca4c6bae9fd2c38
-
-ENOATTR definition was moved to attr/attributes.h, thus include it.
-attr < 2.4.48 keeps ENOATTR definition in attr/xattr.h, so define it
-manually if necessary in order to preserve backwards compatibility.
-
-Bug: https://bugs.gentoo.org/648966
-Upstream-bug: https://sourceforge.net/p/aide/patches/23/
-
-diff --git a/include/db_config.h b/include/db_config.h
-index e92fe1c..7e5ff0d 100644
---- a/include/db_config.h
-+++ b/include/db_config.h
-@@ -62,7 +62,10 @@ typedef struct acl_type {
-
- #ifdef WITH_XATTR /* Do generic user Xattrs. */
- #include <sys/xattr.h>
--#include <attr/xattr.h>
-+#include <attr/attributes.h>
-+#ifndef ENOATTR
-+# define ENOATTR ENODATA
-+#endif
- #endif
-
- typedef struct xattr_node 

diff --git a/app-forensics/aide/files/aide.conf 
b/app-forensics/aide/files/aide.conf
deleted file mode 100644
index cef1813db9f..00000000000
--- a/app-forensics/aide/files/aide.conf
+++ /dev/null
@@ -1,115 +0,0 @@
-# AIDE conf
-
-database=file:/var/lib/aide/aide.db
-database_out=file:/var/lib/aide/aide.db.new
-
-# Change this to "no" or remove it to not gzip output
-# (only useful on systems with few CPU cycles to spare)
-gzip_dbout=yes
-
-# Here are all the things we can check - these are the default rules 
-#
-#p:      permissions
-#i:      inode
-#n:      number of links
-#u:      user
-#g:      group
-#s:      size
-#b:      block count
-#m:      mtime
-#a:      atime
-#c:      ctime
-#S:      check for growing size
-#md5:    md5 checksum
-#sha1:   sha1 checksum
-#rmd160: rmd160 checksum
-#tiger:  tiger checksum
-#R:      p+i+n+u+g+s+m+c+md5
-#L:      p+i+n+u+g
-#E:      Empty group
-#>:      Growing logfile p+u+g+i+n+S
-#haval:         haval checksum
-#gost:          gost checksum
-#crc32:         crc32 checksum
-
-# Defines formerly set here have been moved to /etc/default/aide.
-
-# Custom rules
-Binlib = p+i+n+u+g+s+b+m+c+md5+sha1
-ConfFiles = p+i+n+u+g+s+b+m+c+md5+sha1
-Logs = p+i+n+u+g+S
-Devices = p+i+n+u+g+s+b+c+md5+sha1
-Databases = p+n+u+g
-StaticDir = p+i+n+u+g
-ManPages = p+i+n+u+g+s+b+m+c+md5+sha1
-
-# Next decide what directories/files you want in the database
-
-# Kernel, system map, etc.
-=/boot$ Binlib
-# Binaries
-/bin Binlib
-/sbin Binlib
-/usr/bin Binlib
-/usr/sbin Binlib
-/usr/local/bin Binlib
-/usr/local/sbin Binlib
-#/usr/games Binlib
-# Libraries
-/lib Binlib
-/usr/lib Binlib
-/usr/local/lib Binlib
-# Log files
-=/var/log$ StaticDir
-#!/var/log/ksymoops
-/var/log/aide/aide.log(.[0-9])?(.gz)? Databases
-/var/log/aide/error.log(.[0-9])?(.gz)? Databases
-#/var/log/setuid.changes(.[0-9])?(.gz)? Databases
-!/var/log/aide
-/var/log Logs
-# Devices
-!/dev/pts
-# If you get spurious warnings about being unable to mmap() /dev/cpu/mtrr,
-# you may uncomment this to get rid of them. They're harmless but sometimes
-# annoying.
-#!/dev/cpu/mtrr
-#!/dev/xconsole
-/dev Devices
-# Other miscellaneous files
-/var/run$ StaticDir
-!/var/run
-# Test only the directory when dealing with /proc
-/proc$ StaticDir
-!/proc
-
-# You can look through these examples to get further ideas
-
-# MD5 sum files - especially useful with debsums -g
-#/var/lib/dpkg/info/([^\.]+).md5sums u+g+s+m+md5+sha1
-
-# Check crontabs
-#/var/spool/anacron/cron.daily Databases
-#/var/spool/anacron/cron.monthly Databases
-#/var/spool/anacron/cron.weekly Databases
-#/var/spool/cron Databases
-#/var/spool/cron/crontabs Databases
-
-# manpages can be trojaned, especially depending on *roff implementation
-#/usr/man ManPages
-#/usr/share/man ManPages
-#/usr/local/man ManPages
-
-# docs
-#/usr/doc ManPages
-#/usr/share/doc ManPages
-
-# check users' home directories
-#/home Binlib
-
-# check sources for modifications
-#/usr/src L
-#/usr/local/src L
-
-# Check headers for same
-#/usr/include L
-#/usr/local/include L

Reply via email to