diff options
author | 2003-08-21 05:10:43 +0000 | |
---|---|---|
committer | 2003-08-21 05:10:43 +0000 | |
commit | 6e7cea239bc4cf7ed0011b449c89f95b8ce062c8 (patch) | |
tree | 898d2274f7ebc90170a7073455ef87b2851a6dbe /net-analyzer/dsniff/files | |
parent | touchups (diff) | |
download | gentoo-2-6e7cea239bc4cf7ed0011b449c89f95b8ce062c8.tar.gz gentoo-2-6e7cea239bc4cf7ed0011b449c89f95b8ce062c8.tar.bz2 gentoo-2-6e7cea239bc4cf7ed0011b449c89f95b8ce062c8.zip |
ppc #27012
Diffstat (limited to 'net-analyzer/dsniff/files')
-rw-r--r-- | net-analyzer/dsniff/files/2.3-libnet-1.0.patch | 183 | ||||
-rw-r--r-- | net-analyzer/dsniff/files/digest-dsniff-2.3-r1 | 2 |
2 files changed, 185 insertions, 0 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 new file mode 100644 index 000000000000..dd1692a8a0cf --- /dev/null +++ b/net-analyzer/dsniff/files/2.3-libnet-1.0.patch @@ -0,0 +1,183 @@ +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" +@@ -3115 +3115 @@ +- if test -f $withval/src/nids.h -a -f $withval/src/libnids.a; then ++ if test -f $withval/src/nids-1.0.h -a -f $withval/src/libnids-1.0.a; then +@@ -3119,2 +3119,2 @@ +- NIDSLIB="-L$withval/src -lnids" +- elif test -f $withval/include/nids.h -a -f $withval/lib/libnids.a; then ++ NIDSLIB="-L$withval/src -lnids-1.0" ++ elif test -f $withval/include/nids-1.0.h -a -f $withval/lib/libnids-1.0.a; then +@@ -3124 +3124 @@ +- NIDSLIB="-L$withval/lib -lnids" ++ NIDSLIB="-L$withval/lib -lnids-1.0" +@@ -3126 +3126 @@ +- { echo "configure: error: nids.h or libnids.a not found in $withval" 1>&2; exit 1; } ++ { echo "configure: error: nids-1.0.h or libnids-1.0.a not found in $withval" 1>&2; exit 1; } +@@ -3131 +3131 @@ +- if test -f ${prefix}/include/nids.h; then ++ if test -f ${prefix}/include/nids-1.0.h; then +@@ -3133,3 +3133,3 @@ +- NIDSLIB="-L${prefix}/lib -lnids" +- elif test -f /usr/include/nids.h; then +- NIDSLIB="-lnids" ++ NIDSLIB="-L${prefix}/lib -lnids-1.0" ++ elif test -f /usr/include/nids-1.0.h; then ++ NIDSLIB="-lnids-1.0" +@@ -3151 +3151 @@ +-#include <nids.h> ++#include <nids-1.0.h> +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,2 +18,2 @@ +-#include <libnet.h> +-#include <nids.h> ++#include <libnet-1.0.h> ++#include <nids-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,2 +21,2 @@ +-#include <libnet.h> +-#include <nids.h> ++#include <libnet-1.0.h> ++#include <nids-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,2 +22,2 @@ +-#include <libnet.h> +-#include <nids.h> ++#include <libnet-1.0.h> ++#include <nids-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,2 +21,2 @@ +-#include <libnet.h> +-#include <nids.h> ++#include <libnet-1.0.h> ++#include <nids-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,2 +20,2 @@ +-#include <libnet.h> +-#include <nids.h> ++#include <libnet-1.0.h> ++#include <nids-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,2 +15,2 @@ +-#include <libnet.h> +-#include <nids.h> ++#include <libnet-1.0.h> ++#include <nids-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,2 +24,2 @@ +-#include <libnet.h> +-#include <nids.h> ++#include <libnet-1.0.h> ++#include <nids-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,2 +24,2 @@ +-#include <libnet.h> +-#include <nids.h> ++#include <libnet-1.0.h> ++#include <nids-1.0.h> diff --git a/net-analyzer/dsniff/files/digest-dsniff-2.3-r1 b/net-analyzer/dsniff/files/digest-dsniff-2.3-r1 new file mode 100644 index 000000000000..e1135460a43f --- /dev/null +++ b/net-analyzer/dsniff/files/digest-dsniff-2.3-r1 @@ -0,0 +1,2 @@ +MD5 4df5c7051b11411e0a970f6c91613942 db-3.2.9.tar.gz 2085238 +MD5 183e336a45e38013f3af840bddec44b4 dsniff-2.3.tar.gz 126797 |