mirror of
https://github.com/void-linux/void-packages.git
synced 2025-06-08 08:03:51 +02:00
commit
0fd7b29163
1 changed files with 29 additions and 0 deletions
29
srcpkgs/p0f/template
Normal file
29
srcpkgs/p0f/template
Normal file
|
@ -0,0 +1,29 @@
|
||||||
|
# Template file for 'p0f'
|
||||||
|
pkgname=p0f
|
||||||
|
version=3.08b
|
||||||
|
revision=2
|
||||||
|
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"
|
||||||
|
checksum=da89a7fe4ba5db3704207f4bde231643bedd4fe8653ab8111c65766c8c768aec
|
||||||
|
|
||||||
|
do_configure() {
|
||||||
|
sed -i "s!\"p0f.fp!\"/usr/share/${pkgname}/p0f.fp!" config.h
|
||||||
|
}
|
||||||
|
|
||||||
|
do_build() {
|
||||||
|
make
|
||||||
|
make CC="${CC}" CFLAGS="${CFLAGS}" -C tools
|
||||||
|
}
|
||||||
|
|
||||||
|
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
|
||||||
|
}
|
Loading…
Add table
Reference in a new issue