Merge pull request #238379 from markuskowa/upd-nfs-ganesha

nfs-ganesha: 5.5-> 5.5.1, fix rpath
This commit is contained in:
Nick Cao 2023-08-26 13:42:16 +08:00 committed by GitHub
commit a3a079302a
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23

View file

@ -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";