wok-6.x view p0f/receipt @ rev 24559

updated fop (2.4 -> 2.7)
author Hans-G?nter Theisgen
date Fri Feb 25 15:52:00 2022 +0100 (2022-02-25)
parents c265f9cf4b14
children e1e1678c5265
line source
1 # SliTaz package receipt.
3 PACKAGE="p0f"
4 VERSION="3.09b"
5 CATEGORY="network"
6 SHORT_DESC="Passive OS fingerprinting tool."
7 MAINTAINER="slaxemulator@gmail.com"
8 LICENSE="LGPL"
9 WEB_SITE="https://lcamtuf.coredump.cx/p0f.shtml"
11 TARBALL="$PACKAGE-$VERSION.tgz"
12 WGET_URL="http://lcamtuf.coredump.cx/p0f${VERSION%.*}/releases/$TARBALL"
14 BUILD_DEPENDS="libpcap-dev"
16 # What is the latest version available today?
17 current_version()
18 {
19 wget -O - $WEB_SITE/ 2>/dev/null | \
20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q
21 }
23 # Rules to configure and make the package.
24 compile_rules()
25 {
26 make &&
27 cd tools &&
28 make
29 }
31 # Rules to gen a SliTaz package suitable for Tazpkg.
32 genpkg_rules()
33 {
34 mkdir -p $fs/usr/sbin
35 mkdir -p $fs/etc/p0f
37 install -m744 \
38 $src/p0f \
39 $src/tools/p0f-client \
40 $src/tools/p0f-sendsyn \
41 $src/tools/p0f-sendsyn6 \
42 $fs/usr/sbin
43 install -m644 $src/p0f.fp $fs/etc/p0f
44 }