diff options
Diffstat (limited to 'net-analyzer/fragroute/fragroute-1.2.5.ebuild')
-rw-r--r-- | net-analyzer/fragroute/fragroute-1.2.5.ebuild | 50 |
1 files changed, 50 insertions, 0 deletions
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 +} |