aboutsummaryrefslogtreecommitdiff
path: root/net/vnstat2
Commit message (Collapse)AuthorAge
* vnstat2: update to version 2.12Jan Hoffmann2024-02-04
| | | | | | | | | 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 <jan@3e8.eu>
* vnstat2: update to version 2.11Jan Hoffmann2023-08-24
| | | | | | | | | 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 <jan@3e8.eu>
* treewide: remove AUTORELEASEPaul Fertser2023-04-21
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | | 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 <fercerpav@gmail.com>
* vnstat2: update to version 2.10Jan Hoffmann2022-10-23
| | | | Signed-off-by: Jan Hoffmann <jan@3e8.eu>
* vnstat2: update to version 2.9Jan Hoffmann2022-01-25
| | | | Signed-off-by: Jan Hoffmann <jan@3e8.eu>
* vnstat2: add hotplug script for adding interfacesJan Hoffmann2021-10-28
| | | | | | | | | | | 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 <jan@3e8.eu>
* vnstat2: fix all interfaces being monitored when none are configuredJan Hoffmann2021-10-28
| | | | | | | | | | | | | 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 <jan@3e8.eu>
* vnstat2: update to version 2.8Jan Hoffmann2021-10-03
| | | | Signed-off-by: Jan Hoffmann <jan@3e8.eu>
* vnstat2: update to version 2.7Jan Hoffmann2021-05-18
| | | | Signed-off-by: Jan Hoffmann <jan@3e8.eu>
* vnstat2: update to version 2.6Jan Hoffmann2020-01-21
| | | | | | This also cleans up the Makefile and removes an unneeded patch. Signed-off-by: Jan Hoffmann <jan@3e8.eu>
* vnstat2: add packageJan Hoffmann2020-01-04
This introduces an additional package for version 2 of vnStat. Signed-off-by: Jan Hoffmann <jan@3e8.eu>