summary refs log tree commit diff
path: root/pkgs/development/libraries/ti-rpc
diff options
context:
space:
mode:
authorPeter Simons <simons@cryp.to>2012-03-17 17:44:20 +0000
committerPeter Simons <simons@cryp.to>2012-03-17 17:44:20 +0000
commit457e59d99da6b6220616e5126898f1ccb841ab8b (patch)
tree271176a8d5e9c1bc5bfb60ec8463618a23786a14 /pkgs/development/libraries/ti-rpc
parent11410436e5bfb4d50ba1ecfa9d596c26d92721aa (diff)
downloadnixpkgs-457e59d99da6b6220616e5126898f1ccb841ab8b.tar
nixpkgs-457e59d99da6b6220616e5126898f1ccb841ab8b.tar.gz
nixpkgs-457e59d99da6b6220616e5126898f1ccb841ab8b.tar.bz2
nixpkgs-457e59d99da6b6220616e5126898f1ccb841ab8b.tar.lz
nixpkgs-457e59d99da6b6220616e5126898f1ccb841ab8b.tar.xz
nixpkgs-457e59d99da6b6220616e5126898f1ccb841ab8b.tar.zst
nixpkgs-457e59d99da6b6220616e5126898f1ccb841ab8b.zip
libtirpc: updated to version 0.2.2
svn path=/nixpkgs/trunk/; revision=33211
Diffstat (limited to 'pkgs/development/libraries/ti-rpc')
-rw-r--r--pkgs/development/libraries/ti-rpc/default.nix50
1 files changed, 23 insertions, 27 deletions
diff --git a/pkgs/development/libraries/ti-rpc/default.nix b/pkgs/development/libraries/ti-rpc/default.nix
index e669f8a254f..96a54a66eb2 100644
--- a/pkgs/development/libraries/ti-rpc/default.nix
+++ b/pkgs/development/libraries/ti-rpc/default.nix
@@ -1,44 +1,40 @@
 { fetchurl, stdenv }:
 
 stdenv.mkDerivation rec {
-  name = "libtirpc-0.1.8-1";
+  name = "libtirpc-0.2.2";
 
   src = fetchurl {
-    url = "http://nfsv4.bullopensource.org/tarballs/tirpc/${name}.tar.bz2";
-    sha256 = "0jf0sj2cv1rm1dm1i226ww9h93srljf8zf0yfy9mvwxg8gqnn5fy";
+    url = "mirror://sourceforge/libtirpc/${name}.tar.bz2";
+    sha256 = "f05eb17c85d62423858b8f74512cfe66a9ae1cedf93f03c2a0a32e04f0a33705";
   };
 
-  preConfigure =
-    '' sed -es"|/etc/netconfig|$out/etc/netconfig|g" -i "Makefile.in"
-    '';
+  preConfigure = ''
+    sed -es"|/etc/netconfig|$out/etc/netconfig|g" -i "doc/Makefile.in"
+  '';
+
   preInstall = "mkdir -p $out/etc";
 
   doCheck = true;
 
   meta = {
+    homepage = "http://sourceforge.net/projects/libtirpc/";
     description = "The transport-independent Sun RPC implementation (TI-RPC)";
-
-    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.
-      '';
-
-    homepage = http://nfsv4.bullopensource.org/doc/tirpc_rpcbind.php;
-
-    # Free software license, see
-    # <http://www.gnu.org/licenses/license-list.html#SISSL>.
-    license = "Sun Industry Standards Source License 1.0";
+    license = stdenv.lib.license.bsd3;
+    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.
+    '';
 
     platforms = stdenv.lib.platforms.all;
-    maintainers = [ stdenv.lib.maintainers.ludo ];
+    maintainers = [ stdenv.lib.maintainers.ludo stdenv.lib.maintainers.simons ];
   };
 }