keyutils: Update from 1.5.8 -> 1.5.9

This commit is contained in:
William A. Kennington III 2014-05-10 00:33:24 -05:00
parent 4ec21f6ecd
commit e2672e892a

View File

@ -1,29 +1,28 @@
{ stdenv, fetchurl, gnumake, file }:
stdenv.mkDerivation rec {
name = "keyutils-1.5.8";
name = "keyutils-1.5.9";
src = fetchurl {
url = "http://people.redhat.com/dhowells/keyutils/${name}.tar.bz2";
sha256 = "17419fr7mph8wlhxpqb1bdrghz0db15bmjdgxg1anfgbf9ra6zbc";
sha256 = "1bl3w03ygxhc0hz69klfdlwqn33jvzxl1zfl2jmnb2v85iawb8jd";
};
buildInputs = [ file ];
patchPhase = ''
sed -i -e "s,/usr/bin/make,${gnumake}/bin/make," \
-e "s, /etc, $out/etc," \
-e "s, /bin, $out/bin," \
-e "s, /sbin, $out/sbin," \
-e "s, /lib, $out/lib," \
-e "s, /lib64, $out/lib64," \
-e "s,/usr,$out," \
sed -i -e "s, /usr/bin/make, ${gnumake}/bin/make," \
-e "s, /usr, ," \
-e "s,\$(LNS) \$(LIBDIR)/\$(SONAME),\$(LNS) \$(SONAME)," \
Makefile
'';
meta = {
installPhase = "make install DESTDIR=$out";
meta = with stdenv.lib; {
homepage = http://people.redhat.com/dhowells/keyutils/;
description = "Tools used to control the Linux kernel key management system";
license = "GPLv2+";
license = licenses.gpl2Plus;
platforms = platforms.linux;
};
}