summaryrefslogtreecommitdiff
path: root/package/arptables
diff options
context:
space:
mode:
authorFelix Fietkau <nbd@openwrt.org>2006-12-14 19:36:35 +0000
committerFelix Fietkau <nbd@openwrt.org>2006-12-14 19:36:35 +0000
commitc3e35150b6af39cbea0747676f8ef0848a0d3d1e (patch)
tree4db5f0e5f839978245d5e4cb3c01a6c22e95d61d /package/arptables
parent486dffd245c24765903fcf6d10ae563847cae8c5 (diff)
downloadmtk-20170518-c3e35150b6af39cbea0747676f8ef0848a0d3d1e.zip
mtk-20170518-c3e35150b6af39cbea0747676f8ef0848a0d3d1e.tar.gz
mtk-20170518-c3e35150b6af39cbea0747676f8ef0848a0d3d1e.tar.bz2
update arptables to latest upstream version and fix compile with 2.6.19
SVN-Revision: 5793
Diffstat (limited to 'package/arptables')
-rw-r--r--package/arptables/Makefile4
-rw-r--r--package/arptables/patches/100-autoconf_h.patch24
2 files changed, 26 insertions, 2 deletions
diff --git a/package/arptables/Makefile b/package/arptables/Makefile
index ac3639a..4a27223 100644
--- a/package/arptables/Makefile
+++ b/package/arptables/Makefile
@@ -8,12 +8,12 @@
include $(TOPDIR)/rules.mk
PKG_NAME:=arptables
-PKG_VERSION:=0.0.3
+PKG_VERSION:=0.0.3-2
PKG_RELEASE:=1
PKG_SOURCE:=$(PKG_NAME)-v$(PKG_VERSION).tar.gz
PKG_SOURCE_URL:=@SF/ebtables
-PKG_MD5SUM:=1672244603c8979577aa4738be35a759
+PKG_MD5SUM:=283d19292bd99913dc3a42842826c286
PKG_CAT:=zcat
PKG_BUILD_DIR:=$(BUILD_DIR)/$(PKG_NAME)-v$(PKG_VERSION)
diff --git a/package/arptables/patches/100-autoconf_h.patch b/package/arptables/patches/100-autoconf_h.patch
new file mode 100644
index 0000000..b32b00c
--- /dev/null
+++ b/package/arptables/patches/100-autoconf_h.patch
@@ -0,0 +1,24 @@
+diff -ur arptables.old/include/linux/netfilter_arp.h arptables.dev/include/linux/netfilter_arp.h
+--- arptables.old/include/linux/netfilter_arp.h 2003-10-25 13:39:06.000000000 +0200
++++ arptables.dev/include/linux/netfilter_arp.h 2006-12-14 20:35:10.000000000 +0100
+@@ -7,7 +7,7 @@
+ * (C)2002 Rusty Russell IBM -- This code is GPL.
+ */
+
+-#include <linux/config.h>
++#include <linux/autoconf.h>
+ #include <linux/netfilter.h>
+
+ /* There is no PF_ARP. */
+diff -ur arptables.old/include/netfilter_arp.h arptables.dev/include/netfilter_arp.h
+--- arptables.old/include/netfilter_arp.h 2003-10-25 12:43:24.000000000 +0200
++++ arptables.dev/include/netfilter_arp.h 2006-12-14 20:34:57.000000000 +0100
+@@ -7,7 +7,7 @@
+ * (C)2002 Rusty Russell IBM -- This code is GPL.
+ */
+
+-#include <linux/config.h>
++#include <linux/autoconf.h>
+ #include <linux/netfilter.h>
+
+ /* There is no PF_ARP. */