[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:
florian 2009-09-19 18:35:51 +00:00
parent 51a94354c2
commit e6b34b8571
2 changed files with 7 additions and 7 deletions

View File

@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk include $(TOPDIR)/rules.mk
PKG_NAME:=vnstat PKG_NAME:=vnstat
PKG_VERSION:=1.8 PKG_VERSION:=1.9
PKG_RELEASE:=1 PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=http://humdi.net/vnstat PKG_SOURCE_URL:=http://humdi.net/vnstat
PKG_MD5SUM:=99a30716b5013e7e249e500ee6ee2985 PKG_MD5SUM:=ebaf8352fa3674faea2fe2ce1001a38d
include $(INCLUDE_DIR)/package.mk include $(INCLUDE_DIR)/package.mk
@ -63,7 +63,7 @@ endef
define Build/Compile/vnstati define Build/Compile/vnstati
$(MAKE) -C $(PKG_BUILD_DIR) \ $(MAKE) -C $(PKG_BUILD_DIR) \
$(TARGET_CONFIGURE_OPTS) \ $(TARGET_CONFIGURE_OPTS) \
CFLAGS="$(TARGET_CPPFLAGS)" \ CFLAGS="$(TARGET_CFLAGS) -I$(STAGING_DIR)/usr/include" \
LDFLAGS="$(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib" \ LDFLAGS="$(TARGET_LDFLAGS) -Wl,-rpath-link,$(STAGING_DIR)/usr/lib" \
all all
endef endef

View File

@ -1,6 +1,6 @@
--- a/cfg/vnstat.conf --- a/cfg/vnstat.conf
+++ b/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 # how often (in seconds) interface data is updated
@ -11,9 +11,9 @@
-PollInterval 5 -PollInterval 5
+PollInterval 30 +PollInterval 30
# how often (in minutes) interface data is saved to file # how often (in minutes) data is saved to file
-SaveInterval 5 -SaveInterval 5
+SaveInterval 30 +SaveInterval 30
# enable / disable logging (0 = disabled, 1 = logfile, 2 = syslog) # how often (in minutes) data is saved when all interface are offline
UseLogging 2 OfflineSaveInterval 30