From mboxrd@z Thu Jan 1 00:00:00 1970 From: Michael Tremer To: development@lists.ipfire.org Subject: Re: [PATCH] vnstat: Update to 1.18 Date: Tue, 20 Mar 2018 20:34:41 +0000 Message-ID: <1521578081.178881.63.camel@ipfire.org> In-Reply-To: <20180320194652.13795-1-matthias.fischer@ipfire.org> MIME-Version: 1.0 Content-Type: multipart/mixed; boundary="===============5495506431769422887==" List-Id: --===============5495506431769422887== Content-Type: text/plain; charset="utf-8" Content-Transfer-Encoding: quoted-printable Hi, this would have been better split into two patches so that one thing can be merged without the other. I will take it both together for now. Best, -Michael P.S. I did not appreciate that comment of that forum user about this bug. Bugs happen. If he doesn't like it, he can take lots of =E2=82=AC=E2=82=AC=E2=82= =AC=E2=82=AC into his hand and pay other people to get their bugs. On Tue, 2018-03-20 at 20:46 +0100, Matthias Fischer wrote: > For details see: > https://humdi.net/vnstat/CHANGES >=20 > Changed "SaveInterval 5" to "SaveInterval 1" in '/etc/vnstat.conf', trigger= ed > by > https://forum.ipfire.org/viewtopic.php?f=3D22&t=3D20448 to avoid data loss = with > 1Gbit > connections and high traffic. >=20 > Thanks to BeBiMa for the man page link (https://humdi.net/vnstat/man/vnstat= d.h > tml). ;-) >=20 > Best, > Matthias >=20 > Signed-off-by: Matthias Fischer > --- > lfs/vnstat | 7 ++++--- > 1 file changed, 4 insertions(+), 3 deletions(-) >=20 > diff --git a/lfs/vnstat b/lfs/vnstat > index 376a1e999..a61bc5ed2 100644 > --- a/lfs/vnstat > +++ b/lfs/vnstat > @@ -1,7 +1,7 @@ > ##########################################################################= ### > ## > # = =20 > # > # IPFire.org - A linux based > firewall # > -# Copyright (C) 2007-2017 IPFire Team = =20 > # > +# Copyright (C) 2007-2018 IPFire Team = =20 > # > # = =20 > # > # 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_CONFIGUR > E_OPTIONS=3D"--enable-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 --===============5495506431769422887==--