apache: merge updates from master branch

These updates fix the issues earlier versions of Apache had with the recent
release of PCRE.

+9 -5
+2 -2
pkgs/servers/http/apache-httpd/2.2.nix
··· 12 assert mpm == "prefork" || mpm == "worker" || mpm == "event"; 13 14 stdenv.mkDerivation rec { 15 - version = "2.2.22"; 16 name = "apache-httpd-${version}"; 17 18 src = fetchurl { 19 url = "mirror://apache/httpd/httpd-${version}.tar.bz2"; 20 - sha1 = "766cd0843050a8dfb781e48b976f3ba6ebcf8696"; 21 }; 22 23 buildInputs = [perl apr aprutil pcre] ++
··· 12 assert mpm == "prefork" || mpm == "worker" || mpm == "event"; 13 14 stdenv.mkDerivation rec { 15 + version = "2.2.23"; 16 name = "apache-httpd-${version}"; 17 18 src = fetchurl { 19 url = "mirror://apache/httpd/httpd-${version}.tar.bz2"; 20 + sha1 = "2776145201068045d4ed83157a0e2e1c28c4c453"; 21 }; 22 23 buildInputs = [perl apr aprutil pcre] ++
+7 -3
pkgs/servers/http/apache-httpd/2.4.nix
··· 14 assert ldapSupport -> aprutil.ldapSupport && openldap != null; 15 16 stdenv.mkDerivation rec { 17 - version = "2.4.2"; 18 name = "apache-httpd-${version}"; 19 20 src = fetchurl { 21 url = "mirror://apache/httpd/httpd-${version}.tar.bz2"; 22 - sha1 = "8d391db515edfb6623c0c7c6ce5c1b2e1f7c64c2"; 23 }; 24 25 buildInputs = [perl] ++ 26 optional ldapSupport openldap ++ # there is no --with-ldap flag 27 - optional libxml2Support libxml2; # there is --with-libxml2, but it doesn't work 28 29 # Required for ‘pthread_cancel’. 30 NIX_LDFLAGS = "-lgcc_s"; ··· 38 --disable-debugger-mode 39 --enable-mods-shared=all 40 --enable-mpms-shared=all 41 ${optionalString proxySupport "--enable-proxy"} 42 ${optionalString sslSupport "--enable-ssl --with-ssl=${openssl}"} 43 ${optionalString luaSupport "--enable-lua --with-lua=${lua5}"} 44 ''; 45 46 postInstall = ''
··· 14 assert ldapSupport -> aprutil.ldapSupport && openldap != null; 15 16 stdenv.mkDerivation rec { 17 + version = "2.4.3"; 18 name = "apache-httpd-${version}"; 19 20 src = fetchurl { 21 url = "mirror://apache/httpd/httpd-${version}.tar.bz2"; 22 + sha256 = "17i4zdcjfvxks0p1fbqvab37kr8d6zscqaqan8pqkw8iq6wh48fq"; 23 }; 24 25 buildInputs = [perl] ++ 26 optional ldapSupport openldap ++ # there is no --with-ldap flag 27 + optional libxml2Support libxml2; 28 29 # Required for ‘pthread_cancel’. 30 NIX_LDFLAGS = "-lgcc_s"; ··· 38 --disable-debugger-mode 39 --enable-mods-shared=all 40 --enable-mpms-shared=all 41 + --enable-cern-meta 42 + --enable-imagemap 43 + --enable-cgi 44 ${optionalString proxySupport "--enable-proxy"} 45 ${optionalString sslSupport "--enable-ssl --with-ssl=${openssl}"} 46 ${optionalString luaSupport "--enable-lua --with-lua=${lua5}"} 47 + ${optionalString libxml2Support "--with-libxml2=${libxml2}/include/libxml2"} 48 ''; 49 50 postInstall = ''