wok-next annotate p0f/receipt @ rev 21020
Cleaning is almost finished... I should proceed to upgrades.
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Fri Nov 02 14:15:08 2018 +0200 (2018-11-02) |
parents | b278b2018965 |
children |
rev | line source |
---|---|
al@20481 | 1 # SliTaz package receipt v2. |
slaxemulator@10259 | 2 |
slaxemulator@10259 | 3 PACKAGE="p0f" |
pascal@11601 | 4 VERSION="3.01b" |
slaxemulator@10259 | 5 CATEGORY="network" |
al@20481 | 6 SHORT_DESC="Passive OS fingerprinting tool" |
al@21020 | 7 MAINTAINER="devel@slitaz.org" |
pascal@15375 | 8 LICENSE="LGPL" |
al@21020 | 9 WEB_SITE="http://lcamtuf.coredump.cx/p0f3/" |
al@20481 | 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 |
al@20481 | 16 compile_rules() { |
al@20481 | 17 make && |
al@20481 | 18 cd tools && make || return 1 |
al@20481 | 19 |
al@20481 | 20 mkdir -p \ |
al@20481 | 21 $install/usr/sbin/ \ |
al@20481 | 22 $install/etc/p0f/ |
al@20481 | 23 install -m744 \ |
al@20481 | 24 $src/p0f \ |
al@20481 | 25 $src/tools/p0f-client \ |
al@20481 | 26 $src/tools/p0f-sendsyn \ |
al@20481 | 27 $src/tools/p0f-sendsyn6 \ |
al@20481 | 28 $install/usr/sbin/ |
al@20481 | 29 install -m644 $src/p0f.fp $install/etc/p0f/ |
slaxemulator@10259 | 30 } |
slaxemulator@10259 | 31 |
al@20481 | 32 genpkg_rules() { |
al@20481 | 33 copy @std |
slaxemulator@10259 | 34 } |