package/vnstat: bump version to 2.4
authorBernd Kuhls <bernd.kuhls@t-online.de>
Wed, 4 Sep 2019 18:50:22 +0000 (20:50 +0200)
committerThomas Petazzoni <thomas.petazzoni@bootlin.com>
Sun, 15 Sep 2019 21:04:27 +0000 (23:04 +0200)
Added license hash.

vnstat as of version 2.0 requires sqlite:
https://github.com/vergoh/vnstat/commit/bb24d7bd0f5e9051872f88a98f8b7906b4959aa7

Added --disable-extra-paths to _CONF_OPTS to prevent build error:
https://github.com/vergoh/vnstat/commit/fffc15d877edf37ff42ab057e1f30c70e6e99314

Signed-off-by: Bernd Kuhls <bernd.kuhls@t-online.de>
Signed-off-by: Thomas Petazzoni <thomas.petazzoni@bootlin.com>
package/vnstat/Config.in
package/vnstat/vnstat.hash
package/vnstat/vnstat.mk

index bb68c144625304e1a341d60e9e76e21f2bf820fd..677ff575b5791ff604c229aaf630747f36f3d068 100644 (file)
@@ -2,6 +2,7 @@ config BR2_PACKAGE_VNSTAT
        bool "vnstat"
        depends on BR2_USE_MMU # fork()
        depends on BR2_USE_WCHAR # mbstowcs()
+       select BR2_PACKAGE_SQLITE
        help
          vnStat is a console-based network traffic monitor that keeps a
          log of network traffic for the selected interface(s). It uses
index 1f515290c2108a029bad201c7ae744a60d4d6a82..94b4adc40bc96137c95e783ace6fb830ad0cc2e7 100644 (file)
@@ -1,2 +1,3 @@
 # Locally calculated
-sha256 18e4c53576ca9e1ef2f0e063a6d83b0c44e3b1cf008560d658745df5c9aa7971        vnstat-1.17.tar.gz
+sha256 a0955999abd56d5463d257ffdccc9b1e9ad9ea504de81e64ba4c197f1245abaa  vnstat-2.4.tar.gz
+sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643  COPYING
index 18fb3191770617ff090c00875e9a20279dc646f8..f0ef1cc69de4dc8b6e8aef2a374f77977be1e3c4 100644 (file)
@@ -4,17 +4,18 @@
 #
 ################################################################################
 
-VNSTAT_VERSION = 1.17
+VNSTAT_VERSION = 2.4
 VNSTAT_SITE = http://humdi.net/vnstat
 VNSTAT_LICENSE = GPL-2.0
 VNSTAT_LICENSE_FILES = COPYING
-VNSTAT_DEPENDENCIES = host-pkgconf
+VNSTAT_DEPENDENCIES = host-pkgconf sqlite
+VNSTAT_CONF_OPTS = --disable-extra-paths
 
 ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy)
 VNSTAT_DEPENDENCIES += gd
-VNSTAT_CONF_OPTS = --enable-image-output
+VNSTAT_CONF_OPTS += --enable-image-output
 else
-VNSTAT_CONF_OPTS = --disable-image-output
+VNSTAT_CONF_OPTS += --disable-image-output
 endif
 
 $(eval $(autotools-package))