summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAaron Walker <ka0ttic@gentoo.org>2005-03-02 10:48:04 +0000
committerAaron Walker <ka0ttic@gentoo.org>2005-03-02 10:48:04 +0000
commit42e6a58950663db7a4771cdb8b8f227b69d650f3 (patch)
tree4145799ea3ab276493da66162d362d6a234a378b /net-analyzer/firewalk
parentsnort_inline -> snort (diff)
downloadgentoo-2-42e6a58950663db7a4771cdb8b8f227b69d650f3.tar.gz
gentoo-2-42e6a58950663db7a4771cdb8b8f227b69d650f3.tar.bz2
gentoo-2-42e6a58950663db7a4771cdb8b8f227b69d650f3.zip
Fix gcc-3.4 compilation issue for bug 83728.
(Portage version: 2.0.51.18)
Diffstat (limited to 'net-analyzer/firewalk')
-rw-r--r--net-analyzer/firewalk/ChangeLog6
-rw-r--r--net-analyzer/firewalk/Manifest15
-rw-r--r--net-analyzer/firewalk/files/firewalk-5.0-gcc3.4.diff11
-rw-r--r--net-analyzer/firewalk/firewalk-5.0.ebuild20
4 files changed, 30 insertions, 22 deletions
diff --git a/net-analyzer/firewalk/ChangeLog b/net-analyzer/firewalk/ChangeLog
index 817d97092338..89c0854d98e9 100644
--- a/net-analyzer/firewalk/ChangeLog
+++ b/net-analyzer/firewalk/ChangeLog
@@ -1,6 +1,10 @@
# ChangeLog for net-analyzer/firewalk
# Copyright 1999-2005 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/firewalk/ChangeLog,v 1.5 2005/01/29 05:12:51 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/firewalk/ChangeLog,v 1.6 2005/03/02 10:48:04 ka0ttic Exp $
+
+ 02 Mar 2005; Aaron Walker <ka0ttic@gentoo.org>
+ +files/firewalk-5.0-gcc3.4.diff, firewalk-5.0.ebuild:
+ Fix gcc-3.4 compilation issue for bug 83728.
29 Jan 2005; Daniel Black <dragonheart@gentoo.org> firewalk-5.0.ebuild:
changed net-libs/libpcap depend to virtual/libcap
diff --git a/net-analyzer/firewalk/Manifest b/net-analyzer/firewalk/Manifest
index 87d98dc39568..4b55869218c6 100644
--- a/net-analyzer/firewalk/Manifest
+++ b/net-analyzer/firewalk/Manifest
@@ -1,14 +1,5 @@
------BEGIN PGP SIGNED MESSAGE-----
-Hash: SHA1
-
-MD5 d32e8e98db91516e6657fb5622c2b953 ChangeLog 901
-MD5 cd2638d25557ee0fcc1be68d4fcdea28 firewalk-5.0.ebuild 751
+MD5 95ff23aea691bfce56b18315c17cd621 firewalk-5.0.ebuild 760
+MD5 3f8554e066e35f57f99f43a6513394aa ChangeLog 1054
MD5 ac3074aa551da20b321f380c591f0847 metadata.xml 256
+MD5 c3e22ea80840de86d03304169830ef9b files/firewalk-5.0-gcc3.4.diff 427
MD5 c4a3bbb4496f45c9f93b13ec8504ea42 files/digest-firewalk-5.0 60
------BEGIN PGP SIGNATURE-----
-Version: GnuPG v1.4.0 (GNU/Linux)
-
-iD8DBQFB+xtbmdTrptrqvGERAvSEAJ9H+JyFXEZPvMGmjJRYAjI0R+Z5AQCeKW3/
-SrafUVwVSFE3n4rDIapRYK8=
-=zG3A
------END PGP SIGNATURE-----
diff --git a/net-analyzer/firewalk/files/firewalk-5.0-gcc3.4.diff b/net-analyzer/firewalk/files/firewalk-5.0-gcc3.4.diff
new file mode 100644
index 000000000000..c953c20bb31a
--- /dev/null
+++ b/net-analyzer/firewalk/files/firewalk-5.0-gcc3.4.diff
@@ -0,0 +1,11 @@
+--- Firewalk.orig/src/firewalk.c 2005-03-01 21:41:33.000000000 -0500
++++ Firewalk/src/firewalk.c 2005-03-01 21:52:10.165552176 -0500
+@@ -188,8 +188,6 @@
+ case FW_SERIOUS_ERROR:
+ /* err msg set in fw_packet_capture() */
+ return (FW_SERIOUS_ERROR);
+- default:
+- /* empty */
+ }
+ }
+ }
diff --git a/net-analyzer/firewalk/firewalk-5.0.ebuild b/net-analyzer/firewalk/firewalk-5.0.ebuild
index 8488bb46f4d1..59ee913f3344 100644
--- a/net-analyzer/firewalk/firewalk-5.0.ebuild
+++ b/net-analyzer/firewalk/firewalk-5.0.ebuild
@@ -1,30 +1,32 @@
# Copyright 1999-2005 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/firewalk/firewalk-5.0.ebuild,v 1.5 2005/01/29 05:12:51 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/firewalk/firewalk-5.0.ebuild,v 1.6 2005/03/02 10:48:04 ka0ttic Exp $
+
+inherit eutils
DESCRIPTION="A tool for determining a firewall's rule set"
-SRC_URI="http://www.packetfactory.net/firewalk/dist/${P}.tgz"
HOMEPAGE="http://www.packetfactory.net/firewalk/"
-IUSE=""
-
-S=${WORKDIR}/Firewalk
+SRC_URI="http://www.packetfactory.net/firewalk/dist/${P}.tgz"
LICENSE="BSD"
SLOT="0"
KEYWORDS="~x86"
+IUSE=""
DEPEND="virtual/libpcap
>=net-libs/libnet-1.1.1
>=dev-libs/libdnet-1.7"
-src_compile() {
+S="${WORKDIR}/Firewalk"
+
+src_unpack() {
+ unpack ${A}
cd ${S}
- econf || die "econf failed"
- emake || die "emake failed"
+ epatch ${FILESDIR}/${P}-gcc3.4.diff
}
src_install() {
- emake install DESTDIR=${D} || "emake install failed"
+ make DESTDIR="${D}" install || "make install failed"
doman man/firewalk.8
dodoc README TODO BUGS
}