1 # Maintainer: Tino Reichardt <milky dash archlinux at mcmilk dot de>
2 # Contributor: CRT <crt dot 011 AT gmail.com>
7 pkgdesc="passive OS fingerprinting tool"
10 makedepends=('libpcap')
11 url="http://lcamtuf.coredump.cx/p0f.shtml"
12 source=(http://lcamtuf.coredump.cx/p0f/$pkgname-$pkgver.tgz)
13 md5sums=('1ccbcd8d4c95ef6dae841120d23c56a5')
16 cd ${srcdir}/${pkgname}
21 cd ${srcdir}/${pkgname}
22 install -d -Dm755 ${pkgdir}/usr/sbin
23 install -d -Dm755 ${pkgdir}/etc/p0f
24 install -d -Dm755 ${pkgdir}/usr/man/man1
25 install -d -Dm755 ${pkgdir}/usr/share/licenses/${pkgname}
27 install -D -m644 doc/COPYING ${pkgdir}/usr/share/licenses/${pkgname}/p0f
28 install -m744 ${srcdir}/${pkgname}/p0f p0frep ${pkgdir}/usr/sbin
29 install -m644 p0f.fp p0fa.fp p0fr.fp p0fo.fp ${pkgdir}/etc/p0f
30 install -m644 p0f.1 ${pkgdir}/usr/man/man1