wok-current annotate dnstop/receipt @ rev 25697
Up apache (CVE-2023-38709, CVE-2024-24795, CVE-2024-27316), up libarchive, qemu, add amdgpu/touchpad support and clean modules.list, up website for repology
author | Stanislas Leduc <shann@slitaz.org> |
---|---|
date | Tue Apr 16 17:00:21 2024 +0000 (7 months ago) |
parents | 665216a7e2f4 |
children |
rev | line source |
---|---|
pascal@15721 | 1 # SliTaz package receipt. |
pascal@15721 | 2 |
pascal@15721 | 3 PACKAGE="dnstop" |
Hans-G?nter@24492 | 4 VERSION="20210329" |
pascal@15721 | 5 CATEGORY="network" |
pascal@15721 | 6 SHORT_DESC="Displays various tables of DNS traffic on your network." |
pascal@15721 | 7 MAINTAINER="paul@slitaz.org" |
pascal@15721 | 8 LICENSE="BSD" |
pascal@15721 | 9 WEB_SITE="http://dns.measurement-factory.com/tools/dnstop" |
Hans-G?nter@24492 | 10 |
Hans-G?nter@24492 | 11 TARBALL="$PACKAGE-$VERSION.zip" |
Hans-G?nter@24492 | 12 WGET_URL="https://github.com/measurement-factory/$PACKAGE/archive/refs/heads/master.zip" |
Hans-G?nter@24492 | 13 |
Hans-G?nter@24492 | 14 DEPENDS="libpcap ncurses" |
Hans-G?nter@24492 | 15 BUILD_DEPENDS="libpcap-dev ncurses-dev" |
pascal@15721 | 16 |
pascal@24425 | 17 # What is the latest version available today? |
pascal@24425 | 18 current_version() |
pascal@24425 | 19 { |
pascal@24506 | 20 wget -O - https://github.com/measurement-factory/$PACKAGE/commits/master 2>/dev/null | \ |
pascal@24506 | 21 sed '/Commits on/!d;s|.*on |"|;s|<.*|"|;q' | xargs date +%Y%m%d -d |
pascal@24425 | 22 } |
pascal@24425 | 23 |
pascal@15721 | 24 # Rules to configure and make the package. |
pascal@15721 | 25 compile_rules() |
pascal@15721 | 26 { |
pascal@17670 | 27 export LDFLAGS="$LDFLAGS -ltinfo" |
Hans-G?nter@24492 | 28 |
Hans-G?nter@24492 | 29 ./configure --prefix=/usr && |
pascal@15721 | 30 make |
pascal@15721 | 31 } |
pascal@15721 | 32 |
pascal@15721 | 33 # Rules to gen a SliTaz package suitable for Tazpkg. |
pascal@15721 | 34 genpkg_rules() |
pascal@15721 | 35 { |
pascal@15721 | 36 mkdir -p $fs/usr/bin |
Hans-G?nter@24492 | 37 cp -a $src/$PACKAGE $fs/usr/bin |
pascal@15721 | 38 } |