diff options
author | Justin Lecher <jlec@gentoo.org> | 2010-02-16 21:00:16 +0000 |
---|---|---|
committer | Justin Lecher <jlec@gentoo.org> | 2010-02-16 21:00:16 +0000 |
commit | aad5d639641e581aba65db12669b1e0969363786 (patch) | |
tree | cdb740c73c2fd530015b830476393c2ecbbe8a56 /net-analyzer | |
parent | whitespace (diff) | |
download | historical-aad5d639641e581aba65db12669b1e0969363786.tar.gz historical-aad5d639641e581aba65db12669b1e0969363786.tar.bz2 historical-aad5d639641e581aba65db12669b1e0969363786.zip |
Fixed compilation agianst newer libevent, #295877
Package-Manager: portage-2.2_rc62/cvs/Linux x86_64
Diffstat (limited to 'net-analyzer')
-rw-r--r-- | net-analyzer/fragroute/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/fragroute/Manifest | 10 | ||||
-rw-r--r-- | net-analyzer/fragroute/files/1.2-libevent.patch | 20 | ||||
-rw-r--r-- | net-analyzer/fragroute/fragroute-1.2-r1.ebuild | 35 |
4 files changed, 68 insertions, 5 deletions
diff --git a/net-analyzer/fragroute/ChangeLog b/net-analyzer/fragroute/ChangeLog index bb526026efd0..d9b6a41819ca 100644 --- a/net-analyzer/fragroute/ChangeLog +++ b/net-analyzer/fragroute/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/fragroute # Copyright 1999-2010 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fragroute/ChangeLog,v 1.16 2010/01/15 19:52:41 ulm Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fragroute/ChangeLog,v 1.17 2010/02/16 21:00:15 jlec Exp $ + +*fragroute-1.2-r1 (16 Feb 2010) + + 16 Feb 2010; Justin Lecher (jlec) <jlec@gentoo.org> + +files/1.2-libevent.patch, +fragroute-1.2-r1.ebuild: + Fixed compilation agianst newer libevent, #295877 15 Jan 2010; Ulrich Mueller <ulm@gentoo.org> fragroute-1.2.ebuild: LICENSE is identical with BSD, bug 301123. diff --git a/net-analyzer/fragroute/Manifest b/net-analyzer/fragroute/Manifest index b17068ec65f0..58eaecabf720 100644 --- a/net-analyzer/fragroute/Manifest +++ b/net-analyzer/fragroute/Manifest @@ -1,14 +1,16 @@ -----BEGIN PGP SIGNED MESSAGE----- Hash: SHA1 +AUX 1.2-libevent.patch 442 RMD160 46a6ac3a9c010a6f9a6275f3f944391098330e99 SHA1 3fdc29b2853d03faf69446f6eaa362472ecc53f5 SHA256 4bef030f640fba7423a1d7f6fea9664d783179b44fd8c35582cfe52b44692f9b DIST fragroute-1.2.tar.gz 85247 RMD160 1d39287a35ea7dca5096ee938727c403a31064c5 SHA1 0e85daf40f4910d56d75e6cdee163305a1cb9004 SHA256 6899a61ecacba3bb400a65b51b3c0f76d4e591dbf976fba0389434a29efc2003 +EBUILD fragroute-1.2-r1.ebuild 859 RMD160 ab1665e64e26c4600902edad2127d3b32390e3f8 SHA1 60c19a8217f92192b4ab167cf424bd0665c0bf12 SHA256 cf33372da71dc84bd872408d6b31de4cf8fcc5b20e2b17833e35290ca8e41fa1 EBUILD fragroute-1.2.ebuild 784 RMD160 d0dc2274ed61c3033c6f753fe5e3440669e3de37 SHA1 6558f71d7632fcfc478e70145ed8e98b06dbb9ce SHA256 f52fa235f9bfe073f0fec2e3303b8cb614ca09970bf2066204e505dcbf1aa0c9 -MISC ChangeLog 2010 RMD160 f8e04788391586e9bab0059ae52e5935e8e6a43b SHA1 b9186c9df9271dd51f0b695256ba2da64cd07c1f SHA256 557c9227d1f7958cc90f9e64fc6c965a8e5aa986182db36069dd4b672f5418a0 +MISC ChangeLog 2206 RMD160 f5994542fde5cc9aeac1b7b1087fdee162a5576a SHA1 42317e0ffe574b4de2e32fa9eed4cdfcc0ac1852 SHA256 dbbb25500005425e5e5c48aac78e5c4e7a25ba31ecbf2ad1766f3754362b15a9 MISC metadata.xml 290 RMD160 b9b86283c09349c8827faef7d3ef5f724a248e77 SHA1 ae1c8e62d75c94ff50b8a5391afb6008460963aa SHA256 380e26e9262298b9cb31e863a9ab641f6fbdc8c50bda2cf2e47fd399f9cb5e85 -----BEGIN PGP SIGNATURE----- Version: GnuPG v2.0.14 (GNU/Linux) -iEYEARECAAYFAktQyDEACgkQOeoy/oIi7uzUcACfaXyCSBGmKDxfdLXrl7e/vQkH -NjoAn2Z2pZvQHyXKe26mFk4KrwU/fyhb -=F9Em +iEYEARECAAYFAkt7B2QACgkQgAnW8HDreRZNPACfYr7QFJEADMo4qrzGpTHrkJbf +ZXcAnR4v9VGBaO5GRyBe1vy8MHc093xU +=KQYi -----END PGP SIGNATURE----- diff --git a/net-analyzer/fragroute/files/1.2-libevent.patch b/net-analyzer/fragroute/files/1.2-libevent.patch new file mode 100644 index 000000000000..64a30baebeb1 --- /dev/null +++ b/net-analyzer/fragroute/files/1.2-libevent.patch @@ -0,0 +1,20 @@ +diff --git a/fragroute.c b/fragroute.c +index dc07ce3..29d1007 100644 +--- a/fragroute.c ++++ b/fragroute.c +@@ -148,7 +148,6 @@ static void + fragroute_signal(int sig) + { + warnx("exiting on signal %d", sig); +- event_gotsig++; + } + #endif + +@@ -178,7 +177,6 @@ fragroute_init(const char *dst) + pkt_init(128); + + event_init(); +- event_sigcb = fragroute_close; + + if ((ctx.arp = arp_open()) == NULL || + (ctx.intf = intf_open()) == NULL || diff --git a/net-analyzer/fragroute/fragroute-1.2-r1.ebuild b/net-analyzer/fragroute/fragroute-1.2-r1.ebuild new file mode 100644 index 000000000000..d9941b4f3bb4 --- /dev/null +++ b/net-analyzer/fragroute/fragroute-1.2-r1.ebuild @@ -0,0 +1,35 @@ +# Copyright 1999-2010 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fragroute/fragroute-1.2-r1.ebuild,v 1.1 2010/02/16 21:00:15 jlec Exp $ + +EAPI="3" + +inherit eutils toolchain-funcs + +DESCRIPTION="Testing of network intrusion detection systems, firewalls and TCP/IP stacks" +HOMEPAGE="http://www.monkey.org/~dugsong/fragroute/" +SRC_URI="http://www.monkey.org/~dugsong/fragroute/${P}.tar.gz" + +LICENSE="BSD" +SLOT="0" +KEYWORDS="~amd64 ~ppc ~x86" +IUSE="" + +DEPEND=" + >=dev-libs/libevent-0.6 + net-libs/libpcap + >=dev-libs/libdnet-1.4" + +src_prepare() { + epatch "${FILESDIR}"/${PV}-libevent.patch + tc-export CC +} + +src_configure() { + econf --with-libevent="${EPREFIX}"/usr --with-libdnet="${EPREFIX}"/usr +} + +src_install() { + emake DESTDIR="${D}" install || die + dodoc README || die +} |