Revert "nfs-utils: Build and update for 1.3.2"
This reverts commit a4ef29c499.
This commit is contained in:
@@ -3,11 +3,11 @@
|
||||
}:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nfs-utils-1.3.2";
|
||||
name = "nfs-utils-1.3.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/nfs/${name}.tar.bz2";
|
||||
sha256 = "1xwilpdr1vizq2yhpzxpwqqr9f8kn0dy2wcpc626mf30ybp7572v";
|
||||
sha256 = "1lxfjl6mzdfn7kw2hcn40q9xn40a539iv7spzqbj1sfkvzxlm33l";
|
||||
};
|
||||
|
||||
buildInputs =
|
||||
@@ -23,21 +23,24 @@ stdenv.mkDerivation rec {
|
||||
]
|
||||
++ stdenv.lib.optional (stdenv ? glibc) "--with-rpcgen=${stdenv.glibc}/bin/rpcgen";
|
||||
|
||||
patches = [ ./no-install.patch ];
|
||||
patchPhase =
|
||||
''
|
||||
for i in "tests/"*.sh
|
||||
do
|
||||
sed -i "$i" -e's|/bin/bash|/bin/sh|g'
|
||||
chmod +x "$i"
|
||||
done
|
||||
sed -i s,/usr/sbin,$out/sbin, utils/statd/statd.c
|
||||
|
||||
postPatch = ''
|
||||
for i in "tests/"*.sh
|
||||
do
|
||||
sed -i "$i" -e's|/bin/bash|/bin/sh|g'
|
||||
chmod +x "$i"
|
||||
done
|
||||
sed -i s,/usr/sbin,$out/sbin, utils/statd/statd.c
|
||||
'';
|
||||
# https://bugzilla.redhat.com/show_bug.cgi?id=749195
|
||||
sed -i s,PAGE_SIZE,getpagesize\(\), utils/blkmapd/device-process.c
|
||||
'';
|
||||
|
||||
preBuild = ''
|
||||
makeFlags="sbindir=$out/sbin"
|
||||
installFlags="statedir=$TMPDIR" # hack to make `make install' work
|
||||
'';
|
||||
preBuild =
|
||||
''
|
||||
makeFlags="sbindir=$out/sbin"
|
||||
installFlags="statedir=$TMPDIR" # hack to make `make install' work
|
||||
'';
|
||||
|
||||
# One test fails on mips.
|
||||
doCheck = !stdenv.isMips;
|
||||
|
||||
Reference in New Issue
Block a user