From 5c31245047a4bd0966059d0d5cd4e701745ee6c4 Mon Sep 17 00:00:00 2001 From: Tuomas Tynkkynen Date: Mon, 20 Jul 2015 12:20:02 +0300 Subject: [PATCH] rpcbind: 0.2.3 -> 1.0.7 --- pkgs/servers/rpcbind/default.nix | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) diff --git a/pkgs/servers/rpcbind/default.nix b/pkgs/servers/rpcbind/default.nix index 6eb8a57cab4f..6eb58d458382 100644 --- a/pkgs/servers/rpcbind/default.nix +++ b/pkgs/servers/rpcbind/default.nix @@ -1,16 +1,19 @@ { fetchurl, stdenv, pkgconfig, libtirpc , useSystemd ? true, systemd }: -let version = "0.2.3"; +let version = "1.0.7"; in stdenv.mkDerivation rec { name = "rpcbind-${version}"; src = fetchurl { url = "mirror://sourceforge/rpcbind/${version}/${name}.tar.bz2"; - sha256 = "0yyjzv4161rqxrgjcijkrawnk55rb96ha0pav48s03l2klx855wq"; + sha256 = "14vl0kmavc1fay630f4w8l1hjfzhmcqm8d0akzahhgymh5fw1f7r"; }; patches = [ ./sunrpc.patch ]; + postPatch = '' + sed -e 's|/usr/include/tirpc|${libtirpc}/include/tirpc|' -i src/Makefile.am -i src/Makefile.in + ''; buildInputs = [ libtirpc ] ++ stdenv.lib.optional useSystemd systemd;