1 |
matsuu 07/12/23 06:37:49 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: aide-0.13.1-r1.ebuild |
5 |
Log: |
6 |
Removed /etc/cron.daily/aide.cron, bug #195690. |
7 |
(Portage version: 2.1.3.19) |
8 |
|
9 |
Revision Changes Path |
10 |
1.34 app-forensics/aide/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-forensics/aide/ChangeLog?rev=1.34&view=markup |
13 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-forensics/aide/ChangeLog?rev=1.34&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-forensics/aide/ChangeLog?r1=1.33&r2=1.34 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-forensics/aide/ChangeLog,v |
19 |
retrieving revision 1.33 |
20 |
retrieving revision 1.34 |
21 |
diff -u -r1.33 -r1.34 |
22 |
--- ChangeLog 1 Nov 2007 16:23:26 -0000 1.33 |
23 |
+++ ChangeLog 23 Dec 2007 06:37:49 -0000 1.34 |
24 |
@@ -1,6 +1,9 @@ |
25 |
# ChangeLog for app-forensics/aide |
26 |
# Copyright 2002-2007 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-forensics/aide/ChangeLog,v 1.33 2007/11/01 16:23:26 matsuu Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-forensics/aide/ChangeLog,v 1.34 2007/12/23 06:37:49 matsuu Exp $ |
29 |
+ |
30 |
+ 23 Dec 2007; MATSUU Takuto <matsuu@g.o> +aide-0.13.1-r1.ebuild: |
31 |
+ Removed /etc/cron.daily/aide.cron, bug #195690. |
32 |
|
33 |
01 Nov 2007; <matsuu@g.o> -files/aide-0.10-gentoo.diff, |
34 |
-files/aide-0.10_p20040917-r1-fix-psql.diff, |
35 |
|
36 |
|
37 |
|
38 |
1.1 app-forensics/aide/aide-0.13.1-r1.ebuild |
39 |
|
40 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-forensics/aide/aide-0.13.1-r1.ebuild?rev=1.1&view=markup |
41 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/app-forensics/aide/aide-0.13.1-r1.ebuild?rev=1.1&content-type=text/plain |
42 |
|
43 |
Index: aide-0.13.1-r1.ebuild |
44 |
=================================================================== |
45 |
# Copyright 1999-2007 Gentoo Foundation |
46 |
# Distributed under the terms of the GNU General Public License v2 |
47 |
# $Header: /var/cvsroot/gentoo-x86/app-forensics/aide/aide-0.13.1-r1.ebuild,v 1.1 2007/12/23 06:37:49 matsuu Exp $ |
48 |
WANT_AUTOCONF='latest' |
49 |
WANT_AUTOMAKE='latest' |
50 |
inherit eutils autotools |
51 |
|
52 |
DESCRIPTION="AIDE (Advanced Intrusion Detection Environment) is a replacement for Tripwire" |
53 |
HOMEPAGE="http://aide.sourceforge.net/" |
54 |
SRC_URI="mirror://sourceforge/aide/${P}.tar.gz" |
55 |
|
56 |
SLOT="0" |
57 |
LICENSE="GPL-2" |
58 |
KEYWORDS="~alpha ~amd64 ~ppc ~sparc ~x86" |
59 |
IUSE="acl curl mhash nls postgres selinux static xattr zlib" |
60 |
#IUSE="acl audit curl mhash nls postgres selinux static xattr zlib" |
61 |
|
62 |
DEPEND="acl? ( sys-apps/acl ) |
63 |
curl? ( net-misc/curl ) |
64 |
mhash? ( >=app-crypt/mhash-0.9.2 ) |
65 |
!mhash? ( dev-libs/libgcrypt ) |
66 |
nls? ( virtual/libintl ) |
67 |
postgres? ( dev-db/libpq ) |
68 |
selinux? ( sys-libs/libselinux ) |
69 |
xattr? ( sys-apps/attr ) |
70 |
zlib? ( sys-libs/zlib )" |
71 |
# audit? ( sys-process/audit ) |
72 |
|
73 |
RDEPEND="!static? ( ${DEPEND} ) |
74 |
virtual/mailx" |
75 |
|
76 |
DEPEND="${DEPEND} |
77 |
nls? ( sys-devel/gettext ) |
78 |
sys-devel/bison |
79 |
sys-devel/flex" |
80 |
|
81 |
pkg_config() { |
82 |
if use mhash && use postgres ; then |
83 |
eerror "We cannot emerge aide with mhash and postgres USE flags at the same time." |
84 |
eerror "Please remove mhash OR postgres USE flags." |
85 |
die "Please remove either mhash or postgres USE flag." |
86 |
fi |
87 |
} |
88 |
|
89 |
src_unpack() { |
90 |
unpack ${A} |
91 |
cd "${S}" |
92 |
epatch "${FILESDIR}"/${P}-gentoo.patch |
93 |
|
94 |
if ! use mhash ; then |
95 |
# dev-libs/libgcrypt doesn't support whirlpool algorithm |
96 |
sed -i -e 's/\+whirlpool//' doc/aide.conf.in || die |
97 |
fi |
98 |
|
99 |
if ! use selinux ; then |
100 |
sed -i -e 's/\+selinux//' doc/aide.conf.in || die |
101 |
fi |
102 |
|
103 |
if ! use xattr ; then |
104 |
sed -i -e 's/\+xattrs//' doc/aide.conf.in || die |
105 |
fi |
106 |
|
107 |
if ! use acl ; then |
108 |
sed -i -e 's/\+acl//' doc/aide.conf.in || die |
109 |
fi |
110 |
eautoreconf |
111 |
} |
112 |
|
113 |
src_compile() { |
114 |
local myconf="--sysconfdir=/etc/aide $(use_enable static)" |
115 |
|
116 |
# --without-* borked |
117 |
use zlib && myconf="${myconf} --with-zlib" |
118 |
use nls && myconf="${myconf} --with-locale" |
119 |
use postgres && myconf="${myconf} --with-psql" |
120 |
use selinux && myconf="${myconf} --with-selinux" |
121 |
use acl && myconf="${myconf} --with-posix-acl" |
122 |
use xattr && myconf="${myconf} --with-xattr" |
123 |
# use audit && myconf="${myconf} --with-audit" |
124 |
|
125 |
# curl doesn't work with static |
126 |
use curl && ! use static && myconf="${myconf} --with-curl" |
127 |
|
128 |
# If you use dev-libs/libgcrypt, --without-mhash is needed. |
129 |
use mhash \ |
130 |
&& myconf="${myconf} --with-mhash" \ |
131 |
|| myconf="${myconf} --with-gcrypt --without-mhash" |
132 |
|
133 |
econf ${myconf} || die |
134 |
# parallel make borked |
135 |
emake -j1 || die |
136 |
} |
137 |
|
138 |
src_install() { |
139 |
emake DESTDIR="${D}" install || die |
140 |
|
141 |
keepdir /var/lib/aide |
142 |
keepdir /var/log/aide |
143 |
|
144 |
insinto /etc/aide |
145 |
doins "${FILESDIR}"/aide.conf |
146 |
# doins doc/aide.conf |
147 |
|
148 |
dosbin "${FILESDIR}"/aideinit |
149 |
|
150 |
dodoc ChangeLog AUTHORS NEWS README "${FILESDIR}"/aide.cron |
151 |
dohtml doc/manual.html |
152 |
} |
153 |
|
154 |
pkg_postinst() { |
155 |
chown root:0 /var/lib/aide |
156 |
chmod 0755 /var/lib/aide |
157 |
|
158 |
elog |
159 |
elog "A sample configuration file has been installed as" |
160 |
elog "/etc/aide/aide.conf. Please edit to meet your needs." |
161 |
elog "Read the aide.conf(5) manual page for more information." |
162 |
elog "A cron file has been installed in /etc/cron.daily/aide.cron" |
163 |
elog "A helper script, aideinit, has been installed and can" |
164 |
elog "be used to make AIDE management easier. Please run" |
165 |
elog "aideinit --help for more information" |
166 |
elog |
167 |
|
168 |
if use postgres; then |
169 |
elog "Due to a bad assumption by aide, you must issue the following" |
170 |
elog "command after the database initialization (aide --init ...):" |
171 |
elog |
172 |
elog 'psql -c "update pg_index set indisunique=false from pg_class \\ ' |
173 |
elog " where pg_class.relname='TABLE_pkey' and \ " |
174 |
elog ' pg_class.oid=pg_index.indexrelid" -h HOSTNAME -p PORT DBASE USER' |
175 |
elog |
176 |
elog "where TABLE, HOSTNAME, PORT, DBASE, and USER are the same as" |
177 |
elog "your aide.conf." |
178 |
elog |
179 |
fi |
180 |
} |
181 |
|
182 |
|
183 |
|
184 |
-- |
185 |
gentoo-commits@g.o mailing list |