Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 532822 - www-apache/mod_evasive: port to apache 2.4
Summary: www-apache/mod_evasive: port to apache 2.4
Status: RESOLVED FIXED
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: Current packages (show other bugs)
Hardware: All Linux
: Normal normal (vote)
Assignee: No maintainer - Look at https://wiki.gentoo.org/wiki/Project:Proxy_Maintainers if you want to take care of it
URL:
Whiteboard:
Keywords:
Depends on:
Blocks: apache-2.4-stable
  Show dependency tree
 
Reported: 2014-12-17 13:44 UTC by Pacho Ramos
Modified: 2016-05-10 01:43 UTC (History)
0 users

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


Attachments

Note You need to log in before you can comment on or make changes to this bug.
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 Paulo M 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