# HG changeset patch # User Aleksej Bobylev # Date 1456215019 -7200 # Node ID 7538e867aae72acc19bfa3291f66e204872aed04 # Parent ab1db1415dd88d8366d05d266fa2c7fcff89f2a0 Add vnstat diff -r ab1db1415dd8 -r 7538e867aae7 vnstat/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vnstat/description.txt Tue Feb 23 10:10:19 2016 +0200 @@ -0,0 +1,19 @@ +vnStat is a console-based network traffic monitor for Linux and BSD that keeps +a log of network traffic for the selected interface(s). It uses the network +interface statistics provided by the kernel as information source. This means +that vnStat won't actually be sniffing any traffic and also ensures light use +of system resources. + +Features: + + * quick and simple to install and get running + * gathered statistics persists through system reboots + * can monitor multiple interfaces at the same time + * several output options + * summary, hourly, daily, monthly, weekly, top 10 days + * optional png image output (using libgd) + * months can be configured to follow billing period + * light, minimal resource usage + * same low cpu usage regardless of traffic + * can be used without root permissions + * [online color configuration editor](http://humdi.net/vnstat/coloredit/) diff -r ab1db1415dd8 -r 7538e867aae7 vnstat/receipt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/vnstat/receipt Tue Feb 23 10:10:19 2016 +0200 @@ -0,0 +1,32 @@ +# SliTaz package receipt. + +PACKAGE="vnstat" +VERSION="1.15" +CATEGORY="system-tools" +SHORT_DESC="Console-based network monitoring utility" +MAINTAINER="al.bobylev@gmail.com" +LICENSE="GPL2" +WEB_SITE="http://humdi.net/vnstat/" +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="${WEB_SITE}$TARBALL" + +DEPENDS="" +SUGGESTED="libgd" +BUILD_DEPENDS="libgd-dev" + +# Rules to configure and make the package. +compile_rules() +{ + ./configure \ + --prefix=/usr \ + --sysconfdir=/etc \ + $CONFIGURE_ARGS && + make && make install + find $install/usr/share/man -type f -exec gzip \{\} \; +} + +# Rules to gen a SliTaz package suitable for Tazpkg. +genpkg_rules() +{ + cp -a $install/* $fs +}