Gentoo Archives: gentoo-commits

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