summaryrefslogtreecommitdiff
path: root/net-misc/nemesis
diff options
context:
space:
mode:
authorV3n3RiX <venerix@redcorelinux.org>2021-01-22 20:28:19 +0000
committerV3n3RiX <venerix@redcorelinux.org>2021-01-22 20:28:19 +0000
commitabaa75b10f899ada8dd05b23cc03205064394bc6 (patch)
treeeca3dd248b73b92013cba00a0fcc1edf2696e19a /net-misc/nemesis
parent24fd814c326e282c4321965c31f341dad77e270d (diff)
gentoo resync : 22.01.2021
Diffstat (limited to 'net-misc/nemesis')
-rw-r--r--net-misc/nemesis/Manifest7
-rw-r--r--net-misc/nemesis/files/nemesis-1.4-fileio.patch37
-rw-r--r--net-misc/nemesis/files/nemesis-1.4-fno-common.patch150
-rw-r--r--net-misc/nemesis/files/nemesis-1.4-libnet-1.0.patch158
-rw-r--r--net-misc/nemesis/files/nemesis-1.4-prototcp.patch33
-rw-r--r--net-misc/nemesis/nemesis-1.4-r1.ebuild34
-rw-r--r--net-misc/nemesis/nemesis-1.4-r2.ebuild35
7 files changed, 0 insertions, 454 deletions
diff --git a/net-misc/nemesis/Manifest b/net-misc/nemesis/Manifest
index 8f9f2a21c146..bc9184e8354e 100644
--- a/net-misc/nemesis/Manifest
+++ b/net-misc/nemesis/Manifest
@@ -1,11 +1,4 @@
-AUX nemesis-1.4-fileio.patch 975 BLAKE2B 6f955ef14cff07d34ea5693a9dec680748d50c5d831663590a63e97aef9cc68668dd242610a996f19736bba409e6c36fdc2a3a3897cb18f656a2081c7f58d64e SHA512 3bfc30e047eaa493d47ef1dbc1e6940746b347f64c60c210a68db47774c169b2eaeedcaba84eff2fe16fca656d613819218b5f2afe52b97f0d0152cf00a65a3f
-AUX nemesis-1.4-fno-common.patch 4632 BLAKE2B 3a5352f58eaed5cd0120142c482551d15fe94a5660153c45c2ea79deedcf2fc535f4986a33a7a91fb21eb5f7275f762e8c800ac9e7f137932bf961e1b4b81d84 SHA512 e45442fea4d9f904a848e2529d401b296bf9c3d68e27ec464b6ce3160c49d73f96514d5211186158c8cbc0e9b5c2bc4d1a6cc1eb94d2301a4209d9c48f14cbbb
-AUX nemesis-1.4-libnet-1.0.patch 4627 BLAKE2B b2ab0e2c72bc24729912d60938dbd0f06ea7f93d78f0431baacab136b1a892ef8c5b0c1d6be96d03940b45aa8d058b05853db7f35832d7bbc53fc988fa019968 SHA512 aa94f7b9db756e636b671de2e0f56bcc145b73f808ef907d1f8965c78e8fd025a69e684d693a3095a751d6a3433c3f34c43c753624c0543c1c5b45bbb1c69eb9
-AUX nemesis-1.4-prototcp.patch 1287 BLAKE2B 0d50d3258f8a1c80cb9622c05ec8611e6f90491fc2d045c9a792630918f8bb73776555ce7714b6d5a2f0ee79b54d9d842db8f0ab3482b6d1fb18a92fe9fd257e SHA512 89f5bbd0506ff6ee15823631c254b9dc7049eccc31f9882485a6e07a9686f8d96f84ef7b56e366d1f3fccb302db9383b10ed3a17be3508a8ab4a001809e7876a
AUX nemesis-1.7-fno-common.patch 2057 BLAKE2B c40c2b9549237432168f22d8d4f1903f4b6772b02466616df6b0951a7c6451ccd2adeb103a1931bfb82c7b1df78ff320de137ae0d522806e203ae9a7f7587377 SHA512 0d62b46676c3ebbe2e2bc8636a4d14de52ab9f94f8b67e86b7bcf3546a62b59503f4e1f23a18f25358bf0315983474f5ae602d87281802c30de00645ee56e700
-DIST nemesis-1.4.tar.gz 144187 BLAKE2B 9b16fa37283e4a659312bbd24e5ab850cf11cbee9c598f9e57bda517f462448a0a74721425144ec00afb2cde5ba86fcb020d2d7dbf4d6df688b67f7c282d9d38 SHA512 a8d4b434a9b0287e704ab923900c43051dc3aac4a7063e702aa93d7c89cfdeac287a6f40138bdca140e2c889e024f885288c4953940104ac12631cf7394501c8
DIST nemesis-1.7.tar.gz 93423 BLAKE2B d46d19ae46852ea5a5f745b719779f3e4fbd77b918c8f53eaf743beb53d3ee345fa1663350d98095519481e819c5174fbe41b356da643b0aff9a2d5825494436 SHA512 6085cb91535c895325ca04e7583b29df9073731d8bee1d48ef46d09d25042d5220a73b2d02d77b4101de649877c0a2d0f4af5c06f125389fbd97c7350449134b
-EBUILD nemesis-1.4-r1.ebuild 626 BLAKE2B 0b7f3379705788d1873f67005011e0e6c8f54fa2ca7e96f22524ffc1ad67545e4e286991fd829db4a72bdfb0f9d22dad5ebdf93ff7537ffbc138e80490f9856a SHA512 d54b880507e5cfdc71fcc735d404758ffb9f466f1a633f410431ac2555b515238d35f76774ebf311f9378cddecd2c4feed9b1d00b596d36c1d7dde8756e652fc
-EBUILD nemesis-1.4-r2.ebuild 686 BLAKE2B 4379f65cdc3a45a0a9cf64f26e587e2591fbe9e50033ec5e525af5872e3485982d8c36ffaaabfc3031d3382b8c6c417e47ebb45582eaa8e66d3e2819e89e13e5 SHA512 ce6f875a66a18c5e4d0c7d2cb1774aceb6d10d7d17b6fc8d723715ae6a5c872ddd701b3709705148607ec14b1e08cbcd15e5ac4d1d781af0c38ee3420b01d2ce
EBUILD nemesis-1.7-r1.ebuild 621 BLAKE2B e8f84d0a6a5dd4efffeeb7ceea943a3d878df025f35ccd3ad502d684ffb3ebc53973cdda9b5b0ae3ed20acacf65ed348450a8e9a9251ecb658b80c53c2968ba9 SHA512 b7662484bcf4972674959f532e5468ecef8e025c5e7ab19fef91e323a4c20532689113087e00a4dda28722751eacb1e482397a092591c501b4514684a5f091fd
MISC metadata.xml 291 BLAKE2B 41178dcbae1f81d0bc5a8cfaacce0d5bdf65648775430d1b8828e3875e7322c7de7537983852485f3a091380a72b964e82f4cac91dc2281f1291662abfacd72a SHA512 7e39bc9868b0b6603f3a48d7905f47745656f96334e6fbaa66e314a6dbfb0c63e1ba33cbbc63fc61f8289fb756105dfd6cf9b990c113a8569a9997af29d2c2dc
diff --git a/net-misc/nemesis/files/nemesis-1.4-fileio.patch b/net-misc/nemesis/files/nemesis-1.4-fileio.patch
deleted file mode 100644
index d39cef3d6508..000000000000
--- a/net-misc/nemesis/files/nemesis-1.4-fileio.patch
+++ /dev/null
@@ -1,37 +0,0 @@
---- a/src/nemesis-fileio.c
-+++ b/src/nemesis-fileio.c
-@@ -63,7 +63,7 @@
- fp = stdin;
- fd = fileno(fp);
- }
-- else if ((fd = open(file, O_RDONLY)) < 0)
-+ else if ((fp = fopen(file, "rb")) < 0)
- {
- #if !defined(WIN32)
- fprintf(stderr, "ERROR: Unable to open %s file: %s. %s\n",
-@@ -82,8 +82,12 @@
- return -1;
- }
-
-+#ifdef DEBUG
-+ printf("DEBUG: trying to read max %u bytes from %s\n", maxsize, file);
-+#endif
-+
- /* read() can return negative values on successful reads, test for -1 */
-- if ((bytesread = read(fd, (void *)memory, maxsize)) == -1)
-+ if ((bytesread = fread((void *)memory, 1, maxsize, fp)) == -1)
- {
- #if !defined(WIN32)
- fprintf(stderr, "ERROR: Unable to read %s file: %s. %s\n",
-@@ -106,6 +110,11 @@
- if (strncmp(file, "-", 1))
- close(fd);
- }
-+
-+#ifdef DEBUG
-+ printf("DEBUG: bytes read from %s: %u.\n", file, bytesread);
-+#endif
-+
- return bytesread;
- }
-
diff --git a/net-misc/nemesis/files/nemesis-1.4-fno-common.patch b/net-misc/nemesis/files/nemesis-1.4-fno-common.patch
deleted file mode 100644
index 068fef61b6e4..000000000000
--- a/net-misc/nemesis/files/nemesis-1.4-fno-common.patch
+++ /dev/null
@@ -1,150 +0,0 @@
---- a/src/nemesis.c
-+++ b/src/nemesis.c
-@@ -12,6 +12,8 @@
- #include <string.h>
- #include "nemesis.h"
-
-+int mode; /* injection mode */
-+
- int main(int argc, char **argv)
- {
- char **avtmp, *avval;
---- a/src/nemesis-dns.c
-+++ b/src/nemesis-dns.c
-@@ -37,6 +37,8 @@
- static void dns_validatedata(void);
- static void dns_verbose(void);
-
-+int state; /* default to UDP */
-+
- void nemesis_dns(int argc, char **argv)
- {
- const char *module = "DNS Packet Injection";
---- a/src/nemesis-dns.h
-+++ b/src/nemesis-dns.h
-@@ -32,7 +32,7 @@
- #include <libnet-1.0.h>
- #include "nemesis.h"
-
--int state; /* default to UDP */
-+extern int state; /* default to UDP */
-
- int builddns(ETHERhdr *, IPhdr *, TCPhdr *, UDPhdr *, DNShdr *, FileData *,
- FileData *, FileData *, char *);
---- a/src/nemesis.h
-+++ b/src/nemesis.h
-@@ -122,6 +122,8 @@
- extern int got_ipoptions;
- extern int got_tcpoptions;
-
-+extern int mode; /* injection mode */
-+
- typedef struct _FileData
- {
- int32_t file_s; /* file size */
---- a/src/nemesis-icmp.c
-+++ b/src/nemesis-icmp.c
-@@ -38,6 +38,8 @@
- static void icmp_validatedata(void);
- static void icmp_verbose(void);
-
-+int got_origoptions;
-+
- void nemesis_icmp(int argc, char **argv)
- {
- const char *module = "ICMP Packet Injection";
---- a/src/nemesis-icmp.h
-+++ b/src/nemesis-icmp.h
-@@ -42,8 +42,7 @@
- #include <libnet-1.0.h>
- #include "nemesis.h"
-
--int mode; /* ICMP injection mode */
--int got_origoptions;
-+extern int got_origoptions;
-
- int buildicmp(ETHERhdr *, IPhdr *, ICMPhdr *, IPhdr *, FileData *, FileData *,
- FileData *, char *);
---- a/src/nemesis-ospf.c
-+++ b/src/nemesis-ospf.c
-@@ -15,6 +15,37 @@
- #include <pcap.h>
- #endif
-
-+u_short id, /* IP id */
-+ frag, /* frag shit */
-+ mtusize, /* Max dgram length (DBD) */
-+ num, /* LSA_RTR num */
-+ interval, /* secs since last pkt sent */
-+ rtr_flags, /* LSA_RTR flags */
-+ metric, /* OSPF metric */
-+ ospf_age; /* OSPF advertisement age */
-+
-+u_long source, /* source address */
-+ dest, /* destination address */
-+ neighbor, /* neighbor router */
-+ as_fwd, /* AS_EXT forward address */
-+ addrid, /* advertising router id */
-+ addaid, /* advertising area id */
-+ router, /* advertising router */
-+ auth[2], /* authentication type */
-+ mask; /* subnet mask (icmp_mask) */
-+
-+u_char priority, /* OSPF priority */
-+ exchange, /* DBD exchange type */
-+ rtrtype, /* LSA_RTR type */
-+ ooptions; /* OSPF options */
-+
-+u_int dead_int, /* dead router interval in secs */
-+ as_tag, /* AS_EXT tag */
-+ seqnum, /* seqnum for LSA */
-+ bcastnum, /* num of LSAs to bcast (LSU) */
-+ rtrdata, /* LSA_RTR router data */
-+ rtrid; /* router id for LSA */
-+
- static ETHERhdr etherhdr;
- static IPhdr iphdr;
- static OSPFhdr ospfhdr;
---- a/src/nemesis-ospf.h
-+++ b/src/nemesis-ospf.h
-@@ -35,7 +35,7 @@
- #include <libnet-1.0.h>
- #include "nemesis.h"
-
--u_short id, /* IP id */
-+extern u_short id, /* IP id */
- frag, /* frag shit */
- mtusize, /* Max dgram length (DBD) */
- num, /* LSA_RTR num */
-@@ -44,7 +44,7 @@
- metric, /* OSPF metric */
- ospf_age; /* OSPF advertisement age */
-
--u_long source, /* source address */
-+extern u_long source, /* source address */
- dest, /* destination address */
- neighbor, /* neighbor router */
- as_fwd, /* AS_EXT forward address */
-@@ -54,20 +54,18 @@
- auth[2], /* authentication type */
- mask; /* subnet mask (icmp_mask) */
-
--u_char priority, /* OSPF priority */
-+extern u_char priority, /* OSPF priority */
- exchange, /* DBD exchange type */
- rtrtype, /* LSA_RTR type */
- ooptions; /* OSPF options */
-
--u_int dead_int, /* dead router interval in secs */
-+extern u_int dead_int, /* dead router interval in secs */
- as_tag, /* AS_EXT tag */
- seqnum, /* seqnum for LSA */
- bcastnum, /* num of LSAs to bcast (LSU) */
- rtrdata, /* LSA_RTR router data */
- rtrid; /* router id for LSA */
-
--int mode; /* OSPF injection mode */
--
- int buildospf(ETHERhdr *, IPhdr *, FileData *, FileData *, char *);
-
- #endif /* __NEMESIS_OSPF_H__ */
diff --git a/net-misc/nemesis/files/nemesis-1.4-libnet-1.0.patch b/net-misc/nemesis/files/nemesis-1.4-libnet-1.0.patch
deleted file mode 100644
index a5a0a83d54a0..000000000000
--- a/net-misc/nemesis/files/nemesis-1.4-libnet-1.0.patch
+++ /dev/null
@@ -1,158 +0,0 @@
---- a/configure.in
-+++ b/configure.in
-@@ -128,22 +128,21 @@
- dnl LIBS="${LIBS} -L${with_libpcap_libraries}"
- dnl fi
-
--CPPFLAGS="${CPPFLAGS} `libnet-config --defines`"
--CFLAGS="${CFLAGS} -funroll-loops -pipe"
-+CPPFLAGS="${CPPFLAGS} `libnet-1.0-config --defines`"
-
--if test `libnet-config --cflags | wc -c` = "1"; then
-+if test `libnet-1.0-config --cflags | wc -c` = "1"; then
- CPPFLAGS="${CPPFLAGS} -I/usr/local/include -I/sw/include"
- LIBNET_CONFIG_BROKEN_CFLAGS=yes
- else
-- CPPFLAGS="${CPPFLAGS} `libnet-config --cflags`"
-+ CPPFLAGS="${CPPFLAGS} `libnet-1.0-config --cflags`"
- fi
-
--if test `libnet-config --libs | wc -c` = "1"; then
-- AC_MSG_WARN(libnet-config --libs is broken on your system. If you)
-+if test `libnet-1.0-config --libs | wc -c` = "1"; then
-+ AC_MSG_WARN(libnet-1.0-config --libs is broken on your system. If you)
- AC_MSG_WARN(are using a precompiled package please notify the maintainer.)
- LIBS="${LIBS} -L/usr/local/lib -L/sw/lib"
- else
-- LIBS="${LIBS} `libnet-config --libs | sed s/\-lnet//`"
-+ LIBS="${LIBS} `libnet-1.0-config --libs`"
- fi
-
- AC_DEFUN(HEADER_FAIL_MESSAGE,[
-@@ -185,7 +184,7 @@
- AC_CHECK_LIB(resolv, hstrerror)
-
- LNET=""
--AC_CHECK_LIB(net, libnet_build_ip,, LNET="no")
-+AC_CHECK_LIB(net-1.0, libnet_build_ip,, LNET="no")
-
- if test "$LNET" = "no"; then
- echo
-@@ -193,7 +192,7 @@
- echo " http://www.packetfactory.net/projects/libnet/"
- echo " or use the --with-libnet-* options, if you have it installed"
- echo " in unusual place"
-- exit
-+ exit 1
- fi
-
- dnl if test "$enable_pcapoutput" != "no" -a "$enable_pcapoutput" = "yes"; then
-@@ -216,7 +215,7 @@
- AC_CHECK_HEADERS(unistd.h errno.h strings.h netdb.h limits.h machine/endian.h sys/time.h sys/param.h arpa/inet.h netinet/in.h)
-
- LNET=""
--AC_CHECK_HEADERS(libnet.h,, LNET="no")
-+AC_CHECK_HEADERS(libnet-1.0.h,, LNET="no")
-
- if test "$LNET" = "no"; then
- echo
-@@ -235,29 +234,29 @@
- libnet_dir="/usr/include /usr/local/include /sw/include"
- fi
- else
-- libnet_dir=`libnet-config --cflags | cut -dI -f2`
-+ libnet_dir=`libnet-1.0-config --cflags | cut -dI -f2`
- fi
-
- LIBNET_INC_DIR=""
- for i in $libnet_dir; do
-- if test -r $i/libnet.h; then
-+ if test -r $i/libnet-1.0.h; then
- LIBNET_INC_DIR=$i
- fi
- done
-
- if test "$LIBNET_INC_DIR" != ""; then
-- if eval "grep LIBNET_VERSION $LIBNET_INC_DIR/libnet.h | grep -v 1.0.2a >/dev/null"; then
-+ if eval "grep LIBNET_VERSION $LIBNET_INC_DIR/libnet-1.0.h | grep -v 1.0.2a >/dev/null"; then
- AC_MSG_RESULT(no)
- echo
- echo " ERROR! Nemesis will *only* work with libnet version 1.0.2a,"
- echo " go get it from"
- echo " http://www.packetfactory.net/projects/libnet/"
-- HEADER_FAIL_MESSAGE("libnet 1.0.2a (libnet.h)", $LIBNET_INC_DIR)
-+ HEADER_FAIL_MESSAGE("libnet 1.0.2a (libnet-1.0.h)", $LIBNET_INC_DIR)
- fi
- AC_MSG_RESULT(yes)
- else
- AC_MSG_RESULT(no)
-- HEADER_FAIL_MESSAGE("libnet 1.0.2a (libnet.h)", $libnet_dir)
-+ HEADER_FAIL_MESSAGE("libnet 1.0.2a (libnet-1.0.h)", $libnet_dir)
- fi
-
- dnl if test "$enable_pcapoutput" != "no" -a "$enable_pcapoutput" = "yes"; then
---- a/src/nemesis-arp.h
-+++ b/src/nemesis-arp.h
-@@ -30 +30 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/nemesis-dns.h
-+++ b/src/nemesis-dns.h
-@@ -30 +30 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/nemesis-ethernet.h
-+++ b/src/nemesis-ethernet.h
-@@ -29 +29 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/nemesis-functions.c
-+++ b/src/nemesis-functions.c
-@@ -37 +37 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/nemesis-icmp.h
-+++ b/src/nemesis-icmp.h
-@@ -31 +31 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/nemesis-igmp.h
-+++ b/src/nemesis-igmp.h
-@@ -30 +30 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/nemesis-ip.h
-+++ b/src/nemesis-ip.h
-@@ -26 +26 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/nemesis-ospf.h
-+++ b/src/nemesis-ospf.h
-@@ -33 +33 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/nemesis-rip.h
-+++ b/src/nemesis-rip.h
-@@ -33 +33 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/nemesis-tcp.h
-+++ b/src/nemesis-tcp.h
-@@ -30 +30 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/nemesis-udp.h
-+++ b/src/nemesis-udp.h
-@@ -30 +30 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/nemesis.h
-+++ b/src/nemesis.h
-@@ -15 +15 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
---- a/src/nemesis-printout.c
-+++ b/src/nemesis-printout.c
-@@ -34 +34 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
diff --git a/net-misc/nemesis/files/nemesis-1.4-prototcp.patch b/net-misc/nemesis/files/nemesis-1.4-prototcp.patch
deleted file mode 100644
index b4a4e7c71378..000000000000
--- a/net-misc/nemesis/files/nemesis-1.4-prototcp.patch
+++ /dev/null
@@ -1,33 +0,0 @@
---- a/src/nemesis-proto_tcp.c
-+++ b/src/nemesis-proto_tcp.c
-@@ -16,7 +16,7 @@
- FileData *ipod, FileData *tcpod, char *device)
- {
- int n;
-- u_int32_t tcp_packetlen = 0, tcp_meta_packetlen = 0;
-+ u_int32_t tcp_packetlen = 0, tcp_meta_packetlen = 0, tcp_headerlen = 0, ip_headerlen = 0;
- static u_int8_t *pkt;
- static int sockfd = -1;
- struct libnet_link_int *l2 = NULL;
-@@ -58,13 +58,20 @@
- #endif
- }
-
-+ ip_headerlen = LIBNET_IP_H + ipod->file_s;
-+ tcp_headerlen = LIBNET_TCP_H + tcpod->file_s;
-+
- tcp_packetlen = link_offset + LIBNET_IP_H + LIBNET_TCP_H + pd->file_s +
- ipod->file_s + tcpod->file_s;
-
-- tcp_meta_packetlen = tcp_packetlen - (link_offset + LIBNET_IP_H);
-+ tcp_meta_packetlen = LIBNET_TCP_H + pd->file_s;
-
- #ifdef DEBUG
-+ printf("DEBUG: link offsetlength %u.\n", link_offset);
-+ printf("DEBUG: IP header length %u.\n", ip_headerlen);
-+ printf("DEBUG: TCP header length %u.\n", tcp_headerlen);
- printf("DEBUG: TCP packet length %u.\n", tcp_packetlen);
-+ printf("DEBUG: TCP meta length %u.\n", tcp_meta_packetlen);
- printf("DEBUG: IP options size %u.\n", ipod->file_s);
- printf("DEBUG: TCP options size %u.\n", tcpod->file_s);
- printf("DEBUG: TCP payload size %u.\n", pd->file_s);
diff --git a/net-misc/nemesis/nemesis-1.4-r1.ebuild b/net-misc/nemesis/nemesis-1.4-r1.ebuild
deleted file mode 100644
index 5df00db4a5b5..000000000000
--- a/net-misc/nemesis/nemesis-1.4-r1.ebuild
+++ /dev/null
@@ -1,34 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-inherit autotools
-
-DESCRIPTION="A commandline-based, portable human IP stack for UNIX/Linux"
-HOMEPAGE="http://nemesis.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P/_}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha amd64 sparc x86"
-
-RDEPEND="
- net-libs/libpcap
-"
-DEPEND="
- ${RDEPEND}
- =net-libs/libnet-1.0*
-"
-
-DOCS="CREDITS ChangeLog README"
-
-PATCHES=(
- "${FILESDIR}"/${P}-fileio.patch
- "${FILESDIR}"/${P}-libnet-1.0.patch
- "${FILESDIR}"/${P}-prototcp.patch
-)
-
-src_prepare() {
- default
- eautoreconf
-}
diff --git a/net-misc/nemesis/nemesis-1.4-r2.ebuild b/net-misc/nemesis/nemesis-1.4-r2.ebuild
deleted file mode 100644
index 0d74247451fd..000000000000
--- a/net-misc/nemesis/nemesis-1.4-r2.ebuild
+++ /dev/null
@@ -1,35 +0,0 @@
-# Copyright 1999-2020 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=7
-inherit autotools
-
-DESCRIPTION="A commandline-based, portable human IP stack for UNIX/Linux"
-HOMEPAGE="http://nemesis.sourceforge.net/"
-SRC_URI="mirror://sourceforge/${PN}/${P/_}.tar.gz"
-
-LICENSE="BSD"
-SLOT="0"
-KEYWORDS="~alpha ~amd64 ~sparc ~x86"
-
-RDEPEND="
- net-libs/libpcap
-"
-DEPEND="
- ${RDEPEND}
- =net-libs/libnet-1.0*
-"
-
-DOCS="CREDITS ChangeLog README"
-
-PATCHES=(
- "${FILESDIR}"/${PN}-1.4-fileio.patch
- "${FILESDIR}"/${PN}-1.4-libnet-1.0.patch
- "${FILESDIR}"/${PN}-1.4-prototcp.patch
- "${FILESDIR}"/${PN}-1.4-fno-common.patch
-)
-
-src_prepare() {
- default
- eautoreconf
-}