Bug 195671 - net-firewall/iptables-1.3.8-r2 update for net-misc/l7-filter-2.17
Bug#: 195671 Product:  Gentoo Linux Version: unspecified Platform: All
OS/Version: Linux Status: RESOLVED Severity: enhancement Priority: P2
Resolution: FIXED Assigned To: dragonheart@gentoo.org Reported By: cilly@cilly.mine.nu
Component: Ebuilds
URL:  http://l7-filter.sourceforge.net/
Summary: net-firewall/iptables-1.3.8-r2 update for net-misc/l7-filter-2.17
Keywords:  
Status Whiteboard: 
Opened: 2007-10-13 00:50 0000
Description:   Opened: 2007-10-13 00:50 0000
I tested with kernel 2.6.22.9 and 2.6.22.10, compiles and works flawlessly.

------- Comment #1 From cilly 2007-10-13 00:51:58 0000 -------
Created an attachment (id=133273) [details]
patch for iptables-1.3.8-r2

only changes version string in iptables ebuild

------- Comment #2 From cilly 2007-12-12 16:45:26 0000 -------
l7-filter 2.17 is out, pls. change version in iptables build to match current
version of l7-filter

------- Comment #3 From Bjoern Olausson 2007-12-12 17:08:16 0000 -------
Created an attachment (id=138331) [details]
iptables-1.3.8-r2.ebuild for layer7 2.17

--- /usr/portage/net-firewall/iptables/iptables-1.3.8-r2.ebuild 2007-09-02
17:06:30.000000000 +0200
+++ iptables-1.3.8-r2.ebuild    2007-12-12 18:01:44.000000000 +0100
@@ -4,7 +4,7 @@

 inherit eutils flag-o-matic toolchain-funcs linux-info

-L7_PV=2.13
+L7_PV=2.17
 L7_P=netfilter-layer7-v${L7_PV}
 IMQ_PATCH=iptables-1.3.6-imq.diff

@@ -105,9 +105,9 @@ src_unpack() {
                #yes choosing 2.6.20 was deliberate - upstream mistake possibly
                if kernel_is ge 2 6 20
                then
-                      
L7_PATCH=iptables-for-kernel-2.6.20forward-layer7-${L7_PV}.patch
+                      
L7_PATCH=iptables-1.4-for-kernel-2.6.20forward-layer7-${L7_PV}.patch
                else
-                      
L7_PATCH=iptables-for-kernel-pre2.6.20-layer7-${L7_PV}.patch
+                      
L7_PATCH=iptables-1.3-for-kernel-pre2.6.20-layer7-${L7_PV}.patch
                fi
                EPATCH_OPTS="-p1" epatch "${WORKDIR}"/${L7_P}/${L7_PATCH}
                chmod +x extensions/.layer7-test*

------- Comment #4 From Bjoern Olausson 2007-12-12 17:24:44 0000 -------
Created an attachment (id=138338) [details]
iptables-1.3.8-r2.ebuild for layer7 2.17 proper

Sry bad mistake... used iptables 1.4 patch for iptables 1.3


--- /usr/portage/net-firewall/iptables/iptables-1.3.8-r2.ebuild 2007-09-02
17:06:30.000000000 +0200
+++ iptables-1.3.8-r2.ebuild    2007-12-12 18:22:28.000000000 +0100
@@ -4,7 +4,7 @@

 inherit eutils flag-o-matic toolchain-funcs linux-info

-L7_PV=2.13
+L7_PV=2.17
 L7_P=netfilter-layer7-v${L7_PV}
 IMQ_PATCH=iptables-1.3.6-imq.diff

@@ -105,9 +105,9 @@ src_unpack() {
                #yes choosing 2.6.20 was deliberate - upstream mistake possibly
                if kernel_is ge 2 6 20
                then
-                      
L7_PATCH=iptables-for-kernel-2.6.20forward-layer7-${L7_PV}.patch
+                      
L7_PATCH=iptables-1.3-for-kernel-2.6.20forward-layer7-${L7_PV}.patch
                else
-                      
L7_PATCH=iptables-for-kernel-pre2.6.20-layer7-${L7_PV}.patch
+                      
L7_PATCH=iptables-1.3-for-kernel-pre2.6.20-layer7-${L7_PV}.patch
                fi
                EPATCH_OPTS="-p1" epatch "${WORKDIR}"/${L7_P}/${L7_PATCH}
                chmod +x extensions/.layer7-test*

------- Comment #5 From cilly 2007-12-12 17:57:02 0000 -------
hi dragonheart,

I tested ebuild 1.3.8-r2 from Bjoern, works fine. Please, add to stable tree.

------- Comment #6 From Peter Volkov 2007-12-24 09:44:00 0000 -------
Thank you both for report and patches. Fixed in iptables-1.3.8-r3.