corosync: 2.4.5 -> 3.1.2
This commit is contained in:
parent
2c8dc8104a
commit
91b52a5dcd
|
@ -1,4 +1,4 @@
|
||||||
{ lib, stdenv, fetchurl, makeWrapper, pkg-config, nss, nspr, libqb
|
{ lib, stdenv, fetchurl, makeWrapper, pkg-config, kronosnet, nss, nspr, libqb
|
||||||
, dbus, rdma-core, libstatgrab, net-snmp
|
, dbus, rdma-core, libstatgrab, net-snmp
|
||||||
, enableDbus ? false
|
, enableDbus ? false
|
||||||
, enableInfiniBandRdma ? false
|
, enableInfiniBandRdma ? false
|
||||||
|
@ -10,17 +10,17 @@ with lib;
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "corosync";
|
pname = "corosync";
|
||||||
version = "2.4.5";
|
version = "3.1.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "http://build.clusterlabs.org/corosync/releases/${pname}-${version}.tar.gz";
|
url = "http://build.clusterlabs.org/corosync/releases/${pname}-${version}.tar.gz";
|
||||||
sha256 = "0pxs18vci9kq3qnqsg5i1h35jrxxiccwbm0mzja3g8j3izdsyvmb";
|
sha256 = "sha256-eAypUbDeGa3GKF/wJ602dyTW5FlkvjWeCRXT6h0d4zw=";
|
||||||
};
|
};
|
||||||
|
|
||||||
nativeBuildInputs = [ makeWrapper pkg-config ];
|
nativeBuildInputs = [ makeWrapper pkg-config ];
|
||||||
|
|
||||||
buildInputs = [
|
buildInputs = [
|
||||||
nss nspr libqb
|
kronosnet nss nspr libqb
|
||||||
] ++ optional enableDbus dbus
|
] ++ optional enableDbus dbus
|
||||||
++ optional enableInfiniBandRdma rdma-core
|
++ optional enableInfiniBandRdma rdma-core
|
||||||
++ optional enableMonitoring libstatgrab
|
++ optional enableMonitoring libstatgrab
|
||||||
|
@ -45,6 +45,8 @@ stdenv.mkDerivation rec {
|
||||||
"LOGROTATEDIR=$(out)/etc/logrotate.d"
|
"LOGROTATEDIR=$(out)/etc/logrotate.d"
|
||||||
];
|
];
|
||||||
|
|
||||||
|
enableParallelBuilding = true;
|
||||||
|
|
||||||
preConfigure = optionalString enableInfiniBandRdma ''
|
preConfigure = optionalString enableInfiniBandRdma ''
|
||||||
# configure looks for the pkg-config files
|
# configure looks for the pkg-config files
|
||||||
# of librdmacm and libibverbs
|
# of librdmacm and libibverbs
|
||||||
|
@ -61,13 +63,11 @@ stdenv.mkDerivation rec {
|
||||||
--prefix PATH ":" "$out/sbin:${libqb}/sbin"
|
--prefix PATH ":" "$out/sbin:${libqb}/sbin"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
enableParallelBuilding = true;
|
|
||||||
|
|
||||||
meta = {
|
meta = {
|
||||||
homepage = "http://corosync.org/";
|
homepage = "http://corosync.org/";
|
||||||
description = "A Group Communication System with features for implementing high availability within applications";
|
description = "A Group Communication System with features for implementing high availability within applications";
|
||||||
license = licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
platforms = platforms.linux;
|
platforms = platforms.linux;
|
||||||
maintainers = with maintainers; [ montag451 ];
|
maintainers = with maintainers; [ montag451 ryantm ];
|
||||||
};
|
};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue