commit:     a8efcb67ef0b9e831af5b0d3d4dca73699133a1f
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 26 17:50:17 2021 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Sun Dec 26 17:50:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a8efcb67

www-apache/mod_evasive: treeclean

Closes: https://bugs.gentoo.org/827654
Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 profiles/package.mask                              |  6 ----
 www-apache/mod_evasive/Manifest                    |  1 -
 www-apache/mod_evasive/files/10_mod_evasive.conf   | 31 ------------------
 www-apache/mod_evasive/metadata.xml                |  5 ---
 .../mod_evasive/mod_evasive-1.10.1-r1.ebuild       | 37 ----------------------
 5 files changed, 80 deletions(-)

diff --git a/profiles/package.mask b/profiles/package.mask
index 058fd237126a..c46be0b6b118 100644
--- a/profiles/package.mask
+++ b/profiles/package.mask
@@ -269,12 +269,6 @@ www-apache/mod_ldap_userdir
 # Removal in 30 days. Bug #827657
 www-apache/mod_extract_forwarded
 
-# Marek Szuba <[email protected]> (2021-11-27)
-# No upstream activity since October 2005, release tarballs
-# not available any more. Unmaintained in Gentoo, EAPI 5.
-# Removal in 30 days. Bug #827654
-www-apache/mod_evasive
-
 # Hans de Graaff <[email protected]> (2021-11-26)
 # Mask new rubygems version for testing. This version uses a new
 # gentoo-defaults profile, bug #789957

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
-}

Reply via email to