vnstat2: update to version 2.10
authorJan Hoffmann <jan@3e8.eu>
Sat, 22 Oct 2022 20:33:45 +0000 (22:33 +0200)
committerTianling Shen <cnsztl@gmail.com>
Mon, 4 Sep 2023 06:30:05 +0000 (14:30 +0800)
Signed-off-by: Jan Hoffmann <jan@3e8.eu>
(cherry picked from commit 4edbd1afe7df62a980c085bef48d0f2df8ec19c7)

net/vnstat2/Makefile
net/vnstat2/patches/100-noexit.patch

index 5be77cff6deb91026c98f428c249263820ff8520..0aab4271b814d10458b5f67874dfeb31985a4445 100644 (file)
@@ -6,12 +6,12 @@
 include $(TOPDIR)/rules.mk
 
 PKG_NAME:=vnstat2
-PKG_VERSION:=2.9
+PKG_VERSION:=2.10
 PKG_RELEASE:=$(AUTORELEASE)
 
 PKG_SOURCE:=vnstat-$(PKG_VERSION).tar.gz
 PKG_SOURCE_URL:=https://humdi.net/vnstat
-PKG_HASH:=11a21475dea91706500aba7c63e24126703fd01f13b1f3acdf92baa5aead9dc7
+PKG_HASH:=a9c61744e5cd8c366e2db4d282badc74021ddb614bd65b41240937997e457d25
 
 PKG_LICENSE:=GPL-2.0-only
 PKG_LICENSE_FILES:=COPYING
index 89580e9a951ad3bdc06f340e9f243b8f90c175f4..b952818fc3dd54b0df20b0b767a24fdcb7d5a5ff 100644 (file)
@@ -8,7 +8,7 @@
        s->initdb = 0;
        s->iflisthash = 0;
        s->cfgfile[0] = '\0';
-@@ -282,6 +283,9 @@ void preparedatabase(DSTATE *s)
+@@ -285,6 +286,9 @@ void preparedatabase(DSTATE *s)
        }
  
        if (s->noadd) {
@@ -18,7 +18,7 @@
                printf("No interfaces found in database, exiting.\n");
                exit(EXIT_FAILURE);
        }
-@@ -300,6 +304,9 @@ void preparedatabase(DSTATE *s)
+@@ -303,6 +307,9 @@ void preparedatabase(DSTATE *s)
        }
  
        if (!addinterfaces(s) && s->dbifcount == 0) {