summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTavis Ormandy <taviso@gentoo.org>2004-12-13 18:36:20 +0000
committerTavis Ormandy <taviso@gentoo.org>2004-12-13 18:36:20 +0000
commit6531ae232d1f49da9da83c9ee4bc034cdcc0f622 (patch)
tree4a5fd1d4d6e0794d6c77918cd3dd2fb43492818b /app-admin/tripwire/tripwire-2.3.1.2-r1.ebuild
parentVersion bump closes #74254 (Manifest recommit) (diff)
downloadgentoo-2-6531ae232d1f49da9da83c9ee4bc034cdcc0f622.tar.gz
gentoo-2-6531ae232d1f49da9da83c9ee4bc034cdcc0f622.tar.bz2
gentoo-2-6531ae232d1f49da9da83c9ee4bc034cdcc0f622.zip
import patch to use autotools for tripwire
Diffstat (limited to 'app-admin/tripwire/tripwire-2.3.1.2-r1.ebuild')
-rw-r--r--app-admin/tripwire/tripwire-2.3.1.2-r1.ebuild8
1 files changed, 5 insertions, 3 deletions
diff --git a/app-admin/tripwire/tripwire-2.3.1.2-r1.ebuild b/app-admin/tripwire/tripwire-2.3.1.2-r1.ebuild
index 38771351e25b..0a75ee693260 100644
--- a/app-admin/tripwire/tripwire-2.3.1.2-r1.ebuild
+++ b/app-admin/tripwire/tripwire-2.3.1.2-r1.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2004 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/app-admin/tripwire/tripwire-2.3.1.2-r1.ebuild,v 1.4 2004/10/20 22:40:22 taviso Exp $
+# $Header: /var/cvsroot/gentoo-x86/app-admin/tripwire/tripwire-2.3.1.2-r1.ebuild,v 1.5 2004/12/13 18:36:20 taviso Exp $
inherit eutils flag-o-matic
@@ -38,6 +38,7 @@ src_unpack() {
epatch ${FILESDIR}/tripwire-2.3.1-gcc3.patch.bz2
epatch ${FILESDIR}/tripwire-jbj.patch.bz2
epatch ${FILESDIR}/tripwire-mkstemp.patch.bz2
+ epatch ${FILESDIR}/tripwire-2.3.1.2-force_gcc334.patch.bz2
# pull out the interesting debian patches
filterdiff -i '*/man/man8/twadmin.8' -z --strip=1 \
@@ -60,7 +61,7 @@ src_compile() {
# -taviso@gentoo.org
strip-flags
- emake release RPM_OPT_FLAGS="${CXXFLAGS}" || die
+ emake -j1 release RPM_OPT_FLAGS="${CXXFLAGS}" || die
}
src_install() {
@@ -85,8 +86,9 @@ src_install() {
dodoc README Release_Notes ChangeLog policy/policyguide.txt TRADEMARK \
${FILESDIR}/tripwire.gif ${FILESDIR}/tripwire.txt
+ zcat ${FILESDIR}/twcfg.txt > ${T}/twcfg.txt || ewarn "twcfg.txt zcat error"
insinto /etc/tripwire
- doins ${FILESDIR}/twcfg.txt ${FILESDIR}/twpol.txt
+ doins ${T}/twcfg.txt ${FILESDIR}/twpol.txt
exeinto /etc/tripwire
doexe ${FILESDIR}/twinstall.sh