Enabling nfsv4 and nfsv41 in nfsUtils (or at least I think so).
svn path=/nixpkgs/trunk/; revision=33315
This commit is contained in:
parent
2ce433c26c
commit
b2d61a850d
16
pkgs/development/libraries/libnfsidmap/default.nix
Normal file
16
pkgs/development/libraries/libnfsidmap/default.nix
Normal file
@ -0,0 +1,16 @@
|
|||||||
|
{ stdenv, fetchurl }:
|
||||||
|
|
||||||
|
stdenv.mkDerivation rec {
|
||||||
|
name = "libnfsidmap-0.25";
|
||||||
|
|
||||||
|
src = fetchurl {
|
||||||
|
url = "http://www.citi.umich.edu/projects/nfsv4/linux/libnfsidmap/${name}.tar.gz";
|
||||||
|
sha256 = "1kzgwxzh83qi97rblcm9qj80cdvnv8kml2plz0q103j0hifj8vb5";
|
||||||
|
};
|
||||||
|
|
||||||
|
meta = {
|
||||||
|
homepage = http://www.citi.umich.edu/projects/nfsv4/linux/;
|
||||||
|
description = "Library for holding mulitiple methods of mapping names to id's and visa versa, mainly for NFSv4";
|
||||||
|
license = "BSD";
|
||||||
|
};
|
||||||
|
}
|
@ -8,7 +8,10 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "f05eb17c85d62423858b8f74512cfe66a9ae1cedf93f03c2a0a32e04f0a33705";
|
sha256 = "f05eb17c85d62423858b8f74512cfe66a9ae1cedf93f03c2a0a32e04f0a33705";
|
||||||
};
|
};
|
||||||
|
|
||||||
|
# http://www.sourcemage.org/projects/grimoire/repository/revisions/d6344b6a3a94b88ed67925a474de5930803acfbf
|
||||||
preConfigure = ''
|
preConfigure = ''
|
||||||
|
echo "" > src/des_crypt.c
|
||||||
|
|
||||||
sed -es"|/etc/netconfig|$out/etc/netconfig|g" -i "doc/Makefile.in"
|
sed -es"|/etc/netconfig|$out/etc/netconfig|g" -i "doc/Makefile.in"
|
||||||
'';
|
'';
|
||||||
|
|
||||||
|
@ -1,4 +1,5 @@
|
|||||||
{ fetchurl, stdenv, tcpWrapper, utillinux, libcap }:
|
{ fetchurl, stdenv, tcpWrapper, utillinux, libcap, libtirpc, libevent, libnfsidmap, lvm2,
|
||||||
|
e2fsprogs }:
|
||||||
|
|
||||||
stdenv.mkDerivation rec {
|
stdenv.mkDerivation rec {
|
||||||
name = "nfs-utils-1.2.5";
|
name = "nfs-utils-1.2.5";
|
||||||
@ -8,13 +9,14 @@ stdenv.mkDerivation rec {
|
|||||||
sha256 = "16ssfkj36ljifyaskgwpd3ys8ylhi5gasq88aha3bhg5dr7yv59m";
|
sha256 = "16ssfkj36ljifyaskgwpd3ys8ylhi5gasq88aha3bhg5dr7yv59m";
|
||||||
};
|
};
|
||||||
|
|
||||||
# Needs `libblkid' and `libcomerr' from `e2fsprogs' or `util-linux-ng'.
|
buildInputs = [ tcpWrapper utillinux libcap libtirpc libevent libnfsidmap lvm2
|
||||||
buildInputs = [ tcpWrapper utillinux libcap ];
|
e2fsprogs ];
|
||||||
|
|
||||||
# FIXME: Add the dependencies needed for NFSv4 and TI-RPC.
|
# FIXME: Add the dependencies needed for NFSv4 and TI-RPC.
|
||||||
configureFlags =
|
configureFlags =
|
||||||
[ "--disable-gss" "--disable-nfsv4" "--disable-nfsv41" "--disable-tirpc"
|
[ "--disable-gss"
|
||||||
"--with-statedir=/var/lib/nfs"
|
"--with-statedir=/var/lib/nfs"
|
||||||
|
"--with-tirpcinclude=${libtirpc}/include/tirpc"
|
||||||
]
|
]
|
||||||
++ stdenv.lib.optional (stdenv ? glibc) "--with-rpcgen=${stdenv.glibc}/bin/rpcgen";
|
++ stdenv.lib.optional (stdenv ? glibc) "--with-rpcgen=${stdenv.glibc}/bin/rpcgen";
|
||||||
|
|
||||||
|
@ -4035,6 +4035,8 @@ let
|
|||||||
|
|
||||||
libnatspec = callPackage ../development/libraries/libnatspec { };
|
libnatspec = callPackage ../development/libraries/libnatspec { };
|
||||||
|
|
||||||
|
libnfsidmap = callPackage ../development/libraries/libnfsidmap { };
|
||||||
|
|
||||||
libnice = callPackage ../development/libraries/libnice { };
|
libnice = callPackage ../development/libraries/libnice { };
|
||||||
|
|
||||||
libplist = callPackage ../development/libraries/libplist { };
|
libplist = callPackage ../development/libraries/libplist { };
|
||||||
|
Loading…
Reference in New Issue
Block a user