Add Linux nfs-utils.
svn path=/nixpkgs/trunk/; revision=11367
This commit is contained in:
@@ -1,17 +1,33 @@
|
||||
args: with args;
|
||||
stdenv.mkDerivation {
|
||||
name = "nfs-utils-1.1.1";
|
||||
{ fetchurl, stdenv, tcpWrapper, e2fsprogs }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
name = "nfs-utils-1.1.2";
|
||||
|
||||
src = fetchurl {
|
||||
url = mirror://sourceforge/nfs/nfs-utils-1.1.1.tar.gz;
|
||||
sha256 = "0aa434cv7lgbrhks0rzhwxvbk2zsa17kjwxqjrrh87zrv9d2sr1x";
|
||||
url = "mirror://sourceforge/nfs/${name}.tar.gz";
|
||||
sha256 = "0cs0kl18f4h8nkbnd7n3flw9krhkm3mx9sh7vz9dkvp46g0v228x";
|
||||
};
|
||||
|
||||
buildInputs = [kernelHeaders tcp_wrapper];
|
||||
patches = [ ./sbindir.patch ];
|
||||
|
||||
# Needs `libblkid' and `libcomerr' from `e2fsprogs'.
|
||||
buildInputs = [ tcpWrapper e2fsprogs ];
|
||||
|
||||
# FIXME: Currently too lazy to build the dependencies needed for NFSv4.
|
||||
configurePhase = ''./configure --prefix=$out \
|
||||
--disable-gss --disable-nfsv4 \
|
||||
--with-statedir=$out/var/lib/nfs'';
|
||||
|
||||
meta = {
|
||||
description = "nfs utils";
|
||||
homepage = http://nfs.sourceforge.net/;
|
||||
license = "GPL2";
|
||||
description = "Linux user-space NFS utilities";
|
||||
|
||||
longDescription = ''
|
||||
This package contains various Linux user-space Network File
|
||||
System (NFS) utilities, including RPC `mount' and `nfs'
|
||||
daemons.
|
||||
'';
|
||||
|
||||
homepage = http://nfs.sourceforge.net/;
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user