libtirpc: added version 0.2.2

The glibc maintainers in their wisdom have dropped RPC support. That change
causes plenty of builds to fail, like PAM. Users are supposed to use libtirpc
instead, which, naturally, doesn't compile with glibc 2.14. I'm adding the
library anyway, just so that we have it.

svn path=/nixpkgs/branches/stdenv-updates/; revision=30029
This commit is contained in:
Peter Simons 2011-10-26 10:32:40 +00:00
parent 61c4b72f0e
commit 4353727ac8
2 changed files with 24 additions and 0 deletions

View file

@ -0,0 +1,22 @@
{ stdenv, fetchurl }:
let
version = "0.2.2";
in
stdenv.mkDerivation {
name = "libtirpc-${version}";
src = fetchurl {
url = "mirror://sourceforge/libtirpc/libtirpc-${version}.tar.bz2";
sha256 = "f05eb17c85d62423858b8f74512cfe66a9ae1cedf93f03c2a0a32e04f0a33705";
};
meta = {
homepage = "http://sourceforge.net/projects/libtirpc/";
description = "a port of Suns Transport-Independent RPC library to Linux";
license = stdenv.lib.licenses.bsd3;
platforms = stdenv.lib.platforms.linux;
maintainers = [ stdenv.lib.maintainers.simons ];
};
}

View file

@ -907,6 +907,8 @@ let
lftp = callPackage ../tools/networking/lftp { };
libtirpc = callPackage ../development/libraries/libtirpc { };
libtorrent = callPackage ../tools/networking/p2p/libtorrent { };
logrotate = callPackage ../tools/system/logrotate { };