wok-next diff p0f/receipt @ rev 20738
Up scons (3.0.1); add scons2 (2.5.1)
author | Aleksej Bobylev <al.bobylev@gmail.com> |
---|---|
date | Tue May 29 21:13:51 2018 +0300 (2018-05-29) |
parents | 51a1ebbda768 |
children | d5aab818505e |
line diff
1.1 --- a/p0f/receipt Fri Oct 18 19:43:55 2013 +0000 1.2 +++ b/p0f/receipt Tue May 29 21:13:51 2018 +0300 1.3 @@ -1,30 +1,34 @@ 1.4 -# SliTaz package receipt. 1.5 +# SliTaz package receipt v2. 1.6 1.7 PACKAGE="p0f" 1.8 VERSION="3.01b" 1.9 CATEGORY="network" 1.10 -SHORT_DESC="passive OS fingerprinting tool" 1.11 +SHORT_DESC="Passive OS fingerprinting tool" 1.12 MAINTAINER="slaxemulator@gmail.com" 1.13 LICENSE="LGPL" 1.14 +WEB_SITE="http://lcamtuf.coredump.cx/p0f.shtml" 1.15 + 1.16 TARBALL="$PACKAGE-$VERSION.tgz" 1.17 -WEB_SITE="http://lcamtuf.coredump.cx/p0f.shtml" 1.18 WGET_URL="http://lcamtuf.coredump.cx/p0f${VERSION%.*}/releases/$TARBALL" 1.19 1.20 BUILD_DEPENDS="libpcap-dev" 1.21 1.22 -# Rules to configure and make the package. 1.23 -compile_rules() 1.24 -{ 1.25 - cd $src 1.26 - make && cd tools && make 1.27 +compile_rules() { 1.28 + make && 1.29 + cd tools && make || return 1 1.30 + 1.31 + mkdir -p \ 1.32 + $install/usr/sbin/ \ 1.33 + $install/etc/p0f/ 1.34 + install -m744 \ 1.35 + $src/p0f \ 1.36 + $src/tools/p0f-client \ 1.37 + $src/tools/p0f-sendsyn \ 1.38 + $src/tools/p0f-sendsyn6 \ 1.39 + $install/usr/sbin/ 1.40 + install -m644 $src/p0f.fp $install/etc/p0f/ 1.41 } 1.42 1.43 -# Rules to gen a SliTaz package suitable for Tazpkg. 1.44 -genpkg_rules() 1.45 -{ 1.46 - mkdir -p $fs/usr/sbin $fs/etc/p0f 1.47 - install -m744 $src/p0f $src/tools/p0f-client $src/tools/p0f-sendsyn \ 1.48 - $src/tools/p0f-sendsyn6 $fs/usr/sbin 1.49 - install -m644 $src/p0f.fp $fs/etc/p0f 1.50 +genpkg_rules() { 1.51 + copy @std 1.52 } 1.53 -