+# $Id$
+
include $(TOPDIR)/rules.mk
include kernelconfig.mk
PKG_NAME := iptables
-PKG_VERSION := 1.2.11
+PKG_VERSION := 1.3.0
PKG_RELEASE := 1
+PKG_MD5SUM := a072c0f09f1b289cb7af56f76407d033
PKG_SOURCE_SITE := http://www.netfilter.org/files
PKG_SOURCE_FILE := $(PKG_NAME)-$(PKG_VERSION).tar.bz2
$(DL_DIR)/$(PKG_SOURCE_FILE):
mkdir -p $(DL_DIR)
- $(WGET) -P $(DL_DIR) $(PKG_SOURCE_SITE)/$(PKG_SOURCE_FILE)
+ $(SCRIPT_DIR)/download.pl $(DL_DIR) $(PKG_SOURCE_FILE) $(PKG_MD5SUM) $(PKG_SOURCE_SITE)
$(PKG_BUILD_DIR)/.patched: $(DL_DIR)/$(PKG_SOURCE_FILE)
mkdir -p $(PKG_BUILD_DIR)/modules
(cd $(PKG_BUILD_DIR)/extensions; \
cp $(patsubst %,libipt_%.so,$(ext-y)) $(I_IPT)/usr/lib/iptables)
-$(STRIP) $(I_IPT)/usr/lib/iptables/*.so
- mkdir -p $(I_IPT_EXTRA)/$(MODULES_SUBDIR)
- cp $(MODULES_DIR)/kernel/net/ipv6/netfilter/*.o $(I_IPT_EXTRA)/$(MODULES_SUBDIR)
mkdir -p $(PACKAGE_DIR)
$(IPKG_BUILD) $(I_IPT) $(PACKAGE_DIR)
clean:
rm -rf $(PKG_BUILD_DIR)
- rm -f $(PKG_IPT)
+ rm -f $(PKG_IPT) $(PKG_IPT_EXTRA) $(PKG_IP6T)