diff options
Diffstat (limited to 'net-analyzer/fragroute')
-rw-r--r-- | net-analyzer/fragroute/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/fragroute/fragroute-1.2.6.ebuild | 48 | ||||
-rw-r--r-- | net-analyzer/fragroute/metadata.xml | 5 |
3 files changed, 54 insertions, 0 deletions
diff --git a/net-analyzer/fragroute/Manifest b/net-analyzer/fragroute/Manifest new file mode 100644 index 000000000000..5376c2d7cb6e --- /dev/null +++ b/net-analyzer/fragroute/Manifest @@ -0,0 +1 @@ +DIST fragroute-1.2.6-ipv6.tar.gz 163309 SHA256 f1e4217120a1c557408182a64033892a6ab7515abd1b46d8b10d6de76431f53d SHA512 76c6fbe37100a43df477f0ba455a2bed6ac53c1f369e147d220562a34eca0eb273171e4b9ff4f3fc473c3f99a8344f6d49963c20d7cfaf6879200322a491ffc3 WHIRLPOOL 9d321c54d9100530fc93420d764b88adc037ee99c15d0f93f9d557faabf1d5ea929a184139962b55aff922684e04a7139c313c8eedf6e882880897b9b660967f diff --git a/net-analyzer/fragroute/fragroute-1.2.6.ebuild b/net-analyzer/fragroute/fragroute-1.2.6.ebuild new file mode 100644 index 000000000000..108a90a41d07 --- /dev/null +++ b/net-analyzer/fragroute/fragroute-1.2.6.ebuild @@ -0,0 +1,48 @@ +# Copyright 1999-2014 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Id$ + +EAPI=5 + +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" + +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 ) + +src_prepare() { + # Remove broken and old files, autotools will regen needed files + rm *.m4 acconfig.h missing Makefile.in || die + # Add missing includes + sed -i -e "/#define IPUTIL_H/a#include <stdio.h>\n#include <stdint.h>" iputil.h || die + autotools-utils_src_prepare +} + +src_configure() { + local myeconfargs=( + --with-libevent="${EPREFIX}"/usr \ + --with-libdnet="${EPREFIX}"/usr \ + --with-libpcap="${EPREFIX}"/usr + ) + autotools-utils_src_configure +} diff --git a/net-analyzer/fragroute/metadata.xml b/net-analyzer/fragroute/metadata.xml new file mode 100644 index 000000000000..78692635ad22 --- /dev/null +++ b/net-analyzer/fragroute/metadata.xml @@ -0,0 +1,5 @@ +<?xml version="1.0" encoding="UTF-8"?> +<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd"> +<pkgmetadata> + <herd>netmon</herd> +</pkgmetadata> |