include $(TOPDIR)/rules.mk
PKG_NAME:=darkstat
-PKG_VERSION:=3.0.708
+PKG_VERSION:=3.0.712
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.bz2
PKG_SOURCE_URL:=http://dmr.ath.cx/net/darkstat
-PKG_MD5SUM:=21fe231f6ec84be082e9d41747dd0fc9
+PKG_MD5SUM:=b711f64319091d6948a05bc33a4954b3
include $(INCLUDE_DIR)/package.mk
and serves them over HTTP.
endef
+define Package/darkstat/conffiles
+/etc/config/darkstat
+endef
+
CONFIGURE_ARGS += \
--with-chroot-dir /var/empty
$(INSTALL_DIR) $(1)/etc/init.d
$(INSTALL_BIN) ./files/darkstat.init $(1)/etc/init.d/darkstat
$(INSTALL_DIR) $(1)/etc/config
- $(INSTALL_DATA) ./files/darkstat.conf $(1)/etc/config/darkstat
+ $(INSTALL_CONF) ./files/darkstat.conf $(1)/etc/config/darkstat
endef
$(eval $(call BuildPackage,darkstat))
scan_interfaces
config_get ifname "$interface" ifname
- $BIN --debug -i "$interface" \
+ $BIN --verbose -i "$interface" \
${httpaddr:+-b "$httpaddr"} \
${httpport:+-p "$httpport"} \
--chroot $RUN_D