2009-08-28 20:27:58 +02:00
|
|
|
# Description: Passive OS fingerprinting tool
|
2020-06-01 15:45:48 +00:00
|
|
|
# URL: https://lcamtuf.coredump.cx/p0f.shtml
|
2009-08-26 23:05:53 +02:00
|
|
|
# Maintainer: Thomas Penteker, tek at serverop dot de
|
2009-08-28 20:27:58 +02:00
|
|
|
# Packager: Mattias Hedenskog mattias at hedenskog dot se
|
|
|
|
# Depends on: libpcap
|
2009-08-26 23:05:53 +02:00
|
|
|
|
|
|
|
name=p0f
|
2017-05-08 01:22:03 +02:00
|
|
|
version=3.09b
|
2009-08-26 23:05:53 +02:00
|
|
|
release=1
|
2012-06-21 00:24:55 +02:00
|
|
|
source=(http://lcamtuf.coredump.cx/p0f3/releases/p0f-$version.tgz)
|
2009-08-28 20:27:58 +02:00
|
|
|
|
2009-08-26 23:05:53 +02:00
|
|
|
build() {
|
2012-06-21 00:24:55 +02:00
|
|
|
cd $name-$version
|
|
|
|
sed -i 's|p0f.fp|/etc/p0f.fp|1' config.h
|
2009-08-28 20:27:58 +02:00
|
|
|
make
|
2012-06-21 00:24:55 +02:00
|
|
|
install -d $PKG/usr/sbin $PKG/etc
|
|
|
|
install -m 755 p0f $PKG/usr/sbin
|
|
|
|
install -m 644 p0f.fp $PKG/etc
|
|
|
|
cd tools
|
|
|
|
make
|
|
|
|
for i in *.c;do install $(basename "$i" .c) $PKG/usr/sbin;done
|
2009-08-26 23:05:53 +02:00
|
|
|
}
|