* [Buildroot] [PATCH 1/1] package/vnstat: bump version to 2.4
@ 2019-09-04 18:50 Bernd Kuhls
2019-09-15 21:05 ` Thomas Petazzoni
0 siblings, 1 reply; 2+ messages in thread
From: Bernd Kuhls @ 2019-09-04 18:50 UTC (permalink / raw)
To: buildroot
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>
---
package/vnstat/Config.in | 1 +
package/vnstat/vnstat.hash | 3 ++-
package/vnstat/vnstat.mk | 9 +++++----
3 files changed, 8 insertions(+), 5 deletions(-)
diff --git a/package/vnstat/Config.in b/package/vnstat/Config.in
index bb68c14462..677ff575b5 100644
--- a/package/vnstat/Config.in
+++ b/package/vnstat/Config.in
@@ -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
diff --git a/package/vnstat/vnstat.hash b/package/vnstat/vnstat.hash
index 1f515290c2..94b4adc40b 100644
--- a/package/vnstat/vnstat.hash
+++ b/package/vnstat/vnstat.hash
@@ -1,2 +1,3 @@
# Locally calculated
-sha256 18e4c53576ca9e1ef2f0e063a6d83b0c44e3b1cf008560d658745df5c9aa7971 vnstat-1.17.tar.gz
+sha256 a0955999abd56d5463d257ffdccc9b1e9ad9ea504de81e64ba4c197f1245abaa vnstat-2.4.tar.gz
+sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
diff --git a/package/vnstat/vnstat.mk b/package/vnstat/vnstat.mk
index 18fb319177..f0ef1cc69d 100644
--- a/package/vnstat/vnstat.mk
+++ b/package/vnstat/vnstat.mk
@@ -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))
--
2.20.1
^ permalink raw reply related [flat|nested] 2+ messages in thread
* [Buildroot] [PATCH 1/1] package/vnstat: bump version to 2.4
2019-09-04 18:50 [Buildroot] [PATCH 1/1] package/vnstat: bump version to 2.4 Bernd Kuhls
@ 2019-09-15 21:05 ` Thomas Petazzoni
0 siblings, 0 replies; 2+ messages in thread
From: Thomas Petazzoni @ 2019-09-15 21:05 UTC (permalink / raw)
To: buildroot
On Wed, 4 Sep 2019 20:50:22 +0200
Bernd Kuhls <bernd.kuhls@t-online.de> wrote:
> 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>
> ---
> package/vnstat/Config.in | 1 +
> package/vnstat/vnstat.hash | 3 ++-
> package/vnstat/vnstat.mk | 9 +++++----
> 3 files changed, 8 insertions(+), 5 deletions(-)
Applied to master, thanks.
Thomas
--
Thomas Petazzoni, CTO, Bootlin
Embedded Linux and Kernel engineering
https://bootlin.com
^ permalink raw reply [flat|nested] 2+ messages in thread
end of thread, other threads:[~2019-09-15 21:05 UTC | newest]
Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2019-09-04 18:50 [Buildroot] [PATCH 1/1] package/vnstat: bump version to 2.4 Bernd Kuhls
2019-09-15 21:05 ` Thomas Petazzoni
This is an external index of several public inboxes,
see mirroring instructions on how to clone and mirror
all data and code used by this external index.