2015-08-04 00:10:13 +01:00
|
|
|
{ stdenv, fetchgit, autoreconfHook, pkgconfig, openssl, attr, keyutils, asciidoc, libxslt, docbook_xsl }:
|
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
|
|
|
name = "ima-evm-utils-${version}";
|
|
|
|
version = "1.0.0";
|
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.code.sf.net/p/linux-ima/ima-evm-utils";
|
|
|
|
rev = "4b56112c095cb5cc34dc35abac37ebfc6eadba65";
|
2016-06-02 12:26:44 +01:00
|
|
|
sha256 = "1h3rydnaswcmlradafpw8q18zj88bbziad2vb6gn0q7ydr48f3jm";
|
2015-08-04 00:10:13 +01:00
|
|
|
};
|
|
|
|
|
2017-09-05 22:26:13 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkgconfig ];
|
|
|
|
buildInputs = [ openssl attr keyutils asciidoc libxslt ];
|
2015-08-04 00:10:13 +01:00
|
|
|
|
|
|
|
buildPhase = "make prefix=$out MANPAGE_DOCBOOK_XSL=${docbook_xsl}/xml/xsl/docbook/manpages/docbook.xsl";
|
|
|
|
|
|
|
|
meta = {
|
|
|
|
description = "evmctl utility to manage digital signatures of the Linux kernel integrity subsystem (IMA/EVM)";
|
2017-08-02 22:50:51 +01:00
|
|
|
homepage = https://sourceforge.net/projects/linux-ima/;
|
2015-08-04 00:10:13 +01:00
|
|
|
license = stdenv.lib.licenses.gpl2;
|
|
|
|
platforms = stdenv.lib.platforms.linux;
|
|
|
|
maintainers = with stdenv.lib.maintainers; [ tstrobel ];
|
|
|
|
};
|
|
|
|
}
|