Merge commit staging+systemd into closure-size

Many non-conflict problems weren't (fully) resolved in this commit yet.
This commit is contained in:
Vladimír Čunát
2015-10-03 13:33:37 +02:00
6304 changed files with 708451 additions and 130034 deletions
+2 -2
View File
@@ -12,12 +12,12 @@ assert ldapSupport -> aprutil.ldapSupport && openldap != null;
assert mpm == "prefork" || mpm == "worker" || mpm == "event";
stdenv.mkDerivation rec {
version = "2.2.29";
version = "2.2.31";
name = "apache-httpd-${version}";
src = fetchurl {
url = "mirror://apache/httpd/httpd-${version}.tar.bz2";
sha1 = "1d6a8fbc1391d358cc6fe430edc16222b97258d5";
sha256 = "1b165zi7jrrlz5wmyy3b34lcs3dl4g0dymfb0qxwdnimylcrsbzk";
};
outputs = [ "dev" "out" "doc" ];
+2 -2
View File
@@ -14,12 +14,12 @@ assert sslSupport -> aprutil.sslSupport && openssl != null;
assert ldapSupport -> aprutil.ldapSupport && openldap != null;
stdenv.mkDerivation rec {
version = "2.4.12";
version = "2.4.16";
name = "apache-httpd-${version}";
src = fetchurl {
url = "mirror://apache/httpd/httpd-${version}.tar.bz2";
sha256 = "1r7a63ka41vlswrqbb21vall6sc7svwgd497kb6dh8a6zvnkjvdd";
sha256 = "0hrpy6gjwma0kba7p7m61vwh82qcnkf08123lrwpg257m93hnrmc";
};
buildInputs = [perl] ++
@@ -10,6 +10,12 @@ stdenv.mkDerivation rec {
patches = [ ./install.patch ];
postPatch = ''
substituteInPlace dist/version.sh \
--replace 'GIT=`git describe --always`' "" \
--replace '-$GIT' ""
'';
preInstall = ''
installFlags="LIBEXECDIR=$out/modules $installFlags"
mkdir -p $out/modules $out/bin
@@ -1,11 +1,11 @@
{ stdenv, fetchurl, apacheHttpd, jdk }:
stdenv.mkDerivation rec {
name = "tomcat-connectors-1.2.40";
name = "tomcat-connectors-1.2.41-dev-1613051";
src = fetchurl {
url = "http://www.apache.si/tomcat/tomcat-connectors/jk/${name}-src.tar.gz";
sha256 = "0pbh6s19ba5k2kahiiqgx8lz8v4fjllzn0w6hjd08x7z9my38pl9";
url = "http://people.apache.org/~rjung/mod_jk-dev/${name}-src.tar.gz";
sha256 = "11khipjpy3y84j1pp7yyx76y64jccvyhh3klwzqxylff49vjc2fc";
};
configureFlags = "--with-apxs=${apacheHttpd}/bin/apxs --with-java-home=${jdk}";
+5 -5
View File
@@ -1,4 +1,4 @@
{ stdenv, fetchurl, unzip, jdk, lib }:
{ stdenv, fetchurl, unzip, jdk }:
stdenv.mkDerivation {
name = "jboss-as-7.1.1.Final";
@@ -16,10 +16,10 @@ stdenv.mkDerivation {
find $out/bin -name \*.sh -print0 | xargs -0 sed -i -e '/#!\/bin\/sh/aJAVA_HOME=${jdk}'
'';
meta = {
homepage = "http://www.jboss.org/";
meta = with stdenv.lib; {
homepage = http://www.jboss.org/;
description = "Open Source J2EE application server";
license = "GPL/LGPL";
maintainers = [ lib.maintainers.sander ];
license = licenses.lgpl21;
maintainers = [ maintainers.sander ];
};
}
+3 -5
View File
@@ -4,9 +4,9 @@ stdenv.mkDerivation rec {
name = "jetty-9.2.5";
src = fetchurl {
url = "http://eclipse.org/downloads/download.php?file=/jetty/stable-9/dist/jetty-distribution-9.2.5.v20141112.tar.gz&r=1";
name = "jetty-distribution-9.2.5.v20141112.tar.gz";
sha256 = "1azqhvvqm9il5n07vms5vv27vr3qhmsy44nmqcgsaggq7p37swf1";
url = "http://eclipse.org/downloads/download.php?file=/jetty/stable-9/dist/jetty-distribution-9.2.11.v20150529.tar.gz&r=1";
name = "jetty-distribution-9.2.11.v20150529.tar.gz";
sha256 = "1d9s9l64b1l3x6vkx8qwgzfqwm55iq5g9xjjm2h2akf494yx1mrd";
};
phases = [ "unpackPhase" "installPhase" ];
@@ -21,8 +21,6 @@ stdenv.mkDerivation rec {
homepage = http://www.eclipse.org/jetty/;
maintainers = [ stdenv.lib.maintainers.shlevy ];
platforms = stdenv.lib.platforms.all;
license = [ stdenv.lib.licenses.asl20 stdenv.lib.licenses.epl10 ];
+3 -3
View File
@@ -1,13 +1,13 @@
{stdenv, fetchurl, unzip}:
stdenv.mkDerivation {
name = "jetty-5.1.4";
name = "jetty-6.1.4";
builder = ./bin-builder.sh;
buildInputs = [unzip];
src = fetchurl {
url = mirror://sourceforge/jetty/jetty-5.1.4.zip;
sha256 = "1lzvsrlybrf3zzzv4hi2v82qzpkfkib3xbwwlya8c08gf0360mrk";
url = mirror://sourceforge/jetty/jetty-6.1.4.zip;
sha256 = "061cx442g5a5szzms9zhnfmr4aipmqyy9r8m5r84gr79gz9z6dv0";
};
}
+2 -2
View File
@@ -7,11 +7,11 @@ assert enableMagnet -> lua5_1 != null;
assert enableMysql -> mysql != null;
stdenv.mkDerivation rec {
name = "lighttpd-1.4.35";
name = "lighttpd-1.4.37";
src = fetchurl {
url = "http://download.lighttpd.net/lighttpd/releases-1.4.x/${name}.tar.xz";
sha256 = "18rh7xyx69xbwl20znnjma1dq5fay0ygjjvpn3gaa7dxrir9nghi";
sha256 = "1gbri5avg1jv2g585wk0jp53mf9jjdz2py9774mxm8bwarh6ykl0";
};
buildInputs = [ pkgconfig pcre libxml2 zlib attr bzip2 which file openssl ]
+25
View File
@@ -0,0 +1,25 @@
{ stdenv, fetchurl }:
stdenv.mkDerivation rec {
name = "micro-httpd-20140814";
src = fetchurl {
url = "http://acme.com/software/micro_httpd/micro_httpd_14Aug2014.tar.gz";
sha256 = "0mlm24bi31s0s8w55i0sysv2nc1n2x4cfp6dm47slz49h2fz24rk";
};
preBuild = ''
makeFlagsArray=(BINDIR="$out/bin" MANDIR="$out/share/man/man8")
mkdir -p $out/bin
mkdir -p $out/share/man/man8
'';
meta = with stdenv.lib; {
homepage = "http://acme.com/software/micro_httpd/";
description = "a really small HTTP server";
license = licenses.bsd2;
platforms = platforms.unix;
maintainers = with maintainers; [ copumpkin ];
};
}
+4
View File
@@ -12,6 +12,10 @@ stdenv.mkDerivation rec {
enableParallelBuilding = true;
# Fixes compat with boost 1.59
# Please attempt removing when updating
CPPFLAGS = "-DBOOST_ERROR_CODE_HEADER_ONLY -DBOOST_SYSTEM_NO_DEPRECATED";
meta = {
homepage = "http://mini-httpd.nongnu.org/";
description = "a minimalistic high-performance web server";
+17 -8
View File
@@ -1,13 +1,16 @@
{ stdenv, fetchurl, fetchFromGitHub, openssl, zlib, pcre, libxml2, libxslt, expat
, gd, geoip, luajit
, curl, apr, aprutil, apacheHttpd, yajl, libcap, modsecurity_standalone
, rtmp ? false
, fullWebDAV ? false
, syslog ? false
, moreheaders ? false
, echo ? false
, ngx_lua ? false
, modsecurity ? false
, ngx_lua ? modsecurity || false
, set_misc ? false
, fluent ? false
, extraModules ? []
}:
with stdenv.lib;
@@ -47,6 +50,8 @@ let
sha256 = "01wkqhk8mk8jgmzi7jbzmg5kamffx3lmhj5yfwryvnvs6xqs74wn";
};
modsecurity-ext = modsecurity_standalone.nginx;
echo-ext = fetchFromGitHub {
owner = "openresty";
repo = "echo-nginx-module";
@@ -57,8 +62,8 @@ let
lua-ext = fetchFromGitHub {
owner = "openresty";
repo = "lua-nginx-module";
rev = "v0.9.15";
sha256 = "0kicfs0gyfb5fhjmrwr6p09c5x6g0jwsh0wg5bsp3p209rnbq94q";
rev = "v0.9.16";
sha256 = "0dvdam228jhsrayb22ishljdkgib08bakh8ygn84sq0c2xbidzlp";
};
set-misc-ext = fetchFromGitHub {
@@ -92,7 +97,8 @@ stdenv.mkDerivation rec {
buildInputs =
[ openssl zlib pcre libxml2 libxslt gd geoip
] ++ optional fullWebDAV expat
++ optional ngx_lua luajit;
++ optional ngx_lua luajit
++ optionals modsecurity [ curl apr aprutil apacheHttpd yajl ];
LUAJIT_LIB = if ngx_lua then "${luajit}/lib" else "";
LUAJIT_INC = if ngx_lua then "${luajit}/include/luajit-2.0" else "";
@@ -102,9 +108,7 @@ stdenv.mkDerivation rec {
configureFlags = [
"--with-select_module"
"--with-poll_module"
"--with-aio_module"
"--with-threads"
"--with-file-aio"
"--with-http_ssl_module"
"--with-http_spdy_module"
"--with-http_realip_module"
@@ -133,12 +137,17 @@ stdenv.mkDerivation rec {
++ optional echo "--add-module=${echo-ext}"
++ optional ngx_lua "--add-module=${develkit-ext} --add-module=${lua-ext}"
++ optional set_misc "--add-module=${set-misc-ext}"
++ optional (elem stdenv.system (with platforms; linux ++ freebsd)) "--with-file-aio"
++ optional fluent "--add-module=${fluentd}";
++ optionals (elem stdenv.system (with platforms; linux ++ freebsd))
[ "--with-file-aio" "--with-aio_module" ]
++ optional fluent "--add-module=${fluentd}"
++ optional modsecurity "--add-module=${modsecurity-ext}/nginx/modsecurity"
++ (map (m: "--add-module=${m}") extraModules);
additionalFlags = optionalString stdenv.isDarwin "-Wno-error=deprecated-declarations -Wno-error=conditional-uninitialized";
NIX_CFLAGS_COMPILE = optionalString modsecurity "-I${aprutil}/include/apr-1 -I${apacheHttpd}/include -I${apr}/include/apr-1 -I${yajl}/include";
preConfigure = ''
export NIX_CFLAGS_COMPILE="$NIX_CFLAGS_COMPILE -I${libxml2}/include/libxml2 $additionalFlags"
'';
+7 -5
View File
@@ -5,15 +5,16 @@
, syslog ? false
, moreheaders ? false
, echo ? false
, ngx_lua ? false }:
, ngx_lua ? false
, withStream ? false }:
with stdenv.lib;
let
version = "1.7.11";
version = "1.9.4";
mainSrc = fetchurl {
url = "http://nginx.org/download/nginx-${version}.tar.gz";
sha256 = "15cnlrhiqklqfzwfspkp0i6g04zdhc092dh593yqnqqf450dgnfs";
sha256 = "1a1bixw2a4s5c3qzw3583s4a4y6i0sdzhihhlbab5rkyfh1hr6s7";
};
rtmp-ext = fetchFromGitHub {
@@ -61,8 +62,8 @@ let
lua-ext = fetchFromGitHub {
owner = "openresty";
repo = "lua-nginx-module";
rev = "v0.9.12";
sha256 = "0r07q1n3nvi7m3l8zk7nfk0z9kjhqknav61ys9lshh2ylsmz1lf4";
rev = "v0.9.16";
sha256 = "0dvdam228jhsrayb22ishljdkgib08bakh8ygn84sq0c2xbidzlp";
};
in
@@ -109,6 +110,7 @@ stdenv.mkDerivation rec {
++ optional moreheaders "--add-module=${moreheaders-ext}"
++ optional echo "--add-module=${echo-ext}"
++ optional ngx_lua "--add-module=${develkit-ext} --add-module=${lua-ext}"
++ optional withStream "--with-stream"
++ optional (elem stdenv.system (with platforms; linux ++ freebsd)) "--with-file-aio";
+2 -2
View File
@@ -7,11 +7,11 @@ with stdenv.lib;
stdenv.mkDerivation rec {
name = "openresty-${version}";
version = "1.7.10.1";
version = "1.9.3.1";
src = fetchurl {
url = "http://openresty.org/download/ngx_openresty-${version}.tar.gz";
sha256 = "0yg6pkagkkga6ly6fgmfcf557r2b4m75gyn6a7p9qcamb4zdgl2g";
sha256 = "1fw8yxjndf5gsk44l4bsixm270fxv7f5cdiwzq9ps6j3hhgx5kyv";
};
buildInputs = [ openssl zlib pcre libxml2 libxslt gd geoip perl ];
+2 -2
View File
@@ -1,6 +1,6 @@
import ./recent.nix
{
versionMajor = "6";
versionMinor = "0.39";
sha256 = "19qix6affhc252n03smjf482drg3nxd27shni1gvhphgj3zfmgfy";
versionMinor = "0.44";
sha256 = "0942f0ss6w9k23xg94nir2dbbkqrqp5k628jflk51ikm5qr95dxa";
}
+2 -2
View File
@@ -1,6 +1,6 @@
import ./recent.nix
{
versionMajor = "7";
versionMinor = "0.55";
sha256 = "c20934fda63bc7311e2d8e067d67f886890c8be72280425c5f6f8fdd7a376c15";
versionMinor = "0.62";
sha256 = "0v8zvyd4h85ynnday58x0ppplw4flxyjsrmrpg78rrv3w49fm1x7";
}
+2 -2
View File
@@ -1,6 +1,6 @@
import ./recent.nix
{
versionMajor = "8";
versionMinor = "0.9";
sha256 = "5ea3c8260088ee4fd223a532a4b0c23a10e549c34705e2f190279a1a7f1f83d9";
versionMinor = "0.23";
sha256 = "0f0s35iqs1zpifya0qvdrk55r77jr074sc0zk5cjivxaxnhik2y9";
}
+2 -2
View File
@@ -2,11 +2,11 @@
stdenv.mkDerivation rec {
name = "yaws-${version}";
version = "1.99";
version = "2.0";
src = fetchurl {
url = "http://yaws.hyber.org/download/${name}.tar.gz";
sha256 = "057ymg84ji4pfi3xai6kis3mk8zks2ynbiam0x68cb4cb1yfzwcl";
sha256 = "1gwk44a07n7yvg900yrlfc6qpvjl64k2h2hddd1jaaay8lgpcch6";
};
# The tarball includes a symlink yaws -> yaws-1.95, which seems to be