subversion: add sasl support
svn path=/nixpkgs/trunk/; revision=31530
This commit is contained in:
parent
32327df918
commit
ef343ed3ab
@ -6,8 +6,10 @@
|
|||||||
, pythonBindings ? false
|
, pythonBindings ? false
|
||||||
, perlBindings ? false
|
, perlBindings ? false
|
||||||
, javahlBindings ? false
|
, javahlBindings ? false
|
||||||
|
, saslSupport ? false
|
||||||
, stdenv, fetchurl, apr, aprutil, neon, zlib, sqlite
|
, stdenv, fetchurl, apr, aprutil, neon, zlib, sqlite
|
||||||
, httpd ? null, expat, swig ? null, jdk ? null, python ? null, perl ? null
|
, httpd ? null, expat, swig ? null, jdk ? null, python ? null, perl ? null
|
||||||
|
, sasl ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert bdbSupport -> aprutil.bdbSupport;
|
assert bdbSupport -> aprutil.bdbSupport;
|
||||||
@ -31,7 +33,8 @@ stdenv.mkDerivation rec {
|
|||||||
buildInputs = [ zlib apr aprutil sqlite ]
|
buildInputs = [ zlib apr aprutil sqlite ]
|
||||||
++ stdenv.lib.optional httpSupport neon
|
++ stdenv.lib.optional httpSupport neon
|
||||||
++ stdenv.lib.optional pythonBindings python
|
++ stdenv.lib.optional pythonBindings python
|
||||||
++ stdenv.lib.optional perlBindings perl;
|
++ stdenv.lib.optional perlBindings perl
|
||||||
|
++ stdenv.lib.optional saslSupport sasl;
|
||||||
|
|
||||||
configureFlags = ''
|
configureFlags = ''
|
||||||
${if bdbSupport then "--with-berkeley-db" else "--without-berkeley-db"}
|
${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 pythonBindings || perlBindings then "--with-swig=${swig}" else "--without-swig"}
|
||||||
${if javahlBindings then "--enable-javahl --with-jdk=${jdk}" else ""}
|
${if javahlBindings then "--enable-javahl --with-jdk=${jdk}" else ""}
|
||||||
${if stdenv.isDarwin then "--enable-keychain" else "--disable-keychain"}
|
${if stdenv.isDarwin then "--enable-keychain" else "--disable-keychain"}
|
||||||
|
${if saslSupport then "--enable-sasl" else "--disable-sasl"}
|
||||||
--with-zlib=${zlib}
|
--with-zlib=${zlib}
|
||||||
--with-sqlite=${sqlite}
|
--with-sqlite=${sqlite}
|
||||||
|
--with-sasl=${sasl}
|
||||||
'';
|
'';
|
||||||
|
|
||||||
preBuild = ''
|
preBuild = ''
|
||||||
|
@ -7418,8 +7418,10 @@ let
|
|||||||
pythonBindings = false;
|
pythonBindings = false;
|
||||||
perlBindings = false;
|
perlBindings = false;
|
||||||
javahlBindings = false;
|
javahlBindings = false;
|
||||||
|
saslSupport = false;
|
||||||
compressionSupport = true;
|
compressionSupport = true;
|
||||||
httpd = apacheHttpd;
|
httpd = apacheHttpd;
|
||||||
|
sasl = cyrus_sasl;
|
||||||
};
|
};
|
||||||
|
|
||||||
subversionClient = lowPrio (appendToName "client" (subversion.override {
|
subversionClient = lowPrio (appendToName "client" (subversion.override {
|
||||||
|
Loading…
Reference in New Issue
Block a user