wok view p0f/receipt @ rev 25430

Up os-prober (1.81)
author Pascal Bellard <pascal.bellard@slitaz.org>
date Fri Aug 19 06:26:39 2022 +0000 (2022-08-19)
parents 2f230197370e
children
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="https://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 }