1 |
xmw 10/09/02 00:24:24 |
2 |
|
3 |
Modified: ChangeLog |
4 |
Added: tripwire-2.4.2-r1.ebuild |
5 |
Log: |
6 |
Revbump to fix bug #320633 |
7 |
(Portage version: 2.1.8.3/cvs/Linux x86_64) |
8 |
|
9 |
Revision Changes Path |
10 |
1.34 app-admin/tripwire/ChangeLog |
11 |
|
12 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/tripwire/ChangeLog?rev=1.34&view=markup |
13 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/tripwire/ChangeLog?rev=1.34&content-type=text/plain |
14 |
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/tripwire/ChangeLog?r1=1.33&r2=1.34 |
15 |
|
16 |
Index: ChangeLog |
17 |
=================================================================== |
18 |
RCS file: /var/cvsroot/gentoo-x86/app-admin/tripwire/ChangeLog,v |
19 |
retrieving revision 1.33 |
20 |
retrieving revision 1.34 |
21 |
diff -u -r1.33 -r1.34 |
22 |
--- ChangeLog 17 May 2010 18:41:56 -0000 1.33 |
23 |
+++ ChangeLog 2 Sep 2010 00:24:24 -0000 1.34 |
24 |
@@ -1,6 +1,13 @@ |
25 |
# ChangeLog for app-admin/tripwire |
26 |
# Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 |
27 |
-# $Header: /var/cvsroot/gentoo-x86/app-admin/tripwire/ChangeLog,v 1.33 2010/05/17 18:41:56 patrick Exp $ |
28 |
+# $Header: /var/cvsroot/gentoo-x86/app-admin/tripwire/ChangeLog,v 1.34 2010/09/02 00:24:24 xmw Exp $ |
29 |
+ |
30 |
+*tripwire-2.4.2-r1 (02 Sep 2010) |
31 |
+ |
32 |
+ 02 Sep 2010; Michael Weber <xmw@g.o> +tripwire-2.4.2-r1.ebuild, |
33 |
+ +files/tripwire-2.4.2-version.patch: |
34 |
+ Revbump to fix bug #320633, thanks to Richard <richgentoo@×××××××.net> and |
35 |
+ David Abbott <dabbott@g.o>. |
36 |
|
37 |
*tripwire-2.4.2 (17 May 2010) |
38 |
|
39 |
|
40 |
|
41 |
|
42 |
1.1 app-admin/tripwire/tripwire-2.4.2-r1.ebuild |
43 |
|
44 |
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/tripwire/tripwire-2.4.2-r1.ebuild?rev=1.1&view=markup |
45 |
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/app-admin/tripwire/tripwire-2.4.2-r1.ebuild?rev=1.1&content-type=text/plain |
46 |
|
47 |
Index: tripwire-2.4.2-r1.ebuild |
48 |
=================================================================== |
49 |
# Copyright 1999-2010 Gentoo Foundation |
50 |
# Distributed under the terms of the GNU General Public License v2 |
51 |
# $Header: /var/cvsroot/gentoo-x86/app-admin/tripwire/tripwire-2.4.2-r1.ebuild,v 1.1 2010/09/02 00:24:24 xmw Exp $ |
52 |
|
53 |
EAPI="2" |
54 |
|
55 |
inherit eutils flag-o-matic autotools |
56 |
|
57 |
TW_VER=${PV} |
58 |
DESCRIPTION="Open Source File Integrity Checker and IDS" |
59 |
HOMEPAGE="http://www.tripwire.org/" |
60 |
SRC_URI="mirror://sourceforge/tripwire/tripwire-${TW_VER}-src.tar.bz2 |
61 |
mirror://gentoo/twpol.txt.gz |
62 |
mirror://gentoo/tripwire.gif" |
63 |
|
64 |
LICENSE="GPL-2" |
65 |
SLOT="0" |
66 |
KEYWORDS="~amd64 ~ppc ~x86 ~x86-fbsd" |
67 |
IUSE="ssl static" |
68 |
|
69 |
DEPEND="sys-devel/automake |
70 |
sys-devel/autoconf |
71 |
dev-util/patchutils |
72 |
ssl? ( dev-libs/openssl )" |
73 |
RDEPEND="virtual/cron |
74 |
virtual/mta |
75 |
ssl? ( dev-libs/openssl )" |
76 |
|
77 |
S="${WORKDIR}"/tripwire-${TW_VER}-src |
78 |
|
79 |
src_prepare() { |
80 |
epatch "${FILESDIR}"/${P}-version.patch |
81 |
|
82 |
eautoreconf || die "eautoreconf failed" |
83 |
} |
84 |
|
85 |
src_configure() { |
86 |
# tripwire can be sensitive to compiler optimisation. |
87 |
# see #32613, #45823, and others. |
88 |
# -taviso@g.o |
89 |
strip-flags |
90 |
append-flags -DCONFIG_DIR='"\"/etc/tripwire\""' -fno-strict-aliasing |
91 |
einfo "Done." |
92 |
chmod +x configure |
93 |
econf $(use_enable ssl openssl) $(use_enable static) |
94 |
} |
95 |
|
96 |
src_install() { |
97 |
dosbin "${S}"/bin/{siggen,tripwire,twadmin,twprint} |
98 |
doman "${S}"/man/man{4/*.4,5/*.5,8/*.8} |
99 |
dodir /etc/tripwire /var/lib/tripwire{,/report} |
100 |
keepdir /var/lib/tripwire{,/report} |
101 |
|
102 |
exeinto /etc/cron.daily |
103 |
doexe "${FILESDIR}"/tripwire.cron |
104 |
|
105 |
dodoc ChangeLog policy/policyguide.txt TRADEMARK \ |
106 |
"${FILESDIR}"/tripwire.txt |
107 |
|
108 |
insinto /etc/tripwire |
109 |
doins "${WORKDIR}"/twpol.txt "${FILESDIR}"/twcfg.txt |
110 |
|
111 |
exeinto /etc/tripwire |
112 |
doexe "${FILESDIR}"/twinstall.sh |
113 |
|
114 |
fperms 755 /etc/tripwire/twinstall.sh /etc/cron.daily/tripwire.cron |
115 |
} |
116 |
|
117 |
pkg_postinst() { |
118 |
elog "After installing this package, you should run \"/etc/tripwire/twinstall.sh\"" |
119 |
elog "to generate cryptographic keys, and \"tripwire --init\" to initialize the" |
120 |
elog "database Tripwire uses." |
121 |
elog |
122 |
elog "A quickstart guide is included with the documentation." |
123 |
elog |
124 |
} |