about summary refs log tree commit diff
path: root/pkgs/servers
diff options
context:
space:
mode:
authorSandro <sandro.jaeckel@gmail.com>2021-03-25 12:13:44 +0100
committerGitHub <noreply@github.com>2021-03-25 12:13:44 +0100
commitfa69c5754241880ea43506500fc2453765d4feed (patch)
treed12a8c45dbe6f8845e2255af6f700fbfde8f0d6b /pkgs/servers
parent08d3f9aa07ab33efb459fb36f4e3f28f16e603bb (diff)
parent6178d37883c267aafd0afe2da221a38e22957b4c (diff)
downloadnixlib-fa69c5754241880ea43506500fc2453765d4feed.tar
nixlib-fa69c5754241880ea43506500fc2453765d4feed.tar.gz
nixlib-fa69c5754241880ea43506500fc2453765d4feed.tar.bz2
nixlib-fa69c5754241880ea43506500fc2453765d4feed.tar.lz
nixlib-fa69c5754241880ea43506500fc2453765d4feed.tar.xz
nixlib-fa69c5754241880ea43506500fc2453765d4feed.tar.zst
nixlib-fa69c5754241880ea43506500fc2453765d4feed.zip
Merge pull request #117269 from aanderse/apacheHttpdPackages
Diffstat (limited to 'pkgs/servers')
-rw-r--r--pkgs/servers/http/apache-modules/mod_evasive/default.nix35
1 files changed, 0 insertions, 35 deletions
diff --git a/pkgs/servers/http/apache-modules/mod_evasive/default.nix b/pkgs/servers/http/apache-modules/mod_evasive/default.nix
deleted file mode 100644
index daac48398538..000000000000
--- a/pkgs/servers/http/apache-modules/mod_evasive/default.nix
+++ /dev/null
@@ -1,35 +0,0 @@
-{ lib, stdenv, fetchurl, apacheHttpd }:
-
-if lib.versionAtLeast (lib.getVersion apacheHttpd) "2.4" then
-
-  throw "mod_evasive is not supported on Apache httpd 2.4"
-
-else
-
-stdenv.mkDerivation {
-  name = "mod_evasive-1.10.1";
-
-  src = fetchurl {
-    url = "http://www.zdziarski.com/blog/wp-content/uploads/2010/02/mod_evasive_1.10.1.tar.gz";
-    sha256 = "0rsnx50rjv6xygbp9r0gyss7xqdkcb0hy3wh9949jf1im8wm3i07";
-  };
-
-  buildInputs = [ apacheHttpd ];
-
-  buildPhase = ''
-    export APACHE_LIBEXECDIR=$out/modules
-    export makeFlagsArray=(APACHE_LIBEXECDIR=$out/modules)
-    apxs -ca mod_evasive20.c
-  '';
-
-  installPhase = ''
-    mkdir -p $out/modules
-    cp .libs/mod_evasive20.so $out/modules
-  '';
-
-  meta = {
-    homepage = "http://www.zdziarski.com/blog/?page_id=442";
-    description = "Evasive maneuvers module for Apache to provide evasive action in the event of an HTTP DoS or DDoS attack or brute force attack";
-    platforms = lib.platforms.linux;
-  };
-}