subversion: add sasl support

svn path=/nixpkgs/trunk/; revision=31530
This commit is contained in:
Peter Simons 2012-01-14 11:41:06 +00:00
parent 32327df918
commit ef343ed3ab
2 changed files with 8 additions and 1 deletions

View File

@ -6,8 +6,10 @@
, pythonBindings ? false
, perlBindings ? false
, javahlBindings ? false
, saslSupport ? false
, stdenv, fetchurl, apr, aprutil, neon, zlib, sqlite
, httpd ? null, expat, swig ? null, jdk ? null, python ? null, perl ? null
, sasl ? null
}:
assert bdbSupport -> aprutil.bdbSupport;
@ -31,7 +33,8 @@ stdenv.mkDerivation rec {
buildInputs = [ zlib apr aprutil sqlite ]
++ stdenv.lib.optional httpSupport neon
++ stdenv.lib.optional pythonBindings python
++ stdenv.lib.optional perlBindings perl;
++ stdenv.lib.optional perlBindings perl
++ stdenv.lib.optional saslSupport sasl;
configureFlags = ''
${if bdbSupport then "--with-berkeley-db" else "--without-berkeley-db"}
@ -39,8 +42,10 @@ stdenv.mkDerivation rec {
${if pythonBindings || perlBindings then "--with-swig=${swig}" else "--without-swig"}
${if javahlBindings then "--enable-javahl --with-jdk=${jdk}" else ""}
${if stdenv.isDarwin then "--enable-keychain" else "--disable-keychain"}
${if saslSupport then "--enable-sasl" else "--disable-sasl"}
--with-zlib=${zlib}
--with-sqlite=${sqlite}
--with-sasl=${sasl}
'';
preBuild = ''

View File

@ -7418,8 +7418,10 @@ let
pythonBindings = false;
perlBindings = false;
javahlBindings = false;
saslSupport = false;
compressionSupport = true;
httpd = apacheHttpd;
sasl = cyrus_sasl;
};
subversionClient = lowPrio (appendToName "client" (subversion.override {