nixpkgs/pkgs/tools/security/tpm-quote-tools/default.nix

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

33 lines
1.1 KiB
Nix
Raw Normal View History

{ lib, stdenv, fetchurl, trousers, openssl }:
2021-01-15 09:19:50 +00:00
stdenv.mkDerivation rec {
pname = "tpm-quote-tools";
tpm-quote-tools: 1.0.3 -> 1.0.4 Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_mkuuid -h` got 0 exit code - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_mkuuid -v` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_mkuuid -h` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_mkaik -h` got 0 exit code - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_mkaik -v` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_mkaik -h` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_getpcrhash -h` got 0 exit code - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_getpcrhash -v` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_getpcrhash -h` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_loadkey -h` got 0 exit code - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_loadkey -v` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_loadkey -h` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_unloadkey -h` got 0 exit code - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_unloadkey -v` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_unloadkey -h` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_getquote -h` got 0 exit code - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_getquote -v` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_getquote -h` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_verifyquote -h` got 0 exit code - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_verifyquote -v` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_verifyquote -h` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_updatepcrhash -h` got 0 exit code - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_updatepcrhash -v` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_updatepcrhash -h` and found version 1.0.4 - found 1.0.4 with grep in /nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4 - found 1.0.4 in filename of file in /nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4 cc "@ak @ndowens"
2018-02-28 01:47:13 +00:00
version = "1.0.4";
2021-01-15 09:19:50 +00:00
src = fetchurl {
url = "mirror://sourceforge/project/tpmquotetools/${version}/${pname}-${version}.tar.gz";
tpm-quote-tools: 1.0.3 -> 1.0.4 Semi-automatic update. These checks were performed: - built on NixOS - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_mkuuid -h` got 0 exit code - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_mkuuid -v` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_mkuuid -h` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_mkaik -h` got 0 exit code - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_mkaik -v` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_mkaik -h` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_getpcrhash -h` got 0 exit code - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_getpcrhash -v` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_getpcrhash -h` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_loadkey -h` got 0 exit code - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_loadkey -v` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_loadkey -h` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_unloadkey -h` got 0 exit code - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_unloadkey -v` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_unloadkey -h` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_getquote -h` got 0 exit code - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_getquote -v` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_getquote -h` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_verifyquote -h` got 0 exit code - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_verifyquote -v` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_verifyquote -h` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_updatepcrhash -h` got 0 exit code - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_updatepcrhash -v` and found version 1.0.4 - ran `/nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4/bin/tpm_updatepcrhash -h` and found version 1.0.4 - found 1.0.4 with grep in /nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4 - found 1.0.4 in filename of file in /nix/store/4xhrypy9qbx3ijfis7c84sdd08nrmlc8-tpm-quote-tools-1.0.4 cc "@ak @ndowens"
2018-02-28 01:47:13 +00:00
sha256 = "1qjs83xb4np4yn1bhbjfhvkiika410v8icwnjix5ad96w2nlxp0h";
};
buildInputs = [ trousers openssl ];
postFixup = ''
patchelf \
2021-01-15 09:19:50 +00:00
--set-rpath "${lib.makeLibraryPath [ openssl ]}:$(patchelf --print-rpath $out/bin/tpm_mkaik)" \
$out/bin/tpm_mkaik
'';
2021-01-15 09:19:50 +00:00
meta = with lib; {
2014-11-11 13:20:43 +00:00
description = "Collection of programs that provide support for TPM based attestation using the TPM quote mechanism";
longDescription = ''
The TPM Quote Tools is a collection of programs that provide support
for TPM based attestation using the TPM quote mechanism. The manual
page for tpm_quote_tools provides a usage overview.
'';
homepage = "http://tpmquotetools.sourceforge.net/";
license = licenses.bsd3;
2019-12-26 21:28:10 +00:00
maintainers = with maintainers; [ ak ];
platforms = platforms.linux;
};
}