forked from pool/rust-keylime
- Update to version 0.1.0+git.1672681780.762cec8: * build(deps): bump openssl from 0.10.41 to 0.10.45 * build(deps): bump tokio from 1.21.1 to 1.23.0 * Disable dnf-makecache.service to save RAM * CI tests: Do not remove Fedora tag repository * add support for cargo deb * Pacify clippy::needless-borrow * Move tpm.rs from keylime-agent to the library * Split crates into library and applications - Add 0001-keylime-agent-remove-const_err-deny.patch - Fix "cargo install" with workspaces https://github.com/rust-lang/cargo/issues/7599 - Add 0001-Cargo.toml-tss-esapi-bindings.patch - Update to version 0.1.0+git.1670590616.e80c67a: * main: only read uuid from KeylimeConfig * Enabling more e2e tests in Packit CI * systemd: start agent after network is online * Cargo: Drop unused dependencies rust-ini and toml OBS-URL: https://build.opensuse.org/request/show/1058991 OBS-URL: https://build.opensuse.org/package/show/security/rust-keylime?expand=0&rev=33
44 lines
1.3 KiB
Diff
44 lines
1.3 KiB
Diff
From df18e7f683b610e198f8d359d2036655a1891795 Mon Sep 17 00:00:00 2001
|
|
From: Alberto Planas <aplanas@suse.com>
|
|
Date: Tue, 17 Jan 2023 11:35:59 +0100
|
|
Subject: [PATCH] Cargo.toml: tss-esapi bindings
|
|
|
|
Generate the tss-esapi bindings during compilation time. This will
|
|
extend the amount of supported architectures.
|
|
|
|
This is a regression done after the crate split, that was fixed before
|
|
in #459.
|
|
|
|
Signed-off-by: Alberto Planas <aplanas@suse.com>
|
|
---
|
|
keylime-ima-emulator/Cargo.toml | 2 +-
|
|
keylime/Cargo.toml | 2 +-
|
|
2 files changed, 2 insertions(+), 2 deletions(-)
|
|
|
|
diff --git a/keylime-ima-emulator/Cargo.toml b/keylime-ima-emulator/Cargo.toml
|
|
index ee3d5c1..333a192 100644
|
|
--- a/keylime-ima-emulator/Cargo.toml
|
|
+++ b/keylime-ima-emulator/Cargo.toml
|
|
@@ -12,4 +12,4 @@ keylime = { path = "../keylime" }
|
|
log = "0.4"
|
|
openssl = "0.10.15"
|
|
thiserror = "1.0"
|
|
-tss-esapi = "7.1.0"
|
|
+tss-esapi = {version = "7.1.0", features = ["generate-bindings"]}
|
|
diff --git a/keylime/Cargo.toml b/keylime/Cargo.toml
|
|
index 9693912..c343d40 100644
|
|
--- a/keylime/Cargo.toml
|
|
+++ b/keylime/Cargo.toml
|
|
@@ -14,7 +14,7 @@ serde = "1.0.80"
|
|
serde_derive = "1.0.80"
|
|
static_assertions = "1"
|
|
thiserror = "1.0"
|
|
-tss-esapi = "7.1.0"
|
|
+tss-esapi = {version = "7.1.0", features = ["generate-bindings"]}
|
|
|
|
[dev-dependencies]
|
|
tempfile = "3.0.4"
|
|
--
|
|
2.39.0
|
|
|