iptables: Apply patch to use cross ar instead of host ar. (by Cyril Romain)
authorFlorian Boor <florian.boor@kernelconcepts.de>
Fri, 9 Mar 2007 00:06:40 +0000 (00:06 +0000)
committerFlorian Boor <florian.boor@kernelconcepts.de>
Fri, 9 Mar 2007 00:06:40 +0000 (00:06 +0000)
packages/iptables/files/.mtn2git_empty [new file with mode: 0644]
packages/iptables/files/compile.patch [new file with mode: 0644]
packages/iptables/iptables_1.2.9.bb
packages/iptables/iptables_1.3.3.bb

diff --git a/packages/iptables/files/.mtn2git_empty b/packages/iptables/files/.mtn2git_empty
new file mode 100644 (file)
index 0000000..e69de29
diff --git a/packages/iptables/files/compile.patch b/packages/iptables/files/compile.patch
new file mode 100644 (file)
index 0000000..76662d9
--- /dev/null
@@ -0,0 +1,17 @@
+Index: iptables-1.3.3/extensions/Makefile
+===================================================================
+--- iptables-1.3.3.orig/extensions/Makefile
++++ iptables-1.3.3/extensions/Makefile
+@@ -67,10 +67,10 @@ endif
+ ifdef NO_SHARED_LIBS
+ extensions/libext.a: $(EXT_OBJS)
+-      rm -f $@; ar crv $@ $(EXT_OBJS)
++      rm -f $@; $(AR) crv $@ $(EXT_OBJS)
+ extensions/libext6.a: $(EXT6_OBJS)
+-      rm -f $@; ar crv $@ $(EXT6_OBJS)
++      rm -f $@; $(AR) crv $@ $(EXT6_OBJS)
+ extensions/initext.o: extensions/initext.c
+ extensions/initext6.o: extensions/initext6.c
index fe43ff4..213802d 100644 (file)
@@ -1,9 +1,10 @@
 SECTION = "console/network"
 DESCRIPTION = "iptables network filtering tools"
 LICENSE = "GPL"
-PR = "r1"
+PR = "r2"
 
-SRC_URI = "http://www.netfilter.org/files/iptables-${PV}.tar.bz2"
+SRC_URI = "http://www.netfilter.org/files/iptables-${PV}.tar.bz2 \
+          file://compile.patch;patch=1"
 
 S = "${WORKDIR}/iptables-${PV}"
 
index 4c500ad..5f19d45 100644 (file)
@@ -3,14 +3,15 @@ HOMEPAGE = "http://www.netfilter.org/"
 SECTION = "console/utils"
 LICENSE = "GPL"
 RRECOMMENDS = "kernel-module-ip-tables kernel-module-iptable-filter"
-PR = "r3"
+PR = "r4"
 
 
 
 PACKAGES =+ "${PN}-utils"
 FILES_${PN}-utils = "${sbindir}/iptables-save ${sbindir}/iptables-restore"
 
-SRC_URI = "http://www.netfilter.org/files/iptables-${PV}.tar.bz2"
+SRC_URI = "http://www.netfilter.org/files/iptables-${PV}.tar.bz2 \
+          file://compile.patch;patch=1"
 
 S = "${WORKDIR}/iptables-${PV}"