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

Bug 532822

Summary: www-apache/mod_evasive: port to apache 2.4
Product: Gentoo Linux Reporter: Pacho Ramos <pacho>
Component: Current packagesAssignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it <maintainer-needed>
Status: RESOLVED FIXED    
Severity: normal    
Priority: Normal    
Version: unspecified   
Hardware: All   
OS: Linux   
Whiteboard:
Package list:
Runtime testing required: ---
Bug Depends on:    
Bug Blocks: 468302    

Description Pacho Ramos gentoo-dev 2014-12-17 13:44:25 UTC
http://pkgs.fedoraproject.org/cgit/mod_evasive.git/tree/mod_evasive.spec

It contains how to port this
Comment 1 Pacho Ramos gentoo-dev 2015-05-09 08:25:38 UTC
+*mod_evasive-1.10.1-r1 (09 May 2015)
+
+  09 May 2015; Pacho Ramos <pacho@gentoo.org> +mod_evasive-1.10.1-r1.ebuild:
+  support apache 2.4 (#532822)
+
Comment 2 mentalstring 2015-08-23 13:44:34 UTC
I know I'm late for the feedback, but this change made it impossible to use with apache 2.2. Was this intentional?
Comment 3 Josh G 2016-05-10 01:43:55 UTC
(In reply to Paulo M from comment #2)
> I know I'm late for the feedback, but this change made it impossible to use
> with apache 2.2. Was this intentional?

And I'm late to chime in, Paulo. You can probably just change the ebuild's hard coding of 2.4 to 2.2 and then remove the below 2 lines:
>       # Apache 2.4
>       sed -i -e 's/connection->remote_ip/connection->client_ip/' mod_evasive20.c || die



I'll be testing this soon, as I'm still on Apache 2.2 and want to use the module.

-J