diff options
author | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-01-25 10:34:47 +0000 |
---|---|---|
committer | Lluís Batlle i Rossell <viric@vicerveza.homeunix.net> | 2010-01-25 10:34:47 +0000 |
commit | 279ffaa62139d628abf1aa2a67d47aaadef4454d (patch) | |
tree | 26ae6e0e21929f14e14767358c5ef494e407adcd /pkgs/os-specific/linux/keyutils | |
parent | 98de9a27c9f3be384371f350fedce25852e34a94 (diff) | |
download | nixpkgs-279ffaa62139d628abf1aa2a67d47aaadef4454d.tar nixpkgs-279ffaa62139d628abf1aa2a67d47aaadef4454d.tar.gz nixpkgs-279ffaa62139d628abf1aa2a67d47aaadef4454d.tar.bz2 nixpkgs-279ffaa62139d628abf1aa2a67d47aaadef4454d.tar.lz nixpkgs-279ffaa62139d628abf1aa2a67d47aaadef4454d.tar.xz nixpkgs-279ffaa62139d628abf1aa2a67d47aaadef4454d.tar.zst nixpkgs-279ffaa62139d628abf1aa2a67d47aaadef4454d.zip |
Adding ecryptfs, and one of its dependencies: keyutils.
(I have not tried whether they work) svn path=/nixpkgs/trunk/; revision=19645
Diffstat (limited to 'pkgs/os-specific/linux/keyutils')
-rw-r--r-- | pkgs/os-specific/linux/keyutils/default.nix | 25 |
1 files changed, 25 insertions, 0 deletions
diff --git a/pkgs/os-specific/linux/keyutils/default.nix b/pkgs/os-specific/linux/keyutils/default.nix new file mode 100644 index 00000000000..43c580c2528 --- /dev/null +++ b/pkgs/os-specific/linux/keyutils/default.nix @@ -0,0 +1,25 @@ +{stdenv, fetchurl}: + +stdenv.mkDerivation rec { + name = "keyutils-1.2"; + + src = fetchurl { + url = http://people.redhat.com/dhowells/keyutils/keyutils-1.2.tar.bz2; + sha256 = "0gcv47crbaw6crgn02j1w75mknhnwgkhmfcmwq2qi9iwiwprnv9h"; + }; + + patchPhase = '' + sed -i -e "s, /etc, $out/etc," \ + -e "s, /bin, $out/bin," \ + -e "s, /sbin, $out/sbin," \ + -e "s, /lib, $out/lib," \ + -e "s,/usr,$out," \ + Makefile + ''; + + meta = { + homepage = http://people.redhat.com/dhowells/keyutils/; + description = "Tools used to control the Linux kernel key management system"; + license = "GPLv2+"; + }; +} |