2011-11-03 22:08:32 +01:00
|
|
|
{ fetchurl, stdenv }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2012-03-17 18:44:20 +01:00
|
|
|
name = "libtirpc-0.2.2";
|
2011-11-03 22:08:32 +01:00
|
|
|
|
|
|
|
src = fetchurl {
|
2012-03-17 18:44:20 +01:00
|
|
|
url = "mirror://sourceforge/libtirpc/${name}.tar.bz2";
|
|
|
|
sha256 = "f05eb17c85d62423858b8f74512cfe66a9ae1cedf93f03c2a0a32e04f0a33705";
|
2011-11-03 22:08:32 +01:00
|
|
|
};
|
|
|
|
|
2012-03-17 18:44:20 +01:00
|
|
|
preConfigure = ''
|
|
|
|
sed -es"|/etc/netconfig|$out/etc/netconfig|g" -i "doc/Makefile.in"
|
|
|
|
'';
|
|
|
|
|
2012-01-18 21:16:00 +01:00
|
|
|
preInstall = "mkdir -p $out/etc";
|
2011-11-03 22:08:32 +01:00
|
|
|
|
|
|
|
doCheck = true;
|
|
|
|
|
|
|
|
meta = {
|
2012-03-17 18:44:20 +01:00
|
|
|
homepage = "http://sourceforge.net/projects/libtirpc/";
|
2011-11-03 22:08:32 +01:00
|
|
|
description = "The transport-independent Sun RPC implementation (TI-RPC)";
|
2012-03-17 23:25:30 +01:00
|
|
|
license = stdenv.lib.licenses.bsd3;
|
2012-03-17 18:44:20 +01:00
|
|
|
longDescription = ''
|
|
|
|
Currently, NFS commands use the SunRPC routines provided by the
|
|
|
|
glibc. These routines do not support IPv6 addresses. Ulrich
|
|
|
|
Drepper, who is the maintainer of the glibc, refuses any change in
|
|
|
|
the glibc concerning the RPC. He wants the RPC to become a separate
|
|
|
|
library. Other OS (NetBSD, FreeBSD, Solarix, HP-UX, AIX) have
|
|
|
|
migrated their SunRPC library to a TI-RPC (Transport Independent
|
|
|
|
RPC) implementation. This implementation allows the support of
|
|
|
|
other transports than UDP and TCP over IPv4. FreeBSD provides a
|
|
|
|
TI-RPC library ported from NetBSD with improvments. This library
|
|
|
|
already supports IPv6. So, the FreeBSD release 5.2.1 TI-RPC has
|
|
|
|
been ported to replace the SunRPC of the glibc.
|
|
|
|
'';
|
2011-11-03 22:08:32 +01:00
|
|
|
|
|
|
|
platforms = stdenv.lib.platforms.all;
|
2012-03-17 18:44:20 +01:00
|
|
|
maintainers = [ stdenv.lib.maintainers.ludo stdenv.lib.maintainers.simons ];
|
2011-11-03 22:08:32 +01:00
|
|
|
};
|
|
|
|
}
|