void-packages/srcpkgs/p0f/template

30 lines
705 B
Bash
Raw Normal View History

2016-02-10 10:05:39 +01:00
# Template file for 'p0f'
pkgname=p0f
2016-04-19 06:48:58 +02:00
version=3.09b
revision=1
2016-02-10 10:05:39 +01:00
makedepends="libpcap-devel"
short_desc="A passive OS fingerprinting tool"
maintainer="Michael Gehring <mg@ebfe.org>"
license="LGPL-2.1"
homepage="http://lcamtuf.coredump.cx/p0f3"
distfiles="http://lcamtuf.coredump.cx/p0f3/releases/${pkgname}-${version}.tgz"
2016-04-19 06:48:58 +02:00
checksum=543b68638e739be5c3e818c3958c3b124ac0ccb8be62ba274b4241dbdec00e7f
2016-02-10 10:05:39 +01:00
do_configure() {
sed -i "s!\"p0f.fp!\"/usr/share/${pkgname}/p0f.fp!" config.h
}
do_build() {
make
2016-02-10 10:16:29 +01:00
make CC="${CC}" CFLAGS="${CFLAGS}" -C tools
2016-02-10 10:05:39 +01:00
}
do_install() {
vbin p0f
vbin tools/p0f-client
vbin tools/p0f-sendsyn
vbin tools/p0f-sendsyn6
vinstall p0f.fp 644 /usr/share/${pkgname}
vdoc docs/README
}