Merge pull request #238379 from markuskowa/upd-nfs-ganesha
nfs-ganesha: 5.5-> 5.5.1, fix rpath
This commit is contained in:
@@ -5,13 +5,13 @@
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "nfs-ganesha";
|
||||
version = "5.5";
|
||||
version = "5.5.1";
|
||||
|
||||
src = fetchFromGitHub {
|
||||
owner = "nfs-ganesha";
|
||||
repo = "nfs-ganesha";
|
||||
rev = "V${version}";
|
||||
sha256 = "sha256-ebnR/ukbVTwpFNzGf189NmsaDh97ThEGWew5kp50UGg=";
|
||||
sha256 = "sha256-fbulqSRHPdlpoLH391/axxtjJ7G/9lH9BdqoLKRuIuE=";
|
||||
};
|
||||
|
||||
preConfigure = "cd src";
|
||||
@@ -21,6 +21,7 @@ stdenv.mkDerivation rec {
|
||||
"-DSYSSTATEDIR=/var"
|
||||
"-DENABLE_VFS_POSIX_ACL=ON"
|
||||
"-DUSE_ACL_MAPPING=ON"
|
||||
"-DCMAKE_BUILD_WITH_INSTALL_RPATH=ON"
|
||||
];
|
||||
|
||||
nativeBuildInputs = [
|
||||
@@ -42,6 +43,10 @@ stdenv.mkDerivation rec {
|
||||
nfs-utils
|
||||
];
|
||||
|
||||
postFixup = ''
|
||||
patchelf --add-rpath $out/lib $out/bin/ganesha.nfsd
|
||||
'';
|
||||
|
||||
meta = with lib; {
|
||||
description = "NFS server that runs in user space";
|
||||
homepage = "https://github.com/nfs-ganesha/nfs-ganesha/wiki";
|
||||
|
||||
Reference in New Issue
Block a user