Merge pull request #1437 from wkennington/subfix
Subversion and Dependent Package Cleanup
This commit is contained in:
commit
9203b12d2c
|
@ -1,13 +1,11 @@
|
|||
{ bdbSupport ? false # build support for Berkeley DB repositories
|
||||
, httpServer ? false # build Apache DAV module
|
||||
, httpSupport ? false # client must support http
|
||||
, sslSupport ? false # client must support https
|
||||
, compressionSupport ? false # client must support http compression
|
||||
, pythonBindings ? false
|
||||
, perlBindings ? false
|
||||
, javahlBindings ? false
|
||||
, saslSupport ? false
|
||||
, stdenv, fetchurl, apr, aprutil, neon, zlib, sqlite
|
||||
, stdenv, fetchurl, apr, aprutil, zlib, sqlite
|
||||
, httpd ? null, expat, swig ? null, jdk ? null, python ? null, perl ? null
|
||||
, sasl ? null, serf ? null
|
||||
}:
|
||||
|
@ -16,8 +14,6 @@ assert bdbSupport -> aprutil.bdbSupport;
|
|||
assert httpServer -> httpd != null;
|
||||
assert pythonBindings -> swig != null && python != null;
|
||||
assert javahlBindings -> jdk != null && perl != null;
|
||||
assert sslSupport -> neon.sslSupport;
|
||||
assert compressionSupport -> neon.compressionSupport;
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
|
||||
|
@ -31,7 +27,6 @@ stdenv.mkDerivation rec {
|
|||
};
|
||||
|
||||
buildInputs = [ zlib apr aprutil sqlite ]
|
||||
++ stdenv.lib.optional httpSupport neon
|
||||
++ stdenv.lib.optional httpSupport serf
|
||||
++ stdenv.lib.optional pythonBindings python
|
||||
++ stdenv.lib.optional perlBindings perl
|
||||
|
|
|
@ -1,4 +1,4 @@
|
|||
{ stdenv, fetchurl, apr, expat
|
||||
{ stdenv, fetchurl, makeWrapper, apr, expat, gnused
|
||||
, sslSupport ? true, openssl
|
||||
, bdbSupport ? false, db4
|
||||
, ldapSupport ? true, openldap
|
||||
|
@ -8,6 +8,10 @@ assert sslSupport -> openssl != null;
|
|||
assert bdbSupport -> db4 != null;
|
||||
assert ldapSupport -> openldap != null;
|
||||
|
||||
let
|
||||
optional = stdenv.lib.optional;
|
||||
in
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "apr-util-1.5.3";
|
||||
|
||||
|
@ -24,7 +28,15 @@ stdenv.mkDerivation rec {
|
|||
${stdenv.lib.optionalString ldapSupport "--with-ldap"}
|
||||
'';
|
||||
|
||||
propagatedBuildInputs = stdenv.lib.optional ldapSupport openldap;
|
||||
propagatedBuildInputs = [ makeWrapper apr expat ]
|
||||
++ optional sslSupport openssl
|
||||
++ optional bdbSupport db4
|
||||
++ optional ldapSupport openldap;
|
||||
|
||||
# Give apr1 access to sed for runtime invocations
|
||||
postInstall = ''
|
||||
wrapProgram $out/bin/apu-1-config --prefix PATH : "${gnused}/bin"
|
||||
'';
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
|
|
|
@ -8887,12 +8887,10 @@ let
|
|||
bdbSupport = true;
|
||||
httpServer = false;
|
||||
httpSupport = true;
|
||||
sslSupport = true;
|
||||
pythonBindings = false;
|
||||
perlBindings = false;
|
||||
javahlBindings = false;
|
||||
saslSupport = false;
|
||||
compressionSupport = true;
|
||||
httpd = apacheHttpd;
|
||||
sasl = cyrus_sasl;
|
||||
};
|
||||
|
|
Loading…
Reference in New Issue