[Bug 2332550] Review Request: trustee-guest-components - attest and get secrets from Trustee

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

 



https://bugzilla.redhat.com/show_bug.cgi?id=2332550



--- Comment #11 from Uri Lublin <uril@xxxxxxxxxx> ---
(In reply to Uri Lublin from comment #10)
> New build with the following changes:
> - rust2rpm.toml: removed "extra-sources = []"

rust2rpm.toml:
[package]
summary = "Tools that run in confidential VMs, attest and get secrets from
Trustee"
description = "Running in a confidential VM, gather confidential-computing
evidence,\nsend it to Trustee and get secrets.\nA part of the
confidential-containers project"
url = "https://github.com/confidential-containers/guest-components";
source-url =
"https://github.com/confidential-containers/guest-components/archive/0061d036509e451597f5f61492b41849b36a32a1.zip";
extra-patches = [
              { "number" = 1, "file" =
"0001-Fedora-Remove-workspace-members-which-are-not-built.patch" , "comments" =
[ "Remove workspace members which are not built" ] },
              { "number" = 2, "file" =
"0002-Fedora-AA-deps-crypto-default-to-openssl.patch" , "comments" = [
"deps/crypto defaults to openssl" ] },
              { "number" = 3, "file" =
"0003-Fedora-kbs_protocol-Cargo.toml-reqwest-use-native-TL.patch" , "comments"
= [ "use native-tls for reqwest" ] },
              { "number" = 4, "file" =
"0004-Fedora-remove-jwt-simple-dependency.patch" , "comments" = [ "remove
dependency jwt-simple - not in Fedora" ] },
              { "number" = 5, "file" =
"0005-Fedora-remove-ttrpc-dependency.patch" , "comments" = [ "remove dependency
ttrpc - not in Fedora" ] },
              { "number" = 6, "file" =
"0006-Fedora-attester-pick-attesters-in-all-attesters.patch" , "comments" = [
"pick attesters to build" ] },
              { "number" = 7, "file" =
"0007-Fedora-remove-testcontainers-dependency.patch" , "comments" = [ "remove
dependency testcontainers - not in Fedora" ] },
              { "number" = 8, "file" =
"0008-Fedora-kbs_protocol-default-to-openssl.patch" , "comments" = [
"kbs_protocol defaults to openssl" ] },
              { "number" = 9, "file" = "0009-Fedora-rstest-0.23.patch" ,
"comments" = [ "rstest version is 0.23" ] },
              { "number" = 10, "file" = "0010-Fedora-use-clap-4.2.7.patch" ,
"comments" = [ "clap version is ^4.2.7 -- see patch for more info" ] },
              { "number" = 11, "file" = "0011-Fedora-kbs-types-0.8.0.patch" ,
"comments" = [ "kbs-types version is 0.8.0" ] },
              { "number" = 12, "file" =
"0012-Fedora-kbs_protocol-Cargo.toml-add-package.license.patch" , "comments" =
[ "add package.license to kbs_protocol/Cargo.toml" ] },
              { "number" = 13, "file" =
"0013-Fedora-url-version-is-2.5.2.patch" , "comments" = [ "url version is
2.5.2" ] },
              ]
extra-files = [
              "%doc trustee-attester-README.md",
              ]
supported-arches = ["x86_64"] # == exclusive-arch # or add it manually
cargo-install-bin = true
cargo-install-lib = false


[scripts]
prep.pre  =   [
    "# Cargo.lock isn't uptodate and rpmbuild set --offline", 
    "rm -f Cargo.lock",
    "# Work in kbs_protocol directory",
    "cd attestation-agent/kbs_protocol",
]
build.pre = [
    "cd attestation-agent/kbs_protocol",
]
build.post = [
    "mv LICENSE.dependencies ../../",
]
install.pre = [
    "cd attestation-agent/kbs_protocol",
    "mkdir -p %{buildroot}%{_docdir}/%{name}",
    "install -m 0644 src/bin/trustee-attester/README.md
%{buildroot}%{_docdir}/%{name}/trustee-attester-README.md",
]
check.pre = [
    "cd attestation-agent/kbs_protocol",
]

# Manually fix what's missing:
# name:
# vesion:
# version (snapshot) is of format <latest-release>^<number>.<scm><revision>
# where the last part is built out of: git describe --tags
# matching the tarball name
#
# license:
# %cargo_generate_buildrequires
# Copy all comments with license strings
# Fix LICENSE at the top by concatenating these strings with AND between them
#
# files:
# Fix %files:
# Add LICENSE, README.md, trustee-attester
# Remove any binary or other files.
# ---
# %doc     README.md
# %doc     trustee-attester-README.md
# %license LICENSE
# %license LICENSE.dependencies


-- 
You are receiving this mail because:
You are always notified about changes to this product and component
You are on the CC list for the bug.
https://bugzilla.redhat.com/show_bug.cgi?id=2332550

Report this comment as SPAM: https://bugzilla.redhat.com/enter_bug.cgi?product=Bugzilla&format=report-spam&short_desc=Report%20of%20Bug%202332550%23c11

-- 
_______________________________________________
package-review mailing list -- package-review@xxxxxxxxxxxxxxxxxxxxxxx
To unsubscribe send an email to package-review-leave@xxxxxxxxxxxxxxxxxxxxxxx
Fedora Code of Conduct: https://docs.fedoraproject.org/en-US/project/code-of-conduct/
List Guidelines: https://fedoraproject.org/wiki/Mailing_list_guidelines
List Archives: https://lists.fedoraproject.org/archives/list/package-review@xxxxxxxxxxxxxxxxxxxxxxx
Do not reply to spam, report it: https://pagure.io/fedora-infrastructure/new_issue




[Index of Archives]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Yosemite Conditions]     [KDE Users]

  Powered by Linux