diff options
author | Franz Pletz <fpletz@fnordicwalking.de> | 2016-09-09 23:14:16 +0200 |
---|---|---|
committer | Franz Pletz <fpletz@fnordicwalking.de> | 2016-09-09 23:14:16 +0200 |
commit | c513e2ab39bac74dba9c57057805fa53b0765d6f (patch) | |
tree | 97b0b7d0613ddcdf5479a074123a213d9651a927 /pkgs | |
parent | f261f5fe34f32a5f8be31e265a66437646cedbcb (diff) |
multipath-tools: 0.5.0 -> 0.6.2, fixes build
Was broken due to 78178d5854901e1b17a14bce3fe43515984b7b91.
Diffstat (limited to 'pkgs')
-rw-r--r-- | pkgs/os-specific/linux/multipath-tools/default.nix | 13 |
1 files changed, 6 insertions, 7 deletions
diff --git a/pkgs/os-specific/linux/multipath-tools/default.nix b/pkgs/os-specific/linux/multipath-tools/default.nix index d09c192abfcc7..f60ece0fcecae 100644 --- a/pkgs/os-specific/linux/multipath-tools/default.nix +++ b/pkgs/os-specific/linux/multipath-tools/default.nix @@ -1,15 +1,14 @@ -{ stdenv, fetchurl, lvm2, libaio, gzip, readline, systemd }: +{ stdenv, fetchurl, lvm2, libaio, gzip, readline, systemd, liburcu }: stdenv.mkDerivation rec { - name = "multipath-tools-0.5.0"; + name = "multipath-tools-0.6.2"; src = fetchurl { - url = "http://christophe.varoqui.free.fr/multipath-tools/${name}.tar.bz2"; - sha256 = "1yd6l1l1c62xjr1xnij2x49kr416anbgfs4y06r86kp9hkmz2g7i"; + name = "${name}.tar.gz"; + url = "http://git.opensvc.com/?p=multipath-tools/.git;a=snapshot;h=e165b73a16fc9027aa3306df40052038c175be1b;sf=tgz"; + sha256 = "159hxvbk9kh1qay9x04w0gsqzg0hkl5yghfc1wi9kv2n5pcwbkpm"; }; - hardeningDisable = [ "format" ]; - postPatch = '' sed -i -re ' s,^( *#define +DEFAULT_MULTIPATHDIR\>).*,\1 "'"$out/lib/multipath"'", @@ -19,7 +18,7 @@ stdenv.mkDerivation rec { ''; nativeBuildInputs = [ gzip ]; - buildInputs = [ systemd lvm2 libaio readline ]; + buildInputs = [ systemd lvm2 libaio readline liburcu ]; makeFlags = [ "LIB=lib" |