wok-current annotate p0f/receipt @ rev 17437

slitaz-boot-scripts: install required slitaz-arm-configs in ARM case
author Richard Dunbar <mojo@slitaz.org>
date Sun Dec 07 19:35:57 2014 -0500 (2014-12-07)
parents d5189db061ed
children f444a6b0c9e0
rev   line source
slaxemulator@10259 1 # SliTaz package receipt.
slaxemulator@10259 2
slaxemulator@10259 3 PACKAGE="p0f"
pascal@11601 4 VERSION="3.01b"
slaxemulator@10259 5 CATEGORY="network"
slaxemulator@10259 6 SHORT_DESC="passive OS fingerprinting tool"
slaxemulator@10259 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15375 8 LICENSE="LGPL"
slaxemulator@10259 9 TARBALL="$PACKAGE-$VERSION.tgz"
slaxemulator@10259 10 WEB_SITE="http://lcamtuf.coredump.cx/p0f.shtml"
pascal@11601 11 WGET_URL="http://lcamtuf.coredump.cx/p0f${VERSION%.*}/releases/$TARBALL"
slaxemulator@10259 12
pascal@15375 13 BUILD_DEPENDS="libpcap-dev"
pascal@15375 14
slaxemulator@10259 15 # Rules to configure and make the package.
slaxemulator@10259 16 compile_rules()
slaxemulator@10259 17 {
slaxemulator@10259 18 cd $src
pascal@11601 19 make && cd tools && make
slaxemulator@10259 20 }
slaxemulator@10259 21
slaxemulator@10259 22 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10259 23 genpkg_rules()
slaxemulator@10259 24 {
slaxemulator@10259 25 mkdir -p $fs/usr/sbin $fs/etc/p0f
pascal@11601 26 install -m744 $src/p0f $src/tools/p0f-client $src/tools/p0f-sendsyn \
pascal@11601 27 $src/tools/p0f-sendsyn6 $fs/usr/sbin
pascal@11601 28 install -m644 $src/p0f.fp $fs/etc/p0f
slaxemulator@10259 29 }
slaxemulator@10259 30