Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: app-forensics/aide/, app-forensics/aide/files/
Date: Sat, 27 May 2017 20:59:38
Message-Id: 1495918769.524cbe18b25282426edbb300615096bc96aba09a.mgorny@gentoo
1 commit: 524cbe18b25282426edbb300615096bc96aba09a
2 Author: Ilya Tumaykin <itumaykin <AT> gmail <DOT> com>
3 AuthorDate: Tue May 23 17:41:24 2017 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sat May 27 20:59:29 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=524cbe18
7
8 app-forensics/aide: remove old
9
10 Closes: https://github.com/gentoo/gentoo/pull/4735
11 Package-Manager: Portage-2.3.6, Repoman-2.3.2
12
13 app-forensics/aide/Manifest | 1 -
14 app-forensics/aide/aide-0.15.1.ebuild | 114 ----------------------
15 app-forensics/aide/files/aide-0.15.1-gentoo.patch | 26 -----
16 3 files changed, 141 deletions(-)
17
18 diff --git a/app-forensics/aide/Manifest b/app-forensics/aide/Manifest
19 index ed8aa2cff1c..a586feab16c 100644
20 --- a/app-forensics/aide/Manifest
21 +++ b/app-forensics/aide/Manifest
22 @@ -1,3 +1,2 @@
23 DIST aide-0.14.2.tar.gz 418098 SHA256 bf4cd417b0f4778b4f9a618d23e0b0b7db10349ba6a0129394dc82fbc2fa8b9b SHA512 4ef96078fde057a54dda467fb55711e30d947969873715a02052362c57112f5bfd3155460ef353f70ce69fea3a3c491b7925bebbdb7034dbf618c63c360347df WHIRLPOOL fa91e4493bcac4cf11a8fedfd5e3c490752936f9ea04871d812b831f33089b694892e32ed19cef273926d3a8c091fb15a7b98a5e5303f08609f164773475d142
24 -DIST aide-0.15.1.tar.gz 424970 SHA256 303e5c186257df8c86e418193199f4ea2183fc37d3d4a9098a614f61346059ef SHA512 6afe327474858c697ba017b02bd40717c33874e69b801c171c2496ff9042b557e840bef4a151bda0e4d835ddb0d972b88790237a72f250525dc1fc6b8fa673e7 WHIRLPOOL 4c21221cfbaeff3aa00a3f22c4e31c1fffd3f00d112828540ab6ab94dd019086244de71e5d19d1120078acc7b81b9efa5a36d55937292f523bcb4e064830ba6a
25 DIST aide-0.16.tar.gz 391009 SHA256 a81c53a131c4fd130b169b3a26ac35386a2f6e1e014f12807524cc273ed97345 SHA512 29ad97756e3e2fb21dc332ed03b494a1c73e621266f8622ec80bdba23092a38ee975b97f3cff2330e4c16e64e2f672259eea9291ca706a4009e7399b4e14e6a7 WHIRLPOOL d9ecba06d8367ed2ef622ee6b3ccf6a0ed37bad52548063c5c153bd31b856ed8a3379e6057cc1d4aebd29473ded71e9190c8c17dbeaa65eec3365be1d43d5f46
26
27 diff --git a/app-forensics/aide/aide-0.15.1.ebuild b/app-forensics/aide/aide-0.15.1.ebuild
28 deleted file mode 100644
29 index 7a345f057d7..00000000000
30 --- a/app-forensics/aide/aide-0.15.1.ebuild
31 +++ /dev/null
32 @@ -1,114 +0,0 @@
33 -# Copyright 1999-2014 Gentoo Foundation
34 -# Distributed under the terms of the GNU General Public License v2
35 -
36 -EAPI="3"
37 -
38 -inherit autotools confutils eutils
39 -
40 -DESCRIPTION="AIDE (Advanced Intrusion Detection Environment) is a replacement for Tripwire"
41 -HOMEPAGE="http://aide.sourceforge.net/"
42 -SRC_URI="mirror://sourceforge/aide/${P}.tar.gz"
43 -
44 -SLOT="0"
45 -LICENSE="GPL-2"
46 -KEYWORDS="~amd64 ~x86"
47 -IUSE="acl audit curl mhash nls postgres prelink selinux static xattr zlib"
48 -
49 -CDEPEND="acl? ( virtual/acl )
50 - audit? ( sys-process/audit )
51 - curl? ( net-misc/curl )
52 - mhash? ( >=app-crypt/mhash-0.9.2 )
53 - !mhash? ( dev-libs/libgcrypt:0 )
54 - nls? ( virtual/libintl )
55 - postgres? ( dev-db/postgresql )
56 - prelink? ( sys-devel/prelink )
57 - selinux? (
58 - sys-libs/libselinux
59 - )
60 - xattr? ( sys-apps/attr )
61 - zlib? ( sys-libs/zlib )"
62 -
63 -RDEPEND="!static? ( ${CDEPEND} )
64 - selinux? ( sec-policy/selinux-aide )"
65 -
66 -DEPEND="${CDEPEND}
67 - nls? ( sys-devel/gettext )
68 - sys-devel/bison
69 - sys-devel/flex"
70 -
71 -pkg_setup() {
72 - confutils_use_conflict mhash postgres
73 - confutils_use_conflict static curl postgres
74 -}
75 -
76 -src_prepare() {
77 - epatch "${FILESDIR}/${PN}-0.15.1-gentoo.patch"
78 -
79 - # fix as-need issue, bug #271326
80 - epatch "${FILESDIR}/${PN}-0.14-as-needed.patch"
81 -
82 - # fix configure issue, bug #323187
83 - epatch "${FILESDIR}/${PN}-0.14-configure.patch"
84 -
85 - eautoreconf
86 -}
87 -
88 -src_configure() {
89 - econf \
90 - $(use_with acl posix-acl) \
91 - $(use_with audit) \
92 - $(use_with curl) \
93 - $(use_with !mhash gcrypt) \
94 - $(use_with mhash mhash) \
95 - $(use_with nls locale) \
96 - $(use_with postgres psql) \
97 - $(use_with prelink) \
98 - $(use_with selinux) \
99 - $(use_enable static) \
100 - $(use_with xattr) \
101 - $(use_with zlib) \
102 - --sysconfdir="${EPREFIX}/etc/aide" || die "econf failed"
103 -# $(use_with e2fsattrs) \
104 -}
105 -
106 -src_install() {
107 - emake DESTDIR="${D}" install install-man || die "emake install failed"
108 -
109 - keepdir /var/lib/aide || die
110 - fowners root:0 /var/lib/aide || die
111 - fperms 0755 /var/lib/aide || die
112 -
113 - keepdir /var/log/aide || die
114 -
115 - insinto /etc/aide
116 - doins "${FILESDIR}"/aide.conf || die
117 -
118 - dosbin "${FILESDIR}"/aideinit || die
119 -
120 - dodoc AUTHORS ChangeLog NEWS README Todo "${FILESDIR}"/aide.cron || die
121 - dohtml doc/manual.html || die
122 -}
123 -
124 -pkg_postinst() {
125 - elog
126 - elog "A sample configuration file has been installed as"
127 - elog "/etc/aide/aide.conf. Please edit to meet your needs."
128 - elog "Read the aide.conf(5) manual page for more information."
129 - elog "A helper script, aideinit, has been installed and can"
130 - elog "be used to make AIDE management easier. Please run"
131 - elog "aideinit --help for more information"
132 - elog
133 -
134 - if use postgres; then
135 - elog "Due to a bad assumption by aide, you must issue the following"
136 - elog "command after the database initialization (aide --init ...):"
137 - elog
138 - elog 'psql -c "update pg_index set indisunique=false from pg_class \\ '
139 - elog " where pg_class.relname='TABLE_pkey' and \ "
140 - elog ' pg_class.oid=pg_index.indexrelid" -h HOSTNAME -p PORT DBASE USER'
141 - elog
142 - elog "where TABLE, HOSTNAME, PORT, DBASE, and USER are the same as"
143 - elog "your aide.conf."
144 - elog
145 - fi
146 -}
147
148 diff --git a/app-forensics/aide/files/aide-0.15.1-gentoo.patch b/app-forensics/aide/files/aide-0.15.1-gentoo.patch
149 deleted file mode 100644
150 index 01c06f72387..00000000000
151 --- a/app-forensics/aide/files/aide-0.15.1-gentoo.patch
152 +++ /dev/null
153 @@ -1,26 +0,0 @@
154 -diff -Naur aide-0.15.1.orig//src/Makefile.am aide-0.15.1//src/Makefile.am
155 ---- aide-0.15.1.orig//src/Makefile.am 2010-08-02 03:23:44.000000000 +0900
156 -+++ aide-0.15.1//src/Makefile.am 2010-10-28 01:22:49.897871135 +0900
157 -@@ -26,7 +26,7 @@
158 - LEX_OUTPUT_ROOT = lex.yy
159 -
160 - LDADD = -lm @CRYPTLIB@ @ACLLIB@ @SELINUXLIB@ @AUDITLIB@ @ATTRLIB@ @E2FSATTRSLIB@ @ELFLIB@
161 --AM_CFLAGS = @AIDE_DEFS@ -W -Wall -g
162 -+AM_CFLAGS = -DLOCALEDIR=\"$(localedir)\" @AIDE_DEFS@ -W -Wall -g
163 -
164 - CLEANFILES = conf_yacc.h conf_yacc.c conf_lex.c db_lex.c *~
165 -
166 -diff -Naur aide-0.15.1.orig//src/db.c aide-0.15.1//src/db.c
167 ---- aide-0.15.1.orig//src/db.c 2010-08-09 02:39:31.000000000 +0900
168 -+++ aide-0.15.1//src/db.c 2010-10-28 01:22:12.930091842 +0900
169 -@@ -27,6 +27,10 @@
170 - #include "db_file.h"
171 - #include "db_disk.h"
172 -
173 -+#ifdef WITH_CURL
174 -+#include "fopen.h"
175 -+#endif
176 -+
177 - #ifdef WITH_PSQL
178 - #include "db_sql.h"
179 - #endif