summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorThomas Penteker <tek@serverop.de>2010-06-04 22:52:47 +0200
committerThomas Penteker <tek@serverop.de>2010-06-04 22:52:47 +0200
commit7f8b256a2dac44fc0ec66058702a87e9f33fc487 (patch)
tree78cf189ab73249b73548909a4976bc520295d47c
parentd3dc214d8fdec6037615edd12f8942e2200d904c (diff)
downloadcontrib-7f8b256a2dac44fc0ec66058702a87e9f33fc487.tar.gz
contrib-7f8b256a2dac44fc0ec66058702a87e9f33fc487.tar.xz
dsniff: make it compile again
-rw-r--r--dsniff/.footprint1
-rw-r--r--dsniff/.md5sum2
-rw-r--r--dsniff/2.3-makefile.patch13
-rw-r--r--dsniff/Pkgfile5
4 files changed, 15 insertions, 6 deletions
diff --git a/dsniff/.footprint b/dsniff/.footprint
index 484d30c8e..f134f6ca7 100644
--- a/dsniff/.footprint
+++ b/dsniff/.footprint
@@ -29,7 +29,6 @@ drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/tcpnice
-rwxr-xr-x root/root usr/sbin/urlsnarf
-rwxr-xr-x root/root usr/sbin/webmitm
--rwxr-xr-x root/root usr/sbin/webspy
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/dsniff/
-rw-r--r-- root/root usr/share/dsniff/dnsspoof.hosts
diff --git a/dsniff/.md5sum b/dsniff/.md5sum
index 16ef8dda6..8e97bc6cf 100644
--- a/dsniff/.md5sum
+++ b/dsniff/.md5sum
@@ -1,4 +1,4 @@
-ea0283ebee4ce93d6266779c6c6c06df 2.3-makefile.patch
+d0cfab8c6cf3a9cc50a0bff39c9d7c7c 2.3-makefile.patch
bfa966bcd5fce678ec5f6579bf407b64 dsniff-2.4_beta1-debian-r1.patch
2f761fa3475682a7512b0b43568ee7d6 dsniff-2.4b1.tar.gz
449ef7ee0534e261c2ce91d9b754b290 dsniff-httppostfix.patch
diff --git a/dsniff/2.3-makefile.patch b/dsniff/2.3-makefile.patch
index d554c1c59..0bca5ac96 100644
--- a/dsniff/2.3-makefile.patch
+++ b/dsniff/2.3-makefile.patch
@@ -1,5 +1,14 @@
---- Makefile.in.org 2008-07-13 00:13:06.418946225 +0200
-+++ Makefile.in 2008-07-13 00:12:49.680439688 +0200
+--- Makefile.in.orig 2010-06-04 22:50:40.824476353 +0200
++++ Makefile.in 2010-06-04 22:50:50.443351639 +0200
+@@ -69,7 +69,7 @@
+ LIBOBJS = dummy.o @LIBOBJS@
+
+ PROGS = arpspoof dnsspoof dsniff filesnarf macof mailsnarf msgsnarf \
+- sshmitm sshow tcpkill tcpnice @TCPHIJACK@ urlsnarf webmitm @WEBSPY@
++ sshmitm sshow tcpkill tcpnice @TCPHIJACK@ urlsnarf webmitm
+
+ CONFIGS = dsniff.magic dsniff.services dnsspoof.hosts
+
@@ -94,7 +94,7 @@
$(RANLIB) $@
diff --git a/dsniff/Pkgfile b/dsniff/Pkgfile
index cbf75aca6..00518f3b6 100644
--- a/dsniff/Pkgfile
+++ b/dsniff/Pkgfile
@@ -16,13 +16,14 @@ build() {
patch -i ../dsniff-2.4_beta1-debian-r1.patch
patch -i ../dsniff-httppostfix.patch
sed -i -e 's/CLK_TCK/CLOCKS_PER_SEC/g' sshow.c
- export LDFLAGS="`pkg-config --libs gthread-2.0`"
+ export LDFLAGS="`pkg-config --libs gthread-2.0` -lresolv"
export CFLAGS="`pkg-config --cflags gthread-2.0`"
./configure --prefix=/usr
+ #echo 'LDFLAGS += -lresolv' >> Makefile
make
install -d -m 755 $PKG/usr/sbin
for prog in arpspoof dnsspoof dsniff filesnarf macof mailsnarf msgsnarf \
- sshmitm sshow tcpkill tcpnice urlsnarf webmitm webspy; do \
+ sshmitm sshow tcpkill tcpnice urlsnarf webmitm; do \
install -m 755 $prog $PKG/usr/sbin/; done
install -d -m 755 $PKG/usr/man/man8
for man in *.8; do install -D -m 644 $man $PKG/usr/man/man8; done

Generated by cgit