tboot: 1.9.8 -> 1.10.1
https://sourceforge.net/p/tboot/code/ci/v1.10.1/tree/CHANGELOG
This commit is contained in:
@@ -1,27 +1,23 @@
|
||||
{ lib, stdenv, fetchurl, trousers, openssl, zlib }:
|
||||
{ lib, stdenv, fetchurl, openssl, perl, trousers, zlib }:
|
||||
|
||||
stdenv.mkDerivation rec {
|
||||
pname = "tboot";
|
||||
version = "1.9.8";
|
||||
version = "1.10.1";
|
||||
|
||||
src = fetchurl {
|
||||
url = "mirror://sourceforge/tboot/${pname}-${version}.tar.gz";
|
||||
sha256 = "06f0ggl6vrb5ghklblvh2ixgmmjv31rkp1vfj9qm497iqwq9ac00";
|
||||
sha256 = "18bnkwnlk16cc20nysqfcjx006idi7jmmhahk8vk09w458bhaajg";
|
||||
};
|
||||
|
||||
patches = [ ./tboot-add-well-known-secret-option-to-lcp_writepol.patch ];
|
||||
|
||||
buildInputs = [ trousers openssl zlib ];
|
||||
buildInputs = [ openssl trousers zlib ];
|
||||
|
||||
enableParallelBuilding = true;
|
||||
|
||||
hardeningDisable = [ "pic" "stackprotector" ];
|
||||
preConfigure = ''
|
||||
substituteInPlace tboot/Makefile --replace /usr/bin/perl ${perl}/bin/perl
|
||||
|
||||
NIX_CFLAGS_COMPILE = [ "-Wno-error=address-of-packed-member" ];
|
||||
|
||||
configurePhase = ''
|
||||
for a in lcptools utils tb_polgen; do
|
||||
substituteInPlace $a/Makefile --replace /usr/sbin /sbin
|
||||
for a in lcptools-v2 tb_polgen utils; do
|
||||
substituteInPlace "$a/Makefile" --replace /usr/sbin /sbin
|
||||
done
|
||||
substituteInPlace docs/Makefile --replace /usr/share /share
|
||||
'';
|
||||
@@ -31,6 +27,7 @@ stdenv.mkDerivation rec {
|
||||
meta = with lib; {
|
||||
description = "A pre-kernel/VMM module that uses Intel(R) TXT to perform a measured and verified launch of an OS kernel/VMM";
|
||||
homepage = "https://sourceforge.net/projects/tboot/";
|
||||
changelog = "https://sourceforge.net/p/tboot/code/ci/v${version}/tree/CHANGELOG";
|
||||
license = licenses.bsd3;
|
||||
maintainers = with maintainers; [ ak ];
|
||||
platforms = [ "x86_64-linux" "i686-linux" ];
|
||||
|
||||
Reference in New Issue
Block a user