Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 397749 - net-firewall/xtables-addons-2.1 version bump
Summary: net-firewall/xtables-addons-2.1 version bump
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: [OLD] Core system (show other bugs)
Hardware: All Linux
: Normal normal with 4 votes (vote)
Assignee: Peter Volkov (RETIRED)
URL:
Whiteboard:
Keywords: EBUILD
: 403749 407343 420161 (view as bug list)
Depends on:
Blocks:
 
Reported: 2012-01-05 10:35 UTC by Lutz Heermann
Modified: 2013-03-07 06:51 UTC (History)
14 users (show)

See Also:
Package list:
Runtime testing required: ---


Attachments
ebuild based on xtables-addons-1.39.ebuild (xtables-addons-1.41.ebuild,5.24 KB, text/plain)
2012-01-05 10:35 UTC, Lutz Heermann
Details
ebuild for xtables-addons 1.42 - diff against 1.39 ebuild (xtables-addons-1.42.ebuild.patch,1.79 KB, patch)
2012-06-03 12:19 UTC, Olipro
Details | Diff
xtables-addons-1.43.ebuild (xtables-addons-1.43.ebuild,5.26 KB, text/plain)
2012-07-13 07:03 UTC, Andreis Vinogradovs ( slepnoga )
Details
The ebuild for the latest 1.45 version (xtables-addons-1.45.ebuild,5.14 KB, text/plain)
2012-07-31 19:50 UTC, Alexander Petrenas
Details
net-firewall/xtables-addons-1.47.1.ebuild (xtables-addons-1.47.1.ebuild,5.06 KB, text/plain)
2012-12-27 12:09 UTC, mike
Details
net-firewall/xtables-addons-2.0.ebuild (xtables-addons-2.0.ebuild,5.05 KB, text/plain)
2012-12-27 12:13 UTC, mike
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Lutz Heermann 2012-01-05 10:35:58 UTC
Created attachment 297987 [details]
ebuild based on xtables-addons-1.39.ebuild

Version 1.41 of net-firewall/xtables-addons is needed for campability to the new Linux 3.2.

Dependecies:
- net-firewall/iptables must be >= 1.4.5
- kernel should be >= 2.6.32
Comment 1 Nico Baggus 2012-01-30 23:53:47 UTC
The 1.41 ebuild works on a 3.1.10-r1 & 3.2.1-r2 as well as a hardened 3.2.2-r1
Comment 2 Marcin Mirosław 2012-01-31 08:44:11 UTC
On hardened-3.2.2-r1 ipset doesn;t compile for me:

CC [M] /var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/pfxlen.o
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/pfxlen.c:148:1: warning: data definition has no type or storage class
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/pfxlen.c:148:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_GPL’
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/pfxlen.c:148:1: warning: parameter names (without types) in function declaration
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/pfxlen.c:291:1: warning: data definition has no type or storage class
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/pfxlen.c:291:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_GPL’
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/pfxlen.c:291:1: warning: parameter names (without types) in function declaration
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/pfxlen.c:312:1: warning: data definition has no type or storage class
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/pfxlen.c:312:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_GPL’
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/pfxlen.c:312:1: warning: parameter names (without types) in function declaration
  CC [M] /var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/ip_set_bitmap_ip.o
  CC [M] /var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/ip_set_bitmap_ipmac.o
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/ip_set_getport.c:110:1: warning: data definition has no type or storage class
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/ip_set_getport.c:110:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_GPL’
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/ip_set_getport.c:110:1: warning: parameter names (without types) in function declaration
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/ip_set_getport.c: In function ‘ip_set_get_ip6_port’:
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/ip_set_getport.c:125:48: error: too many arguments to function ‘ipv6_skip_exthdr’
include/net/ipv6.h:556:12: note: declared here
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/ip_set_getport.c: At top level:
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/ip_set_getport.c:132:1: warning: data definition has no type or storage class
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/ip_set_getport.c:132:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_GPL’
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/ip_set_getport.c:132:1: warning: parameter names (without types) in function declaration
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/ip_set_getport.c:161:1: warning: data definition has no type or storage class
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/ip_set_getport.c:161:1: warning: type defaults to ‘int’ in declaration of ‘EXPORT_SYMBOL_GPL’
/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/ip_set_getport.c:161:1: warning: parameter names (without types) in function declaration
make[3]: *** [/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6/ip_set_getport.o] Error 1
make[3]: *** Waiting for unfinished jobs....
make[2]: *** [/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions/ipset-6] Error 2
make[1]: *** [_module_/var/tmp/portage/net-firewall/xtables-addons-1.41/work/xtables-addons-1.41/extensions] Error 2
make[1]: Leaving directory `/usr/src/linux-3.2.2-hardened-r1'
make: *** [modules] Error 2
Comment 3 Nico Baggus 2012-01-31 09:26:26 UTC
I disabled both ipset flags as they are part of the kernel now.
Comment 4 Kevin Parent 2012-01-31 16:10:34 UTC
Works for me - amd64 and ck-sources-3.2.1
Comment 5 Marcin Mirosław 2012-03-07 10:40:42 UTC
I'm getting warning with xtables-addons-1.41:
WARNING: //lib/modules/3.2.9-hardened/xtables_addons/xt_SYSRQ.ko needs unknown symbol ipv6_find_hdr
Comment 6 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-08 01:09:28 UTC
*** Bug 403749 has been marked as a duplicate of this bug. ***
Comment 7 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-08 02:34:51 UTC
Comment on attachment 297987 [details]
ebuild based on xtables-addons-1.39.ebuild

--- xtables-addons-1.39.ebuild  2011-10-02 10:31:22.000000000 +0200
+++ -   2012-03-08 03:34:23.545711152 +0100
@@ -20,7 +20,7 @@
        IUSE="${IUSE} xtables_addons_${mod}"
 done
 
-DEPEND=">=net-firewall/iptables-1.4.3"
+DEPEND=">=net-firewall/iptables-1.4.5"
 
 RDEPEND="${DEPEND}
        xtables_addons_ipset6? (
@@ -34,7 +34,7 @@
 
 SKIP_MODULES=""
 
-# XA_kernel_check tee "2 6 26"
+# XA_kernel_check tee "2 6 32"
 XA_check4internal_module() {
        local mod=${1}
        local version=${2}
Comment 8 Jeroen Roovers (RETIRED) gentoo-dev 2012-03-08 02:37:17 UTC
*** Bug 407343 has been marked as a duplicate of this bug. ***
Comment 9 Marcin Mirosław 2012-03-30 08:44:31 UTC
On hardend-3.3.0 ipset compiles without problem for me.
Comment 10 Marcin Mirosław 2012-05-06 11:49:47 UTC
xtables-addons-1.42 is out.
Comment 11 Olipro 2012-06-03 12:19:30 UTC
Created attachment 314045 [details, diff]
ebuild for xtables-addons 1.42 - diff against 1.39 ebuild

xtables-addons ebuild for 1.42 - compiles successfully against 3.2.12
Comment 12 Mike Gilbert gentoo-dev 2012-06-07 22:48:15 UTC
*** Bug 420161 has been marked as a duplicate of this bug. ***
Comment 13 mike 2012-06-08 03:15:07 UTC
I think, must also need to mask <net-firewall/ipset-6.10

-DEPEND=">=net-firewall/iptables-1.4.3"
+DEPEND=">=net-firewall/iptables-1.4.5
+!<net-firewall/ipset-6.10"

becouse:

v1.41 (2012-01-04)
==================
Changes:
- Deactivate build of ipset-genl by default.
  I think the original ipset package can now take over, given there are
  a handful of kernels (2.6.39 onwards) that do not need patching.
...
v1.40 (2011-11-30)
==================
....
Changes:
...
- update to ipset 6.10
Comment 14 Andreis Vinogradovs ( slepnoga ) 2012-07-13 07:03:21 UTC
Created attachment 318070 [details]
xtables-addons-1.43.ebuild

new version xtables-addons.
Comment 15 franky 2012-07-16 16:41:04 UTC
net-firewall/xtables-1.45 available

Ok, version 1.45 is a 0-day version bump request (today), but still only version 1.39 is in the tree.

A short little bump, please. :)
Comment 17 Alexander Petrenas 2012-07-31 19:50:28 UTC
Created attachment 319910 [details]
The ebuild for the latest 1.45 version
Comment 18 Olipro 2012-09-07 18:11:57 UTC
This is still languishing, perhaps a new maintainer for xtables-addons should be sought.
Comment 19 Sergey Popov gentoo-dev 2012-12-27 10:39:57 UTC
+*xtables-addons-1.45 (27 Dec 2012)
+
+  27 Dec 2012; Sergey Popov <pinkbyte@gentoo.org> +xtables-addons-1.45.ebuild:
+  Version bump, thanks to Andreis Vinogradovs
Comment 20 mike 2012-12-27 12:09:57 UTC
Created attachment 333466 [details]
net-firewall/xtables-addons-1.47.1.ebuild
Comment 21 mike 2012-12-27 12:13:58 UTC
Created attachment 333468 [details]
net-firewall/xtables-addons-2.0.ebuild

Work in kernel >=3.7
Comment 22 Andreis Vinogradovs ( slepnoga ) 2012-12-28 21:51:46 UTC
In rion overlay - use layman -a rion.
Pva, please add permission to bump this ebuild over proxy-commit ( pinkbyte or maksbotan )
Comment 23 Sergey Popov gentoo-dev 2012-12-29 17:12:45 UTC
+  29 Dec 2012; Sergey Popov <pinkbyte@gentoo.org>
+  +xtables-addons-1.47.1.ebuild:
+  Version bump, thanks to mike <mishanq AT gmail.com>, wrt bug #397749
Comment 24 Sergey Popov gentoo-dev 2012-12-29 18:19:17 UTC
+  29 Dec 2012; Sergey Popov <pinkbyte@gentoo.org> +xtables-addons-2.1.ebuild:
+  Version bump, wrt bug #397749, thanks to Andreis Vinogradovs
Comment 25 Andi H. 2013-01-07 15:13:54 UTC
You should slot the package or add a check for the kernelversion. The reason for this is, that xtables-addons 2.x requires kernel >=3.7 and won't compile/work on kernel <3.7 as xtables-addons 1.x works and compiles up to kernel 3.6.
So depending on the kernel used the ebuild should use 1.x or 2.x
Comment 26 Sergey Popov gentoo-dev 2013-01-07 20:05:16 UTC
(In reply to comment #25)
> You should slot the package or add a check for the kernelversion.

xtables-addons-2.1 already has check for a kernel versions - it requires at least 3.7 kernel.