summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
Diffstat (limited to 'net-analyzer/dsniff/files/2.3-libnet-1.0.patch')
-rw-r--r--net-analyzer/dsniff/files/2.3-libnet-1.0.patch140
1 files changed, 0 insertions, 140 deletions
diff --git a/net-analyzer/dsniff/files/2.3-libnet-1.0.patch b/net-analyzer/dsniff/files/2.3-libnet-1.0.patch
deleted file mode 100644
index 0e036f86874e..000000000000
--- a/net-analyzer/dsniff/files/2.3-libnet-1.0.patch
+++ /dev/null
@@ -1,140 +0,0 @@
-diff -U 0 -r dsniff-2.3.orig/arpspoof.c dsniff-2.3/arpspoof.c
---- dsniff-2.3.orig/arpspoof.c 2000-11-28 02:43:43.000000000 -0500
-+++ dsniff-2.3/arpspoof.c 2003-08-19 14:51:56.094635632 -0400
-@@ -20 +20 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
-diff -U 0 -r dsniff-2.3.orig/configure dsniff-2.3/configure
---- dsniff-2.3.orig/configure 2000-12-02 23:35:46.000000000 -0500
-+++ dsniff-2.3/configure 2003-08-19 14:51:56.304603712 -0400
-@@ -3068 +3068 @@
-- if test -f $withval/include/libnet.h -a -f $withval/lib/libnet.a; then
-+ if test -f $withval/include/libnet-1.0.h -a -f $withval/lib/libnet-1.0.a; then
-@@ -3071,4 +3071,4 @@
-- if test -f $withval/bin/libnet-config; then
-- CFLAGS="$CFLAGS `$withval/bin/libnet-config --defines`"
-- elif test -f $withval/libnet-config; then
-- CFLAGS="$CFLAGS `$withval/libnet-config --defines`"
-+ if test -f $withval/bin/libnet-1.0-config; then
-+ CFLAGS="$CFLAGS `$withval/bin/libnet-1.0-config --defines`"
-+ elif test -f $withval/libnet-1.0-config; then
-+ CFLAGS="$CFLAGS `$withval/libnet-1.0-config --defines`"
-@@ -3076 +3076 @@
-- CFLAGS="$CFLAGS `libnet-config --defines`"
-+ CFLAGS="$CFLAGS `libnet-1.0-config --defines`"
-@@ -3079 +3079 @@
-- LNETLIB="-L$withval/lib -lnet"
-+ LNETLIB="-L$withval/lib -lnet-1.0"
-@@ -3081 +3081 @@
-- { echo "configure: error: libnet.h or libnet.a not found in $withval" 1>&2; exit 1; }
-+ { echo "configure: error: libnet-1.0.h or libnet-1.0.a not found in $withval" 1>&2; exit 1; }
-@@ -3086,2 +3086,2 @@
-- if test -f ${prefix}/include/libnet.h; then
-- CFLAGS="$CFLAGS `${prefix}/bin/libnet-config --defines`"
-+ if test -f ${prefix}/include/libnet-1.0.h; then
-+ CFLAGS="$CFLAGS `${prefix}/bin/libnet-1.0-config --defines`"
-@@ -3089,4 +3089,4 @@
-- LNETLIB="-L${prefix}/lib -lnet"
-- elif test -f /usr/include/libnet.h; then
-- CFLAGS="$CFLAGS `libnet-config --defines`"
-- LNETLIB="-lnet"
-+ LNETLIB="-L${prefix}/lib -lnet-1.0"
-+ elif test -f /usr/include/libnet-1.0.h; then
-+ CFLAGS="$CFLAGS `libnet-1.0-config --defines`"
-+ LNETLIB="-lnet-1.0"
-diff -U 0 -r dsniff-2.3.orig/decode_portmap.c dsniff-2.3/decode_portmap.c
---- dsniff-2.3.orig/decode_portmap.c 2000-12-15 15:13:29.000000000 -0500
-+++ dsniff-2.3/decode_portmap.c 2003-08-19 14:51:56.350596720 -0400
-@@ -18,1 +18,1 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
-diff -U 0 -r dsniff-2.3.orig/dnsspoof.c dsniff-2.3/dnsspoof.c
---- dsniff-2.3.orig/dnsspoof.c 2000-11-19 14:39:40.000000000 -0500
-+++ dsniff-2.3/dnsspoof.c 2003-08-19 14:51:56.183622104 -0400
-@@ -24 +24 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
-diff -U 0 -r dsniff-2.3.orig/dsniff.c dsniff-2.3/dsniff.c
---- dsniff-2.3.orig/dsniff.c 2000-12-01 16:27:15.000000000 -0500
-+++ dsniff-2.3/dsniff.c 2003-08-19 14:51:56.352596416 -0400
-@@ -21,1 +21,1 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
-diff -U 0 -r dsniff-2.3.orig/filesnarf.c dsniff-2.3/filesnarf.c
---- dsniff-2.3.orig/filesnarf.c 2000-12-15 15:16:58.000000000 -0500
-+++ dsniff-2.3/filesnarf.c 2003-08-19 14:51:56.357595656 -0400
-@@ -22,1 +22,1 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
-diff -U 0 -r dsniff-2.3.orig/macof.c dsniff-2.3/macof.c
---- dsniff-2.3.orig/macof.c 2000-11-14 10:50:55.000000000 -0500
-+++ dsniff-2.3/macof.c 2003-08-19 14:51:56.192620736 -0400
-@@ -21 +21 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
-diff -U 0 -r dsniff-2.3.orig/mailsnarf.c dsniff-2.3/mailsnarf.c
---- dsniff-2.3.orig/mailsnarf.c 2000-11-19 14:39:41.000000000 -0500
-+++ dsniff-2.3/mailsnarf.c 2003-08-19 14:51:56.361595048 -0400
-@@ -21,1 +21,1 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
-diff -U 0 -r dsniff-2.3.orig/msgsnarf.c dsniff-2.3/msgsnarf.c
---- dsniff-2.3.orig/msgsnarf.c 2000-12-15 15:12:19.000000000 -0500
-+++ dsniff-2.3/msgsnarf.c 2003-08-19 14:51:56.369593832 -0400
-@@ -20,1 +20,1 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
-diff -U 0 -r dsniff-2.3.orig/record.c dsniff-2.3/record.c
---- dsniff-2.3.orig/record.c 2000-11-14 10:51:02.000000000 -0500
-+++ dsniff-2.3/record.c 2003-08-19 14:51:56.206618608 -0400
-@@ -22 +22 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
-diff -U 0 -r dsniff-2.3.orig/sshmitm.c dsniff-2.3/sshmitm.c
---- dsniff-2.3.orig/sshmitm.c 2000-12-17 16:09:43.000000000 -0500
-+++ dsniff-2.3/sshmitm.c 2003-08-19 14:51:56.210618000 -0400
-@@ -19 +19 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
-diff -U 0 -r dsniff-2.3.orig/tcp_raw.c dsniff-2.3/tcp_raw.c
---- dsniff-2.3.orig/tcp_raw.c 2000-11-28 02:48:25.000000000 -0500
-+++ dsniff-2.3/tcp_raw.c 2003-08-19 14:51:56.212617696 -0400
-@@ -15 +15 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
-diff -U 0 -r dsniff-2.3.orig/tcpkill.c dsniff-2.3/tcpkill.c
---- dsniff-2.3.orig/tcpkill.c 2000-11-29 19:39:05.000000000 -0500
-+++ dsniff-2.3/tcpkill.c 2003-08-19 14:51:56.214617392 -0400
-@@ -19 +19 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
-diff -U 0 -r dsniff-2.3.orig/tcpnice.c dsniff-2.3/tcpnice.c
---- dsniff-2.3.orig/tcpnice.c 2000-11-29 19:39:05.000000000 -0500
-+++ dsniff-2.3/tcpnice.c 2003-08-19 14:51:56.216617088 -0400
-@@ -21 +21 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
-diff -U 0 -r dsniff-2.3.orig/trigger.c dsniff-2.3/trigger.c
---- dsniff-2.3.orig/trigger.c 2000-11-19 16:44:29.000000000 -0500
-+++ dsniff-2.3/trigger.c 2003-08-19 14:51:56.376592768 -0400
-@@ -15,1 +15,1 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
-diff -U 0 -r dsniff-2.3.orig/urlsnarf.c dsniff-2.3/urlsnarf.c
---- dsniff-2.3.orig/urlsnarf.c 2000-12-18 21:53:36.000000000 -0500
-+++ dsniff-2.3/urlsnarf.c 2003-08-19 14:51:56.378592464 -0400
-@@ -24,1 +24,1 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
-diff -U 0 -r dsniff-2.3.orig/webmitm.c dsniff-2.3/webmitm.c
---- dsniff-2.3.orig/webmitm.c 2000-12-03 00:13:28.000000000 -0500
-+++ dsniff-2.3/webmitm.c 2003-08-19 14:51:56.229615112 -0400
-@@ -23 +23 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>
-diff -U 0 -r dsniff-2.3.orig/webspy.c dsniff-2.3/webspy.c
---- dsniff-2.3.orig/webspy.c 2000-11-14 10:51:04.000000000 -0500
-+++ dsniff-2.3/webspy.c 2003-08-19 14:51:56.381592008 -0400
-@@ -24,1 +24,1 @@
--#include <libnet.h>
-+#include <libnet-1.0.h>