summaryrefslogtreecommitdiff
path: root/net-mgmt/tcpreplay/files
diff options
context:
space:
mode:
Diffstat (limited to 'net-mgmt/tcpreplay/files')
-rw-r--r--net-mgmt/tcpreplay/files/patch-Makefile.in45
-rw-r--r--net-mgmt/tcpreplay/files/patch-configure.in25
-rw-r--r--net-mgmt/tcpreplay/files/patch-tcpreplay.c31
3 files changed, 0 insertions, 101 deletions
diff --git a/net-mgmt/tcpreplay/files/patch-Makefile.in b/net-mgmt/tcpreplay/files/patch-Makefile.in
deleted file mode 100644
index a54081d50383..000000000000
--- a/net-mgmt/tcpreplay/files/patch-Makefile.in
+++ /dev/null
@@ -1,45 +0,0 @@
---- Makefile.in.orig Thu Apr 22 07:16:41 1999
-+++ Makefile.in Thu Jan 18 01:05:19 2001
-@@ -9,22 +9,23 @@
- CC = @CC@
- CFLAGS = @CFLAGS@
- LDFLAGS = @LDFLAGS@
--DEFS = @DEFS@
-+DEFS = @DEFS@ `libnet-config --defines`
- INCS = $(LNETINCS) $(PCAPINCS)
- LIBS = @LIBS@ $(LNETLIBS) $(PCAPLIBS)
-
- INSTALL = @INSTALL@
- INSTALL_PROGRAM = @INSTALL_PROGRAM@
-+INSTALL_DATA = @INSTALL_DATA@
-
--PCAPDIR = libpcap-0.4
--PCAPINCS = -I$(PCAPDIR)
--PCAPLIBS = -L$(PCAPDIR) -lpcap
--PCAPDEP = $(PCAPDIR)/pcap.h $(PCAPDIR)/libpcap.a
-+# PCAPDIR = libpcap-0.4
-+# PCAPINCS = -I$(PCAPDIR)
-+PCAPLIBS = -lpcap
-+# PCAPDEP = $(PCAPDIR)/pcap.h $(PCAPDIR)/libpcap.a
-
--LNETDIR = Libnet-0.99
-+LNETDIR = ${LOCALBASE}
- LNETINCS = -I$(LNETDIR)/include
--LNETLIBS = -L$(LNETDIR)/lib -lnet
--LNETDEP = $(LNETDIR)/include/libnet.h $(LNETDIR)/libnet.a
-+LNETLIBS = -L$(LNETDIR)/lib `libnet-config --libs`
-+# LNETDEP = $(LNETDIR)/include/libnet.h $(LNETDIR)/libnet.a
-
- PROGRAMS = tcpreplay
-
-@@ -51,8 +52,8 @@
- rm -f Makefile config.h config.status config.cache config.log
-
- install:
-- $(INSTALL_PROGRAM) -m 755 tcpreplay $(SBINDIR)
-- $(INSTALL) -m 644 tcpreplay.8 $(MANDIR)
-+ $(INSTALL_PROGRAM) tcpreplay $(SBINDIR)
-+ $(INSTALL_DATA) tcpreplay.8 $(MANDIR)
-
- uninstall:
- rm -f $(SBINDIR)/tcpreplay
diff --git a/net-mgmt/tcpreplay/files/patch-configure.in b/net-mgmt/tcpreplay/files/patch-configure.in
deleted file mode 100644
index b3ff9a2b4fec..000000000000
--- a/net-mgmt/tcpreplay/files/patch-configure.in
+++ /dev/null
@@ -1,25 +0,0 @@
---- configure.in.orig Thu May 20 04:55:28 1999
-+++ configure.in Thu Jan 18 01:02:11 2001
-@@ -8,13 +8,6 @@
- AC_PROG_INSTALL
- AC_PROG_MAKE_SET
-
--dnl Use these compiler flags if we have gcc.
--dnl
--if test $ac_cv_prog_gcc = yes; then
-- CCOPTS='-O3 -pipe -Wall'
-- CFLAGS="$CCOPTS"
--fi
--
- dnl Checks for libraries.
- AC_CHECK_LIB(socket, socket)
- AC_CHECK_LIB(nsl, gethostbyname)
-@@ -28,8 +21,6 @@
-
- dnl Checks for library functions.
- AC_CHECK_FUNCS(gettimeofday)
--
--AC_CONFIG_SUBDIRS(Libnet-0.99 libpcap-0.4)
-
- AC_CONFIG_HEADER(config.h)
- AC_OUTPUT(Makefile)
diff --git a/net-mgmt/tcpreplay/files/patch-tcpreplay.c b/net-mgmt/tcpreplay/files/patch-tcpreplay.c
deleted file mode 100644
index 1b49c631bfaf..000000000000
--- a/net-mgmt/tcpreplay/files/patch-tcpreplay.c
+++ /dev/null
@@ -1,31 +0,0 @@
---- tcpreplay.c.orig Wed May 19 13:00:35 1999
-+++ tcpreplay.c Thu Nov 2 17:58:27 2000
-@@ -229,8 +229,8 @@
- }
-
- while (write_status < 0) {
-- write_status = write_link_layer((struct link_int *)user, interface,
-- data,pcap_hdr->caplen);
-+ write_status = libnet_write_link_layer((struct libnet_link_int *)user,
-+ interface,data,pcap_hdr->caplen);
- #ifdef DEBUG
- if (debug > 1) {
- fprintf(stderr, "write_status = %i\n", write_status);
-@@ -255,7 +255,7 @@
- int main(int argc, char * argv[])
- {
- pcap_t * in_file;
-- struct link_int * write_if;
-+ struct libnet_link_int * write_if;
- float Mrate = 0;
- double starttime_local, startusec;
- char ebuf[256];
-@@ -327,7 +327,7 @@
- failed_writes = 0;
- pkts_sent = 0;
- bytes_sent = 0;
-- write_if = open_link_interface(interface,ebuf);
-+ write_if = libnet_open_link_interface(interface,ebuf);
- if (write_if <= 0) {
- fprintf(stderr, "output i/f: %s\n",ebuf);
- exit(1);