nfs-utils: 2.5.1 -> 2.6.2
This commit is contained in:
parent
ce7b4fd5a6
commit
356ea489af
|
@ -10,11 +10,11 @@ in
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
pname = "nfs-utils";
|
pname = "nfs-utils";
|
||||||
version = "2.5.1";
|
version = "2.6.2";
|
||||||
|
|
||||||
src = fetchurl {
|
src = fetchurl {
|
||||||
url = "https://kernel.org/pub/linux/utils/nfs-utils/${version}/${pname}-${version}.tar.xz";
|
url = "mirror://kernel/linux/utils/nfs-utils/${version}/${pname}-${version}.tar.xz";
|
||||||
sha256 = "1i1h3n2m35q9ixs1i2qf1rpjp10cipa3c25zdf1xj1vaw5q8270g";
|
hash = "sha256-UgCHPoHE1hDiRi/CYv4YE18tvni3l5+VrM0VmuZNUBE=";
|
||||||
};
|
};
|
||||||
|
|
||||||
# libnfsidmap is built together with nfs-utils from the same source,
|
# libnfsidmap is built together with nfs-utils from the same source,
|
||||||
|
@ -46,6 +46,7 @@ stdenv.mkDerivation rec {
|
||||||
"--enable-libmount-mount"
|
"--enable-libmount-mount"
|
||||||
"--with-pluginpath=${placeholder "lib"}/lib/libnfsidmap" # this installs libnfsidmap
|
"--with-pluginpath=${placeholder "lib"}/lib/libnfsidmap" # this installs libnfsidmap
|
||||||
"--with-rpcgen=${buildPackages.rpcsvc-proto}/bin/rpcgen"
|
"--with-rpcgen=${buildPackages.rpcsvc-proto}/bin/rpcgen"
|
||||||
|
"--with-modprobedir=${placeholder "out"}/etc/modprobe.d"
|
||||||
];
|
];
|
||||||
|
|
||||||
patches = lib.optionals stdenv.hostPlatform.isMusl [
|
patches = lib.optionals stdenv.hostPlatform.isMusl [
|
||||||
|
@ -71,6 +72,9 @@ stdenv.mkDerivation rec {
|
||||||
substituteInPlace systemd/nfs-utils.service \
|
substituteInPlace systemd/nfs-utils.service \
|
||||||
--replace "/bin/true" "${coreutils}/bin/true"
|
--replace "/bin/true" "${coreutils}/bin/true"
|
||||||
|
|
||||||
|
substituteInPlace tools/nfsrahead/Makefile.in \
|
||||||
|
--replace "/usr/lib/udev/rules.d/" "$out/lib/udev/rules.d/"
|
||||||
|
|
||||||
substituteInPlace utils/mount/Makefile.in \
|
substituteInPlace utils/mount/Makefile.in \
|
||||||
--replace "chmod 4511" "chmod 0511"
|
--replace "chmod 4511" "chmod 0511"
|
||||||
|
|
||||||
|
|
Loading…
Reference in a new issue