Initial Commit
- initial default booting image
This commit is contained in:
18
package/vnstat/Config.in
Normal file
18
package/vnstat/Config.in
Normal file
@@ -0,0 +1,18 @@
|
||||
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
|
||||
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
|
||||
3
package/vnstat/vnstat.hash
Normal file
3
package/vnstat/vnstat.hash
Normal file
@@ -0,0 +1,3 @@
|
||||
# Locally calculated
|
||||
sha256 c9fe19312d1ec3ddfbc4672aa951cf9e61ca98dc14cad3d3565f7d9803a6b187 vnstat-2.13.tar.gz
|
||||
sha256 8177f97513213526df2cf6184d8ff986c675afb514d4e68a404010521b880643 COPYING
|
||||
22
package/vnstat/vnstat.mk
Normal file
22
package/vnstat/vnstat.mk
Normal file
@@ -0,0 +1,22 @@
|
||||
################################################################################
|
||||
#
|
||||
# vnstat
|
||||
#
|
||||
################################################################################
|
||||
|
||||
VNSTAT_VERSION = 2.13
|
||||
VNSTAT_SITE = http://humdi.net/vnstat
|
||||
VNSTAT_LICENSE = GPL-2.0
|
||||
VNSTAT_LICENSE_FILES = COPYING
|
||||
VNSTAT_SELINUX_MODULES = vnstatd
|
||||
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
|
||||
else
|
||||
VNSTAT_CONF_OPTS += --disable-image-output
|
||||
endif
|
||||
|
||||
$(eval $(autotools-package))
|
||||
Reference in New Issue
Block a user