* Add zlib compression support to Subversion.
* Updated Subversion to 1.1.3. svn path=/nixpkgs/trunk/; revision=2332
This commit is contained in:
parent
9efa069a65
commit
90e5c97727
@ -1,4 +1,4 @@
|
|||||||
buildInputs="$openssl $db4 $httpd $swig $python $j2sdk $expat $patch"
|
buildInputs="$openssl $zlib $db4 $httpd $swig $python $j2sdk $expat $patch"
|
||||||
. $stdenv/setup
|
. $stdenv/setup
|
||||||
|
|
||||||
configureFlags="--without-gdbm --disable-static"
|
configureFlags="--without-gdbm --disable-static"
|
||||||
|
@ -1,11 +1,12 @@
|
|||||||
{ localServer ? false
|
{ localServer ? false
|
||||||
, httpServer ? false
|
, httpServer ? false
|
||||||
, sslSupport ? false
|
, sslSupport ? false
|
||||||
|
, compressionSupport ? false
|
||||||
, pythonBindings ? false
|
, pythonBindings ? false
|
||||||
, javaSwigBindings ? false
|
, javaSwigBindings ? false
|
||||||
, javahlBindings ? false
|
, javahlBindings ? false
|
||||||
, stdenv, fetchurl
|
, stdenv, fetchurl
|
||||||
, openssl ? null, httpd ? null, db4 ? null, expat, swig ? null, j2sdk ? null
|
, openssl ? null, httpd ? null, db4 ? null, expat, swig ? null, j2sdk ? null, zlib ? null
|
||||||
}:
|
}:
|
||||||
|
|
||||||
assert expat != null;
|
assert expat != null;
|
||||||
@ -15,14 +16,15 @@ assert sslSupport -> openssl != null && (httpServer -> httpd.openssl == openssl)
|
|||||||
assert pythonBindings -> swig != null && swig.pythonSupport;
|
assert pythonBindings -> swig != null && swig.pythonSupport;
|
||||||
assert javaSwigBindings -> swig != null && swig.javaSupport;
|
assert javaSwigBindings -> swig != null && swig.javaSupport;
|
||||||
assert javahlBindings -> j2sdk != null;
|
assert javahlBindings -> j2sdk != null;
|
||||||
|
assert compressionSupport -> zlib != null;
|
||||||
|
|
||||||
stdenv.mkDerivation {
|
stdenv.mkDerivation {
|
||||||
name = "subversion-1.1.2";
|
name = "subversion-1.1.3";
|
||||||
|
|
||||||
builder = ./builder.sh;
|
builder = ./builder.sh;
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = http://catamaran.labs.cs.uu.nl/dist/tarballs/subversion-1.1.2.tar.bz2;
|
url = http://subversion.tigris.org/tarballs/subversion-1.1.3.tar.bz2;
|
||||||
md5 = "b93a792b6bc610dc6c1c254591979a8c";
|
md5 = "a09c2b2fa1a09566c024547954a48478";
|
||||||
};
|
};
|
||||||
|
|
||||||
# This is a hopefully temporary fix for the problem that
|
# This is a hopefully temporary fix for the problem that
|
||||||
@ -31,6 +33,7 @@ stdenv.mkDerivation {
|
|||||||
patches = if javahlBindings then [./javahl.patch] else [];
|
patches = if javahlBindings then [./javahl.patch] else [];
|
||||||
|
|
||||||
openssl = if sslSupport then openssl else null;
|
openssl = if sslSupport then openssl else null;
|
||||||
|
zlib = if compressionSupport then zlib else null;
|
||||||
httpd = if httpServer then httpd else null;
|
httpd = if httpServer then httpd else null;
|
||||||
db4 = if localServer then db4 else null;
|
db4 = if localServer then db4 else null;
|
||||||
swig = if pythonBindings || javaSwigBindings then swig else null;
|
swig = if pythonBindings || javaSwigBindings then swig else null;
|
||||||
|
@ -924,10 +924,11 @@ rec {
|
|||||||
### APPLICATIONS
|
### APPLICATIONS
|
||||||
|
|
||||||
subversion = (import ../applications/version-management/subversion-1.1.x) {
|
subversion = (import ../applications/version-management/subversion-1.1.x) {
|
||||||
inherit fetchurl stdenv openssl db4 expat swig;
|
inherit fetchurl stdenv openssl db4 expat swig zlib;
|
||||||
localServer = true;
|
localServer = true;
|
||||||
httpServer = false;
|
httpServer = false;
|
||||||
sslSupport = true;
|
sslSupport = true;
|
||||||
|
compressionSupport = true;
|
||||||
httpd = apacheHttpd;
|
httpd = apacheHttpd;
|
||||||
};
|
};
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user