wok annotate p0f/receipt @ rev 24336
Add some current_version
author | Pascal Bellard <pascal.bellard@slitaz.org> |
---|---|
date | Fri Jan 28 18:19:21 2022 +0000 (2022-01-28) |
parents | f444a6b0c9e0 |
children | 2f230197370e |
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" |
pascal@23351 | 9 WEB_SITE="https://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 } |