libcap: Update to 2.22

Systemd requires the recent CAP_SYSLOG capability.
This commit is contained in:
Eelco Dolstra
2012-07-19 10:26:44 -04:00
parent b5ff5d0371
commit 28a76a96be
3 changed files with 14 additions and 7 deletions
+11 -6
View File
@@ -1,18 +1,18 @@
{stdenv, fetchurl, attr, perl}:
{ stdenv, fetchurl, attr, perl }:
assert stdenv.isLinux;
stdenv.mkDerivation rec {
name = "libcap-${version}";
version = "2.19";
version = "2.22";
src = fetchurl {
url = "mirror://kernel/linux/libs/security/linux-privs/kernel-2.6/${name}.tar.gz";
sha256 = "0fdsz9j741npvh222f8p1y6l516z9liibiwdpdr3a4zg53m0pw45";
url = "mirror://gentoo/distfiles/${name}.tar.bz2";
sha256 = "03q50j6bg65cc501q87qh328ncav1i8qw2bjig99vxmmfx4bvsvk";
};
buildNativeInputs = [perl];
propagatedBuildInputs = [attr];
buildNativeInputs = [ perl ];
propagatedBuildInputs = [ attr ];
preConfigure = "cd libcap";
@@ -26,4 +26,9 @@ stdenv.mkDerivation rec {
};
postInstall = passthru.postinst name;
meta = {
description = "Library for working with POSIX capabilities";
platforms = stdenv.lib.platforms.linux;
};
}