diff options
author | Thomas Penteker <tek@serverop.de> | 2008-07-13 01:14:23 +0200 |
---|---|---|
committer | Thomas Penteker <tek@serverop.de> | 2008-07-13 01:14:23 +0200 |
commit | 59bcb2a629b11f01638984c96543cfdd60922800 (patch) | |
tree | 95f262413c5a1812c55588602c58b19b32edabb9 /dsniff/Pkgfile | |
parent | 449790e0bcbdc7c15e2f78cbcfa1977575462960 (diff) | |
download | contrib-59bcb2a629b11f01638984c96543cfdd60922800.tar.gz contrib-59bcb2a629b11f01638984c96543cfdd60922800.tar.xz |
dsniff: 2.4b1 inital import
Diffstat (limited to 'dsniff/Pkgfile')
-rw-r--r-- | dsniff/Pkgfile | 33 |
1 files changed, 33 insertions, 0 deletions
diff --git a/dsniff/Pkgfile b/dsniff/Pkgfile new file mode 100644 index 000000000..6b5c1c7c2 --- /dev/null +++ b/dsniff/Pkgfile @@ -0,0 +1,33 @@ +# Description: tools for network auditing and penetration testing +# URL: http://monkey.org/~dugsong/dsniff +# Maintainer: Thomas Penteker, tek at serverop dot de +# Depends on: libpcap libnids libnet glib + +name=dsniff +version=2.4b1 +release=1 +source=(http://monkey.org/~dugsong/dsniff/beta/$name-$version.tar.gz + 2.3-makefile.patch dsniff-2.4_beta1-debian-r1.patch + dsniff-httppostfix.patch) + +build() { + cd $name-2.4 + patch -i ../2.3-makefile.patch + 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 CFLAGS="`pkg-config --cflags gthread-2.0`" + ./configure --prefix=/usr + 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 \ + 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 + install -d -m 755 $PKG/usr/share/dsniff + for shares in dnsspoof.hosts dsniff.magic dsniff.services; do \ + install -m 644 $shares $PKG/usr/share/dsniff; done + +} |