wok-next rev 18911

Add vnstat
author Aleksej Bobylev <al.bobylev@gmail.com>
date Tue Feb 23 10:10:19 2016 +0200 (2016-02-23)
parents ab1db1415dd8
children bd7250c6c521
files vnstat/description.txt vnstat/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/vnstat/description.txt	Tue Feb 23 10:10:19 2016 +0200
     1.3 @@ -0,0 +1,19 @@
     1.4 +vnStat is a console-based network traffic monitor for Linux and BSD that keeps
     1.5 +a log of network traffic for the selected interface(s). It uses the network
     1.6 +interface statistics provided by the kernel as information source. This means
     1.7 +that vnStat won't actually be sniffing any traffic and also ensures light use
     1.8 +of system resources.
     1.9 +
    1.10 +Features:
    1.11 +
    1.12 +  * quick and simple to install and get running
    1.13 +  * gathered statistics persists through system reboots
    1.14 +  * can monitor multiple interfaces at the same time
    1.15 +  * several output options
    1.16 +      * summary, hourly, daily, monthly, weekly, top 10 days
    1.17 +      * optional png image output (using libgd)
    1.18 +  * months can be configured to follow billing period
    1.19 +  * light, minimal resource usage
    1.20 +  * same low cpu usage regardless of traffic
    1.21 +  * can be used without root permissions
    1.22 +  * [online color configuration editor](http://humdi.net/vnstat/coloredit/)
     2.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     2.2 +++ b/vnstat/receipt	Tue Feb 23 10:10:19 2016 +0200
     2.3 @@ -0,0 +1,32 @@
     2.4 +# SliTaz package receipt.
     2.5 +
     2.6 +PACKAGE="vnstat"
     2.7 +VERSION="1.15"
     2.8 +CATEGORY="system-tools"
     2.9 +SHORT_DESC="Console-based network monitoring utility"
    2.10 +MAINTAINER="al.bobylev@gmail.com"
    2.11 +LICENSE="GPL2"
    2.12 +WEB_SITE="http://humdi.net/vnstat/"
    2.13 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.14 +WGET_URL="${WEB_SITE}$TARBALL"
    2.15 +
    2.16 +DEPENDS=""
    2.17 +SUGGESTED="libgd"
    2.18 +BUILD_DEPENDS="libgd-dev"
    2.19 +
    2.20 +# Rules to configure and make the package.
    2.21 +compile_rules()
    2.22 +{
    2.23 +	./configure \
    2.24 +		--prefix=/usr \
    2.25 +		--sysconfdir=/etc \
    2.26 +	$CONFIGURE_ARGS &&
    2.27 +	make && make install
    2.28 +	find $install/usr/share/man -type f -exec gzip \{\} \;
    2.29 +}
    2.30 +
    2.31 +# Rules to gen a SliTaz package suitable for Tazpkg.
    2.32 +genpkg_rules()
    2.33 +{
    2.34 +	cp -a $install/* $fs
    2.35 +}