wok-6.x annotate p0f/receipt @ rev 22349
python-llfuse: s|attr/xattr|sys/xattr|
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Mon Nov 18 10:45:32 2019 +0100 (2019-11-18) |
parents | 51a1ebbda768 |
children | c265f9cf4b14 |
rev | line source |
---|---|
slaxemulator@10259 | 1 # SliTaz package receipt. |
slaxemulator@10259 | 2 |
slaxemulator@10259 | 3 PACKAGE="p0f" |
Hans-G?nter@21654 | 4 VERSION="3.09b" |
slaxemulator@10259 | 5 CATEGORY="network" |
Hans-G?nter@21654 | 6 SHORT_DESC="Passive OS fingerprinting tool." |
slaxemulator@10259 | 7 MAINTAINER="slaxemulator@gmail.com" |
pascal@15375 | 8 LICENSE="LGPL" |
Hans-G?nter@21654 | 9 WEB_SITE="http://lcamtuf.coredump.cx/p0f.shtml" |
Hans-G?nter@21654 | 10 |
slaxemulator@10259 | 11 TARBALL="$PACKAGE-$VERSION.tgz" |
pascal@11601 | 12 WGET_URL="http://lcamtuf.coredump.cx/p0f${VERSION%.*}/releases/$TARBALL" |
slaxemulator@10259 | 13 |
pascal@15375 | 14 BUILD_DEPENDS="libpcap-dev" |
pascal@15375 | 15 |
slaxemulator@10259 | 16 # Rules to configure and make the package. |
slaxemulator@10259 | 17 compile_rules() |
slaxemulator@10259 | 18 { |
Hans-G?nter@21654 | 19 make && |
Hans-G?nter@21654 | 20 cd tools && |
Hans-G?nter@21654 | 21 make |
slaxemulator@10259 | 22 } |
slaxemulator@10259 | 23 |
slaxemulator@10259 | 24 # Rules to gen a SliTaz package suitable for Tazpkg. |
slaxemulator@10259 | 25 genpkg_rules() |
slaxemulator@10259 | 26 { |
Hans-G?nter@21654 | 27 mkdir -p $fs/usr/sbin |
Hans-G?nter@21654 | 28 mkdir -p $fs/etc/p0f |
Hans-G?nter@21654 | 29 |
Hans-G?nter@21654 | 30 install -m744 \ |
Hans-G?nter@21654 | 31 $src/p0f \ |
Hans-G?nter@21654 | 32 $src/tools/p0f-client \ |
Hans-G?nter@21654 | 33 $src/tools/p0f-sendsyn \ |
Hans-G?nter@21654 | 34 $src/tools/p0f-sendsyn6 \ |
Hans-G?nter@21654 | 35 $fs/usr/sbin |
pascal@11601 | 36 install -m644 $src/p0f.fp $fs/etc/p0f |
slaxemulator@10259 | 37 } |