From: Pierre-Emmanuel Andre Subject: Re: net/vnstat: update to 2.13 To: pea@openbsd.org, ports@openbsd.org Date: Wed, 13 Aug 2025 11:18:43 +0200 Hi, Feel free to remove me as maintainer. Regards, Le 2025-08-12 14:03, Stuart Henderson a écrit : > ok. > > I think it would make sense to drop (or replace, if wanted) the > maintainer line at this point. > > On 2025/08/12 12:57, Kirill A. Korinsky wrote: >> On Fri, 25 Jul 2025 00:34:02 +0200, >> Kirill A. Korinsky wrote: >> > >> > Pierre-Emmanuel, ports@, >> > >> > I'd like to re-send my diff because original one had no Subject. >> > >> > On Sun, 20 Jul 2025 22:11:56 +0200, >> > Kirill A. Korinsky wrote: >> > > >> > > seems that net/vnstat is outdated for a few years. >> > > >> > > I'd like to update it the last version 2.13. >> > > >> > > Brifey tested on -current/amd64. >> > > >> > > Changes: >> > > >> > > 2.13 / 8-Feb-2025 >> > > >> > > - Fixed >> > > - Opening of body html tag was missing on some pages in image output >> > > example cgi (examples/vnstat.cgi) >> > > - New >> > > - Add database data merge support as --merge >> > > - Add --db for specifying database file for queries (vnstat and vnstati) >> > > - Add exit status 2 options to --alert for making it possible to >> > > differentiate alerts from errors (exit status 1) >> > > - Add --dbiflist also to vnstati command >> > > - Image output example cgi (examples/vnstat.cgi) improvements >> > > - Remove dependency to vnstat command >> > > - Add option for selecting how many images are shown per row on the index >> > > page when the database has more than one interface >> > > - Add option for selecting which image output is used on the index page >> > > when the database has more than one interface >> > > - Add options for selecting which interfaces are shown or hidden from the >> > > index page without disabling access to all interface specific page when >> > > the database has more than one interface >> > > - Harmonize layout style between pages >> > > >> > > >> > > 2.12 / 21-Jan-2024 >> > > >> > > - Fixed >> > > - QueryMode documentation in configuration file didn't match implementation >> > > or man page description >> > > - Daemon didn't try to import legacy databases when --noadd was used and no >> > > current version database initially existed resulting in the process >> > > exiting even when something could have been done >> > > - Daemon didn't try to import legacy databases when --initdb was used and >> > > no current version database initially existed, this behaviour can still >> > > be enabled by using --noadd in combination with --initdb >> > > - Using --nodaemon and --initdb at the same time didn't result in an error >> > > being shown >> > > - New >> > > - Add 95th percentile output as --95th, also available via --alert, --json, >> > > --xml and image output, requires 5MinuteHours configuration to be set to >> > > at least 744 for storing all the necessary data >> > > - Add --json support for --alert >> > > - Database queries resulting in error exit with status 1 >> > > - Show spinning animation at the beginning of -l / --live output line, >> > > visibility configurable using LiveSpinner configuration option >> > > - Add -ic / --invert-colors option to image output for facilitating for >> > > example dark mode switching without needing to have multiple separate >> > > color configurations >> > > - Add dark mode option to image output example cgi (examples/vnstat.cgi) >> > > - Add option 4 to QueryMode for selecting summary output of single >> > > interface regardless of the number of interfaces in the database >> > > - Add optional mode parameter to -q / --query for overriding QueryMode >> > > for summary output and for enabling control of summary output style >> > > regardless of the number of interfaces in the database >> > > - Add --startempty option to daemon for starting and keeping the daemon >> > > running even if no interfaces were discovered and the database is empty >> > > - Add --noremove option to daemon for disabling the automatic removal of >> > > interfaces from database that aren't currently visible and haven't seen >> > > any traffic >> > > - Add third mode option to --iflist and --dbiflist for getting only the >> > > interface count as output >> > > >> > >> > Ok? >> > >> >> Anyone? >> >> > Index: Makefile >> > =================================================================== >> > RCS file: /home/cvs/ports/net/vnstat/Makefile,v >> > diff -u -p -r1.39 Makefile >> > --- Makefile 27 Sep 2023 14:18:39 -0000 1.39 >> > +++ Makefile 20 Jul 2025 19:58:14 -0000 >> > @@ -1,7 +1,7 @@ >> > COMMENT-main = network traffic monitor >> > COMMENT-vnstati = image output support for vnstat >> > >> > -V = 2.11 >> > +V = 2.13 >> > EPOCH = 0 >> > DISTNAME = vnstat-${V} >> > PKGNAME-main = ${DISTNAME} >> > Index: distinfo >> > =================================================================== >> > RCS file: /home/cvs/ports/net/vnstat/distinfo,v >> > diff -u -p -r1.10 distinfo >> > --- distinfo 25 Sep 2023 13:01:11 -0000 1.10 >> > +++ distinfo 20 Jul 2025 19:58:39 -0000 >> > @@ -1,2 +1,2 @@ >> > -SHA256 (vnstat-2.11.tar.gz) = urw/FYPMQOTo/7L1MpbZPTCMtaUEPoUFT26ve0rleFY= >> > -SIZE (vnstat-2.11.tar.gz) = 312821 >> > +SHA256 (vnstat-2.13.tar.gz) = yf4ZMS0ew937xGcqqVHPnmHKmNwUytPTVl99mAOmsYc= >> > +SIZE (vnstat-2.13.tar.gz) = 336647 >> > >> >> -- >> wbr, Kirill >>