summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDaniel Black <dragonheart@gentoo.org>2007-02-28 13:41:21 +0000
committerDaniel Black <dragonheart@gentoo.org>2007-02-28 13:41:21 +0000
commitf10464bda4f27b64d051d299d62e5fc896f61590 (patch)
treef324f82022ba881a72b1cb6f36ba26c186ac23ed /net-firewall/iptables
parentVersion bump, security bug 165555, and drop 1.0.x series (diff)
downloadgentoo-2-f10464bda4f27b64d051d299d62e5fc896f61590.tar.gz
gentoo-2-f10464bda4f27b64d051d299d62e5fc896f61590.tar.bz2
gentoo-2-f10464bda4f27b64d051d299d62e5fc896f61590.zip
fix USE=extensions problem with linux-headers - bug #156723. Thanks for the tip Paul Hewlett in bug #165590
(Portage version: 2.1.2-r11)
Diffstat (limited to 'net-firewall/iptables')
-rw-r--r--net-firewall/iptables/ChangeLog8
-rw-r--r--net-firewall/iptables/files/1.3.5-files/iptables-1.3.5-linux-headers.patch10
-rw-r--r--net-firewall/iptables/iptables-1.3.5-r4.ebuild3
3 files changed, 19 insertions, 2 deletions
diff --git a/net-firewall/iptables/ChangeLog b/net-firewall/iptables/ChangeLog
index 155055fdb62a..3b25fae3a813 100644
--- a/net-firewall/iptables/ChangeLog
+++ b/net-firewall/iptables/ChangeLog
@@ -1,6 +1,12 @@
# ChangeLog for net-firewall/iptables
# Copyright 1999-2007 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.126 2007/02/06 13:10:41 dragonheart Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/ChangeLog,v 1.127 2007/02/28 13:41:21 dragonheart Exp $
+
+ 28 Feb 2007; Daniel Black <dragonheart@gentoo.org>
+ +files/1.3.5-files/iptables-1.3.5-linux-headers.patch,
+ iptables-1.3.5-r4.ebuild:
+ fix USE=extensions problem with linux-headers - bug #156723. Thanks for the
+ tip Paul Hewlett in bug #165590
06 Feb 2007; Daniel Black <dragonheart@gentoo.org>
-files/1.2.11-files/iptables-layer7-0.9.0.patch,
diff --git a/net-firewall/iptables/files/1.3.5-files/iptables-1.3.5-linux-headers.patch b/net-firewall/iptables/files/1.3.5-files/iptables-1.3.5-linux-headers.patch
new file mode 100644
index 000000000000..7137d1919307
--- /dev/null
+++ b/net-firewall/iptables/files/1.3.5-files/iptables-1.3.5-linux-headers.patch
@@ -0,0 +1,10 @@
+--- extensions/libipt_iprange.c.orig 2007-03-01 00:19:36.000000000 +1100
++++ extensions/libipt_iprange.c 2007-03-01 00:19:58.000000000 +1100
+@@ -6,6 +6,7 @@
+ #include <getopt.h>
+
+ #include <iptables.h>
++#include <linux/types.h>
+ #include <linux/netfilter_ipv4/ipt_iprange.h>
+
+ /* Function which prints out usage message. */
diff --git a/net-firewall/iptables/iptables-1.3.5-r4.ebuild b/net-firewall/iptables/iptables-1.3.5-r4.ebuild
index 6708503d3b44..d3db92eceb70 100644
--- a/net-firewall/iptables/iptables-1.3.5-r4.ebuild
+++ b/net-firewall/iptables/iptables-1.3.5-r4.ebuild
@@ -1,6 +1,6 @@
# Copyright 1999-2007 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
-# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.3.5-r4.ebuild,v 1.14 2007/01/20 16:12:33 eroyf Exp $
+# $Header: /var/cvsroot/gentoo-x86/net-firewall/iptables/iptables-1.3.5-r4.ebuild,v 1.15 2007/02/28 13:41:21 dragonheart Exp $
inherit eutils flag-o-matic toolchain-funcs linux-info
@@ -72,6 +72,7 @@ src_unpack() {
epatch "${FILESDIR}"/1.3.5-files/${P}-errno.patch #139726
epatch "${FILESDIR}"/1.3.5-files/${P}-log-prefix-no-empty-strings.patch #148169
+ use extensions && epatch "${FILESDIR}"/1.3.5-files/${P}-linux-headers.patch #165590
if use imq ; then
EPATCH_OPTS="-p1" epatch "${DISTDIR}"/${IMQ_PATCH}