[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[bug#72103] [PATCH 3/3] gnu: nfs-utils: Update to 2.6.4.
From: |
ashish . is |
Subject: |
[bug#72103] [PATCH 3/3] gnu: nfs-utils: Update to 2.6.4. |
Date: |
Sun, 14 Jul 2024 09:11:20 +0200 |
From: Ashish SHUKLA <ashish.is@lostca.se>
* gnu/packages/nfs.scm (nfs-utils): Update to 2.6.4.
[arguments] Add configure flag "--disable-sbin-override" to keep the
old behaviour where /sbin is not symlink.
Implement substitution for udev rules paths.
Change-Id: I13fb9783b6bc52057ead64e98c289cb17765f61a
---
gnu/packages/nfs.scm | 10 ++++++++--
1 file changed, 8 insertions(+), 2 deletions(-)
diff --git a/gnu/packages/nfs.scm b/gnu/packages/nfs.scm
index 88d4069587..02252790bf 100644
--- a/gnu/packages/nfs.scm
+++ b/gnu/packages/nfs.scm
@@ -47,7 +47,7 @@ (define-module (gnu packages nfs)
(define-public nfs-utils
(package
(name "nfs-utils")
- (version "2.4.3")
+ (version "2.6.4")
(source (origin
(method url-fetch)
(uri (string-append
@@ -55,12 +55,13 @@ (define-public nfs-utils
"/nfs-utils-" version ".tar.xz"))
(sha256
(base32
- "16b5y82cjy1cvijg5zmdvivc6sfdlv2slyynxbwwyw43vpjzqrdg"))))
+ "178il6qfj0a2fhs9gzf2irw8qx1h41a3diqla6zvl2vxkkxv1cq1"))))
(build-system gnu-build-system)
(arguments
`(#:configure-flags
`("--disable-static"
"--without-tcp-wrappers"
+ "--disable-sbin-override"
,(string-append "--with-start-statd="
(assoc-ref %outputs "out") "/sbin/start-statd")
,(string-append "--with-krb5=" (assoc-ref %build-inputs "mit-krb5"))
@@ -109,6 +110,11 @@ (define-public nfs-utils
(("^sbindir = /sbin")
(string-append "sbindir = "
(assoc-ref %outputs "out") "/sbin")))
+ (substitute* `("tools/nfsrahead/Makefile.in"
+ "systemd/Makefile.in")
+ (("^udev_rulesdir = /usr/lib")
+ (string-append "udev_rulesdir = "
+ (assoc-ref %outputs "out") "/lib")))
#t)))))
(inputs
`(("keyutils" ,keyutils)
--
2.45.2