summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJakov Smolić <jsmolic@gentoo.org>2021-12-26 18:50:17 +0100
committerJakov Smolić <jsmolic@gentoo.org>2021-12-26 18:50:17 +0100
commita8efcb67ef0b9e831af5b0d3d4dca73699133a1f (patch)
tree1a80c96c4290f59fca0bca7a2792e10ba4fb355a /www-apache
parentdev-java/jss: treeclean (diff)
downloadgentoo-a8efcb67ef0b9e831af5b0d3d4dca73699133a1f.tar.gz
gentoo-a8efcb67ef0b9e831af5b0d3d4dca73699133a1f.tar.bz2
gentoo-a8efcb67ef0b9e831af5b0d3d4dca73699133a1f.zip
www-apache/mod_evasive: treeclean
Closes: https://bugs.gentoo.org/827654 Signed-off-by: Jakov Smolić <jsmolic@gentoo.org>
Diffstat (limited to 'www-apache')
-rw-r--r--www-apache/mod_evasive/Manifest1
-rw-r--r--www-apache/mod_evasive/files/10_mod_evasive.conf31
-rw-r--r--www-apache/mod_evasive/metadata.xml5
-rw-r--r--www-apache/mod_evasive/mod_evasive-1.10.1-r1.ebuild37
4 files changed, 0 insertions, 74 deletions
diff --git a/www-apache/mod_evasive/Manifest b/www-apache/mod_evasive/Manifest
deleted file mode 100644
index 822cb4c1b975..000000000000
--- a/www-apache/mod_evasive/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST mod_evasive_1.10.1.tar.gz 20454 BLAKE2B 77e8692733bfb2b6bedf17e5e84fcb8efc99af66621579b93c1be6d5b75aa19cc1d6defe729c64b06f3179dda6b090062fd71c44788be6663f9352b2c6f8a30d SHA512 03b276d1a3dc8e853ca7f3791d66383492a7ae8f3b73988f0eefa7e4e31f267da432e811de81c8d721033e152e94139efc99ad80da809f220a1330e9d43d39ba
diff --git a/www-apache/mod_evasive/files/10_mod_evasive.conf b/www-apache/mod_evasive/files/10_mod_evasive.conf
deleted file mode 100644
index 31ea08c7bf09..000000000000
--- a/www-apache/mod_evasive/files/10_mod_evasive.conf
+++ /dev/null
@@ -1,31 +0,0 @@
-<IfDefine EVASIVE>
-LoadModule evasive_module modules/mod_evasive.so
-
-DOSHashTableSize 3097
-DOSPageCount 5
-DOSSiteCount 100
-DOSPageInterval 2
-DOSSiteInterval 2
-DOSBlockingPeriod 10
-
-# Set here an email to notify the DoS to someone
-# (here is better to set the server administrator email)
-DOSEmailNotify root
-
-# Uncomment this line if you want to execute a specific command
-# after the DoS detection
-#DOSSystemCommand "su - someuser -c '/sbin/... %s ...'"
-
-# Specify the desired mod_evasive log location
-DOSLogDir /var/log/apache2/evasive
-
-# WHITELISTING IP ADDRESSES
-# IP addresses of trusted clients can be whitelisted to insure they are never
-# denied. The purpose of whitelisting is to protect software, scripts, local
-# searchbots, or other automated tools from being denied for requesting large
-# amounts of data from the server.
-#DOSWhitelist 127.0.0.*
-#DOSWhitelist 172.16.1.*
-</IfDefine>
-
-# vim: ts=4 filetype=apache
diff --git a/www-apache/mod_evasive/metadata.xml b/www-apache/mod_evasive/metadata.xml
deleted file mode 100644
index 85e4ed814fa2..000000000000
--- a/www-apache/mod_evasive/metadata.xml
+++ /dev/null
@@ -1,5 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
-<pkgmetadata>
-<!-- maintainer-needed -->
-</pkgmetadata>
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
deleted file mode 100644
index d9ffcc51580b..000000000000
--- a/www-apache/mod_evasive/mod_evasive-1.10.1-r1.ebuild
+++ /dev/null
@@ -1,37 +0,0 @@
-# Copyright 1999-2017 Gentoo Foundation
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=5
-inherit apache-module eutils
-
-KEYWORDS="~amd64 ~x86"
-
-DESCRIPTION="Evasive maneuvers module for the event of an HTTP DoS"
-HOMEPAGE="https://github.com/jzdziarski/mod_evasive"
-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
-}