diff options
author | Michael Raskin <7c6f434c@mail.ru> | 2014-06-30 09:26:24 +0400 |
---|---|---|
committer | Michael Raskin <7c6f434c@mail.ru> | 2014-06-30 09:26:24 +0400 |
commit | dcf5e85c2ff7a9f4c34c8a6af6f8482e0dd88436 (patch) | |
tree | 5e8b846e043f2f10cb3b67768b98e6eca3b13f24 /pkgs/os-specific/linux/keyutils/default.nix | |
parent | d2d969f08a1a8d8b3177de9f426da2a8aaa2da94 (diff) | |
parent | f75ea738eddeaba586e7f6749e9bf841598f37b5 (diff) |
Merge pull request #2595 from wkennington/master.ecryptfs
ecryptfs: Update from 82 -> 104
Diffstat (limited to 'pkgs/os-specific/linux/keyutils/default.nix')
-rw-r--r-- | pkgs/os-specific/linux/keyutils/default.nix | 21 |
1 files changed, 10 insertions, 11 deletions
diff --git a/pkgs/os-specific/linux/keyutils/default.nix b/pkgs/os-specific/linux/keyutils/default.nix index 8673981ecd50..fc05fc234525 100644 --- a/pkgs/os-specific/linux/keyutils/default.nix +++ b/pkgs/os-specific/linux/keyutils/default.nix @@ -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 ''; + + installPhase = "make install DESTDIR=$out"; - meta = { + 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; }; } |