xtreemfs: fix build with openssl-1.1

This commit is contained in:
Michael Raskin 2019-10-04 17:50:55 +02:00
parent 141b7210cb
commit 47723057e5

View file

@ -1,5 +1,5 @@
{ stdenv, boost, fuse, openssl, cmake, attr, jdk, ant, which, file, python { stdenv, boost, fuse, openssl, cmake, attr, jdk, ant, which, file, python
, lib, valgrind, makeWrapper, fetchFromGitHub }: , lib, valgrind, makeWrapper, fetchFromGitHub, fetchpatch }:
stdenv.mkDerivation { stdenv.mkDerivation {
src = fetchFromGitHub { src = fetchFromGitHub {
@ -15,6 +15,14 @@ stdenv.mkDerivation {
buildInputs = [ which attr makeWrapper python ]; buildInputs = [ which attr makeWrapper python ];
patches = [
(fetchpatch {
url = "https://github.com/xtreemfs/xtreemfs/commit/ebfdc2fff56c09f310159d92026883941e42a953.patch";
sha256 = "075w00ad88qm6xpm5679m0gfzkrc53w17sk7ycybf4hzxjs29ygy";
name = "xtreemfs-fix-for-openssl_1_1";
})
];
preConfigure = '' preConfigure = ''
export JAVA_HOME=${jdk} export JAVA_HOME=${jdk}
export ANT_HOME=${ant} export ANT_HOME=${ant}
@ -66,6 +74,5 @@ stdenv.mkDerivation {
maintainers = with lib.maintainers; [ raskin matejc ]; maintainers = with lib.maintainers; [ raskin matejc ];
platforms = lib.platforms.linux; platforms = lib.platforms.linux;
license = lib.licenses.bsd3; license = lib.licenses.bsd3;
broken = true; # does not support openssl 1.1
}; };
} }