Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!

Bug 151826

Summary: net-www/mod_security-2.0 version bump
Product: Gentoo Linux Reporter: Ludovic Fauvet <etix>
Component: New packagesAssignee: Luca Longinotti (RETIRED) <chtekk>
Status: RESOLVED FIXED    
Severity: enhancement CC: apache-bugs, basic, dju, farcepest, jabapi, kanelxake, nicholas, pookey, rainhead
Priority: High    
Version: unspecified   
Hardware: All   
OS: Linux   
URL: http://www.modsecurity.org/
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 169778    
Attachments: Ebuild for 2.0.4
Config file for above ebuild.
Digest for above ebuild.
Ebuild for new core rules package.
Digest for core rules ebuild.
net-www/mod_security/99_mod_security.conf
net-www/mod_security/mod_security-2.1.1.ebuild

Description Ludovic Fauvet 2006-10-18 05:19:11 UTC
ModSecurity 2.0 has been released some days ago. It would be nice if an ebuild could be done for it.
This release support apache 2 and later.
Comment 1 Patrik Karlsson 2006-11-26 11:53:09 UTC
(In reply to comment #0)
> ModSecurity 2.0 has been released some days ago. It would be nice if an ebuild
> could be done for it.
> This release support apache 2 and later.

Hi,

I have made a quick-n-dirty hack of the old ebuild. I don't know if its of any help. All information and the modified files are avaialable from here: http://www.cqure.net/wp/?p=40. It comes without the core rules package which either needs to be added to the ebuild or in a separate one. Currently I have just copied the rule files to the directory outlined in my new 99_mod_security.conf

//Patrik
Comment 2 Nick Palmer 2006-11-28 09:34:30 UTC
Created attachment 102925 [details]
Ebuild for 2.0.4

Based on ebuild on page above.
Comment 3 Nick Palmer 2006-11-28 09:35:29 UTC
Created attachment 102926 [details]
Config file for above ebuild.
Comment 4 Nick Palmer 2006-11-28 09:36:35 UTC
Created attachment 102927 [details]
Digest for above ebuild.
Comment 5 Nick Palmer 2006-11-28 09:38:45 UTC
Created attachment 102930 [details]
Ebuild for new core rules package.
Comment 6 Nick Palmer 2006-11-28 09:39:45 UTC
Created attachment 102931 [details]
Digest for core rules ebuild.
Comment 7 Nick Palmer 2006-11-28 09:58:00 UTC
A better ebuild developer could probably fix these up a bunch but they work well for me. I am not sure in the core rules ebuild how to make it skip the src_compile without doing something in there, but I wanted the default -D CORE_SECURITY comment from apache-module stuff. Also not sure how to handle the apache2 USE variable since it only supports apache2.
Comment 8 Uwe Klosa 2006-12-12 02:36:03 UTC
When will this version be in portage?
Comment 9 Marco Clocchiatti 2007-02-06 07:21:54 UTC
(In reply to comment #8)
> When will this version be in portage?
> 

Now we are also waiting for modsecurity-apache_2.1.0, which should be marked stable soon. Please update portage.
Comment 10 Janne Pikkarainen 2007-03-19 08:22:18 UTC
mod_security v2.1.0 has been out for a while, so I would be interested in about this package. :)
Comment 11 Conrad Kostecki gentoo-dev 2007-04-13 06:42:28 UTC
Its still not in Portage :(
Comment 12 Conrad Kostecki gentoo-dev 2007-04-13 06:43:04 UTC
2.1.1 is out ...
Comment 13 Julien Allanos (RETIRED) gentoo-dev 2007-04-13 08:10:45 UTC
Created attachment 116132 [details]
net-www/mod_security/99_mod_security.conf

FYI, here is the ebuild and conf file I'm using atm.
Comment 14 Julien Allanos (RETIRED) gentoo-dev 2007-04-13 08:11:30 UTC
Created attachment 116133 [details]
net-www/mod_security/mod_security-2.1.1.ebuild
Comment 15 Christian Heim (RETIRED) gentoo-dev 2007-05-06 15:46:18 UTC
I just commited this to CVS, should show up on your friendly mirror in due time. Please test the ebuild and report back. :)