From fb542af16c0a73ba2e866c74a1b15adae8a43dc8 Mon Sep 17 00:00:00 2001 From: Vikram Narayanan Date: Sat, 23 Sep 2023 20:12:49 -0600 Subject: [PATCH] update fedora patch to remove zmq Signed-off-by: Vikram Narayanan --- rpm/fedora/rust-keylime-metadata.patch | 13 ++++--------- 1 file changed, 4 insertions(+), 9 deletions(-) diff --git a/rpm/fedora/rust-keylime-metadata.patch b/rpm/fedora/rust-keylime-metadata.patch index 26599d5c9..f8b239443 100644 --- a/rpm/fedora/rust-keylime-metadata.patch +++ b/rpm/fedora/rust-keylime-metadata.patch @@ -1,5 +1,5 @@ diff --git a/keylime-agent/Cargo.toml b/keylime-agent/Cargo.toml -index 0cc1385..286e807 100644 +index 4db1cb1..c45a30d 100644 --- a/keylime-agent/Cargo.toml +++ b/keylime-agent/Cargo.toml @@ -21,8 +21,8 @@ keylime = { path = "../keylime" } @@ -16,21 +16,16 @@ index 0cc1385..286e807 100644 @@ -31,7 +31,7 @@ serde_json = { version = "1.0", features = ["raw_value"] } static_assertions = "1" tempfile = "3.4.0" - tokio = {version = "1.24", features = ["rt", "sync"]} + tokio = {version = "1.24", features = ["rt", "sync", "macros"]} -tss-esapi = {version = "7.2.0", features = ["generate-bindings"]} +tss-esapi = {version = "7", features = ["generate-bindings"]} thiserror = "1.0" uuid = {version = "1.3", features = ["v4"]} - zmq = {version = "0.9.2", optional = true} -@@ -48,18 +48,6 @@ actix-rt = "2" + # wiremock was moved to be a regular dependency because optional +@@ -47,13 +47,6 @@ actix-rt = "2" default = [] # this should change to dev-dependencies when we have integration testing testing = ["wiremock"] --# Whether the agent should be compiled with support to listen for notification --# messages on ZeroMQ --# --# This feature is deprecated and will be removed on next major release --with-zmq = ["zmq"] -# Whether the agent should be compiled with support for python revocation -# actions loaded as modules, which is the only kind supported by the python -# agent (unless the enhancement-55 is implemented). See: