tboot: 1.8.2 -> 1.9.6

This commit is contained in:
Peter Hoeg 2017-08-13 19:31:23 +08:00
parent 2ae4163059
commit b9b00495d5

View File

@ -1,16 +1,19 @@
{ stdenv, fetchurl, trousers, openssl, zlib }:
stdenv.mkDerivation rec {
name = "tboot-1.8.2";
name = "tboot-${version}";
version = "1.9.6";
src = fetchurl {
url = "mirror://sourceforge/tboot/${name}.tar.gz";
sha256 = "1l9ccm7ik9fs7kzg1bjc5cjh0pcf4v0k1c84dmyr51r084i7p31m";
sha256 = "0f9afz260xhycpd0x5zz6jn8ha14i8j98rck0fhb55l1rbbfwm8v";
};
patches = [ ./tboot-add-well-known-secret-option-to-lcp_writepol.patch ];
buildInputs = [ trousers openssl zlib ];
patches = [ ./tboot-add-well-known-secret-option-to-lcp_writepol.patch ];
enableParallelBuilding = true;
hardeningDisable = [ "pic" "stackprotector" ];
@ -27,8 +30,7 @@ stdenv.mkDerivation rec {
description = "A pre-kernel/VMM module that uses Intel(R) TXT to perform a measured and verified launch of an OS kernel/VMM";
homepage = http://sourceforge.net/projects/tboot/;
license = licenses.bsd3;
maintainers = [ maintainers.ak ];
maintainers = with maintainers; [ ak ];
platforms = platforms.linux;
};
}