net-analyzer/fragroute: Remove old

Signed-off-by: Michał Górny <mgorny@gentoo.org>
This commit is contained in:
Michał Górny
2020-10-13 17:49:06 +02:00
parent 3dc34b2dd0
commit 2472d27853
2 changed files with 0 additions and 103 deletions
@@ -1,47 +0,0 @@
# 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
}
@@ -1,56 +0,0 @@
# Copyright 1999-2020 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/libdnet-1.12[ipv6]
dev-libs/libevent:=
net-libs/libpcap
"
DEPEND="
${RDEPEND}
"
BDEPEND="
virtual/awk
"
DOCS=( INSTALL README TODO )
PATCHES=(
"${FILESDIR}"/${P}-libdir.patch
"${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 \
DNETINC='' \
DNETLIB=-ldnet \
EVENTINC='' \
EVENTLIB=-levent \
PCAPINC='' \
PCAPLIB=-lpcap
}