wok-4.x view p0f/receipt @ rev 12261

ocsreports: improve post_install
author Eric Joseph-Alexandre <erjo@slitaz.org>
date Sun Apr 15 13:59:51 2012 +0200 (2012-04-15)
parents 1e92219b174c
children
line source
1 # SliTaz package receipt.
3 PACKAGE="p0f"
4 VERSION="3.01b"
5 CATEGORY="network"
6 SHORT_DESC="passive OS fingerprinting tool"
7 MAINTAINER="slaxemulator@gmail.com"
8 BUILD_DEPENDS="libpcap-dev"
9 TARBALL="$PACKAGE-$VERSION.tgz"
10 WEB_SITE="http://lcamtuf.coredump.cx/p0f.shtml"
11 WGET_URL="http://lcamtuf.coredump.cx/p0f${VERSION%.*}/releases/$TARBALL"
13 # Rules to configure and make the package.
14 compile_rules()
15 {
16 cd $src
17 make && cd tools && make
18 }
20 # Rules to gen a SliTaz package suitable for Tazpkg.
21 genpkg_rules()
22 {
23 mkdir -p $fs/usr/sbin $fs/etc/p0f
24 install -m744 $src/p0f $src/tools/p0f-client $src/tools/p0f-sendsyn \
25 $src/tools/p0f-sendsyn6 $fs/usr/sbin
26 install -m644 $src/p0f.fp $fs/etc/p0f
27 }