summaryrefslogtreecommitdiff
path: root/package/dsniff/patches/patch-configure
diff options
context:
space:
mode:
Diffstat (limited to 'package/dsniff/patches/patch-configure')
-rw-r--r--package/dsniff/patches/patch-configure137
1 files changed, 0 insertions, 137 deletions
diff --git a/package/dsniff/patches/patch-configure b/package/dsniff/patches/patch-configure
deleted file mode 100644
index fe11b83e1..000000000
--- a/package/dsniff/patches/patch-configure
+++ /dev/null
@@ -1,137 +0,0 @@
-$Id$
---- dsniff-2.4.orig/configure 2001-03-19 07:52:37.000000000 +0100
-+++ dsniff-2.4/configure 2011-03-11 21:41:08.000000000 +0100
-@@ -16,6 +16,8 @@ ac_help="$ac_help
- ac_help="$ac_help
- --with-db=DIR use Berkeley DB (with --enable-compat185) in DIR"
- ac_help="$ac_help
-+ --with-gdbm=DIR use GNU DBM in DIR"
-+ac_help="$ac_help
- --with-libpcap=DIR use libpcap in DIR"
- ac_help="$ac_help
- --with-libnet=DIR use libnet in DIR"
-@@ -3025,13 +3027,13 @@ if test "${with_libpcap+set}" = set; the
- ;;
- *)
- echo "$ac_t""$withval" 1>&6
-- if test -f $withval/pcap.h -a -f $withval/libpcap.a; then
-+ if test -f $withval/include/pcap.h -a -f $withval/lib/libpcap.so; then
- owd=`pwd`
- if cd $withval; then withval=`pwd`; cd $owd; fi
-- PCAPINC="-I$withval -I$withval/bpf"
-- PCAPLIB="-L$withval -lpcap"
-+ PCAPINC="-I$withval/include -I$withval/include/bpf"
-+ PCAPLIB="-L$withval/lib -lpcap"
- elif test -f $withval/include/pcap.h -a \
-- -f $withval/include/net/bpf.h -a \
-+ -f $withval/include/pcap-bpf.h -a \
- -f $withval/lib/libpcap.a; then
- owd=`pwd`
- if cd $withval; then withval=`pwd`; cd $owd; fi
-@@ -3059,7 +3061,40 @@ else
-
- fi
-
-+echo $ac_n "checking for libgdbm""... $ac_c" 1>&6
-+echo "configure:3059: checking for libgdbm" >&5
-+# Check whether --with-gdbm or --without-gdbm was given.
-+if test "${with_gdbm+set}" = set; then
-+ withval="$with_gdbm"
-+ case "$withval" in
-+ yes|no)
-+ echo "$ac_t""no" 1>&6
-+ ;;
-+ *)
-+ echo "$ac_t""$withval" 1>&6
-+ if test -f $withval/include/gdbm.h -a -f $withval/lib/libgdbm.so; then
-+ owd=`pwd`
-+ if cd $withval; then withval=`pwd`; cd $owd; fi
-+ DBINC="-I$withval/include"
-+ DBLIB="-L$withval/lib -lgdbm"
-+ else
-+ { echo "configure: error: gdbm.h or libgdbm.so not found in $withval" 1>&2; exit 1; }
-+ fi
-+ ;;
-+ esac
-+else
-+ if test -f ${prefix}/include/gdbm.h; then
-+ LNETINC="-I${prefix}/include"
-+ LNETLIB="-L${prefix}/lib -lgdbm"
-+ elif test -f /usr/include/gdbm.h; then
-+ LNETLIB="-lgdbm"
-+ else
-+ echo "$ac_t""no" 1>&6
-+ { echo "configure: error: libgdbm not found" 1>&2; exit 1; }
-+ fi
-+ echo "$ac_t""yes" 1>&6
-
-+fi
-
-
- echo $ac_n "checking for libnet""... $ac_c" 1>&6
-@@ -3073,7 +3108,7 @@ if test "${with_libnet+set}" = set; then
- ;;
- *)
- echo "$ac_t""$withval" 1>&6
-- if test -f $withval/include/libnet.h -a -f $withval/lib/libnet.a; then
-+ if test -f $withval/include/libnet.h -a -f $withval/lib/libnet.so; then
- owd=`pwd`
- if cd $withval; then withval=`pwd`; cd $owd; fi
- if test -f $withval/bin/libnet-config; then
-@@ -3086,7 +3121,7 @@ if test "${with_libnet+set}" = set; then
- LNETINC="-I$withval/include"
- LNETLIB="-L$withval/lib -lnet"
- else
-- { echo "configure: error: libnet.h or libnet.a not found in $withval" 1>&2; exit 1; }
-+ { echo "configure: error: libnet.h or libnet.so not found in $withval" 1>&2; exit 1; }
- fi
- ;;
- esac
-@@ -3120,18 +3155,18 @@ if test "${with_libnids+set}" = set; the
- ;;
- *)
- echo "$ac_t""$withval" 1>&6
-- if test -f $withval/src/nids.h -a -f $withval/src/libnids.a; then
-+ if test -f $withval/include/nids.h -a -f $withval/lib/libnids.so; then
- owd=`pwd`
- if cd $withval; then withval=`pwd`; cd $owd; fi
-- NIDSINC="-I$withval/src"
-- NIDSLIB="-L$withval/src -lnids"
-- elif test -f $withval/include/nids.h -a -f $withval/lib/libnids.a; then
-+ NIDSINC="-I$withval/include"
-+ NIDSLIB="-L$withval/lib -lnids"
-+ elif test -f $withval/include/nids.h -a -f $withval/lib/libnids.so; then
- owd=`pwd`
- if cd $withval; then withval=`pwd`; cd $owd; fi
- NIDSINC="-I$withval/include"
- NIDSLIB="-L$withval/lib -lnids"
- else
-- { echo "configure: error: nids.h or libnids.a not found in $withval" 1>&2; exit 1; }
-+ { echo "configure: error: nids.h or libnids.so not found in $withval" 1>&2; exit 1; }
- fi
- ;;
- esac
-@@ -3183,19 +3218,19 @@ if test "${with_openssl+set}" = set; the
- ;;
- *)
- echo "$ac_t""$withval" 1>&6
-- if test -f $withval/include/openssl/ssl.h -a -f $withval/libssl.a; then
-+ if test -f $withval/include/openssl/ssl.h -a -f $withval/lib/libssl.so; then
- owd=`pwd`
- if cd $withval; then withval=`pwd`; cd $owd; fi
- SSLINC="-I$withval/include"
-- SSLLIB="-L$withval -lssl -lcrypto"
-+ SSLLIB="-L$withval/lib -lssl -lcrypto"
- elif test -f $withval/include/openssl/ssl.h -a \
-- -f $withval/lib/libssl.a; then
-+ -f $withval/lib/libssl.so; then
- owd=`pwd`
- if cd $withval; then withval=`pwd`; cd $owd; fi
- SSLINC="-I$withval/include"
- SSLLIB="-L$withval/lib -lssl -lcrypto"
- else
-- { echo "configure: error: ssl.h or libssl.a not found in $withval" 1>&2; exit 1; }
-+ { echo "configure: error: ssl.h or libssl.so not found in $withval" 1>&2; exit 1; }
- fi
- WEBMITM="webmitm"
- ;;