wok rev 24675

updated iptraf-ng (1.1.4 -> 1.2.1)
author Hans-G?nter Theisgen
date Sat Mar 12 08:01:52 2022 +0100 (2022-03-12)
parents 4abfb8bc5dd3
children 09929daf27a0
files iptraf-ng/description.txt iptraf-ng/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/iptraf-ng/description.txt	Sat Mar 12 08:01:52 2022 +0100
     1.3 @@ -0,0 +1,20 @@
     1.4 +IPTraf-ng is a console-based network monitoring utility.
     1.5 +IPTraf gathers data like TCP connection packet and byte counts,
     1.6 +interface statistics and activity indicators, TCP/UDP traffic
     1.7 +breakdowns, and LAN station packet and byte counts.
     1.8 +IPTraf-ng features include an IP traffic monitor which shows
     1.9 +TCP flag information, packet and byte counts, ICMP details,
    1.10 +OSPF packet types, and oversized IP packet warnings;
    1.11 +interface statistics showing IP, TCP, UDP, ICMP, non-IP and
    1.12 +other IP packet counts, IP checksum errors, interface activity
    1.13 +and packet size counts;
    1.14 +a TCP and UDP service monitor showing counts of incoming and
    1.15 +outgoing packets for common TCP and UDP application ports,
    1.16 +a LAN statistics module that discovers active hosts and displays
    1.17 +statistics about their activity;
    1.18 +TCP, UDP and other protocol display filters so you can view just
    1.19 +the traffic you want; logging; support for Ethernet, FDDI, ISDN,
    1.20 +SLIP, PPP, and loopback interfaces;
    1.21 +and utilization of the built-in raw socket interface of the Linux
    1.22 +kernel, so it can be used on a wide variety of supported network
    1.23 +cards.
     2.1 --- a/iptraf-ng/receipt	Sat Mar 12 07:43:48 2022 +0100
     2.2 +++ b/iptraf-ng/receipt	Sat Mar 12 08:01:52 2022 +0100
     2.3 @@ -1,20 +1,21 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="iptraf-ng"
     2.7 -VERSION="1.1.4"
     2.8 +VERSION="1.2.1"
     2.9  CATEGORY="network"
    2.10  SHORT_DESC="IP Network Monitoring Software."
    2.11  MAINTAINER="pascal.bellard@slitaz.org"
    2.12  LICENSE="GPL2"
    2.13 +WEB_SITE="https://fedorahosted.org/iptraf-ng/"
    2.14  TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.15 -WEB_SITE="https://fedorahosted.org/iptraf-ng/"
    2.16 -WGET_URL="https://fedorahosted.org/releases/i/p/$PACKAGE/$TARBALL"
    2.17 -CONFIG_FILES="/var/lib/iptraf-ng/iptraf.cfg"
    2.18 +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz"
    2.19 +
    2.20  PROVIDE="iptraf"
    2.21 -
    2.22  DEPENDS="ncursesw"
    2.23  BUILD_DEPENDS="ncurses-dev"
    2.24  
    2.25 +CONFIG_FILES="/var/lib/iptraf-ng/iptraf.cfg"
    2.26 +
    2.27  # What is the latest version available today?
    2.28  current_version()
    2.29  {
    2.30 @@ -25,15 +26,20 @@
    2.31  # Rules to configure and make the package.
    2.32  compile_rules()
    2.33  {
    2.34 -	./configure --prefix=/usr \
    2.35 -		$CONFIGURE_ARGS &&
    2.36 -	make &&
    2.37 -	make DESTDIR=$DESTDIR install
    2.38 +	export	LDFLAGS="$LDFLAGS -lrt"
    2.39 +
    2.40 +	make				\
    2.41 +		LDFLAGS="$LDFLAGS"	\
    2.42 +		DESTDIR=$DESTDIR	\
    2.43 +		prefix=/usr &&
    2.44 +	make	install			\
    2.45 +		DESTDIR=$DESTDIR	\
    2.46 +		prefix=/usr
    2.47  }
    2.48  
    2.49  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.50  genpkg_rules()
    2.51  {
    2.52  	mkdir -p $fs/var/log/iptraf-ng
    2.53 -	cp -a $install/sbin $fs
    2.54 +	cp -a $install/usr/sbin	$fs
    2.55  }