# HG changeset patch # User Hans-Günter Theisgen # Date 1647068512 -3600 # Node ID 09793607947c00ea442ae502d2f4f72587bd5b17 # Parent 4abfb8bc5dd3771dec41df91c4e864b88c1fec19 updated iptraf-ng (1.1.4 -> 1.2.1) diff -r 4abfb8bc5dd3 -r 09793607947c iptraf-ng/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/iptraf-ng/description.txt Sat Mar 12 08:01:52 2022 +0100 @@ -0,0 +1,20 @@ +IPTraf-ng is a console-based network monitoring utility. +IPTraf gathers data like TCP connection packet and byte counts, +interface statistics and activity indicators, TCP/UDP traffic +breakdowns, and LAN station packet and byte counts. +IPTraf-ng features include an IP traffic monitor which shows +TCP flag information, packet and byte counts, ICMP details, +OSPF packet types, and oversized IP packet warnings; +interface statistics showing IP, TCP, UDP, ICMP, non-IP and +other IP packet counts, IP checksum errors, interface activity +and packet size counts; +a TCP and UDP service monitor showing counts of incoming and +outgoing packets for common TCP and UDP application ports, +a LAN statistics module that discovers active hosts and displays +statistics about their activity; +TCP, UDP and other protocol display filters so you can view just +the traffic you want; logging; support for Ethernet, FDDI, ISDN, +SLIP, PPP, and loopback interfaces; +and utilization of the built-in raw socket interface of the Linux +kernel, so it can be used on a wide variety of supported network +cards. diff -r 4abfb8bc5dd3 -r 09793607947c iptraf-ng/receipt --- a/iptraf-ng/receipt Sat Mar 12 07:43:48 2022 +0100 +++ b/iptraf-ng/receipt Sat Mar 12 08:01:52 2022 +0100 @@ -1,20 +1,21 @@ # SliTaz package receipt. PACKAGE="iptraf-ng" -VERSION="1.1.4" +VERSION="1.2.1" CATEGORY="network" SHORT_DESC="IP Network Monitoring Software." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="GPL2" +WEB_SITE="https://fedorahosted.org/iptraf-ng/" TARBALL="$PACKAGE-$VERSION.tar.gz" -WEB_SITE="https://fedorahosted.org/iptraf-ng/" -WGET_URL="https://fedorahosted.org/releases/i/p/$PACKAGE/$TARBALL" -CONFIG_FILES="/var/lib/iptraf-ng/iptraf.cfg" +WGET_URL="https://github.com/$PACKAGE/$PACKAGE/archive/v$VERSION.tar.gz" + PROVIDE="iptraf" - DEPENDS="ncursesw" BUILD_DEPENDS="ncurses-dev" +CONFIG_FILES="/var/lib/iptraf-ng/iptraf.cfg" + # What is the latest version available today? current_version() { @@ -25,15 +26,20 @@ # Rules to configure and make the package. compile_rules() { - ./configure --prefix=/usr \ - $CONFIGURE_ARGS && - make && - make DESTDIR=$DESTDIR install + export LDFLAGS="$LDFLAGS -lrt" + + make \ + LDFLAGS="$LDFLAGS" \ + DESTDIR=$DESTDIR \ + prefix=/usr && + make install \ + DESTDIR=$DESTDIR \ + prefix=/usr } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/var/log/iptraf-ng - cp -a $install/sbin $fs + cp -a $install/usr/sbin $fs }