From mboxrd@z Thu Jan 1 00:00:00 1970 From: Matthias Fischer To: development@lists.ipfire.org Subject: [PATCH] vnstat: Update to 1.18 Date: Tue, 20 Mar 2018 20:46:52 +0100 Message-ID: <20180320194652.13795-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============3506527715685153699==" List-Id: --===============3506527715685153699== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable For details see: https://humdi.net/vnstat/CHANGES Changed "SaveInterval 5" to "SaveInterval 1" in '/etc/vnstat.conf', triggered= by https://forum.ipfire.org/viewtopic.php?f=3D22&t=3D20448 to avoid data loss wi= th 1Gbit connections and high traffic. Thanks to BeBiMa for the man page link (https://humdi.net/vnstat/man/vnstatd.= html). ;-) Best, Matthias Signed-off-by: Matthias Fischer --- lfs/vnstat | 7 ++++--- 1 file changed, 4 insertions(+), 3 deletions(-) diff --git a/lfs/vnstat b/lfs/vnstat index 376a1e999..a61bc5ed2 100644 --- a/lfs/vnstat +++ b/lfs/vnstat @@ -1,7 +1,7 @@ ############################################################################= ### # = # # IPFire.org - A linux based firewall = # -# Copyright (C) 2007-2017 IPFire Team = # +# Copyright (C) 2007-2018 IPFire Team = # # = # # This program is free software: you can redistribute it and/or modify = # # it under the terms of the GNU General Public License as published by = # @@ -24,7 +24,7 @@ =20 include Config =20 -VER =3D 1.17 +VER =3D 1.18 =20 THISAPP =3D vnstat-$(VER) DL_FILE =3D $(THISAPP).tar.gz @@ -40,7 +40,7 @@ objects =3D $(DL_FILE) =20 $(DL_FILE) =3D $(DL_FROM)/$(DL_FILE) =20 -$(DL_FILE)_MD5 =3D 8de1c7e40806509943804bb4b26f5409 +$(DL_FILE)_MD5 =3D c9abaeb0ce758c16f6cdfa247bd8606c =20 install : $(TARGET) =20 @@ -81,6 +81,7 @@ $(TARGET) : $(patsubst %,$(DIR_DL)/%,$(objects)) cd $(DIR_APP) && make all $(MAKETUNING) LOCAL_CONFIGURE_OPTIONS=3D"--enabl= e-readline=3Dyes" cd $(DIR_APP) && make install sed -i 's|eth0|green0|g' /etc/vnstat.conf + sed -i 's|SaveInterval 5|SaveInterval 1|g' /etc/vnstat.conf sed -i 's|/var/lib/vnstat|/var/log/vnstat|g' /etc/vnstat.conf sed -i 's|/var/log/vnstat/vnstat.log|/var/log/vnstat.log|g' /etc/vnstat.conf sed -i 's|/var/run/vnstat/vnstat.pid|/var/run/vnstat.pid|g' /etc/vnstat.conf --=20 2.16.2 --===============3506527715685153699==--