Add Linux nfs-utils.
svn path=/nixpkgs/trunk/; revision=11367
This commit is contained in:
parent
553a3af3ce
commit
1a64758585
@ -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";
|
||||
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 = "GPL2";
|
||||
license = "GPLv2";
|
||||
};
|
||||
}
|
||||
|
11
pkgs/os-specific/linux/nfs-utils/sbindir.patch
Normal file
11
pkgs/os-specific/linux/nfs-utils/sbindir.patch
Normal file
@ -0,0 +1,11 @@
|
||||
--- nfs-utils-1.1.2/utils/mount/Makefile.in 2008-03-14 18:44:42.000000000 +0100
|
||||
+++ nfs-utils-1.1.2/utils/mount/Makefile.in 2008-03-30 19:30:57.000000000 +0200
|
||||
@@ -219,7 +219,7 @@ psdir = @psdir@
|
||||
|
||||
# These binaries go in /sbin (not /usr/sbin), and that cannot be
|
||||
# overriden at config time.
|
||||
-sbindir = /sbin
|
||||
+sbindir = @prefix@/sbin
|
||||
secure_statd = @secure_statd@
|
||||
sharedstatedir = @sharedstatedir@
|
||||
srcdir = @srcdir@
|
@ -3804,11 +3804,9 @@ let pkgs = rec {
|
||||
inherit fetchurl stdenv;
|
||||
};
|
||||
|
||||
/*
|
||||
nfsUtils = import ../os-specific/linux/nfs-utils {
|
||||
inherit fetchurl stdenv kernelHeaders tcp_wrapper;
|
||||
inherit fetchurl stdenv tcpWrapper e2fsprogs;
|
||||
};
|
||||
*/
|
||||
|
||||
acpi = import ../os-specific/linux/acpi {
|
||||
inherit fetchurl stdenv;
|
||||
|
Loading…
Reference in New Issue
Block a user