Add buildroot 2018-02
This commit is contained in:
17
buildroot/package/vnstat/Config.in
Normal file
17
buildroot/package/vnstat/Config.in
Normal file
@@ -0,0 +1,17 @@
|
||||
config BR2_PACKAGE_VNSTAT
|
||||
bool "vnstat"
|
||||
depends on BR2_USE_MMU # fork()
|
||||
depends on BR2_USE_WCHAR # mbstowcs()
|
||||
help
|
||||
vnStat is a console-based network traffic monitor that keeps a
|
||||
log of network traffic for the selected interface(s). It uses
|
||||
the network interface statistics provided by the kernel as
|
||||
information source. This means that vnStat won't actually be
|
||||
sniffing any traffic and also ensures light use of system
|
||||
resources.
|
||||
|
||||
http://humdi.net/vnstat
|
||||
|
||||
comment "vnstat needs a toolchain w/ wchar"
|
||||
depends on BR2_USE_MMU
|
||||
depends on !BR2_USE_WCHAR
|
||||
2
buildroot/package/vnstat/vnstat.hash
Normal file
2
buildroot/package/vnstat/vnstat.hash
Normal file
@@ -0,0 +1,2 @@
|
||||
# Locally calculated
|
||||
sha256 18e4c53576ca9e1ef2f0e063a6d83b0c44e3b1cf008560d658745df5c9aa7971 vnstat-1.17.tar.gz
|
||||
20
buildroot/package/vnstat/vnstat.mk
Normal file
20
buildroot/package/vnstat/vnstat.mk
Normal file
@@ -0,0 +1,20 @@
|
||||
################################################################################
|
||||
#
|
||||
# vnstat
|
||||
#
|
||||
################################################################################
|
||||
|
||||
VNSTAT_VERSION = 1.17
|
||||
VNSTAT_SITE = http://humdi.net/vnstat
|
||||
VNSTAT_LICENSE = GPL-2.0
|
||||
VNSTAT_LICENSE_FILES = COPYING
|
||||
VNSTAT_DEPENDENCIES = host-pkgconf
|
||||
|
||||
ifeq ($(BR2_PACKAGE_GD)$(BR2_PACKAGE_LIBPNG),yy)
|
||||
VNSTAT_DEPENDENCIES += gd
|
||||
VNSTAT_CONF_OPTS = --enable-image-output
|
||||
else
|
||||
VNSTAT_CONF_OPTS = --disable-image-output
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user