tested on amd64, works fine, vnstati tested and can produce images
make test gives the same output as previously
ok for commit?
2.11 / 19-Aug-2023
- Fixed
- Database queries worked only if SQLite double-quoted string (DQS)
feature (https://www.sqlite.org/quirks.html#dblquote) was enabled
- Disabling data resolutions in data retention configuration didn't
result in possibly existing database entries getting removed from
the database
- Disabling data resolutions in data retention configuration didn't
result in the data resolution getting disabled but instead storing
data forever
- "expr: syntax error" during configure in BSD (pull request by
namtsui)
- Image output summary would show only "no data available" text in
case of zero total traffic even when the historical data of no
traffic could have been shown instead
- Image output "-o -" content could get corrupted due to info,
warning and error messages also using stdout, configuration file
warnings being the most likely source, now uses stderr in image
output
- Configuration validation was too heavily limiting and enforcing
image output 5 minute graph related configuration options for
combinations that would have resulted in usable images
- New
- Database cleanup has been changed to interpret data retention
configuration as number of entries to be kept instead of calendar
time, this restores the behaviour to similar as it was up to version
1.18, the difference is visible only on systems that aren't powered
all the time
- Database is vacuumed during daemon startup and reload, behaviour is
configurable using VacuumOnStartup and VacuumOnHUPSignal
configuration options
- Add configuration option InterfaceOrder for controlling the
interface order in outputs with multiple interfaces
- Used data retention configuration is made visible during daemon
startup and after configuration reloads
- Daemon will no longer start if all data resolutions have been
disabled in the configuration file
- SQLite version is visible in --version outputs
- Notes
- "Not enough data available yet." message has been replaced with
"No data. Timestamp of last update is same YYYY-MM-DD HH:MM:SS as
of database creation." to better explain the reason why there's
nothing to show, this message is expected to disappear within
configured SaveInterval if the interface is active
Index: Makefile
===================================================================
RCS file: /cvs/ports/net/vnstat/Makefile,v
retrieving revision 1.37
diff -u -p -r1.37 Makefile
--- Makefile 24 May 2023 22:06:48 -0000 1.37
+++ Makefile 25 Sep 2023 07:37:42 -0000
@@ -1,7 +1,7 @@
COMMENT-main = network traffic monitor
COMMENT-vnstati = image output support for vnstat
-V = 2.10
+V = 2.11
EPOCH = 0
DISTNAME = vnstat-${V}
PKGNAME-main = ${DISTNAME}
Index: distinfo
===================================================================
RCS file: /cvs/ports/net/vnstat/distinfo,v
retrieving revision 1.9
diff -u -p -r1.9 distinfo
--- distinfo 24 May 2023 22:06:48 -0000 1.9
+++ distinfo 25 Sep 2023 07:37:42 -0000
@@ -1,2 +1,2 @@
-SHA256 (vnstat-2.10.tar.gz) = qcYXROXNjDZuLbTSgrrcdAId22FL1ltBJAk3mX5FfSU=
-SIZE (vnstat-2.10.tar.gz) = 304464
+SHA256 (vnstat-2.11.tar.gz) = urw/FYPMQOTo/7L1MpbZPTCMtaUEPoUFT26ve0rleFY=
+SIZE (vnstat-2.11.tar.gz) = 312821