summaryrefslogtreecommitdiff
path: root/community/dsniff
diff options
context:
space:
mode:
authorroot <root@rshg047.dnsready.net>2011-07-07 04:59:01 +0000
committerroot <root@rshg047.dnsready.net>2011-07-07 04:59:01 +0000
commit75b1bc45a0e39074e42b6a26a9f72ac2e049bdc1 (patch)
tree9bd2c1fbe4c9a0fd5ede1a5667137113d48d2c69 /community/dsniff
parenta135f8563fea25509d9a92db7c03ac3d08230a3f (diff)
Thu Jul 7 04:59:01 UTC 2011
Diffstat (limited to 'community/dsniff')
-rw-r--r--community/dsniff/PKGBUILD24
1 files changed, 12 insertions, 12 deletions
diff --git a/community/dsniff/PKGBUILD b/community/dsniff/PKGBUILD
index a5a66f858..f7428aa09 100644
--- a/community/dsniff/PKGBUILD
+++ b/community/dsniff/PKGBUILD
@@ -1,36 +1,36 @@
-# $Id: PKGBUILD 44707 2011-04-11 12:21:58Z spupykin $
+# $Id: PKGBUILD 49679 2011-06-19 07:23:27Z andrea $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: ViNS <gladiator@fastwebnet.it>
pkgname=dsniff
pkgver=2.4b1
-pkgrel=19
+pkgrel=20
pkgdesc="Collection of tools for network auditing and penetration testing"
url="http://www.monkey.org/~dugsong/dsniff/"
arch=('i686' 'x86_64')
license=('BSD')
-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)
+depends=('libpcap' 'openssl' 'libxmu' 'glib2' 'libnet' 'libnids')
+source=("http://www.monkey.org/~dugsong/${pkgname}/beta/$pkgname-$pkgver.tar.gz"
+ "http://ftp.de.debian.org/debian/pool/main/d/${pkgname}/${pkgname}_2.4b1+debian-18.diff.gz")
md5sums=('2f761fa3475682a7512b0b43568ee7d6'
'fbc9f62f9ab2f98f24f53ad497c1ce5d')
build() {
cd $srcdir/$pkgname-2.4
- patch -N < ../dsniff_2.4b1+debian-18.diff
+ patch -N < "${srcdir}"/dsniff_2.4b1+debian-18.diff
for i in *.dpatch; do
patch -N < "$i"
done
- [ $NOEXTRACT -eq 1 ] || LDFLAGS="-lresolv -lglib-2.0 -lgthread-2.0 $LDFLAGS" ./configure --prefix=/usr
+ LDFLAGS="-lresolv -lglib-2.0 -lgthread-2.0 $LDFLAGS" ./configure --prefix=/usr
make
}
package() {
- cd $srcdir/$pkgname-2.4
- make prefix=$pkgdir/usr install
- install -D -m0644 LICENSE $pkgdir/usr/share/licenses/dsniff/LICENSE
+ cd "$srcdir"/$pkgname-2.4
+ make prefix="$pkgdir"/usr install
+ install -D -m0644 LICENSE "$pkgdir"/usr/share/licenses/${pkgname}/LICENSE
- mkdir -p $pkgdir/usr/share
- mv $pkgdir/usr/man $pkgdir/usr/share/
+ install -d "$pkgdir"/usr/share
+ mv "$pkgdir"/usr/man "$pkgdir"/usr/share/
}