Skip to Content.
Sympa Menu

sm-commit - [SM-Commit] GIT changes to stable-rc-0.31 grimoire by Arwed von Merkatz (e4b2102486e70f85d93b6f0cc114d224faf948c2)

sm-commit AT lists.ibiblio.org

Subject: Source Mage code commit list

List archive

Chronological Thread  
  • From: Arwed von Merkatz <scm AT sourcemage.org>
  • To: sm-commit AT lists.ibiblio.org
  • Subject: [SM-Commit] GIT changes to stable-rc-0.31 grimoire by Arwed von Merkatz (e4b2102486e70f85d93b6f0cc114d224faf948c2)
  • Date: Wed, 11 Mar 2009 13:51:28 -0500

GIT changes to stable-rc-0.31 grimoire by Arwed von Merkatz
<v.merkatz AT gmx.net>:

net/iptables/HISTORY | 6 ++++++
net/iptables/PRE_BUILD | 3 +--
net/iptables/iptables-xtables-compile-fix.patch | 11 +++++++++++
3 files changed, 18 insertions(+), 2 deletions(-)

New commits:
commit e4b2102486e70f85d93b6f0cc114d224faf948c2
Author: George Sherwood <gsherwood AT sourcemage.org>
Commit: Arwed von Merkatz <v.merkatz AT gmx.net>

pan: +x DETAILS. Bug 15017
(cherry picked from commit 59f00e2d98333477c56223ea6af8a0be5ad12eca)

commit fdb8a06d0f8ead14854a537603734846f1a53feb
Author: Remko van der Vossen <wich AT yuugen.jp>
Commit: Arwed von Merkatz <v.merkatz AT gmx.net>

iptables: xtables compile fix, fixes bug 15015.
(cherry picked from commit d2887a34132c0d803f0255f30a7fcb660c914fda)

diff --git a/gnome2-apps/pan/DETAILS b/gnome2-apps/pan/DETAILS
old mode 100644
new mode 100755
diff --git a/net/iptables/HISTORY b/net/iptables/HISTORY
index c87cd93..4135211 100644
--- a/net/iptables/HISTORY
+++ b/net/iptables/HISTORY
@@ -1,3 +1,9 @@
+2009-03-07 Remko van der Vossen <wich AT sourcemage.org>
+ * PRE_BUILD, iptables-xtables-compile-fix.patch: fixed compilation,
+ patch in include for netinet/in.h which defines the proper
+ identifiers, makeing the #ifndefs work as intended, taken from the
+ iptables git repo. Fixes bug 15015.
+
2008-10-14 Vlad Glagolev <stealth AT sourcemage.org>
* DETAILS: updated spell to 1.4.2; renewed desc
* PRE_BUILD: fixed compilation (SCTP is already defined in the
headers)
diff --git a/net/iptables/PRE_BUILD b/net/iptables/PRE_BUILD
index 7e6ab59..823807b 100755
--- a/net/iptables/PRE_BUILD
+++ b/net/iptables/PRE_BUILD
@@ -1,5 +1,4 @@
default_pre_build &&
cd "$SOURCE_DIRECTORY" &&

-# fixed compilation with SCTP (check in next release)
-sed -i "11,13d" include/xtables.h.in
+patch -p1 < "$SPELL_DIRECTORY/iptables-xtables-compile-fix.patch"
diff --git a/net/iptables/iptables-xtables-compile-fix.patch
b/net/iptables/iptables-xtables-compile-fix.patch
new file mode 100644
index 0000000..4c775ce
--- /dev/null
+++ b/net/iptables/iptables-xtables-compile-fix.patch
@@ -0,0 +1,11 @@
+diff -Naur iptables-1.4.2.orig/include/xtables.h.in
iptables-1.4.2/include/xtables.h.in
+--- iptables-1.4.2.orig/include/xtables.h.in 2008-10-08 18:31:58.000000000
+0200
++++ iptables-1.4.2/include/xtables.h.in 2009-03-07 15:37:49.000000000
+0100
+@@ -4,6 +4,7 @@
+ #include <sys/socket.h> /* PF_* */
+ #include <sys/types.h>
+ #include <stdbool.h>
++#include <netinet/in.h>
+ #include <net/if.h>
+ #include <linux/types.h>
+ #include <linux/netfilter/x_tables.h>



  • [SM-Commit] GIT changes to stable-rc-0.31 grimoire by Arwed von Merkatz (e4b2102486e70f85d93b6f0cc114d224faf948c2), Arwed von Merkatz, 03/11/2009

Archive powered by MHonArc 2.6.24.

Top of Page