diff options
author | Sergey Popov <pinkbyte@gentoo.org> | 2012-10-11 13:11:21 +0000 |
---|---|---|
committer | Sergey Popov <pinkbyte@gentoo.org> | 2012-10-11 13:11:21 +0000 |
commit | d87051ddcab42725a974b504a3f0c757d3fcf9f2 (patch) | |
tree | a56ec6814d42eaea22dabc89c8d146330cb8b329 /net-analyzer/fragroute | |
parent | Version bump (diff) | |
download | gentoo-2-d87051ddcab42725a974b504a3f0c757d3fcf9f2.tar.gz gentoo-2-d87051ddcab42725a974b504a3f0c757d3fcf9f2.tar.bz2 gentoo-2-d87051ddcab42725a974b504a3f0c757d3fcf9f2.zip |
Version bump
(Portage version: 2.2.0_alpha136/cvs/Linux x86_64)
Diffstat (limited to 'net-analyzer/fragroute')
-rw-r--r-- | net-analyzer/fragroute/ChangeLog | 8 | ||||
-rw-r--r-- | net-analyzer/fragroute/files/fragroute-1.2.5-autotools-fix.patch | 81 | ||||
-rw-r--r-- | net-analyzer/fragroute/fragroute-1.2.5.ebuild | 50 |
3 files changed, 138 insertions, 1 deletions
diff --git a/net-analyzer/fragroute/ChangeLog b/net-analyzer/fragroute/ChangeLog index 89d2ee3b5392..241063bd4b48 100644 --- a/net-analyzer/fragroute/ChangeLog +++ b/net-analyzer/fragroute/ChangeLog @@ -1,6 +1,12 @@ # ChangeLog for net-analyzer/fragroute # Copyright 1999-2012 Gentoo Foundation; Distributed under the GPL v2 -# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fragroute/ChangeLog,v 1.24 2012/10/09 09:09:01 pinkbyte Exp $ +# $Header: /var/cvsroot/gentoo-x86/net-analyzer/fragroute/ChangeLog,v 1.25 2012/10/11 13:11:21 pinkbyte Exp $ + +*fragroute-1.2.5 (11 Oct 2012) + + 11 Oct 2012; Sergey Popov <pinkbyte@gentoo.org> +fragroute-1.2.5.ebuild, + +files/fragroute-1.2.5-autotools-fix.patch: + Version bump *fragroute-1.2-r4 (09 Oct 2012) 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 new file mode 100644 index 000000000000..2e76e41aedcd --- /dev/null +++ b/net-analyzer/fragroute/files/fragroute-1.2.5-autotools-fix.patch @@ -0,0 +1,81 @@ +--- 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.5.ebuild b/net-analyzer/fragroute/fragroute-1.2.5.ebuild new file mode 100644 index 000000000000..4afc57ec0ea5 --- /dev/null +++ b/net-analyzer/fragroute/fragroute-1.2.5.ebuild @@ -0,0 +1,50 @@ +# 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.1 2012/10/11 13:11:21 pinkbyte 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 ~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 +} |