9 stdenv.mkDerivation rec {
14 url = "http://git.linux-nfs.org/?p=steved/libtirpc.git;a=snapshot;h=refs/tags/libtirpc-${
15 lib.replaceStrings [ "." ] [ "-" ] version
17 hash = "sha256-pTUfqnfHOQKCV0svKF/lo4hq1GlD/+YFjXP2CNygx9I=";
18 name = "${pname}-${version}.tar.gz";
26 KRB5_CONFIG = "${libkrb5.dev}/bin/krb5-config";
27 nativeBuildInputs = [ autoreconfHook ];
28 propagatedBuildInputs = [ libkrb5 ];
32 sed -es"|/etc/netconfig|$out/etc/netconfig|g" -i doc/Makefile.in tirpc/netconfig.h
35 enableParallelBuilding = true;
44 homepage = "https://sourceforge.net/projects/libtirpc/";
45 description = "Transport-independent Sun RPC implementation (TI-RPC)";
46 license = licenses.bsd3;
47 platforms = platforms.linux;
48 maintainers = with maintainers; [ abbradar ];
50 Currently, NFS commands use the SunRPC routines provided by the
51 glibc. These routines do not support IPv6 addresses. Ulrich
52 Drepper, who is the maintainer of the glibc, refuses any change in
53 the glibc concerning the RPC. He wants the RPC to become a separate
54 library. Other OS (NetBSD, FreeBSD, Solarix, HP-UX, AIX) have
55 migrated their SunRPC library to a TI-RPC (Transport Independent
56 RPC) implementation. This implementation allows the support of
57 other transports than UDP and TCP over IPv4. FreeBSD provides a
58 TI-RPC library ported from NetBSD with improvements. This library
59 already supports IPv6. So, the FreeBSD release 5.2.1 TI-RPC has
60 been ported to replace the SunRPC of the glibc.