wok-current view p0f/receipt @ rev 15589

Add some license
author Pascal Bellard <pascal.bellard@slitaz.org>
date Mon Dec 02 17:47:06 2013 +0000 (2013-12-02)
parents d5189db061ed
children f444a6b0c9e0
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 LICENSE="LGPL"
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 BUILD_DEPENDS="libpcap-dev"
15 # Rules to configure and make the package.
16 compile_rules()
17 {
18 cd $src
19 make && cd tools && make
20 }
22 # Rules to gen a SliTaz package suitable for Tazpkg.
23 genpkg_rules()
24 {
25 mkdir -p $fs/usr/sbin $fs/etc/p0f
26 install -m744 $src/p0f $src/tools/p0f-client $src/tools/p0f-sendsyn \
27 $src/tools/p0f-sendsyn6 $fs/usr/sbin
28 install -m644 $src/p0f.fp $fs/etc/p0f
29 }