apache: merge updates from master branch
These updates fix the issues earlier versions of Apache had with the recent release of PCRE.
This commit is contained in:
parent
592e4abe2b
commit
473ba2212d
@ -12,12 +12,12 @@ assert ldapSupport -> aprutil.ldapSupport && openldap != null;
|
|||||||
assert mpm == "prefork" || mpm == "worker" || mpm == "event";
|
assert mpm == "prefork" || mpm == "worker" || mpm == "event";
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.2.22";
|
version = "2.2.23";
|
||||||
name = "apache-httpd-${version}";
|
name = "apache-httpd-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://apache/httpd/httpd-${version}.tar.bz2";
|
url = "mirror://apache/httpd/httpd-${version}.tar.bz2";
|
||||||
sha1 = "766cd0843050a8dfb781e48b976f3ba6ebcf8696";
|
sha1 = "2776145201068045d4ed83157a0e2e1c28c4c453";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [perl apr aprutil pcre] ++
|
buildInputs = [perl apr aprutil pcre] ++
|
||||||
|
@ -14,17 +14,17 @@ assert sslSupport -> aprutil.sslSupport && openssl != null;
|
|||||||
assert ldapSupport -> aprutil.ldapSupport && openldap != null;
|
assert ldapSupport -> aprutil.ldapSupport && openldap != null;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
version = "2.4.2";
|
version = "2.4.3";
|
||||||
name = "apache-httpd-${version}";
|
name = "apache-httpd-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://apache/httpd/httpd-${version}.tar.bz2";
|
url = "mirror://apache/httpd/httpd-${version}.tar.bz2";
|
||||||
sha1 = "8d391db515edfb6623c0c7c6ce5c1b2e1f7c64c2";
|
sha256 = "17i4zdcjfvxks0p1fbqvab37kr8d6zscqaqan8pqkw8iq6wh48fq";
|
||||||
};
|
};
|
||||||
|
|
||||||
buildInputs = [perl] ++
|
buildInputs = [perl] ++
|
||||||
optional ldapSupport openldap ++ # there is no --with-ldap flag
|
optional ldapSupport openldap ++ # there is no --with-ldap flag
|
||||||
optional libxml2Support libxml2; # there is --with-libxml2, but it doesn't work
|
optional libxml2Support libxml2;
|
||||||
|
|
||||||
# Required for ‘pthread_cancel’.
|
# Required for ‘pthread_cancel’.
|
||||||
NIX_LDFLAGS = "-lgcc_s";
|
NIX_LDFLAGS = "-lgcc_s";
|
||||||
@ -38,9 +38,13 @@ stdenv.mkDerivation rec {
|
|||||||
--disable-debugger-mode
|
--disable-debugger-mode
|
||||||
--enable-mods-shared=all
|
--enable-mods-shared=all
|
||||||
--enable-mpms-shared=all
|
--enable-mpms-shared=all
|
||||||
|
--enable-cern-meta
|
||||||
|
--enable-imagemap
|
||||||
|
--enable-cgi
|
||||||
${optionalString proxySupport "--enable-proxy"}
|
${optionalString proxySupport "--enable-proxy"}
|
||||||
${optionalString sslSupport "--enable-ssl --with-ssl=${openssl}"}
|
${optionalString sslSupport "--enable-ssl --with-ssl=${openssl}"}
|
||||||
${optionalString luaSupport "--enable-lua --with-lua=${lua5}"}
|
${optionalString luaSupport "--enable-lua --with-lua=${lua5}"}
|
||||||
|
${optionalString libxml2Support "--with-libxml2=${libxml2}/include/libxml2"}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
postInstall = ''
|
postInstall = ''
|
||||||
|
Loading…
x
Reference in New Issue
Block a user