glusterfs: update to 3.5.0

This commit is contained in:
Vladimir Kirillov 2014-06-23 17:12:10 +03:00
parent bc75a33988
commit 470f8cccc2

View File

@ -1,25 +1,36 @@
{stdenv, fetchurl, fuse, bison, flex, openssl, python, ncurses, readline}: {stdenv, fetchurl, fuse, bison, flex_2_5_35, openssl, python, ncurses, readline,
autoconf, automake, libtool, pkgconfig, zlib, libaio}:
let let
s = # Generated upstream information s = # Generated upstream information
rec { rec {
baseName="glusterfs"; baseName="glusterfs";
version="3.4.3"; version="3.5.0";
name="${baseName}-${version}"; name="${baseName}-${version}";
hash="1vzdihsy4da11jsa46n1n2xk6d40g7v0zrlqvs3pb9k07fql5kag"; url="http://download.gluster.org/pub/gluster/glusterfs/3.5/3.5.0/glusterfs-3.5.0.tar.gz";
url="http://download.gluster.org/pub/gluster/glusterfs/3.4/3.4.3/glusterfs-3.4.3.tar.gz"; sha256="0d9jlgxg19f2ajf5i4yw4f91n161rsi8fm95442ckci3xnz21zir";
sha256="0j1yvpdb1bydsh3pqlyr23mfvra5bap9rxba910s9cn61mpy99bj";
}; };
buildInputs = [ buildInputs = [
fuse bison flex openssl python ncurses readline fuse bison flex_2_5_35 openssl python ncurses readline
autoconf automake libtool pkgconfig zlib libaio
]; ];
in in
stdenv.mkDerivation stdenv.mkDerivation
rec { rec {
inherit (s) name version; inherit (s) name version;
inherit buildInputs; inherit buildInputs;
preConfigure = ''
./autogen.sh
'';
configureFlags = [ configureFlags = [
''--with-mountutildir="$out/sbin"'' ''--with-mountutildir="$out/sbin"''
]; ];
preInstall = ''
substituteInPlace api/examples/Makefile --replace '$(DESTDIR)' $out
substituteInPlace geo-replication/syncdaemon/Makefile --replace '$(DESTDIR)' $out
substituteInPlace geo-replication/syncdaemon/Makefile --replace '$(DESTDIR)' $out
substituteInPlace xlators/features/glupy/examples/Makefile --replace '$(DESTDIR)' $out
substituteInPlace xlators/features/glupy/src/Makefile --replace '$(DESTDIR)' $out
'';
src = fetchurl { src = fetchurl {
inherit (s) url sha256; inherit (s) url sha256;
}; };