diff options
author | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
---|---|---|
committer | Parabola <dev@list.parabolagnulinux.org> | 2011-04-05 14:26:38 +0000 |
commit | 415856bdd4f48ab4f2732996f0bae58595092bbe (patch) | |
tree | ede2018b591f6dfb477fe9341ba17b9bc000fab9 /community/dsniff |
Tue Apr 5 14:26:38 UTC 2011
Diffstat (limited to 'community/dsniff')
-rw-r--r-- | community/dsniff/PKGBUILD | 35 |
1 files changed, 35 insertions, 0 deletions
diff --git a/community/dsniff/PKGBUILD b/community/dsniff/PKGBUILD new file mode 100644 index 000000000..648521f0c --- /dev/null +++ b/community/dsniff/PKGBUILD @@ -0,0 +1,35 @@ +# $Id: PKGBUILD 30651 2010-10-19 13:53:33Z spupykin $ +# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com> +# Contributor: ViNS <gladiator@fastwebnet.it> + +pkgname=dsniff +pkgver=2.4b1 +pkgrel=18 +pkgdesc="Collection of tools for network auditing and penetration testing" +url="http://www.monkey.org/~dugsong/dsniff/" +arch=('i686' 'x86_64') +license=('GPL') +depends=('libpcap' 'openssl' 'db' 'libxmu' 'glib2' 'libnet' 'libnids') +source=(http://www.monkey.org/~dugsong/dsniff/beta/$pkgname-$pkgver.tar.gz \ + http://ftp.de.debian.org/debian/pool/main/d/dsniff/dsniff_2.4b1+debian-18.diff.gz) +md5sums=('2f761fa3475682a7512b0b43568ee7d6' + 'fbc9f62f9ab2f98f24f53ad497c1ce5d') + +build() { + cd $srcdir/$pkgname-2.4 + patch -N < ../dsniff_2.4b1+debian-18.diff || return 1 + for i in *.dpatch; do + patch -N < "$i" + done + + [ $NOEXTRACT -eq 1 ] || LDFLAGS="-lresolv -lglib-2.0 -lgthread-2.0 $LDFLAGS" ./configure --prefix=/usr + make || return 1 +} + +package() { + cd $srcdir/$pkgname-2.4 + make prefix=$pkgdir/usr install || return 1 + + mkdir -p $pkgdir/usr/share + mv $pkgdir/usr/man $pkgdir/usr/share/ +} |