http://pkgs.fedoraproject.org/cgit/mod_evasive.git/tree/mod_evasive.spec It contains how to port this
+*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) +
I know I'm late for the feedback, but this change made it impossible to use with apache 2.2. Was this intentional?
(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