wok-6.x annotate p0f/receipt @ rev 25461

foobillardplus: add LDFLAGS for -Wl,--copy-dt-needed-entries
author Pascal Bellard <pascal.bellard@slitaz.org>
date Wed Sep 28 09:44:06 2022 +0000 (2022-09-28)
parents 2f230197370e
children
rev   line source
slaxemulator@10259 1 # SliTaz package receipt.
slaxemulator@10259 2
slaxemulator@10259 3 PACKAGE="p0f"
Hans-G?nter@21654 4 VERSION="3.09b"
slaxemulator@10259 5 CATEGORY="network"
Hans-G?nter@21654 6 SHORT_DESC="Passive OS fingerprinting tool."
slaxemulator@10259 7 MAINTAINER="slaxemulator@gmail.com"
pascal@15375 8 LICENSE="LGPL"
pascal@23351 9 WEB_SITE="https://lcamtuf.coredump.cx/p0f.shtml"
Hans-G?nter@21654 10
slaxemulator@10259 11 TARBALL="$PACKAGE-$VERSION.tgz"
pascal@24974 12 WGET_URL="https://lcamtuf.coredump.cx/p0f${VERSION%.*}/releases/$TARBALL"
slaxemulator@10259 13
pascal@15375 14 BUILD_DEPENDS="libpcap-dev"
pascal@15375 15
pascal@24459 16 # What is the latest version available today?
pascal@24459 17 current_version()
pascal@24459 18 {
pascal@24459 19 wget -O - $WEB_SITE/ 2>/dev/null | \
pascal@24459 20 sed "/latest/d;/$PACKAGE-[0-9]/!d;/tgz/!d;s|.*$PACKAGE-\\(.*\\).tgz.*|\\1|" | sort -Vr | sed q
pascal@24459 21 }
pascal@24459 22
slaxemulator@10259 23 # Rules to configure and make the package.
slaxemulator@10259 24 compile_rules()
slaxemulator@10259 25 {
Hans-G?nter@21654 26 make &&
Hans-G?nter@21654 27 cd tools &&
Hans-G?nter@21654 28 make
slaxemulator@10259 29 }
slaxemulator@10259 30
slaxemulator@10259 31 # Rules to gen a SliTaz package suitable for Tazpkg.
slaxemulator@10259 32 genpkg_rules()
slaxemulator@10259 33 {
Hans-G?nter@21654 34 mkdir -p $fs/usr/sbin
Hans-G?nter@21654 35 mkdir -p $fs/etc/p0f
Hans-G?nter@21654 36
Hans-G?nter@21654 37 install -m744 \
Hans-G?nter@21654 38 $src/p0f \
Hans-G?nter@21654 39 $src/tools/p0f-client \
Hans-G?nter@21654 40 $src/tools/p0f-sendsyn \
Hans-G?nter@21654 41 $src/tools/p0f-sendsyn6 \
Hans-G?nter@21654 42 $fs/usr/sbin
pascal@11601 43 install -m644 $src/p0f.fp $fs/etc/p0f
slaxemulator@10259 44 }