Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 148034 - net-misc/l7-filter-2.3 (stable version) doesn't compile against 2.6.18
Summary: net-misc/l7-filter-2.3 (stable version) doesn't compile against 2.6.18
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Other
: High normal (vote)
Assignee: Daniel Black (RETIRED)
URL:
Whiteboard:
Keywords:
: 149123 (view as bug list)
Depends on:
Blocks: 148429
  Show dependency tree
 
Reported: 2006-09-18 02:33 UTC by cilly
Modified: 2006-10-19 21:46 UTC (History)
1 user (show)

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


Attachments
l7-filter-2.5 ebuild against kernel 2.6.17 (l7-filter-2.5.ebuild,4.00 KB, application/octet-stream)
2006-09-22 21:10 UTC, k0001
Details
l7-protocols-2006.09.10.ebuild (l7-protocols-2006.09.10.ebuild,1.47 KB, application/octet-stream)
2006-09-27 04:56 UTC, k0001
Details
l7-filter-2.6.ebuild against kernel 2.6.18 (l7-filter-2.6.ebuild,4.08 KB, application/octet-stream)
2006-09-27 05:03 UTC, k0001
Details

Note You need to log in before you can comment on or make changes to this bug.
Description cilly 2006-09-18 02:33:27 UTC
Please, do an ebuild for version 2.5.

Attention, with the version 2.5 the protocol definitions come at version:

2006-09-10
Comment 1 k0001 2006-09-21 01:20:53 UTC
i need it too, i'll try doing it myself tomorrow... but, i've never done an ebuild :S ..
Comment 2 Daniel Black (RETIRED) gentoo-dev 2006-09-21 03:20:06 UTC
with this ebuild typically all you need to do is change the conditions of the which_patch function at the top to include the versions that apply to the new patch.
Comment 3 cilly 2006-09-21 08:40:49 UTC
New ebuild is required for kernel 2.6.18. l7-filter version 2.3 does not compile with kernel 2.6.18:

make && make modules_install
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CHK     include/linux/compile.h
  CC      net/ipv4/netfilter/ipt_layer7.o
net/ipv4/netfilter/ipt_layer7.c: In function 
Comment 4 cilly 2006-09-21 08:40:49 UTC
New ebuild is required for kernel 2.6.18. l7-filter version 2.3 does not compile with kernel 2.6.18:

make && make modules_install
  CHK     include/linux/version.h
  CHK     include/linux/utsrelease.h
  CHK     include/linux/compile.h
  CC      net/ipv4/netfilter/ipt_layer7.o
net/ipv4/netfilter/ipt_layer7.c: In function match:
net/ipv4/netfilter/ipt_layer7.c:373: error: too many arguments to function skb_linearize
net/ipv4/netfilter/ipt_layer7.c: At top level:
net/ipv4/netfilter/ipt_layer7.c:465: warning: initialization from incompatible pointer type
make[3]: *** [net/ipv4/netfilter/ipt_layer7.o] Error 1
make[2]: *** [net/ipv4/netfilter] Error 2
make[1]: *** [net/ipv4] Error 2
make: *** [net] Error 2
Comment 5 k0001 2006-09-22 21:10:38 UTC
Created attachment 97809 [details]
l7-filter-2.5 ebuild against kernel 2.6.17

it works for me... i'm using hardened-sources-2.6.17-r1
i'm trying it tomorow...
Comment 6 k0001 2006-09-22 21:58:09 UTC
dunno if it's really necesary... but



(this's the diry way...you should really consider doing this inside an portage_overlay)

modify /usr/portage/net-firewall/iptables/iptables-1.3.5-r4.ebuild

L7_PV="2.3" 

to

L7_PV="2.5"

and...

ebuild /usr/portage/net-firewall/iptables/iptables-1.3.5-r4.ebuild digest

Comment 7 Jakub Moc (RETIRED) gentoo-dev 2006-09-25 15:51:14 UTC
*** Bug 149123 has been marked as a duplicate of this bug. ***
Comment 8 cilly 2006-09-25 15:55:36 UTC
Version 2.6 is out for kernel 2.6.18. Dont forget to include the matching protocols, they have changed, too.
Comment 9 cilly 2006-09-25 22:13:38 UTC
I compiled kernel 2.6.18 with l7-filters 2.6 successfully. l7-filters works like a charm and everything is working niceley.

Please, do an ebuild for l7-filters with

l7-filter 2.6
l7-protocols 2006-09-10
Comment 10 k0001 2006-09-27 04:56:09 UTC
Created attachment 98217 [details]
l7-protocols-2006.09.10.ebuild

l7-protocols-2006.09.10.ebuild
Comment 11 k0001 2006-09-27 05:03:59 UTC
Created attachment 98218 [details]
l7-filter-2.6.ebuild against kernel 2.6.18

can't test it... i'm using 2.6.17

but it should work...

post your results here.
Comment 12 Daniel Black (RETIRED) gentoo-dev 2006-09-27 05:29:07 UTC
thanks cilly and k0001 - version added. let me know if there are any problems.
Comment 13 cilly 2006-09-27 07:53:30 UTC
Daniel Black, thx, works here. 

Tested with 2.6.17.13 and 2.6.18 both vanilla sources. no problems

Ready to put it into portage.
Comment 14 cilly 2006-09-28 10:05:35 UTC
I tested l7-filter with l7-protocols-2006.09.10 ebuilds from portage on vanilla kernels 2.6.17.13 and 2.6.18.

Works fine. No problems. Ready to mark stable.
Comment 15 Daniel Drake (RETIRED) gentoo-dev 2006-10-19 18:26:46 UTC
Reopening as l7-filter in stable tree doesn't compile against 2.6.17
Comment 16 cilly 2006-10-19 18:47:46 UTC
(In reply to comment #14)
> Reopening as l7-filter in stable tree doesn't compile against 2.6.17

version 2.3 of l7-filter does compile against kernel 2.6.17, at least for me.
Comment 17 Daniel Drake (RETIRED) gentoo-dev 2006-10-19 19:04:25 UTC
Typo, I meant 2.6.18. Am I right in saying that v2.3 it doesn't compile there?
Comment 18 k0001 2006-10-19 21:02:39 UTC
2.3 is not suposed to compile against 2.6.18. you should use 2.6 against that kernel.
Comment 19 cilly 2006-10-19 21:46:22 UTC
Finally closing this bug, since it is solved with version 2.6 of l7-filter.