summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorPacho Ramos <pacho@gentoo.org>2015-05-09 08:25:31 +0000
committerPacho Ramos <pacho@gentoo.org>2015-05-09 08:25:31 +0000
commita2b1a5ba215e7db96f5f1fc0727c3930a5cb322c (patch)
treedf1d1d983ee347f15764f15c0a2e90abe1bef4e2 /www-apache
parentSupport apache 2.4 (#532820) (diff)
downloadhistorical-a2b1a5ba215e7db96f5f1fc0727c3930a5cb322c.tar.gz
historical-a2b1a5ba215e7db96f5f1fc0727c3930a5cb322c.tar.bz2
historical-a2b1a5ba215e7db96f5f1fc0727c3930a5cb322c.zip
support apache 2.4 (#532822)
Package-Manager: portage-2.2.18/cvs/Linux x86_64 Manifest-Sign-Key: 0xA188FBD4
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_evasive/ChangeLog9
-rw-r--r--www-apache/mod_evasive/Manifest11
-rw-r--r--www-apache/mod_evasive/mod_evasive-1.10.1-r1.ebuild38
3 files changed, 51 insertions, 7 deletions
diff --git a/www-apache/mod_evasive/ChangeLog b/www-apache/mod_evasive/ChangeLog
index 6bab7a500697..3aa92be75cb4 100644
--- a/www-apache/mod_evasive/ChangeLog
+++ b/www-apache/mod_evasive/ChangeLog
@@ -1,6 +1,11 @@
# ChangeLog for www-apache/mod_evasive
-# Copyright 1999-2013 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_evasive/ChangeLog,v 1.6 2013/01/22 16:16:40 vostorga Exp $
+# Copyright 1999-2015 Gentoo Foundation; Distributed under the GPL v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_evasive/ChangeLog,v 1.7 2015/05/09 08:25:30 pacho Exp $
+
+*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)
22 Jan 2013; VĂ­ctor Ostorga <vostorga@gentoo.org> mod_evasive-1.10.1.ebuild:
Updating Homepage
diff --git a/www-apache/mod_evasive/Manifest b/www-apache/mod_evasive/Manifest
index 55a072503bbe..60838b7d532b 100644
--- a/www-apache/mod_evasive/Manifest
+++ b/www-apache/mod_evasive/Manifest
@@ -3,13 +3,14 @@ Hash: SHA256
AUX 10_mod_evasive.conf 935 SHA256 4f73e43bc1673987f045c9a34387b28ffbd0a2a079b87a9d8e52dc9608c21b1f SHA512 4ba4591738df21b624826ca11ed83d6751592c03e1dcd1df44e1dc3ec9ebc5533f51c86a6e91fa650770972f2d242257043d02d0c22800a9a119ee9e79d5148e WHIRLPOOL 7827f5ba6839cabe0a1efc4659ffee59af680e6cf6fc5a5a5a62ff4fbc105d7f92cdf62a501d2c765f61b3675ebf444848919bb2119da20cdf1bf92c16187a32
DIST mod_evasive_1.10.1.tar.gz 20454 SHA256 07c45139aa313899484a900f0fc162b3e17eb4f60fe474d7f3dd6c9941e95667 SHA512 03b276d1a3dc8e853ca7f3791d66383492a7ae8f3b73988f0eefa7e4e31f267da432e811de81c8d721033e152e94139efc99ad80da809f220a1330e9d43d39ba WHIRLPOOL d461998009eba9c961388b29e504e33d151f7720b84c7151b1b69e25428e55ef8eb1b42edf3bbbc1dcc9b1432760efb80bf45bf1060361d95e4b983e381a17a7
+EBUILD mod_evasive-1.10.1-r1.ebuild 955 SHA256 fe9eab713035bd551d15c69ae2951d01804efebb5721a391ba05296c135f4b6e SHA512 aad4d29b82a4d7d3720aa13758d3bbc16411d44c5b50eaac379b6853834677190361a2f3e621c2c24e95fb62c9ca848dbd1a850abae3e8e6a2a8f7756063158b WHIRLPOOL ff51b60cd0830547c67a9e3fd2f667cd2a72d6bf4f36373f4099f77b551c1acc70b952fec9238dd1e7c27d850509fe93b962edad05dfbe4301462a58688981bb
EBUILD mod_evasive-1.10.1.ebuild 867 SHA256 6765c6ffc4a1290f666e66d2fcdb22b8c04e32d816744aeb45fb6436a101da0a SHA512 b0c0bf58051c7b600f82e4c266b265af5574c9dab1e7ab8b24483631dd0a0176c8b2f37a47493f2ffe9b3143696fcd2e59e55ef49ec58c25fb6780f66a29bd08 WHIRLPOOL 233deed1828839b35744a757261bc0633ec49ad6884eb6c53965194d83452b9cd2c0164456a417d6da6be80c5f8a98fb7b761b1f1ced77efdc984f63777a75a4
-MISC ChangeLog 994 SHA256 08c5ae163a2a289686fce829ca586da9123f3b343c1b7e460ab9cad77a0bdab6 SHA512 215b2d574784672fab284fb41333032e1a53117b02bfc5e0d4b36b379d23a8ad2543b8d7ab9426bbb742f46fa9c8b957a1b8e5608c4d38825ab40a24c785087a WHIRLPOOL 02bf92c8bd5150828b955ebd0224e1a0017b2c3f09bdf143dd92e00db84544850c091d147f2125ab73979df07297db88ec09c55b97635b7a982d086945fda6a1
+MISC ChangeLog 1138 SHA256 9d742f5978bdd4cb2863e029bc875f29ccaccb5af72e896bef53f4cfea249c0d SHA512 dfa5d55a51e392686d81f77a3a963b4defb5adb4eb999f5e6687a9788198b87a7e44a464ce868a19b834f98badc7187dc92a6ec74ca0de8cad150911d8c834bd WHIRLPOOL b74984b8767881b26cc5c309f5802ab2784c1596ab717ac8bd8cb359d91f7c46679d4de941fbbc8a03133791017c815974824efbf745e71e9beac4f64b4e265e
MISC metadata.xml 208 SHA256 98f8aa3fb70533eeab6b09d5bc30bd8f649ec13d9b04363490082fb87bb6032e SHA512 d5a7f3cb2fe57f8d7783ba358068648b122d9f5de81a17bff61ce600e42b6487e6f7e2a62c8be95cc7021cb3ea88716824b1ad0565da922ea753bea2417b3d3d WHIRLPOOL e38a6cdef2acb3efdc182efde482593790f773ab3bb9b66cced3af47e4ab39368757e17c4352c6cacaefa338341db88c3bcc3ffcd32aabd7984c5b19051a7bb7
-----BEGIN PGP SIGNATURE-----
-Version: GnuPG v2.0.19 (GNU/Linux)
+Version: GnuPG v2
-iEYEAREIAAYFAlD+u2kACgkQKQaZ7OJe4zaxhACaAt72pv6iTVQN0RTtPP5zmJsp
-/0wAn2a5PtpwucfqA/Gcw2xSERhoN8W1
-=162P
+iEYEAREIAAYFAlVNxHsACgkQCaWpQKGI+9RS7gCeK5sFLYGEn1r32j6L3GqBY4u6
+Z8UAn3Gvzf2G8JOilxLKDvSKqVSA9Wqu
+=6vZU
-----END PGP SIGNATURE-----
diff --git a/www-apache/mod_evasive/mod_evasive-1.10.1-r1.ebuild b/www-apache/mod_evasive/mod_evasive-1.10.1-r1.ebuild
new file mode 100644
index 000000000000..8001deccbb52
--- /dev/null
+++ b/www-apache/mod_evasive/mod_evasive-1.10.1-r1.ebuild
@@ -0,0 +1,38 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Header: /var/cvsroot/gentoo-x86/www-apache/mod_evasive/mod_evasive-1.10.1-r1.ebuild,v 1.1 2015/05/09 08:25:30 pacho Exp $
+
+EAPI=5
+inherit apache-module eutils
+
+KEYWORDS="~amd64 ~x86"
+
+DESCRIPTION="mod_evasive is an evasive maneuvers module to provide action in the event of an HTTP DoS"
+HOMEPAGE="http://www.zdziarski.com/blog/?page_id=442"
+SRC_URI="http://www.zdziarski.com/projects/mod_evasive/${P/-/_}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+IUSE=""
+
+DEPEND=""
+RDEPEND=""
+
+APACHE2_MOD_CONF="10_${PN}"
+APACHE2_MOD_DEFINE="EVASIVE"
+
+need_apache2_4
+
+S="${WORKDIR}"/${PN}
+
+src_prepare() {
+ # Apache 2.4
+ sed -i -e 's/connection->remote_ip/connection->client_ip/' mod_evasive20.c || die
+ mv ${PN}20.c ${PN}.c
+ sed -i -e 's:evasive20_module:evasive_module:g' ${PN}.c || die
+}
+
+src_install() {
+ keepdir /var/log/apache2/evasive
+ apache-module_src_install
+}