rpcbind: update
This commit is contained in:
parent
57a0c44c2c
commit
aa2fd491ad
@ -1,24 +1,29 @@
|
|||||||
{ fetchurl, stdenv, libtirpc }:
|
{ fetchurl, stdenv, pkgconfig, libtirpc
|
||||||
|
, useSystemd ? true, systemd }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
let version = "0.2.2";
|
||||||
name = "rpcbind-0.2.0";
|
in stdenv.mkDerivation rec {
|
||||||
|
name = "rpcbind-${version}";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "mirror://sourceforge/rpcbind/rpcbind-0.2.0.tar.bz2";
|
url = "mirror://sourceforge/rpcbind/${version}/${name}.tar.bz2";
|
||||||
sha256 = "c92f263e0353887f16379d7708ef1fb4c7eedcf20448bc1e4838f59497a00de3";
|
sha256 = "0acgl1c07ymnks692b90aq5ldj4h0km7n03kz26wxq6vjv3winqk";
|
||||||
};
|
};
|
||||||
|
|
||||||
patches = [ ./sunrpc.patch ];
|
patches = [ ./sunrpc.patch ];
|
||||||
|
|
||||||
preConfigure = ''
|
buildInputs = [ libtirpc ]
|
||||||
export CPPFLAGS=-I${libtirpc}/include/tirpc
|
++ stdenv.lib.optional useSystemd systemd;
|
||||||
'';
|
|
||||||
|
|
||||||
buildInputs = [ libtirpc ];
|
configureFlags = stdenv.lib.optional (!useSystemd) "--with-systemdsystemunitdir=no";
|
||||||
|
|
||||||
meta = {
|
nativeBuildInputs = [ pkgconfig ];
|
||||||
|
|
||||||
|
meta = with stdenv.lib; {
|
||||||
description = "ONC RPC portmapper";
|
description = "ONC RPC portmapper";
|
||||||
license = stdenv.lib.licenses.bsd3;
|
license = licenses.bsd3;
|
||||||
|
platforms = platforms.unix;
|
||||||
|
maintainers = with maintainers; [ abbradar ];
|
||||||
longDescription = ''
|
longDescription = ''
|
||||||
Universal addresses to RPC program number mapper.
|
Universal addresses to RPC program number mapper.
|
||||||
'';
|
'';
|
||||||
|
Loading…
x
Reference in New Issue
Block a user