<feed xmlns='http://www.w3.org/2005/Atom'>
<title>packages/net/vnstat2, branch master</title>
<subtitle>Mirror of packages feed</subtitle>
<id>https://git.openwrt.org/feed/packages/atom?h=master</id>
<link rel='self' href='https://git.openwrt.org/feed/packages/atom?h=master'/>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/'/>
<updated>2026-11-02T19:01:57Z</updated>
<entry>
<title>vnstat2: update to version 2.14</title>
<updated>2026-11-02T19:01:57Z</updated>
<author>
<name>Jan Hoffmann</name>
</author>
<published>2026-11-01T12:43:03Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=051db1d1489b0f6f3c4555e4357b3282f5449013'/>
<id>urn:sha1:051db1d1489b0f6f3c4555e4357b3282f5449013</id>
<content type='text'>
This version includes several bug fixes and some new features. The new
TrueType font support is disabled as it would add a dependency on
libgd-full including FreeType. To do this, CONFIGURE_VARS has to be set
in the package Makefile for now.

Signed-off-by: Jan Hoffmann &lt;jan@3e8.eu&gt;
</content>
</entry>
<entry>
<title>vnstat2: provide vnstat and vnstati</title>
<updated>2026-10-24T07:12:34Z</updated>
<author>
<name>Sander van Deijck</name>
</author>
<published>2026-10-22T18:07:55Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=591dd01de48275cba6ea2b79166da4cda5074f2c'/>
<id>urn:sha1:591dd01de48275cba6ea2b79166da4cda5074f2c</id>
<content type='text'>
With vnstat removed, let vnstat2 and vnstati2 provide vnstat and
vnstati, so apk can replace an installed vnstat with vnstat2 on upgrade.

Switching over keeps the existing setup working:
- /etc/config/vnstat uses the same section type and interface list in
  both versions; options only vnstat 1.x knew are ignored.
- vnstatd imports vnStat 1.x databases from its DatabaseDir on first
  start, also when run with --initdb as the init script does.
- vnStat 2.x ignores configuration keywords it doesn't know, so an
  existing /etc/vnstat.conf keeps working.

The versioned provide also prevents vnstat and vnstat2 from being
installed side by side, so drop CONFLICTS:=vnstat, which apk ignores.

Signed-off-by: Sander van Deijck &lt;sander@vandeijck.com&gt;
</content>
</entry>
<entry>
<title>vnstat2: update to version 2.13</title>
<updated>2025-02-15T08:35:31Z</updated>
<author>
<name>Jan Hoffmann</name>
</author>
<published>2025-02-11T19:07:46Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=cc2a5a5c388b1aa1a215207c43de6d70f4a022d8'/>
<id>urn:sha1:cc2a5a5c388b1aa1a215207c43de6d70f4a022d8</id>
<content type='text'>
Signed-off-by: Jan Hoffmann &lt;jan@3e8.eu&gt;
</content>
</entry>
<entry>
<title>vnstat2: update to version 2.12</title>
<updated>2024-02-05T00:07:08Z</updated>
<author>
<name>Jan Hoffmann</name>
</author>
<published>2024-02-01T20:12:05Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=94d74d356600a6bef76530bf9e5d9f89c4c132fd'/>
<id>urn:sha1:94d74d356600a6bef76530bf9e5d9f89c4c132fd</id>
<content type='text'>
This version includes several new features that allow to simplify the
package significantly: The noexit patch and hotplug script are no longer
needed, and the init script doesn't have to check for legacy databases
anymore.

Signed-off-by: Jan Hoffmann &lt;jan@3e8.eu&gt;
</content>
</entry>
<entry>
<title>vnstat2: update to version 2.11</title>
<updated>2023-08-24T03:14:05Z</updated>
<author>
<name>Jan Hoffmann</name>
</author>
<published>2023-08-19T22:07:51Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=98719797074637cecdff6a0cdb782a1e807a13e9'/>
<id>urn:sha1:98719797074637cecdff6a0cdb782a1e807a13e9</id>
<content type='text'>
This release breaks the noexit patch, because the code for removing old
now returns an error when no interfaces are configured. As it is run on
startup, the daemon exits in this case. To avoid this, add an additional
check so an error is only returned in an actual error case.

Signed-off-by: Jan Hoffmann &lt;jan@3e8.eu&gt;
</content>
</entry>
<entry>
<title>treewide: remove AUTORELEASE</title>
<updated>2023-04-21T20:46:58Z</updated>
<author>
<name>Paul Fertser</name>
</author>
<published>2023-04-21T16:32:27Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=0c10c224be81f9221dabfab449855ab6718d2a0c'/>
<id>urn:sha1:0c10c224be81f9221dabfab449855ab6718d2a0c</id>
<content type='text'>
Automatically compute and substitute current values for all
$(AUTORELEASE) instances as this feature is deprecated and shouldn't be
used.

The following temporary change was made to the core:

diff --git a/rules.mk b/rules.mk
index 57d7995d4fa8..f16367de87a8 100644
--- a/rules.mk
+++ b/rules.mk
@@ -429,7 +429,7 @@ endef
 abi_version_str = $(subst -,,$(subst _,,$(subst .,,$(1))))

 COMMITCOUNT = $(if $(DUMP),0,$(call commitcount))
-AUTORELEASE = $(if $(DUMP),0,$(call commitcount,1))
+AUTORELEASE = $(if $(DUMP),0,$(shell sed -i "s/\$$(AUTORELEASE)/$(call commitcount,1)/" $(CURDIR)/Makefile))

 all:
 FORCE: ;

And this command used to fix affected packages:

for i in $(cd feeds/packages; git grep -l PKG_RELEASE:=.*AUTORELEASE | \
                              sed 's^.*/\([^/]*\)/Makefile^\1^';);
do
  make package/$i/download
done

Signed-off-by: Paul Fertser &lt;fercerpav@gmail.com&gt;
</content>
</entry>
<entry>
<title>vnstat2: update to version 2.10</title>
<updated>2022-10-23T16:36:45Z</updated>
<author>
<name>Jan Hoffmann</name>
</author>
<published>2022-10-22T20:33:45Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=4edbd1afe7df62a980c085bef48d0f2df8ec19c7'/>
<id>urn:sha1:4edbd1afe7df62a980c085bef48d0f2df8ec19c7</id>
<content type='text'>
Signed-off-by: Jan Hoffmann &lt;jan@3e8.eu&gt;
</content>
</entry>
<entry>
<title>vnstat2: update to version 2.9</title>
<updated>2022-01-25T20:54:48Z</updated>
<author>
<name>Jan Hoffmann</name>
</author>
<published>2022-01-25T19:10:09Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=948f0d29ccd825f5370d87549f8977b851db756e'/>
<id>urn:sha1:948f0d29ccd825f5370d87549f8977b851db756e</id>
<content type='text'>
Signed-off-by: Jan Hoffmann &lt;jan@3e8.eu&gt;
</content>
</entry>
<entry>
<title>vnstat2: add hotplug script for adding interfaces</title>
<updated>2021-10-28T08:31:18Z</updated>
<author>
<name>Jan Hoffmann</name>
</author>
<published>2021-10-27T21:55:28Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=f9ea8142601cee5542f9ba0f4e5a24e53ab59a6d'/>
<id>urn:sha1:f9ea8142601cee5542f9ba0f4e5a24e53ab59a6d</id>
<content type='text'>
If an interface doesn't exist yet when vnStat is started, it won't be
monitored, as only existing interfaces can be added to the database via
the vnstat command.

This adds a hotplug script which adds any configured interfaces to the
vnStat database when it goes up.

Signed-off-by: Jan Hoffmann &lt;jan@3e8.eu&gt;
</content>
</entry>
<entry>
<title>vnstat2: fix all interfaces being monitored when none are configured</title>
<updated>2021-10-28T08:31:18Z</updated>
<author>
<name>Jan Hoffmann</name>
</author>
<published>2021-10-21T21:38:58Z</published>
<link rel='alternate' type='text/html' href='https://git.openwrt.org/feed/packages/commit/?id=ecae7dedde0ccd2a636e93620ced41bca807d405'/>
<id>urn:sha1:ecae7dedde0ccd2a636e93620ced41bca807d405</id>
<content type='text'>
By default, vnstatd adds all available interfaces on startup when its
database is empty. The --noadd option prevents this, but it breaks
import of legacy databases, and causes vnstatd to exit immediately
after startup, which breaks reloading.

This changes the init script to add the --noadd option when no legacy
databases need to be imported, and patches vnstatd to keep running
even when no interfaces are configured.

Signed-off-by: Jan Hoffmann &lt;jan@3e8.eu&gt;
</content>
</entry>
</feed>
