X-Git-Url: https://git.rohieb.name/openwrt.git/blobdiff_plain/910b36d0d8c1b4895555d70b14b8bbba760c5065..45c7419a4f7a4436c27ffd62b1a05724c4ce6357:/openwrt/package/iptraf/Makefile diff --git a/openwrt/package/iptraf/Makefile b/openwrt/package/iptraf/Makefile index 3837ec856..45377c604 100644 --- a/openwrt/package/iptraf/Makefile +++ b/openwrt/package/iptraf/Makefile @@ -1,9 +1,11 @@ +# $Id$ + include $(TOPDIR)/rules.mk PKG_NAME:=iptraf -PKG_VERSION:=2.7.0 +PKG_VERSION:=3.0.0 PKG_RELEASE:=1 -PKG_MD5SUM:= +PKG_MD5SUM:=377371c28ee3c21a76f7024920649ea8 PKG_SOURCE_URL:=ftp://iptraf.seul.org/pub/iptraf/ \ ftp://the.wiretapped.net/pub/security/network-monitoring/iptraf/ @@ -17,10 +19,10 @@ include $(TOPDIR)/package/rules.mk $(eval $(call PKG_template,IPTRAF,iptraf,$(PKG_VERSION)-$(PKG_RELEASE),$(ARCH))) -$(PKG_BUILD_DIR)/.configured: $(PKG_BUILD_DIR)/.prepared +$(PKG_BUILD_DIR)/.configured: touch $@ -$(PKG_BUILD_DIR)/.built: +$(PKG_BUILD_DIR)/.built: $(PKG_BUILD_DIR)/.configured $(MAKE) -C $(PKG_BUILD_DIR)/src \ $(TARGET_CONFIGURE_OPTS) \ CFLAGS="$(TARGET_CFLAGS)" \ @@ -34,7 +36,9 @@ $(PKG_BUILD_DIR)/.built: touch $@ $(IPKG_IPTRAF): - install -d -m0755 $(IDIR_IPTRAF)/usr/bin + install -d -m0755 $(IDIR_IPTRAF)/usr/bin \ + $(IDIR_IPTRAF)/var/run/iptraf \ + $(IDIR_IPTRAF)/var/lib/iptraf install -m0755 $(PKG_BUILD_DIR)/src/iptraf $(IDIR_IPTRAF)/usr/bin/ $(RSTRIP) $(IDIR_IPTRAF) $(IPKG_BUILD) $(IDIR_IPTRAF) $(PACKAGE_DIR)