wok rev 24466

updated darkstat (3.0.719 -> 3.0.721)
author Hans-G?nter Theisgen
date Thu Feb 17 13:39:12 2022 +0100 (2022-02-17)
parents 535c806240cc
children 170c02d6d47a
files darkstat/description.txt darkstat/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/darkstat/description.txt	Thu Feb 17 13:39:12 2022 +0100
     1.3 @@ -0,0 +1,4 @@
     1.4 +Darkstat is a network statistics gatherer.
     1.5 +
     1.6 +It sniffs packets on a specified interface, accumulates statistics,
     1.7 +and serves them up over HTTP.
     2.1 --- a/darkstat/receipt	Thu Feb 17 12:02:46 2022 +0000
     2.2 +++ b/darkstat/receipt	Thu Feb 17 13:39:12 2022 +0100
     2.3 @@ -1,7 +1,7 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="darkstat"
     2.7 -VERSION="3.0.719"
     2.8 +VERSION="3.0.721"
     2.9  CATEGORY="network"
    2.10  TAGS="network monitor stats statistics"
    2.11  SHORT_DESC="Simple network traffic statistics."
    2.12 @@ -9,11 +9,11 @@
    2.13  LICENSE="GPL2 BSD"
    2.14  WEB_SITE="https://unix4lyfe.org/darkstat/"
    2.15  
    2.16 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.17 -WGET_URL="https://unix4lyfe.org/darkstat/$TARBALL"
    2.18 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.19 +WGET_URL="https://github.com/emikulic/$PACKAGE/archive/refs/tags/$VERSION.tar.gz"
    2.20  
    2.21  DEPENDS="libpcap zlib"
    2.22 -BUILD_DEPENDS="libpcap-dev zlib-dev"
    2.23 +BUILD_DEPENDS="autoconf libpcap-dev zlib-dev"
    2.24  
    2.25  # What is the latest version available today?
    2.26  current_version()
    2.27 @@ -28,18 +28,19 @@
    2.28  	# 3.0.719 unrecognised
    2.29  #	--with-chroot-dir=/var/lib/darkstat
    2.30  
    2.31 +	autoconf &&
    2.32 +	autoheader &&
    2.33  	./configure		\
    2.34  		--prefix=/usr	\
    2.35  		$CONFIGURE_ARGS &&
    2.36  	make &&
    2.37 -	make DESTDIR=$DESTDIR install
    2.38 +	make install DESTDIR=$DESTDIR
    2.39  }
    2.40  
    2.41  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.42  genpkg_rules()
    2.43  {
    2.44 -	mkdir -p $fs/usr
    2.45  	mkdir -p $fs/var/lib/darkstat
    2.46  
    2.47 -	cp -a $install/usr/sbin	$fs/usr
    2.48 +	cook_copy_folders	sbin
    2.49  }