blob: d705f88876c87e31cb172c6ed6c3ea805900251e (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
|
# $Id: PKGBUILD 61872 2012-01-09 18:49:25Z stephane $
# Maintainer: Sergej Pupykin <pupykin.s+arch@gmail.com>
# Contributor: ViNS <gladiator@fastwebnet.it>
pkgname=dsniff
pkgver=2.4b1
pkgrel=21
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' '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 < "${srcdir}"/dsniff_2.4b1+debian-18.diff
for i in *.dpatch; do
patch -N < "$i"
done
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/${pkgname}/LICENSE
install -d "$pkgdir"/usr/share
mv "$pkgdir"/usr/man "$pkgdir"/usr/share/
}
|