add mirror for kernel source
[openwrt.git] / openwrt / package / iptables / Makefile
index b0c1f77..9108645 100644 (file)
@@ -2,7 +2,7 @@ include $(TOPDIR)/rules.mk
 include kernelconfig.mk
 
 PKG_NAME := iptables
-PKG_VERSION := 1.2.11
+PKG_VERSION := 1.3.0
 PKG_RELEASE := 1
 
 PKG_SOURCE_SITE := http://www.netfilter.org/files
@@ -38,7 +38,7 @@ endif
 
 $(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) x $(PKG_SOURCE_SITE)
 
 $(PKG_BUILD_DIR)/.patched: $(DL_DIR)/$(PKG_SOURCE_FILE)
        mkdir -p $(PKG_BUILD_DIR)/modules
@@ -61,8 +61,6 @@ $(PKG_IPT): $(PKG_BUILD_DIR)/iptables
        (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)
 
This page took 0.022461 seconds and 4 git commands to generate.