diff options
author | Sam James <sam@gentoo.org> | 2021-03-16 16:43:01 +0000 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2021-03-16 19:21:48 +0000 |
commit | 300e69b68dcfe898b041bdb2db0d76ff184dd86e (patch) | |
tree | 62feccca96801c66aef2e4f2d846e16872ec2c1d /net-analyzer/ipv6toolkit | |
parent | net-analyzer/ipsumdump: HTTPS HOMEPAGE, BDEPEND in EAPI 7 (diff) | |
download | gentoo-300e69b68dcfe898b041bdb2db0d76ff184dd86e.tar.gz gentoo-300e69b68dcfe898b041bdb2db0d76ff184dd86e.tar.bz2 gentoo-300e69b68dcfe898b041bdb2db0d76ff184dd86e.zip |
net-analyzer/ipv6toolkit: drop 2.1_p20190919
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-analyzer/ipv6toolkit')
3 files changed, 0 insertions, 241 deletions
diff --git a/net-analyzer/ipv6toolkit/Manifest b/net-analyzer/ipv6toolkit/Manifest index d7cf7dd956f7..bb373ee0eff7 100644 --- a/net-analyzer/ipv6toolkit/Manifest +++ b/net-analyzer/ipv6toolkit/Manifest @@ -1,2 +1 @@ -DIST ipv6toolkit-2.1_p20190919.tar.gz 979235 BLAKE2B 1b652b00874b9a71a5e5b86643d9c71fc02917af93d9730e7e4be7e5203d07dfef5bc7d1bb0453a6bf9dece69f7f4256912f0902132dd21530ae8ea9e94b8b4f SHA512 78e7565f4827d21573ced06002311a4f3736df71846085b3e8e47e0d6aebeaa4e60881c148c3c65ee010ffcfb2bf3ad56bb2625203aff5b0fdf40fbb7f37ecb9 DIST ipv6toolkit-2.1_p20200412.tar.gz 987247 BLAKE2B 7fcb07c0cbb22e377618f62b69a16e4a5aeda3b3ebc32bd216cf9fa3beb2d8775cec6543482609361bb23304e3284e770ae82ada053fb172c432adfe360e09ba SHA512 480245e4f5ed31d6de726467ab8e1726285ccc7eeb6c84bd75caf62af35409ebf5ea63a29567200b387592317a5d5989c76ad38d3f0842ebdf5392f28e81be9f diff --git a/net-analyzer/ipv6toolkit/files/ipv6toolkit-2.1_p20190919-fno-common.patch b/net-analyzer/ipv6toolkit/files/ipv6toolkit-2.1_p20190919-fno-common.patch deleted file mode 100644 index 9d4a3dcffe9e..000000000000 --- a/net-analyzer/ipv6toolkit/files/ipv6toolkit-2.1_p20190919-fno-common.patch +++ /dev/null @@ -1,192 +0,0 @@ ---- a/tools/flow6.c -+++ b/tools/flow6.c -@@ -85,8 +85,7 @@ - - bpf_u_int32 my_netmask; - bpf_u_int32 my_ip; --struct bpf_program pcap_filter; --char dev[64], errbuf[PCAP_ERRBUF_SIZE]; -+char dev[64]; - unsigned char buffer[65556], buffrh[MIN_IPV6_HLEN + MIN_TCP_HLEN]; - unsigned char *v6buffer, *ptr, *startofprefixes; - char *pref; ---- a/tools/frag6.c -+++ b/tools/frag6.c -@@ -94,8 +94,7 @@ - - bpf_u_int32 my_netmask; - bpf_u_int32 my_ip; --struct bpf_program pcap_filter; --char dev[64], errbuf[PCAP_ERRBUF_SIZE]; -+char dev[64]; - unsigned char buffer[65556], buffrh[MIN_IPV6_HLEN + MIN_TCP_HLEN]; - unsigned char *v6buffer, *ptr, *startofprefixes; - char *pref; ---- a/tools/icmp6.c -+++ b/tools/icmp6.c -@@ -114,8 +114,7 @@ - - bpf_u_int32 my_netmask; - bpf_u_int32 my_ip; --struct bpf_program pcap_filter; --char dev[64], errbuf[PCAP_ERRBUF_SIZE]; -+char dev[64]; - unsigned char buffer[65556], buffrh[MIN_IPV6_HLEN + MIN_TCP_HLEN]; - unsigned char *v6buffer, *ptr, *startofprefixes; - char *pref; ---- a/tools/ipv6toolkit.h -+++ b/tools/ipv6toolkit.h -@@ -2,3 +2,10 @@ - #define MAX_CMDLINE_OPT_LEN 40 - #define DATE_STR_LEN 40 - -+#include <pcap.h> -+#include <setjmp.h> -+ -+extern char errbuf[PCAP_ERRBUF_SIZE]; -+extern struct bpf_program pcap_filter; -+extern sigjmp_buf env; -+extern unsigned int canjump; ---- a/tools/jumbo6.c -+++ b/tools/jumbo6.c -@@ -80,8 +80,7 @@ - - bpf_u_int32 my_netmask; - bpf_u_int32 my_ip; --struct bpf_program pcap_filter; --char dev[64], errbuf[PCAP_ERRBUF_SIZE]; -+char dev[64]; - unsigned char buffer[65556], buffrh[MIN_IPV6_HLEN + MIN_TCP_HLEN]; - unsigned char *v6buffer, *ptr, *startofprefixes; - char *pref; ---- a/tools/na6.c -+++ b/tools/na6.c -@@ -61,8 +61,7 @@ - struct in6_addr *pkt_ipv6addr; - bpf_u_int32 my_netmask; - bpf_u_int32 my_ip; --struct bpf_program pcap_filter; --char dev[64], errbuf[PCAP_ERRBUF_SIZE]; -+char dev[64]; - char all_nodes_addr[]= ALL_NODES_MULTICAST_ADDR; - unsigned char buffer[65556]; - unsigned char *v6buffer, *ptr, *startofprefixes; ---- a/tools/ni6.c -+++ b/tools/ni6.c -@@ -90,8 +90,7 @@ - - bpf_u_int32 my_netmask; - bpf_u_int32 my_ip; --struct bpf_program pcap_filter; --char dev[64], errbuf[PCAP_ERRBUF_SIZE]; -+char dev[64]; - unsigned char buffer[65556], buffrh[MIN_IPV6_HLEN + MIN_TCP_HLEN]; - char domain[MAX_DOMAIN_LEN]; - unsigned char *v6buffer, *ptr, *startofprefixes; ---- a/tools/ns6.c -+++ b/tools/ns6.c -@@ -59,8 +59,7 @@ - const u_char *pktdata; - bpf_u_int32 my_netmask; - bpf_u_int32 my_ip; --struct bpf_program pcap_filter; --char dev[64], errbuf[PCAP_ERRBUF_SIZE]; -+char dev[64]; - - unsigned char buffer[65556]; - unsigned char *v6buffer, *ptr, *startofprefixes; ---- a/tools/path6.c -+++ b/tools/path6.c -@@ -88,8 +88,7 @@ - - bpf_u_int32 my_netmask; - bpf_u_int32 my_ip; --struct bpf_program pcap_filter; --char dev[64], errbuf[PCAP_ERRBUF_SIZE]; -+char dev[64]; - unsigned char buffer[65556], buffrh[MIN_IPV6_HLEN + MIN_TCP_HLEN]; - unsigned char *v6buffer, *ptr, *startofprefixes; - char *pref; ---- a/tools/ra6.c -+++ b/tools/ra6.c -@@ -64,8 +64,7 @@ - struct in6_addr *pkt_ipv6addr; - bpf_u_int32 my_netmask; - bpf_u_int32 my_ip; --struct bpf_program pcap_filter; --char dev[64], errbuf[PCAP_ERRBUF_SIZE]; -+char dev[64]; - char all_nodes_addr[]= ALL_NODES_MULTICAST_ADDR; - - unsigned char buffer[ETHER_HDR_LEN+MIN_IPV6_HLEN+MAX_IPV6_PAYLOAD]; ---- a/tools/rd6.c -+++ b/tools/rd6.c -@@ -106,8 +106,7 @@ - - bpf_u_int32 my_netmask; - bpf_u_int32 my_ip; --struct bpf_program pcap_filter; --char dev[64], errbuf[PCAP_ERRBUF_SIZE]; -+char dev[64]; - unsigned char buffer[65556], buffrh[MIN_IPV6_HLEN + MIN_TCP_HLEN]; - unsigned char *v6buffer, *ptr, *startofprefixes; - char *pref; ---- a/tools/rs6.c -+++ b/tools/rs6.c -@@ -60,8 +60,7 @@ - struct in6_addr *pkt_ipv6addr; - bpf_u_int32 my_netmask; - bpf_u_int32 my_ip; --struct bpf_program pcap_filter; --char dev[64], errbuf[PCAP_ERRBUF_SIZE]; -+char dev[64]; - char all_nodes_addr[]= ALL_NODES_MULTICAST_ADDR; - - unsigned char buffer[65556]; ---- a/tools/scan6.c -+++ b/tools/scan6.c -@@ -153,8 +153,7 @@ - - bpf_u_int32 my_netmask; - bpf_u_int32 my_ip; --struct bpf_program pcap_filter; --char dev[64], errbuf[PCAP_ERRBUF_SIZE]; -+char dev[64]; - unsigned char buffer[BUFFER_SIZE], buffrh[MIN_IPV6_HLEN + MIN_TCP_HLEN]; - char line[LINE_BUFFER_SIZE]; - unsigned char *v6buffer, *ptr, *startofprefixes; -@@ -269,10 +268,6 @@ - 443, 547, 993, 995, 1194, 3306, 5060, 5061, 5432, 6446, 8080}; - - --/* IPv6 Address Resolution */ --sigjmp_buf env; --unsigned int canjump; -- - int main(int argc, char **argv){ - extern char *optarg; - int r; ---- a/tools/tcp6.c -+++ b/tools/tcp6.c -@@ -116,8 +116,7 @@ - - bpf_u_int32 my_netmask; - bpf_u_int32 my_ip; --struct bpf_program pcap_filter; --char dev[64], errbuf[PCAP_ERRBUF_SIZE]; -+char dev[64]; - unsigned char buffer[65556], buffrh[MIN_IPV6_HLEN + MIN_TCP_HLEN]; - unsigned char *v6buffer, *ptr, *startofprefixes; - char *pref; ---- a/tools/udp6.c -+++ b/tools/udp6.c -@@ -99,8 +99,7 @@ - - bpf_u_int32 my_netmask; - bpf_u_int32 my_ip; --struct bpf_program pcap_filter; --char dev[64], errbuf[PCAP_ERRBUF_SIZE]; -+char dev[64]; - unsigned char buffer[65556], buffrh[MIN_IPV6_HLEN + MIN_UDP_HLEN]; - unsigned char *v6buffer, *ptr, *startofprefixes; - char *pref; diff --git a/net-analyzer/ipv6toolkit/ipv6toolkit-2.1_p20190919.ebuild b/net-analyzer/ipv6toolkit/ipv6toolkit-2.1_p20190919.ebuild deleted file mode 100644 index bff5e134fff8..000000000000 --- a/net-analyzer/ipv6toolkit/ipv6toolkit-2.1_p20190919.ebuild +++ /dev/null @@ -1,48 +0,0 @@ -# Copyright 1999-2020 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 -inherit toolchain-funcs - -DESCRIPTION="Set of IPv6 security/trouble-shooting tools to send arbitrary IPv6-based packets" -HOMEPAGE="https://www.si6networks.com/tools/ipv6toolkit/" -SNAPSHOT="20de5f297f73b6a8115d1eac52adfe0b6df5b3ed" -SRC_URI="https://github.com/fgont/ipv6toolkit/archive/${SNAPSHOT}.tar.gz -> ${P}.tar.gz" -S="${WORKDIR}"/"${PN}"-"${SNAPSHOT}" - -LICENSE="GPL-3" -SLOT="0" -KEYWORDS="~amd64 ~x86" - -DEPEND=" - net-libs/libpcap[ipv6(+)] -" -RDEPEND=" - ${DEPEND} - sys-apps/hwids -" -PATCHES=( - "${FILESDIR}"/${PN}-2.1_p20190919-fno-common.patch -) - -HWIDS_OUI_PATH=/usr/share/misc/oui.txt - -src_prepare() { - default - sed -i "s#/usr/share/ipv6toolkit/oui.txt#${HWIDS_OUI_PATH}#" \ - manuals/ipv6toolkit.conf.5 -} -src_compile() { - emake CC="$(tc-getCC)" CFLAGS="${CFLAGS}" PREFIX=/usr -} - -src_install() { - dodir /etc - emake install DESTDIR="${ED}" PREFIX=/usr - #remove the included oui file - rm -f "${D}"/usr/share/ipv6toolkit/oui.txt - #fix the conf file to use the one from sys-apps/hwids - sed -i "s#/usr/share/ipv6toolkit/oui.txt#${HWIDS_OUI_PATH}#" \ - "${ED}"/etc/ipv6toolkit.conf - dodoc CHANGES.TXT README.TXT -} |