2021-01-19 07:50:56 +01:00
|
|
|
{ lib, stdenv, fetchgit, autoreconfHook, pkg-config, openssl, attr, keyutils, asciidoc, libxslt, docbook_xsl }:
|
2015-08-04 01:10:13 +02:00
|
|
|
|
|
|
|
stdenv.mkDerivation rec {
|
2019-08-15 14:41:18 +02:00
|
|
|
pname = "ima-evm-utils";
|
2019-03-10 21:12:58 +01:00
|
|
|
version = "1.1";
|
2015-08-04 01:10:13 +02:00
|
|
|
|
|
|
|
src = fetchgit {
|
|
|
|
url = "git://git.code.sf.net/p/linux-ima/ima-evm-utils";
|
2019-03-10 21:12:58 +01:00
|
|
|
rev = "v${version}";
|
|
|
|
sha256 = "1dhfw6d9z4dv82q9zg2g025hgr179kamz9chy7v5w9b71aam8jf8";
|
2015-08-04 01:10:13 +02:00
|
|
|
};
|
|
|
|
|
2021-01-19 07:50:56 +01:00
|
|
|
nativeBuildInputs = [ autoreconfHook pkg-config ];
|
2017-09-05 23:26:13 +02:00
|
|
|
buildInputs = [ openssl attr keyutils asciidoc libxslt ];
|
2015-08-04 01:10:13 +02:00
|
|
|
|
2019-03-10 21:14:20 +01:00
|
|
|
patches = [ ./xattr.patch ];
|
|
|
|
|
2015-08-04 01:10:13 +02: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)";
|
2020-04-01 03:11:51 +02:00
|
|
|
homepage = "https://sourceforge.net/projects/linux-ima/";
|
2021-01-15 15:45:37 +01:00
|
|
|
license = lib.licenses.gpl2;
|
|
|
|
platforms = lib.platforms.linux;
|
|
|
|
maintainers = with lib.maintainers; [ tstrobel ];
|
2015-08-04 01:10:13 +02:00
|
|
|
};
|
|
|
|
}
|