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