# vnstat/cfg - "Build" settings for package #--------------------------------------------------------------------- [technotes] 1. For this package to work correctly, the following distro scripts need to run "vnstatd-cycle" at the appropriate places. For more in- formation, see the scripts in question. fwallon fwalloff neton netoff #--------------------------------------------------------------------- [buildtimes] 00.00 hours (or 000.15 minutes) - Dell Inspiron 6400 2.0 GHz Intel Duo 7200 2GB RAM 00.00 hours (or 000.22 minutes) - Toshiba Satellite C655 E-300 CPU 4GB RAM 00.00 hours (or 000.27 minutes) - Compaq 1.7 GHz Intel Pentium 4 512MB RAM 00.00 hours (or 000.27 minutes) - HP EliteBook 8560w 32GB RAM 00.01 hours (or 000.30 minutes) - ThinkPad E540 i7 4x2 16GB RAM 00.01 hours (or 000.45 minutes) - ThinkPad W530 i7 4x2 32GB RAM #--------------------------------------------------------------------- [settings] build = default exepack = yes license = GNU General Public License, version 2 (June 1991) tmpsize = 5M #--------------------------------------------------------------------- [depends] iptables # Not used directly libgd sed #--------------------------------------------------------------------- [configure] (killall -SIGTERM vnstatd || true) MANBASE=$PKGDIR_PROD/man mkdir -p $MANBASE autoreconf -fi bash ./configure \ --prefix=$PKGDIR_PROD \ --build=$LACARCHBUILD \ --host=$LACARCHHOST \ --disable-dependency-tracking \ --enable-shared=yes \ --enable-static=no \ --mandir=$MANBASE #--------------------------------------------------------------------- [postbuild] BINDIR=$PKGDIR_PROD/bin ETCDIR=$PKGDIR_PROD/etc SBINDIR=$PKGDIR_PROD/sbin SPCDIR=$PKGDIR_SPECIAL mkdir -p $ETCDIR $SBINDIR for exename in vnstatd-cycle vnstatd-start vnstatd-stop do sed -e "s|__META_PREFIX__|$PKGDIR_PROD|g" \ < $PKGDIR_SPECIAL/$exename.in \ > $SBINDIR/$exename chmod 755 $SBINDIR/$exename done cp -p $SPCDIR/vnstatwin $BINDIR/ chmod 755 $BINDIR/vnstatwin sed -e 's/^SaveInterval .*/SaveInterval 1/' \ -i $ETCDIR/vnstat.conf #--------------------------------------------------------------------- [shutdown] /sbin/route del default $PKGDIR_PROD/sbin/vnstatd-stop #--------------------------------------------------------------------- # Original URLs. These URLs were valid at one point, but may have died # since then. If you download newer versions of tarballs [etc.], don't # delete the original versions, as you may not be able to replace # them. [urls] url_debian = Not checked yet url_home = http://humdi.net/vnstat/ url_lfs = Not checked yet url_tarball = http://humdi.net/vnstat/vnstat-2.12.tar.gz #--------------------------------------------------------------------- [history] 170812 Updated from 1.11 to 1.17 180307 Updated to 1.18 211219 Updated to 2.8 220124 Updated to 2.9 240122 Updated to 2.12