[package] update vnstat to 1.9 (#5845)
git-svn-id: svn://svn.openwrt.org/openwrt/packages@17614 3c298f89-4303-0410-b956-a3cf2f4a3e73
This commit is contained in:
parent
51a94354c2
commit
e6b34b8571
@ -8,12 +8,12 @@
|
||||
include $(TOPDIR)/rules.mk
|
||||
|
||||
PKG_NAME:=vnstat
|
||||
PKG_VERSION:=1.8
|
||||
PKG_VERSION:=1.9
|
||||
PKG_RELEASE:=1
|
||||
|
||||
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
|
||||
PKG_SOURCE_URL:=http://humdi.net/vnstat
|
||||
PKG_MD5SUM:=99a30716b5013e7e249e500ee6ee2985
|
||||
PKG_MD5SUM:=ebaf8352fa3674faea2fe2ce1001a38d
|
||||
|
||||
include $(INCLUDE_DIR)/package.mk
|
||||
|
||||
@ -63,7 +63,7 @@ endef
|
||||
define Build/Compile/vnstati
|
||||
$(MAKE) -C $(PKG_BUILD_DIR) \
|
||||
$(TARGET_CONFIGURE_OPTS) \
|
||||
CFLAGS="$(TARGET_CPPFLAGS)" \
|
||||
CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
|
||||
LDFLAGS="$(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib" \
|
||||
all
|
||||
endef
|
||||
|
@ -1,6 +1,6 @@
|
||||
--- a/cfg/vnstat.conf
|
||||
+++ b/cfg/vnstat.conf
|
||||
@@ -69,13 +69,13 @@ TrafficlessDays 1
|
||||
@@ -72,13 +72,13 @@ TrafficlessDays 1
|
||||
##
|
||||
|
||||
# how often (in seconds) interface data is updated
|
||||
@ -11,9 +11,9 @@
|
||||
-PollInterval 5
|
||||
+PollInterval 30
|
||||
|
||||
# how often (in minutes) interface data is saved to file
|
||||
# how often (in minutes) data is saved to file
|
||||
-SaveInterval 5
|
||||
+SaveInterval 30
|
||||
|
||||
# enable / disable logging (0 = disabled, 1 = logfile, 2 = syslog)
|
||||
UseLogging 2
|
||||
# how often (in minutes) data is saved when all interface are offline
|
||||
OfflineSaveInterval 30
|
||||
|
Loading…
x
Reference in New Issue
Block a user