1 |
commit: 4ebb7a0d2617997a5b42187b67aabef2472f1663 |
2 |
Author: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Jan 2 21:01:38 2016 +0000 |
4 |
Commit: Manuel Rüger <mrueg <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Jan 2 21:04:35 2016 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4ebb7a0d |
7 |
|
8 |
app-forensics/aide: Remove old |
9 |
|
10 |
Package-Manager: portage-2.2.26 |
11 |
|
12 |
app-forensics/aide/Manifest | 1 - |
13 |
app-forensics/aide/aide-0.13.1-r3.ebuild | 146 -------------------- |
14 |
app-forensics/aide/aide-0.13.1-r5.ebuild | 152 --------------------- |
15 |
app-forensics/aide/aide-0.13.1.ebuild | 141 ------------------- |
16 |
.../aide/files/aide-0.13.1-as-needed.patch | 36 ----- |
17 |
.../aide/files/aide-0.13.1-configure.patch | 74 ---------- |
18 |
.../aide/files/aide-0.13.1-equ-matching.patch | 83 ----------- |
19 |
app-forensics/aide/files/aide-0.13.1-gentoo.patch | 36 ----- |
20 |
.../aide/files/aide-0.13.1-libgrypt_init.patch | 49 ------- |
21 |
app-forensics/aide/files/aide-0.13.1-zlib.patch | 12 -- |
22 |
10 files changed, 730 deletions(-) |
23 |
|
24 |
diff --git a/app-forensics/aide/Manifest b/app-forensics/aide/Manifest |
25 |
index fa9310f..6c9b019 100644 |
26 |
--- a/app-forensics/aide/Manifest |
27 |
+++ b/app-forensics/aide/Manifest |
28 |
@@ -1,3 +1,2 @@ |
29 |
-DIST aide-0.13.1.tar.gz 285400 SHA256 b55065413bad3c24af51a551e6ab7cd4a9ecd9f449929261a45fc2f53e040021 SHA512 ac0e49c49d1a4229cf473a60e9acd8e7dc7c3ee7c2d436a3b3d486131753fd914a73695675de6e7f9bb5cdadb2ed64760a9e834c935fb1a5c65bae0d7efa2946 WHIRLPOOL 5d7ee3b2a062c2c91e603c72ed1d76a1fc9d16f13e8253bab0b5f6335de239ef7e44c453ffe22da86f5b0bc8a69e0bf6276a4a52a1928339899298f07f1769df |
30 |
DIST aide-0.14.2.tar.gz 418098 SHA256 bf4cd417b0f4778b4f9a618d23e0b0b7db10349ba6a0129394dc82fbc2fa8b9b SHA512 4ef96078fde057a54dda467fb55711e30d947969873715a02052362c57112f5bfd3155460ef353f70ce69fea3a3c491b7925bebbdb7034dbf618c63c360347df WHIRLPOOL fa91e4493bcac4cf11a8fedfd5e3c490752936f9ea04871d812b831f33089b694892e32ed19cef273926d3a8c091fb15a7b98a5e5303f08609f164773475d142 |
31 |
DIST aide-0.15.1.tar.gz 424970 SHA256 303e5c186257df8c86e418193199f4ea2183fc37d3d4a9098a614f61346059ef SHA512 6afe327474858c697ba017b02bd40717c33874e69b801c171c2496ff9042b557e840bef4a151bda0e4d835ddb0d972b88790237a72f250525dc1fc6b8fa673e7 WHIRLPOOL 4c21221cfbaeff3aa00a3f22c4e31c1fffd3f00d112828540ab6ab94dd019086244de71e5d19d1120078acc7b81b9efa5a36d55937292f523bcb4e064830ba6a |
32 |
|
33 |
diff --git a/app-forensics/aide/aide-0.13.1-r3.ebuild b/app-forensics/aide/aide-0.13.1-r3.ebuild |
34 |
deleted file mode 100644 |
35 |
index 341e5d3..0000000 |
36 |
--- a/app-forensics/aide/aide-0.13.1-r3.ebuild |
37 |
+++ /dev/null |
38 |
@@ -1,146 +0,0 @@ |
39 |
-# Copyright 1999-2014 Gentoo Foundation |
40 |
-# Distributed under the terms of the GNU General Public License v2 |
41 |
-# $Id$ |
42 |
- |
43 |
-inherit autotools eutils |
44 |
- |
45 |
-DESCRIPTION="AIDE (Advanced Intrusion Detection Environment) is a replacement for Tripwire" |
46 |
-HOMEPAGE="http://aide.sourceforge.net/" |
47 |
-SRC_URI="mirror://sourceforge/aide/${P}.tar.gz" |
48 |
- |
49 |
-SLOT="0" |
50 |
-LICENSE="GPL-2" |
51 |
-KEYWORDS="amd64 x86" |
52 |
-IUSE="acl curl mhash nls postgres selinux static xattr zlib" |
53 |
-#IUSE="acl audit curl mhash nls postgres selinux static xattr zlib" |
54 |
- |
55 |
-# libsandbox: Can't dlopen libc: (null) |
56 |
-RESTRICT="test" |
57 |
- |
58 |
-DEPEND="acl? ( sys-apps/acl ) |
59 |
- curl? ( net-misc/curl ) |
60 |
- mhash? ( >=app-crypt/mhash-0.9.2 ) |
61 |
- !mhash? ( dev-libs/libgcrypt ) |
62 |
- nls? ( virtual/libintl ) |
63 |
- postgres? ( dev-db/postgresql ) |
64 |
- selinux? ( |
65 |
- sys-libs/libselinux |
66 |
- sec-policy/selinux-aide |
67 |
- ) |
68 |
- xattr? ( sys-apps/attr ) |
69 |
- zlib? ( sys-libs/zlib )" |
70 |
-# audit? ( sys-process/audit ) |
71 |
- |
72 |
-RDEPEND="!static? ( ${DEPEND} )" |
73 |
- |
74 |
-DEPEND="${DEPEND} |
75 |
- nls? ( sys-devel/gettext ) |
76 |
- sys-devel/bison |
77 |
- sys-devel/flex" |
78 |
- |
79 |
-pkg_setup() { |
80 |
- if use mhash && use postgres ; then |
81 |
- eerror "We cannot emerge aide with mhash and postgres USE flags at the same time." |
82 |
- eerror "Please remove mhash OR postgres USE flags." |
83 |
- die "Please remove either mhash or postgres USE flag." |
84 |
- fi |
85 |
-} |
86 |
- |
87 |
-src_unpack() { |
88 |
- unpack ${A} |
89 |
- cd "${S}" |
90 |
- |
91 |
- epatch "${FILESDIR}/${P}-gentoo.patch" |
92 |
- |
93 |
- # fix configure switch |
94 |
- epatch "${FILESDIR}/${P}-configure.patch" |
95 |
- |
96 |
- # fix equal match issue, bug #204217 |
97 |
- epatch "${FILESDIR}/${P}-equ-matching.patch" |
98 |
- |
99 |
- # fix libgcrypt issue, bug #266175 |
100 |
- epatch "${FILESDIR}/${P}-libgrypt_init.patch" |
101 |
- |
102 |
- if ! use mhash ; then |
103 |
- # dev-libs/libgcrypt doesn't support whirlpool algorithm |
104 |
- sed -i -e 's/\+whirlpool//' doc/aide.conf.in || die |
105 |
- fi |
106 |
- |
107 |
- if ! use selinux ; then |
108 |
- sed -i -e 's/\+selinux//' doc/aide.conf.in || die |
109 |
- fi |
110 |
- |
111 |
- if ! use xattr ; then |
112 |
- sed -i -e 's/\+xattrs//' doc/aide.conf.in || die |
113 |
- fi |
114 |
- |
115 |
- if ! use acl ; then |
116 |
- sed -i -e 's/\+acl//' doc/aide.conf.in || die |
117 |
- fi |
118 |
- |
119 |
- eautoreconf |
120 |
-} |
121 |
- |
122 |
-src_compile() { |
123 |
- local myconf=" |
124 |
- $(use_with acl posix-acl) |
125 |
- $(use_with !mhash gcrypt) |
126 |
- $(use_with mhash mhash) |
127 |
- $(use_with nls locale) |
128 |
- $(use_with postgres psql) |
129 |
- $(use_with selinux) |
130 |
- $(use_enable static) |
131 |
- $(use_with xattr) |
132 |
- $(use_with zlib) |
133 |
- --sysconfdir=/etc/aide" |
134 |
-# $(use_with audit) |
135 |
- |
136 |
- # curl doesn't work with static |
137 |
- use curl && ! use static && myconf="${myconf} --with-curl" |
138 |
- |
139 |
- econf ${myconf} || die "econf failed" |
140 |
- # parallel make borked |
141 |
- emake -j1 || die "emake failed" |
142 |
-} |
143 |
- |
144 |
-src_install() { |
145 |
- emake DESTDIR="${D}" install || die "emake install failed" |
146 |
- |
147 |
- keepdir /var/lib/aide |
148 |
- fowners root:0 /var/lib/aide |
149 |
- fperms 0755 /var/lib/aide |
150 |
- |
151 |
- keepdir /var/log/aide |
152 |
- |
153 |
- insinto /etc/aide |
154 |
- doins "${FILESDIR}"/aide.conf |
155 |
- |
156 |
- dosbin "${FILESDIR}"/aideinit |
157 |
- |
158 |
- dodoc ChangeLog AUTHORS NEWS README "${FILESDIR}"/aide.cron |
159 |
- dohtml doc/manual.html |
160 |
-} |
161 |
- |
162 |
-pkg_postinst() { |
163 |
- elog |
164 |
- elog "A sample configuration file has been installed as" |
165 |
- elog "/etc/aide/aide.conf. Please edit to meet your needs." |
166 |
- elog "Read the aide.conf(5) manual page for more information." |
167 |
- elog "A helper script, aideinit, has been installed and can" |
168 |
- elog "be used to make AIDE management easier. Please run" |
169 |
- elog "aideinit --help for more information" |
170 |
- elog |
171 |
- |
172 |
- if use postgres; then |
173 |
- elog "Due to a bad assumption by aide, you must issue the following" |
174 |
- elog "command after the database initialization (aide --init ...):" |
175 |
- elog |
176 |
- elog 'psql -c "update pg_index set indisunique=false from pg_class \\ ' |
177 |
- elog " where pg_class.relname='TABLE_pkey' and \ " |
178 |
- elog ' pg_class.oid=pg_index.indexrelid" -h HOSTNAME -p PORT DBASE USER' |
179 |
- elog |
180 |
- elog "where TABLE, HOSTNAME, PORT, DBASE, and USER are the same as" |
181 |
- elog "your aide.conf." |
182 |
- elog |
183 |
- fi |
184 |
-} |
185 |
|
186 |
diff --git a/app-forensics/aide/aide-0.13.1-r5.ebuild b/app-forensics/aide/aide-0.13.1-r5.ebuild |
187 |
deleted file mode 100644 |
188 |
index 9acd68a..0000000 |
189 |
--- a/app-forensics/aide/aide-0.13.1-r5.ebuild |
190 |
+++ /dev/null |
191 |
@@ -1,152 +0,0 @@ |
192 |
-# Copyright 1999-2014 Gentoo Foundation |
193 |
-# Distributed under the terms of the GNU General Public License v2 |
194 |
-# $Id$ |
195 |
- |
196 |
-inherit autotools eutils |
197 |
- |
198 |
-DESCRIPTION="AIDE (Advanced Intrusion Detection Environment) is a replacement for Tripwire" |
199 |
-HOMEPAGE="http://aide.sourceforge.net/" |
200 |
-SRC_URI="mirror://sourceforge/aide/${P}.tar.gz" |
201 |
- |
202 |
-SLOT="0" |
203 |
-LICENSE="GPL-2" |
204 |
-KEYWORDS="~amd64 ~x86" |
205 |
-IUSE="acl curl mhash nls postgres selinux static xattr zlib" |
206 |
-#IUSE="acl audit curl mhash nls postgres selinux static xattr zlib" |
207 |
- |
208 |
-# libsandbox: Can't dlopen libc: (null) |
209 |
-RESTRICT="test" |
210 |
- |
211 |
-DEPEND="acl? ( sys-apps/acl ) |
212 |
- curl? ( net-misc/curl ) |
213 |
- mhash? ( >=app-crypt/mhash-0.9.2 ) |
214 |
- !mhash? ( dev-libs/libgcrypt ) |
215 |
- nls? ( virtual/libintl ) |
216 |
- postgres? ( dev-db/postgresql ) |
217 |
- selinux? ( |
218 |
- sys-libs/libselinux |
219 |
- sec-policy/selinux-aide |
220 |
- ) |
221 |
- xattr? ( sys-apps/attr ) |
222 |
- zlib? ( sys-libs/zlib )" |
223 |
-# audit? ( sys-process/audit ) |
224 |
- |
225 |
-RDEPEND="!static? ( ${DEPEND} )" |
226 |
- |
227 |
-DEPEND="${DEPEND} |
228 |
- nls? ( sys-devel/gettext ) |
229 |
- sys-devel/bison |
230 |
- sys-devel/flex" |
231 |
- |
232 |
-pkg_setup() { |
233 |
- if use mhash && use postgres ; then |
234 |
- eerror "We cannot emerge aide with mhash and postgres USE flags at the same time." |
235 |
- eerror "Please remove mhash OR postgres USE flags." |
236 |
- die "Please remove either mhash or postgres USE flag." |
237 |
- fi |
238 |
-} |
239 |
- |
240 |
-src_unpack() { |
241 |
- unpack ${A} |
242 |
- cd "${S}" |
243 |
- |
244 |
- epatch "${FILESDIR}/${P}-gentoo.patch" |
245 |
- |
246 |
- # fix configure switch |
247 |
- epatch "${FILESDIR}/${P}-configure.patch" |
248 |
- |
249 |
- # fix equal match issue, bug #204217 |
250 |
- epatch "${FILESDIR}/${P}-equ-matching.patch" |
251 |
- |
252 |
- # fix libgcrypt issue, bug #266175 |
253 |
- epatch "${FILESDIR}/${P}-libgrypt_init.patch" |
254 |
- |
255 |
- # fix as-need issue, bug #271326 |
256 |
- epatch "${FILESDIR}/${P}-as-needed.patch" |
257 |
- |
258 |
- # fix zlib issue, bug #316665 |
259 |
- epatch "${FILESDIR}/${P}-zlib.patch" |
260 |
- |
261 |
- if ! use mhash ; then |
262 |
- # dev-libs/libgcrypt doesn't support whirlpool algorithm |
263 |
- sed -i -e 's/\+whirlpool//' doc/aide.conf.in || die |
264 |
- fi |
265 |
- |
266 |
- if ! use selinux ; then |
267 |
- sed -i -e 's/\+selinux//' doc/aide.conf.in || die |
268 |
- fi |
269 |
- |
270 |
- if ! use xattr ; then |
271 |
- sed -i -e 's/\+xattrs//' doc/aide.conf.in || die |
272 |
- fi |
273 |
- |
274 |
- if ! use acl ; then |
275 |
- sed -i -e 's/\+acl//' doc/aide.conf.in || die |
276 |
- fi |
277 |
- |
278 |
- eautoreconf |
279 |
-} |
280 |
- |
281 |
-src_compile() { |
282 |
- local myconf=" |
283 |
- $(use_with acl posix-acl) |
284 |
- $(use_with !mhash gcrypt) |
285 |
- $(use_with mhash mhash) |
286 |
- $(use_with nls locale) |
287 |
- $(use_with postgres psql) |
288 |
- $(use_with selinux) |
289 |
- $(use_enable static) |
290 |
- $(use_with xattr) |
291 |
- $(use_with zlib) |
292 |
- --sysconfdir=/etc/aide" |
293 |
-# $(use_with audit) |
294 |
- |
295 |
- # curl doesn't work with static |
296 |
- use curl && ! use static && myconf="${myconf} --with-curl" |
297 |
- |
298 |
- econf ${myconf} || die "econf failed" |
299 |
- # parallel make borked |
300 |
- emake -j1 || die "emake failed" |
301 |
-} |
302 |
- |
303 |
-src_install() { |
304 |
- emake DESTDIR="${D}" install || die "emake install failed" |
305 |
- |
306 |
- keepdir /var/lib/aide |
307 |
- fowners root:0 /var/lib/aide |
308 |
- fperms 0755 /var/lib/aide |
309 |
- |
310 |
- keepdir /var/log/aide |
311 |
- |
312 |
- insinto /etc/aide |
313 |
- doins "${FILESDIR}"/aide.conf |
314 |
- |
315 |
- dosbin "${FILESDIR}"/aideinit |
316 |
- |
317 |
- dodoc ChangeLog AUTHORS NEWS README "${FILESDIR}"/aide.cron |
318 |
- dohtml doc/manual.html |
319 |
-} |
320 |
- |
321 |
-pkg_postinst() { |
322 |
- elog |
323 |
- elog "A sample configuration file has been installed as" |
324 |
- elog "/etc/aide/aide.conf. Please edit to meet your needs." |
325 |
- elog "Read the aide.conf(5) manual page for more information." |
326 |
- elog "A helper script, aideinit, has been installed and can" |
327 |
- elog "be used to make AIDE management easier. Please run" |
328 |
- elog "aideinit --help for more information" |
329 |
- elog |
330 |
- |
331 |
- if use postgres; then |
332 |
- elog "Due to a bad assumption by aide, you must issue the following" |
333 |
- elog "command after the database initialization (aide --init ...):" |
334 |
- elog |
335 |
- elog 'psql -c "update pg_index set indisunique=false from pg_class \\ ' |
336 |
- elog " where pg_class.relname='TABLE_pkey' and \ " |
337 |
- elog ' pg_class.oid=pg_index.indexrelid" -h HOSTNAME -p PORT DBASE USER' |
338 |
- elog |
339 |
- elog "where TABLE, HOSTNAME, PORT, DBASE, and USER are the same as" |
340 |
- elog "your aide.conf." |
341 |
- elog |
342 |
- fi |
343 |
-} |
344 |
|
345 |
diff --git a/app-forensics/aide/aide-0.13.1.ebuild b/app-forensics/aide/aide-0.13.1.ebuild |
346 |
deleted file mode 100644 |
347 |
index 8b43d61..0000000 |
348 |
--- a/app-forensics/aide/aide-0.13.1.ebuild |
349 |
+++ /dev/null |
350 |
@@ -1,141 +0,0 @@ |
351 |
-# Copyright 1999-2014 Gentoo Foundation |
352 |
-# Distributed under the terms of the GNU General Public License v2 |
353 |
-# $Id$ |
354 |
- |
355 |
-inherit eutils autotools |
356 |
- |
357 |
-DESCRIPTION="AIDE (Advanced Intrusion Detection Environment) is a replacement for Tripwire" |
358 |
-HOMEPAGE="http://aide.sourceforge.net/" |
359 |
-SRC_URI="mirror://sourceforge/aide/${P}.tar.gz" |
360 |
- |
361 |
-SLOT="0" |
362 |
-LICENSE="GPL-2" |
363 |
-KEYWORDS="amd64 x86" |
364 |
-IUSE="acl curl mhash nls postgres selinux static xattr zlib" |
365 |
-#IUSE="acl audit curl mhash nls postgres selinux static xattr zlib" |
366 |
- |
367 |
-DEPEND="acl? ( sys-apps/acl ) |
368 |
- curl? ( net-misc/curl ) |
369 |
- mhash? ( >=app-crypt/mhash-0.9.2 ) |
370 |
- !mhash? ( dev-libs/libgcrypt ) |
371 |
- nls? ( virtual/libintl ) |
372 |
- postgres? ( dev-db/postgresql ) |
373 |
- selinux? ( |
374 |
- sys-libs/libselinux |
375 |
- sec-policy/selinux-aide |
376 |
- ) |
377 |
- xattr? ( sys-apps/attr ) |
378 |
- zlib? ( sys-libs/zlib )" |
379 |
-# audit? ( sys-process/audit ) |
380 |
- |
381 |
-RDEPEND="!static? ( ${DEPEND} ) |
382 |
- virtual/mailx" |
383 |
- |
384 |
-DEPEND="${DEPEND} |
385 |
- nls? ( sys-devel/gettext ) |
386 |
- sys-devel/bison |
387 |
- sys-devel/flex" |
388 |
- |
389 |
-pkg_setup() { |
390 |
- if use mhash && use postgres ; then |
391 |
- eerror "We cannot emerge aide with mhash and postgres USE flags at the same time." |
392 |
- eerror "Please remove mhash OR postgres USE flags." |
393 |
- die "Please remove either mhash or postgres USE flag." |
394 |
- fi |
395 |
-} |
396 |
- |
397 |
-src_unpack() { |
398 |
- unpack ${A} |
399 |
- cd "${S}" |
400 |
- epatch "${FILESDIR}"/${P}-gentoo.patch |
401 |
- |
402 |
- if ! use mhash ; then |
403 |
- # dev-libs/libgcrypt doesn't support whirlpool algorithm |
404 |
- sed -i -e 's/\+whirlpool//' doc/aide.conf.in || die |
405 |
- fi |
406 |
- |
407 |
- if ! use selinux ; then |
408 |
- sed -i -e 's/\+selinux//' doc/aide.conf.in || die |
409 |
- fi |
410 |
- |
411 |
- if ! use xattr ; then |
412 |
- sed -i -e 's/\+xattrs//' doc/aide.conf.in || die |
413 |
- fi |
414 |
- |
415 |
- if ! use acl ; then |
416 |
- sed -i -e 's/\+acl//' doc/aide.conf.in || die |
417 |
- fi |
418 |
- eautoreconf |
419 |
-} |
420 |
- |
421 |
-src_compile() { |
422 |
- local myconf="--sysconfdir=/etc/aide $(use_enable static)" |
423 |
- |
424 |
- # --without-* borked |
425 |
- use zlib && myconf="${myconf} --with-zlib" |
426 |
- use nls && myconf="${myconf} --with-locale" |
427 |
- use postgres && myconf="${myconf} --with-psql" |
428 |
- use selinux && myconf="${myconf} --with-selinux" |
429 |
- use acl && myconf="${myconf} --with-posix-acl" |
430 |
- use xattr && myconf="${myconf} --with-xattr" |
431 |
-# use audit && myconf="${myconf} --with-audit" |
432 |
- |
433 |
- # curl doesn't work with static |
434 |
- use curl && ! use static && myconf="${myconf} --with-curl" |
435 |
- |
436 |
- # If you use dev-libs/libgcrypt, --without-mhash is needed. |
437 |
- use mhash \ |
438 |
- && myconf="${myconf} --with-mhash" \ |
439 |
- || myconf="${myconf} --with-gcrypt --without-mhash" |
440 |
- |
441 |
- econf ${myconf} || die |
442 |
- # parallel make borked |
443 |
- emake -j1 || die |
444 |
-} |
445 |
- |
446 |
-src_install() { |
447 |
- emake DESTDIR="${D}" install || die |
448 |
- |
449 |
- keepdir /var/lib/aide |
450 |
- keepdir /var/log/aide |
451 |
- |
452 |
- insinto /etc/aide |
453 |
- doins "${FILESDIR}"/aide.conf |
454 |
- # doins doc/aide.conf |
455 |
- |
456 |
- dosbin "${FILESDIR}"/aideinit |
457 |
- |
458 |
- exeinto /etc/cron.daily |
459 |
- doexe "${FILESDIR}"/aide.cron |
460 |
- |
461 |
- dodoc ChangeLog AUTHORS NEWS README |
462 |
- dohtml doc/manual.html |
463 |
-} |
464 |
- |
465 |
-pkg_postinst() { |
466 |
- chown root:0 /var/lib/aide |
467 |
- chmod 0755 /var/lib/aide |
468 |
- |
469 |
- elog |
470 |
- elog "A sample configuration file has been installed as" |
471 |
- elog "/etc/aide/aide.conf. Please edit to meet your needs." |
472 |
- elog "Read the aide.conf(5) manual page for more information." |
473 |
- elog "A cron file has been installed in /etc/cron.daily/aide.cron" |
474 |
- elog "A helper script, aideinit, has been installed and can" |
475 |
- elog "be used to make AIDE management easier. Please run" |
476 |
- elog "aideinit --help for more information" |
477 |
- elog |
478 |
- |
479 |
- if use postgres; then |
480 |
- elog "Due to a bad assumption by aide, you must issue the following" |
481 |
- elog "command after the database initialization (aide --init ...):" |
482 |
- elog |
483 |
- elog 'psql -c "update pg_index set indisunique=false from pg_class \\ ' |
484 |
- elog " where pg_class.relname='TABLE_pkey' and \ " |
485 |
- elog ' pg_class.oid=pg_index.indexrelid" -h HOSTNAME -p PORT DBASE USER' |
486 |
- elog |
487 |
- elog "where TABLE, HOSTNAME, PORT, DBASE, and USER are the same as" |
488 |
- elog "your aide.conf." |
489 |
- elog |
490 |
- fi |
491 |
-} |
492 |
|
493 |
diff --git a/app-forensics/aide/files/aide-0.13.1-as-needed.patch b/app-forensics/aide/files/aide-0.13.1-as-needed.patch |
494 |
deleted file mode 100644 |
495 |
index 9e0ec4d..0000000 |
496 |
--- a/app-forensics/aide/files/aide-0.13.1-as-needed.patch |
497 |
+++ /dev/null |
498 |
@@ -1,36 +0,0 @@ |
499 |
-diff -Naur aide-0.13.1.orig/configure.in aide-0.13.1/configure.in |
500 |
---- aide-0.13.1.orig/configure.in 2006-12-09 06:49:21.000000000 +0900 |
501 |
-+++ aide-0.13.1/configure.in 2009-12-16 19:30:17.000000000 +0900 |
502 |
-@@ -546,12 +546,12 @@ |
503 |
- if test x$with_zlib = xyes; then |
504 |
- AC_CHECK_HEADERS(zlib.h,, |
505 |
- [AC_MSG_ERROR([You don't have zlib properly installed. Install it or try --without-zlib.])]) |
506 |
-- save_LDFLAGS=$LDFLAGS |
507 |
-- LDFLAGS="$LDFLAGS $LD_STATIC_FLAG" |
508 |
-+# saveLIBS=$LIBS |
509 |
-+ LIBS="$LIBS -lz $LD_STATIC_FLAG" |
510 |
- AC_CHECK_LIB(z,gzdopen,, |
511 |
- [AC_MSG_ERROR([You don't have zlib properly installed. Install it or try --without-zlib.])] |
512 |
- ) |
513 |
-- LDFLAGS=$save_LDFLAGS |
514 |
-+# LIBS=$saveLIBS |
515 |
- AC_DEFINE(WITH_ZLIB,1,[use zlib]) |
516 |
- fi |
517 |
- |
518 |
-@@ -565,13 +565,13 @@ |
519 |
- fi |
520 |
- AC_CHECK_HEADERS(curl/curl.h,, |
521 |
- [AC_MSG_ERROR([You don't have curl properly installed. Install it or try --without-curl.])]) |
522 |
--# save_LDFLAGS=$LDFLAGS |
523 |
-+# saveLIBS=$LIBS |
524 |
- CFLAGS="$CFLAGS $CURL_CFLAGS" |
525 |
-- LDFLAGS="$LDFLAGS $CURL_LIBS $LD_STATIC_FLAG" |
526 |
-+ LIBS="$LIBS $CURL_LIBS $LD_STATIC_FLAG" |
527 |
- AC_CHECK_LIB(curl,curl_easy_init,havecurl=yes, |
528 |
- [AC_MSG_ERROR([You don't have curl properly installed. Install it or try --without-curl.])] |
529 |
- ) |
530 |
--# LDFLAGS=$save_LDFLAGS |
531 |
-+# LIBS=$saveLIBS |
532 |
- AC_DEFINE(WITH_CURL,1,[use curl]) |
533 |
- compoptionstring="${compoptionstring}WITH_CURL\\n"], |
534 |
- fi |
535 |
|
536 |
diff --git a/app-forensics/aide/files/aide-0.13.1-configure.patch b/app-forensics/aide/files/aide-0.13.1-configure.patch |
537 |
deleted file mode 100644 |
538 |
index 75eb555..0000000 |
539 |
--- a/app-forensics/aide/files/aide-0.13.1-configure.patch |
540 |
+++ /dev/null |
541 |
@@ -1,74 +0,0 @@ |
542 |
---- configure.in.old 2008-01-26 15:07:28.000000000 +0100 |
543 |
-+++ configure.in 2008-01-26 15:14:05.000000000 +0100 |
544 |
-@@ -160,7 +160,9 @@ |
545 |
- fi |
546 |
- |
547 |
- # Check whether static linking has explicitly been disabled |
548 |
--AC_ARG_ENABLE(static,[ --disable-static Disable static linking (lowers the security of aide)], [aide_static_choice=$enableval], [aide_static_choice=yes]) |
549 |
-+AC_ARG_ENABLE(static, |
550 |
-+ AC_HELP_STRING([--disable-static],[Disable static linking (lowers the security of aide)]), |
551 |
-+ [aide_static_choice=$enableval], [aide_static_choice=yes]) |
552 |
- |
553 |
- if test "$aide_static_choice" != "yes"; then |
554 |
- LD_STATIC_FLAG="" |
555 |
-@@ -190,8 +192,8 @@ |
556 |
- AC_CHECK_FUNCS(stricmp strnstr strnlen) |
557 |
- |
558 |
- AC_ARG_WITH([mmap], |
559 |
-- [AC_HELP_STRING([--with-mmap], |
560 |
-- [use mmap @<:@default=check@:>@])], |
561 |
-+ AC_HELP_STRING([--with-mmap], |
562 |
-+ [use mmap @<:@default=check@:>@]), |
563 |
- [], |
564 |
- [with_mmap=check] |
565 |
- ) |
566 |
-@@ -283,8 +285,8 @@ |
567 |
- AC_CHECK_HEADERS(syslog.h inttypes.h fcntl.h) |
568 |
- |
569 |
- AC_ARG_WITH([locale], |
570 |
-- [AC_HELP_STRING([--with-locale], |
571 |
-- [use locale stuff])], |
572 |
-+ AC_HELP_STRING([--with-locale], |
573 |
-+ [use locale stuff]), |
574 |
- [], |
575 |
- [with_locale=no] |
576 |
- ) |
577 |
-@@ -369,10 +371,10 @@ |
578 |
- [AC_HELP_STRING([--with-posix-acl], |
579 |
- [use POSIX ACLs (no checking)])], |
580 |
- [], |
581 |
-- [with_posix_acl_support=no] |
582 |
-+ [with_posix_acl=no] |
583 |
- ) |
584 |
- |
585 |
--AS_IF([test "x$with_posix_acl_support" != xno], |
586 |
-+AS_IF([test "x$with_posix_acl" != xno], |
587 |
- [AC_DEFINE(WITH_POSIX_ACL,1,[use POSIX ACLs]) |
588 |
- AC_DEFINE(WITH_ACL,1,[use ACL]) |
589 |
- ACLLIB="-lacl" |
590 |
-@@ -388,10 +390,10 @@ |
591 |
- [AC_HELP_STRING([--with-selinux], |
592 |
- [use SELinux (no checking)])], |
593 |
- [], |
594 |
-- [with_selinux_support=no] |
595 |
-+ [with_selinux=no] |
596 |
- ) |
597 |
- |
598 |
--AS_IF([test "x$with_selinux_support" != xno], |
599 |
-+AS_IF([test "x$with_selinux" != xno], |
600 |
- [AC_DEFINE(WITH_SELINUX,1,[use SELinux]) |
601 |
- if test -n "$PKG_CONFIG" && $PKG_CONFIG --exists libselinux; then |
602 |
- SELINUXLIB=$(${PKG_CONFIG} --libs libselinux --static) |
603 |
-@@ -410,10 +412,10 @@ |
604 |
- [AC_HELP_STRING([--with-xattr], |
605 |
- [use xattr (no checking)])], |
606 |
- [], |
607 |
-- [with_xattr_support=no] |
608 |
-+ [with_xattr=no] |
609 |
- ) |
610 |
- |
611 |
--AS_IF([test "x$with_xattr_support" != xno], |
612 |
-+AS_IF([test "x$with_xattr" != xno], |
613 |
- [AC_DEFINE(WITH_XATTR,1,[use xattr]) |
614 |
- ATTRLIB=-lattr |
615 |
- compoptionstring="${compoptionstring}WITH_XATTR\\n" |
616 |
|
617 |
diff --git a/app-forensics/aide/files/aide-0.13.1-equ-matching.patch b/app-forensics/aide/files/aide-0.13.1-equ-matching.patch |
618 |
deleted file mode 100644 |
619 |
index e5d02a5..0000000 |
620 |
--- a/app-forensics/aide/files/aide-0.13.1-equ-matching.patch |
621 |
+++ /dev/null |
622 |
@@ -1,83 +0,0 @@ |
623 |
---- src/gen_list.c.orig 2007-12-19 15:37:13.000000000 -0800 |
624 |
-+++ src/gen_list.c 2007-12-19 16:19:43.000000000 -0800 |
625 |
-@@ -732,33 +732,6 @@ |
626 |
- return retval; |
627 |
- } |
628 |
- |
629 |
--//this is used to check if $text if equal to a node in $rxrlist |
630 |
--//should be used to check equ_rx_lst only |
631 |
--int check_list_for_equal(list* rxrlist,char* text,DB_ATTR_TYPE* attr) |
632 |
--{ |
633 |
-- list* r=NULL; |
634 |
-- int retval=1; |
635 |
-- char *temp; |
636 |
-- |
637 |
-- for(r=rxrlist;r;r=r->next){ |
638 |
-- temp=((rx_rule*)r->data)->rx; |
639 |
-- |
640 |
-- //FIXME, if rx not begin with ^, may need to do something else |
641 |
-- if(temp[0]=='^') //^ is for reg exp, we can ignore this character |
642 |
-- temp++; |
643 |
-- |
644 |
-- //we don't need to worry about buff-overflow, so strcmp is safe |
645 |
-- if((retval=strcmp(temp, text))==0){ |
646 |
-- *attr=((rx_rule*)r->data)->attr; |
647 |
-- error(231,"\"%s\" matches string from line #%ld: %s\n",text,((rx_rule*)r->data)->conf_lineno,((rx_rule*)r->data)->rx); |
648 |
-- break; |
649 |
-- } else { |
650 |
-- error(231,"\"%s\" doesn't match string from line #%ld: %s\n",text,((rx_rule*)r->data)->conf_lineno,((rx_rule*)r->data)->rx); |
651 |
-- } |
652 |
-- } |
653 |
-- return retval; |
654 |
--} |
655 |
-- |
656 |
- /* |
657 |
- * Function check_node_for_match() |
658 |
- * calls itself recursively to go to the top and then back down. |
659 |
-@@ -783,35 +756,24 @@ |
660 |
- return retval; |
661 |
- } |
662 |
- |
663 |
-- /* We need this to check whether this was the first one * |
664 |
-- * to be called and not a recursive call */ |
665 |
-- if(!((retval&16)==16)){ |
666 |
-- retval|=16; |
667 |
-+ /* if this call is not recursive we check the equals list and we set top * |
668 |
-+ * and retval so we know following calls are recursive */ |
669 |
-+ if(!(retval&16)){ |
670 |
- top=1; |
671 |
-- } else { |
672 |
-- top=0; |
673 |
-- } |
674 |
-- |
675 |
-- /* if no deeper match found */ |
676 |
-- if(!((retval&8)==8)&&!((retval&4)==4)){ |
677 |
-+ retval|=16; |
678 |
-+ |
679 |
- if(!check_list_for_match(node->equ_rx_lst,text,attr)){ |
680 |
-- /* |
681 |
-- Zhi Wen Wong added this line to fix bug that equ not work for |
682 |
-- compare |
683 |
-- if we do "=/bin", we should only check /bin |
684 |
-- so, /bin/bash or /bin/something should return 0 as neg |
685 |
-- */ |
686 |
-- if(!check_list_for_equal(node->equ_rx_lst,text,attr)) |
687 |
-- retval|=(2|4); |
688 |
-- }; |
689 |
-- }; |
690 |
-+ retval|=2|4; |
691 |
-+ } |
692 |
-+ } |
693 |
- /* We'll use retval to pass information on whether to recurse |
694 |
- * the dir or not */ |
695 |
- |
696 |
- |
697 |
-- if(!((retval&8)==8)&&!((retval&4)==4)){ |
698 |
-+ /* If 4 and 8 are not set, we will check for matches */ |
699 |
-+ if(!(retval&(4|8))){ |
700 |
- if(!check_list_for_match(node->sel_rx_lst,text,attr)) |
701 |
-- retval|=(1|8); |
702 |
-+ retval|=1|8; |
703 |
- } |
704 |
- |
705 |
- /* Now let's check the ancestors */ |
706 |
|
707 |
diff --git a/app-forensics/aide/files/aide-0.13.1-gentoo.patch b/app-forensics/aide/files/aide-0.13.1-gentoo.patch |
708 |
deleted file mode 100644 |
709 |
index 9c1c07b..0000000 |
710 |
--- a/app-forensics/aide/files/aide-0.13.1-gentoo.patch |
711 |
+++ /dev/null |
712 |
@@ -1,36 +0,0 @@ |
713 |
-diff -Naur aide-0.13.1.orig/Makefile.am aide-0.13.1/Makefile.am |
714 |
---- aide-0.13.1.orig/Makefile.am 2006-10-11 03:39:01.000000000 +0900 |
715 |
-+++ aide-0.13.1/Makefile.am 2007-09-27 01:35:39.000000000 +0900 |
716 |
-@@ -33,7 +33,7 @@ |
717 |
- src/aide -c doc/aide.conf -V20 |
718 |
- |
719 |
- update-db: all |
720 |
-- src/aide -B "database_out=file://$(top_srcdir)/doc/aide.db" -c doc/aide.conf -i |
721 |
-+ src/aide -B "database_out=file://$(abs_top_srcdir)/doc/aide.db" -c doc/aide.conf -i |
722 |
- |
723 |
- dist-hook: configure |
724 |
- mkdir $(distdir)/include |
725 |
-diff -Naur aide-0.13.1.orig/doc/aide.conf.in aide-0.13.1/doc/aide.conf.in |
726 |
---- aide-0.13.1.orig/doc/aide.conf.in 2006-11-25 04:53:56.000000000 +0900 |
727 |
-+++ aide-0.13.1/doc/aide.conf.in 2007-09-27 01:35:39.000000000 +0900 |
728 |
-@@ -19,7 +19,7 @@ |
729 |
- # corresponding line. |
730 |
- # |
731 |
- |
732 |
--@@define TOPDIR @top_srcdir@ |
733 |
-+@@define TOPDIR @abs_top_srcdir@ |
734 |
- |
735 |
- @@ifndef TOPDIR |
736 |
- @@define TOPDIR / |
737 |
-diff -Naur aide-0.13.1.orig/src/Makefile.am aide-0.13.1/src/Makefile.am |
738 |
---- aide-0.13.1.orig/src/Makefile.am 2006-10-28 06:10:38.000000000 +0900 |
739 |
-+++ aide-0.13.1/src/Makefile.am 2007-09-27 01:35:39.000000000 +0900 |
740 |
-@@ -20,6 +20,8 @@ |
741 |
- # This is no longer needed |
742 |
- # SUBDIRS = crypt |
743 |
- |
744 |
-+DEFS = -DLOCALEDIR=\"$(localedir)\" @DEFS@ |
745 |
-+ |
746 |
- bin_PROGRAMS = aide |
747 |
- |
748 |
- aide_SOURCES = \ |
749 |
|
750 |
diff --git a/app-forensics/aide/files/aide-0.13.1-libgrypt_init.patch b/app-forensics/aide/files/aide-0.13.1-libgrypt_init.patch |
751 |
deleted file mode 100644 |
752 |
index 56b3969..0000000 |
753 |
--- a/app-forensics/aide/files/aide-0.13.1-libgrypt_init.patch |
754 |
+++ /dev/null |
755 |
@@ -1,49 +0,0 @@ |
756 |
-diff -urp aide-0.13.1.orig/doc/aide.1 aide-0.13.1/doc/aide.1 |
757 |
---- aide-0.13.1.orig/doc/aide.1 2009-04-14 15:46:20.000000000 -0700 |
758 |
-+++ aide-0.13.1/doc/aide.1 2009-04-14 15:49:18.000000000 -0700 |
759 |
-@@ -67,6 +67,7 @@ conditions: |
760 |
- .IP "16 Unimplemented function error" |
761 |
- .IP "17 Invalid configureline error" |
762 |
- .IP "18 IO error" |
763 |
-+.IP "19 Version mismatch error" |
764 |
- .PP |
765 |
- .SH NOTES |
766 |
- Please note that due to mmap issues, aide cannot be terminated with |
767 |
-diff -urp aide-0.13.1.orig/doc/aide.1.in aide-0.13.1/doc/aide.1.in |
768 |
---- aide-0.13.1.orig/doc/aide.1.in 2009-04-14 15:46:20.000000000 -0700 |
769 |
-+++ aide-0.13.1/doc/aide.1.in 2009-04-14 15:49:56.000000000 -0700 |
770 |
-@@ -67,6 +67,7 @@ conditions: |
771 |
- .IP "16 Unimplemented function error" |
772 |
- .IP "17 Invalid configureline error" |
773 |
- .IP "18 IO error" |
774 |
-+.IP "19 Version mismatch error" |
775 |
- .PP |
776 |
- .SH NOTES |
777 |
- Please note that due to mmap issues, aide cannot be terminated with |
778 |
-diff -urp aide-0.13.1.orig/include/report.h aide-0.13.1/include/report.h |
779 |
---- aide-0.13.1.orig/include/report.h 2009-04-14 15:46:20.000000000 -0700 |
780 |
-+++ aide-0.13.1/include/report.h 2009-04-14 15:46:28.000000000 -0700 |
781 |
-@@ -31,6 +31,7 @@ |
782 |
- #define UNIMPLEMENTED_FUNCTION_ERROR 16 |
783 |
- #define INVALID_CONFIGURELINE_ERROR 17 |
784 |
- #define IO_ERROR 18 |
785 |
-+#define VERSION_MISMATCH_ERROR 19 |
786 |
- |
787 |
- /* Errorcodes */ |
788 |
- #define HASH_ALGO_ERROR 30 |
789 |
-diff -urp aide-0.13.1.orig/src/md.c aide-0.13.1/src/md.c |
790 |
---- aide-0.13.1.orig/src/md.c 2009-04-14 15:46:20.000000000 -0700 |
791 |
-+++ aide-0.13.1/src/md.c 2009-04-14 15:46:28.000000000 -0700 |
792 |
-@@ -201,6 +201,12 @@ int init_md(struct md_container* md) { |
793 |
- #endif |
794 |
- #ifdef WITH_GCRYPT |
795 |
- error(255,"Gcrypt library initialization\n"); |
796 |
-+ if(!gcry_check_version(GCRYPT_VERSION)) { |
797 |
-+ error(0,"libgcrypt version mismatch\n"); |
798 |
-+ exit(VERSION_MISMATCH_ERROR); |
799 |
-+ } |
800 |
-+ gcry_control(GCRYCTL_DISABLE_SECMEM, 0); |
801 |
-+ gcry_control(GCRYCTL_INITIALIZATION_FINISHED, 0); |
802 |
- if(gcry_md_open(&md->mdh,0,0)!=GPG_ERR_NO_ERROR){ |
803 |
- error(0,"gcrypt_md_open failed\n"); |
804 |
- exit(IO_ERROR); |
805 |
|
806 |
diff --git a/app-forensics/aide/files/aide-0.13.1-zlib.patch b/app-forensics/aide/files/aide-0.13.1-zlib.patch |
807 |
deleted file mode 100644 |
808 |
index 0ca5af2..0000000 |
809 |
--- a/app-forensics/aide/files/aide-0.13.1-zlib.patch |
810 |
+++ /dev/null |
811 |
@@ -1,12 +0,0 @@ |
812 |
-diff -Naur aide-0.13.1.orig//src/be.c aide-0.13.1//src/be.c |
813 |
---- aide-0.13.1.orig//src/be.c 2006-12-15 01:09:24.000000000 +0900 |
814 |
-+++ aide-0.13.1//src/be.c 2010-05-26 20:08:10.000000000 +0900 |
815 |
-@@ -161,7 +161,7 @@ |
816 |
- #endif |
817 |
- #ifdef WITH_ZLIB |
818 |
- if(iszipped && !inout){ |
819 |
-- fh=gzdopen(fd,"wb9+"); |
820 |
-+ fh=gzdopen(fd,"wb9"); |
821 |
- if(fh==NULL){ |
822 |
- error(0,_("Couldn't open file %s for %s"),u->value, |
823 |
- inout?"reading\n":"writing\n"); |