diff options
author | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
---|---|---|
committer | V3n3RiX <venerix@redcorelinux.org> | 2019-08-18 18:16:17 +0100 |
commit | fc637fb28da700da71ec2064d65ca5a7a31b9c6c (patch) | |
tree | 326613a08f25851c388715e205576a2e7d25dc4f /net-analyzer/fragroute | |
parent | b24bd25253fe093f722ab576d29fdc41d04cb1ee (diff) |
gentoo resync : 18.08.2019
Diffstat (limited to 'net-analyzer/fragroute')
-rw-r--r-- | net-analyzer/fragroute/Manifest | 1 | ||||
-rw-r--r-- | net-analyzer/fragroute/fragroute-1.2.6-r2.ebuild | 47 |
2 files changed, 48 insertions, 0 deletions
diff --git a/net-analyzer/fragroute/Manifest b/net-analyzer/fragroute/Manifest index 835d47b3aab9..08c5a7b41701 100644 --- a/net-analyzer/fragroute/Manifest +++ b/net-analyzer/fragroute/Manifest @@ -1,4 +1,5 @@ AUX fragroute-1.2.6-pcap_open.patch 1171 BLAKE2B cdd664bea732c2abab0813526eba79a7dd7beef3c373a7f86414356d786f47b950561a74ed5bc9d404a7b39f63ab12c5b711835b056fccbda8583f8e7541c5ed SHA512 f60abf95fa5bd8798cf88f40d972311bbee4f877ee46cee1aa6e4438b5e4dd6c3b990b5e2565d24d1ce9c72d23f950ef13abd889d11a2f1bf6f34fb01957e7c6 DIST fragroute-1.2.6-ipv6.tar.gz 163309 BLAKE2B c1927fdb6fbe6873b62fa48c5355b0b0d2be7b2183c94f259b8e0b4b3dec8a171defc4c6fbde507e522b28dffcc86dd68ae0ffe380a9d21eb478ebe7068d4beb SHA512 76c6fbe37100a43df477f0ba455a2bed6ac53c1f369e147d220562a34eca0eb273171e4b9ff4f3fc473c3f99a8344f6d49963c20d7cfaf6879200322a491ffc3 EBUILD fragroute-1.2.6-r1.ebuild 1037 BLAKE2B 81e3443bdd270b36cbf94e88412cd3220befc5faf843bf1619e3ba2f8fca3a5eadaf5cf40983e265bb214c12fb7af9bc2e59780f26bb5992f4dbdbf38514b687 SHA512 49b02420969d14fcba01898ac514f8fe2342a0cb9eae0e74eb3f685930d9bd7802200c3d9c4b9f62061ab1422018a8b93a45ef0819547fd092c5f134b26ce534 +EBUILD fragroute-1.2.6-r2.ebuild 1040 BLAKE2B 7a4260437f050d4f501a31d95544625076a49c6919ae856c04924a8a91647504876d6eb316442755dc0d1a8f859dc2dc448277bcf03b583dd122060d1da2391e SHA512 d95b688b5e782cf9d9ac3978424c9bb807fa252226385039f2fe0478201c63f878d8d3c202e49ac9235905246450d039ef0899e045d9f63d4247adf4e601b011 MISC metadata.xml 364 BLAKE2B 6f99923afef64e689bb2169801086f433f54879999551e8ac7e74f3c49ae10b2381041e626a024efe57b167a9394219b3ff3f313b049b2d40ba5404134b766c1 SHA512 3b38ee5be21d5a6957e39fea01461187f01f5b34a0538df8b6f6c217e0832a5d6cb5dbd9b6508cb5a977618dd9f8ffb0d0feefb0ec6c050efcfb4fa68a00ed78 diff --git a/net-analyzer/fragroute/fragroute-1.2.6-r2.ebuild b/net-analyzer/fragroute/fragroute-1.2.6-r2.ebuild new file mode 100644 index 000000000000..1043d0fd9879 --- /dev/null +++ b/net-analyzer/fragroute/fragroute-1.2.6-r2.ebuild @@ -0,0 +1,47 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +MY_P="${P}-ipv6" + +inherit autotools + +DESCRIPTION="Testing of network intrusion detection systems, firewalls and TCP/IP stacks" +HOMEPAGE="https://github.com/stsi/fragroute-ipv6" +SRC_URI="https://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 +" +DOCS=( INSTALL README TODO ) +PATCHES=( + "${FILESDIR}"/${P}-pcap_open.patch +) +S="${WORKDIR}/${MY_P}" + +src_prepare() { + default + # 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 + eautoreconf +} + +src_configure() { + econf \ + --with-libdnet="${EPREFIX}"/usr \ + --with-libevent="${EPREFIX}"/usr \ + --with-libpcap="${EPREFIX}"/usr +} |