summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJeroen Roovers <jer@gentoo.org>2014-06-14 11:01:22 +0000
committerJeroen Roovers <jer@gentoo.org>2014-06-14 11:01:22 +0000
commit861829235a6c24939076902aded1bca35211c3c5 (patch)
tree94a0020c05a9579c89486133c27a0d7fcb6f1eae /net-analyzer
parentOld. (diff)
downloadgentoo-2-861829235a6c24939076902aded1bca35211c3c5.tar.gz
gentoo-2-861829235a6c24939076902aded1bca35211c3c5.tar.bz2
gentoo-2-861829235a6c24939076902aded1bca35211c3c5.zip
Old.
(Portage version: 2.2.10/cvs/Linux x86_64, signed Manifest commit with key A792A613)
Diffstat (limited to 'net-analyzer')
-rw-r--r--net-analyzer/fragroute/ChangeLog7
-rw-r--r--net-analyzer/fragroute/files/1.2-libevent.patch37
-rw-r--r--net-analyzer/fragroute/files/fragroute-1.2.5-autotools-fix.patch81
-rw-r--r--net-analyzer/fragroute/fragroute-1.2-r3.ebuild40
-rw-r--r--net-analyzer/fragroute/fragroute-1.2-r4.ebuild43
-rw-r--r--net-analyzer/fragroute/fragroute-1.2.5.ebuild50
6 files changed, 6 insertions, 252 deletions
diff --git a/net-analyzer/fragroute/ChangeLog b/net-analyzer/fragroute/ChangeLog
index 77ed2f6ddb36..6159479a7a15 100644
--- a/net-analyzer/fragroute/ChangeLog
+++ b/net-analyzer/fragroute/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for net-analyzer/fragroute
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fragroute/ChangeLog,v 1.28 2014/06/14 09:48:16 phajdan.jr Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fragroute/ChangeLog,v 1.29 2014/06/14 11:01:21 jer Exp $
+
+ 14 Jun 2014; Jeroen Roovers <jer@gentoo.org> -fragroute-1.2-r3.ebuild,
+ -fragroute-1.2-r4.ebuild, -fragroute-1.2.5.ebuild, -files/1.2-libevent.patch,
+ -files/fragroute-1.2.5-autotools-fix.patch:
+ Old.
14 Jun 2014; Pawel Hajdan jr <phajdan.jr@gentoo.org> fragroute-1.2.6.ebuild:
x86 stable wrt bug #502862
diff --git a/net-analyzer/fragroute/files/1.2-libevent.patch b/net-analyzer/fragroute/files/1.2-libevent.patch
deleted file mode 100644
index fae3af0b3d4a..000000000000
--- a/net-analyzer/fragroute/files/1.2-libevent.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- a/fragroute.c 2002-04-08 00:55:20.000000000 +0200
-+++ b/fragroute.c 2010-02-03 21:23:21.451754240 +0100
-@@ -36,10 +36,6 @@
-
- static struct fr_ctx ctx;
-
--/* XXX - these should be in event.h */
--extern int (*event_sigcb)(void);
--extern int event_gotsig;
--
- static void
- usage(void)
- {
-@@ -140,7 +136,6 @@
- fragroute_signal(DWORD sig)
- {
- warnx("exiting at user request");
-- event_gotsig++;
- return (TRUE);
- }
- #else
-@@ -148,7 +143,6 @@
- fragroute_signal(int sig)
- {
- warnx("exiting on signal %d", sig);
-- event_gotsig++;
- }
- #endif
-
-@@ -178,7 +172,6 @@
- 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/files/fragroute-1.2.5-autotools-fix.patch b/net-analyzer/fragroute/files/fragroute-1.2.5-autotools-fix.patch
deleted file mode 100644
index 2e76e41aedcd..000000000000
--- a/net-analyzer/fragroute/files/fragroute-1.2.5-autotools-fix.patch
+++ /dev/null
@@ -1,81 +0,0 @@
---- configure.in.orig 2012-10-11 16:36:43.000000000 +0400
-+++ configure.in 2012-10-11 16:36:49.356097356 +0400
-@@ -43,7 +43,6 @@
- else
- dnl XXX - BEGIN !CYGWIN
-
--AC_LBL_LIBRARY_NET
-
- dnl Checks for libevent
- AC_MSG_CHECKING(for libevent)
-@@ -55,30 +54,30 @@
- ;;
- *)
- AC_MSG_RESULT($withval)
-- if test -f $withval/include/event.h -a -f $withval/lib/libevent.a; then
-+ if test -f $withval/include/event.h -a -f $withval/lib/libevent.so; then
- owd=`pwd`
- if cd $withval; then withval=`pwd`; cd $owd; fi
- EVENTINC="-I$withval/include"
- EVENTLIB="-L$withval/lib -levent"
-- elif test -f $withval/include/event.h -a -f $withval/lib64/libevent.a; then
-+ elif test -f $withval/include/event.h -a -f $withval/lib64/libevent.so; then
- owd=`pwd`
- if cd $withval; then withval=`pwd`; cd $owd; fi
- EVENTINC="-I$withval/include"
- EVENTLIB="-L$withval/lib64 -levent"
-- elif test -f $withval/event.h -a -f $withval/libevent.a; then
-+ elif test -f $withval/event.h -a -f $withval/libevent.so; then
- owd=`pwd`
- if cd $withval; then withval=`pwd`; cd $owd; fi
- EVENTINC="-I$withval"
- EVENTLIB="-L$withval -levent"
- else
-- AC_ERROR(event.h or libevent.a not found in $withval)
-+ AC_ERROR(event.h or libevent.so not found in $withval)
- fi
- ;;
- esac ],
--[ if test -f ${prefix}/include/event.h -a -f ${prefix}/lib/libevent.a; then
-+[ if test -f ${prefix}/include/event.h -a -f ${prefix}/lib/libevent.so; then
- EVENTINC="-I${prefix}/include"
- EVENTLIB="-L${prefix}/lib -levent"
-- elif test -f ${prefix}/include/event.h -a -f ${prefix}/lib64/libevent.a; then
-+ elif test -f ${prefix}/include/event.h -a -f ${prefix}/lib64/libevent.so; then
- EVENTINC="-I${prefix}/include"
- EVENTLIB="-L${prefix}/lib64 -levent"
- else
-@@ -103,13 +102,13 @@
- ;;
- *)
- AC_MSG_RESULT($withval)
-- if test -f $withval/pcap.h -a -f $withval/libpcap.a; then
-+ if test -f $withval/pcap.h -a -f $withval/libpcap.so; then
- owd=`pwd`
- if cd $withval; then withval=`pwd`; cd $owd; fi
- PCAPINC="-I$withval -I$withval/bpf"
- PCAPLIB="-L$withval -lpcap"
- elif test -f $withval/include/pcap.h -a \
-- -f $withval/include/net/bpf.h; then
-+ -f $withval/include/pcap-bpf.h; then
- owd=`pwd`
- if cd $withval; then withval=`pwd`; cd $owd; fi
- PCAPINC="-I$withval/include"
-@@ -119,7 +118,7 @@
- PCAPLIB="-L$withval/lib -lpcap"
- fi
- else
-- AC_ERROR(pcap.h, net/bpf.h, or libpcap.a not found in $withval)
-+ AC_ERROR(pcap.h, pcap-bpf.h, or libpcap.so not found in $withval)
- fi
- ;;
- esac ],
-@@ -154,7 +153,7 @@
- ;;
- *)
- AC_MSG_RESULT($withval)
-- if test -f $withval/src/libdnet.a; then
-+ if test -f $withval/src/libdnet.so; then
- DNETINC="-I$withval/include"
- DNETLIB="-L$withval/src -ldnet `$withval/dnet-config --libs`"
- elif test -x $withval/bin/dnet-config; then
diff --git a/net-analyzer/fragroute/fragroute-1.2-r3.ebuild b/net-analyzer/fragroute/fragroute-1.2-r3.ebuild
deleted file mode 100644
index 845ee2cdf66b..000000000000
--- a/net-analyzer/fragroute/fragroute-1.2-r3.ebuild
+++ /dev/null
@@ -1,40 +0,0 @@
-# Copyright 1999-2011 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fragroute/fragroute-1.2-r3.ebuild,v 1.2 2011/10/04 08:16:30 nativemad 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
- net-libs/libpcap
- >=dev-libs/libdnet-1.4
-"
-RDEPEND="${DEPEND}"
-
-src_prepare() {
- epatch "${FILESDIR}"/${PV}-libevent.patch
- sed -i configure \
- -e 's|libevent.a|libevent.so|g' \
- || die "sed configure.in"
- tc-export CC
-}
-
-src_configure() {
- econf --with-libevent="${EPREFIX}"/usr --with-libdnet="${EPREFIX}"/usr
-}
-
-src_install() {
- emake DESTDIR="${D}" install || die
- dodoc README || die
-}
diff --git a/net-analyzer/fragroute/fragroute-1.2-r4.ebuild b/net-analyzer/fragroute/fragroute-1.2-r4.ebuild
deleted file mode 100644
index bee5717fdc9e..000000000000
--- a/net-analyzer/fragroute/fragroute-1.2-r4.ebuild
+++ /dev/null
@@ -1,43 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fragroute/fragroute-1.2-r4.ebuild,v 1.1 2012/10/09 09:09:01 pinkbyte Exp $
-
-EAPI="4"
-
-inherit base 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=""
-
-RDEPEND="
- dev-libs/libevent
- net-libs/libpcap
- >=dev-libs/libdnet-1.4
-"
-DEPEND="${RDEPEND}
- virtual/awk"
-
-DOCS="INSTALL README TODO"
-
-PATCHES=( "${FILESDIR}"/${PV}-libevent.patch )
-
-src_prepare() {
- base_src_prepare
- sed -i configure \
- -e 's|libevent.a|libevent.so|g' \
- || die "sed configure.in"
- tc-export CC
-}
-
-src_configure() {
- econf \
- --with-libevent="${EPREFIX}"/usr \
- --with-libdnet="${EPREFIX}"/usr \
- --with-pcap="${EPREFIX}"/usr
-}
diff --git a/net-analyzer/fragroute/fragroute-1.2.5.ebuild b/net-analyzer/fragroute/fragroute-1.2.5.ebuild
deleted file mode 100644
index 7a797ecbb915..000000000000
--- a/net-analyzer/fragroute/fragroute-1.2.5.ebuild
+++ /dev/null
@@ -1,50 +0,0 @@
-# Copyright 1999-2012 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fragroute/fragroute-1.2.5.ebuild,v 1.2 2012/10/16 12:17:14 blueness Exp $
-
-EAPI="4"
-
-AUTOTOOLS_AUTORECONF=1
-AUTOTOOLS_IN_SOURCE_BUILD=1
-MY_P="${P}-ipv6"
-
-inherit autotools-utils
-
-DESCRIPTION="Testing of network intrusion detection systems, firewalls and TCP/IP stacks"
-HOMEPAGE="http://code.google.com/p/fragroute-ipv6/"
-SRC_URI="http://fragroute-ipv6.googlecode.com/files/${MY_P}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~amd64 ~ppc ~ppc64 ~x86"
-IUSE=""
-
-RDEPEND="
- dev-libs/libevent
- net-libs/libpcap
- >=dev-libs/libdnet-1.12[ipv6]
-"
-DEPEND="${RDEPEND}
- virtual/awk"
-
-S="${WORKDIR}/${MY_P}"
-
-DOCS=( INSTALL README TODO )
-PATCHES=( "${FILESDIR}"/"${P}"-autotools-fix.patch )
-
-src_prepare() {
- # Remove broken and old files, autotools will regen needed files
- rm *.m4 acconfig.h missing Makefile.in || die 'removing of old stuff failed'
- # Add missing includes
- sed -i -e "/#define IPUTIL_H/a#include <stdio.h>\n#include <stdint.h>" iputil.h
- autotools-utils_src_prepare
-}
-
-src_configure() {
- local myeconfargs=(
- --with-libevent="${EPREFIX}"/usr \
- --with-libdnet="${EPREFIX}"/usr \
- --with-libpcap="${EPREFIX}"/usr
- )
- autotools-utils_src_configure
-}