Search
j0ke.net Open Build Service
>
Projects
>
home:netmax
:
tools
>
dsniff
> dsniff-lib64.diff
Sign Up
|
Log In
Username
Password
Cancel
Overview
Repositories
Revisions
Requests
Users
Advanced
Attributes
Meta
File dsniff-lib64.diff of Package dsniff
--- configure.in.orig 2006-09-27 02:25:39.000000000 +0200 +++ configure.in 2006-09-27 02:26:46.000000000 +0200 @@ -110,12 +110,12 @@ DBINC="-I$withval/dist" DBLIB="-L$withval/dist -ldb" elif test -f $withval/include/db_185.h -a \ - -f $withval/lib/libdb.a; then + -f $withval/lib64/libdb.a; then owd=`pwd` if cd $withval; then withval=`pwd`; cd $owd; fi AC_DEFINE(HAVE_DB_185_H) DBINC="-I$withval/include" - DBLIB="-L$withval/lib -ldb" + DBLIB="-L$withval/lib64 -ldb" else AC_ERROR(db_185.h or libdb.a not found in $withval or not configured with --enable-compat185) fi @@ -126,13 +126,13 @@ if test -f ${dir}/include/db_185.h; then AC_DEFINE(HAVE_DB_185_H) DBINC="-I${dir}/include" - DBLIB="-L${dir}/lib -ldb" + DBLIB="-L${dir}/lib64 -ldb" have_db=yes break elif test -f ${dir}/include/db.h; then AC_DEFINE(HAVE_DB_H) DBINC="-I${dir}/include" - DBLIB="-L${dir}/lib -ldb" + DBLIB="-L${dir}/lib64 -ldb" have_db=yes break fi @@ -177,11 +177,11 @@ PCAPLIB="-L$withval -lpcap" elif test -f $withval/include/pcap.h -a \ -f $withval/include/net/bpf.h -a \ - -f $withval/lib/libpcap.a; then + -f $withval/lib64/libpcap.a; then owd=`pwd` if cd $withval; then withval=`pwd`; cd $owd; fi PCAPINC="-I$withval/include" - PCAPLIB="-L$withval/lib -lpcap" + PCAPLIB="-L$withval/lib64 -lpcap" else AC_ERROR(pcap.h, net/bpf.h, or libpcap.a not found in $withval) fi @@ -189,7 +189,7 @@ esac ], [ if test -f ${prefix}/include/pcap.h; then PCAPINC="-I${prefix}/include" - PCAPLIB="-L${prefix}/lib -lpcap" + PCAPLIB="-L${prefix}/lib64 -lpcap" elif test -f /usr/include/pcap/pcap.h; then PCAPINC="-I/usr/include/pcap" PCAPLIB="-lpcap" @@ -214,7 +214,7 @@ ;; *) AC_MSG_RESULT($withval) - if test -f $withval/include/libnet.h -a -f $withval/lib/libnet.a; then + if test -f $withval/include/libnet.h -a -f $withval/lib64/libnet.a; then owd=`pwd` if cd $withval; then withval=`pwd`; cd $owd; fi if test -f $withval/bin/libnet-config; then @@ -225,7 +225,7 @@ CFLAGS="$CFLAGS `libnet-config --defines`" fi LNETINC="-I$withval/include" - LNETLIB="-L$withval/lib -lnet" + LNETLIB="-L$withval/lib64 -lnet" else AC_ERROR(libnet.h or libnet.a not found in $withval) fi @@ -234,7 +234,7 @@ [ if test -f ${prefix}/include/libnet.h; then CFLAGS="$CFLAGS `${prefix}/bin/libnet-config --defines`" LNETINC="-I${prefix}/include" - LNETLIB="-L${prefix}/lib -lnet" + LNETLIB="-L${prefix}/lib64 -lnet" elif test -f /usr/include/libnet.h; then CFLAGS="$CFLAGS `libnet-config --defines`" LNETLIB="-lnet" @@ -262,11 +262,11 @@ 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 + elif test -f $withval/include/nids.h -a -f $withval/lib64/libnids.a; then owd=`pwd` if cd $withval; then withval=`pwd`; cd $owd; fi NIDSINC="-I$withval/include" - NIDSLIB="-L$withval/lib -lnids" + NIDSLIB="-L$withval/lib64 -lnids" else AC_ERROR(nids.h or libnids.a not found in $withval) fi @@ -274,7 +274,7 @@ esac ], [ if test -f ${prefix}/include/nids.h; then NIDSINC="-I${prefix}/include" - NIDSLIB="-L${prefix}/lib -lnids" + NIDSLIB="-L${prefix}/lib64 -lnids" elif test -f /usr/include/nids.h; then NIDSLIB="-lnids" else @@ -308,11 +308,11 @@ SSLINC="-I$withval/include" SSLLIB="-L$withval -lssl -lcrypto" elif test -f $withval/include/openssl/ssl.h -a \ - -f $withval/lib/libssl.a; then + -f $withval/lib64/libssl.a; then owd=`pwd` if cd $withval; then withval=`pwd`; cd $owd; fi SSLINC="-I$withval/include" - SSLLIB="-L$withval/lib -lssl -lcrypto" + SSLLIB="-L$withval/lib64 -lssl -lcrypto" else AC_ERROR(ssl.h or libssl.a not found in $withval) fi @@ -321,10 +321,10 @@ esac ], [ if test -f ${prefix}/include/openssl/ssl.h; then SSLINC="-I${prefix}/include" - SSLLIB="-L${prefix}/lib -lssl -lcrypto" + SSLLIB="-L${prefix}/lib64 -lssl -lcrypto" elif test -f ${prefix}/ssl/include/openssl/ssl.h; then SSLINC="-I${prefix}/ssl/include" - SSLLIB="-L${prefix}/ssl/lib -lssl -lcrypto" + SSLLIB="-L${prefix}/ssl/lib64 -lssl -lcrypto" elif test -f /usr/include/openssl/ssl.h; then SSLLIB="-lssl -lcrypto" else