From 7f8b256a2dac44fc0ec66058702a87e9f33fc487 Mon Sep 17 00:00:00 2001 From: Thomas Penteker Date: Fri, 4 Jun 2010 22:52:47 +0200 Subject: dsniff: make it compile again --- dsniff/Pkgfile | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) (limited to 'dsniff/Pkgfile') 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 -- cgit v1.2.3