commit b5977d411a02c502688acb76f3435ba69075b702 Author: Adrian Schröter Date: Fri Sep 22 09:59:19 2023 +0200 Sync from SUSE:ALP:Source:Standard:1.0 sevctl revision 3cb8b2c9d40b9d0bc6fb87b0688e2131 diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..fecc750 --- /dev/null +++ b/.gitattributes @@ -0,0 +1,23 @@ +## Default LFS +*.7z filter=lfs diff=lfs merge=lfs -text +*.bsp filter=lfs diff=lfs merge=lfs -text +*.bz2 filter=lfs diff=lfs merge=lfs -text +*.gem filter=lfs diff=lfs merge=lfs -text +*.gz filter=lfs diff=lfs merge=lfs -text +*.jar filter=lfs diff=lfs merge=lfs -text +*.lz filter=lfs diff=lfs merge=lfs -text +*.lzma filter=lfs diff=lfs merge=lfs -text +*.obscpio filter=lfs diff=lfs merge=lfs -text +*.oxt filter=lfs diff=lfs merge=lfs -text +*.pdf filter=lfs diff=lfs merge=lfs -text +*.png filter=lfs diff=lfs merge=lfs -text +*.rpm filter=lfs diff=lfs merge=lfs -text +*.tbz filter=lfs diff=lfs merge=lfs -text +*.tbz2 filter=lfs diff=lfs merge=lfs -text +*.tgz filter=lfs diff=lfs merge=lfs -text +*.ttf filter=lfs diff=lfs merge=lfs -text +*.txz filter=lfs diff=lfs merge=lfs -text +*.whl filter=lfs diff=lfs merge=lfs -text +*.xz filter=lfs diff=lfs merge=lfs -text +*.zip filter=lfs diff=lfs merge=lfs -text +*.zst filter=lfs diff=lfs merge=lfs -text diff --git a/_service b/_service new file mode 100644 index 0000000..23a31a9 --- /dev/null +++ b/_service @@ -0,0 +1,30 @@ + + + https://github.com/virtee/sevctl.git + git + sevctl + v0.4.3 + @PARENT_TAG@ + [v]?([^\+]+)(.*) + \1 + + + + + + + + *.tar + xz + + + + sevctl + + + + sevctl + xz + false + + diff --git a/cargo_config b/cargo_config new file mode 100644 index 0000000..a476f35 --- /dev/null +++ b/cargo_config @@ -0,0 +1,5 @@ +[source.crates-io] +replace-with = "vendored-sources" + +[source.vendored-sources] +directory = "vendor" \ No newline at end of file diff --git a/sevctl-0.4.3.tar.xz b/sevctl-0.4.3.tar.xz new file mode 100644 index 0000000..3f89d8e --- /dev/null +++ b/sevctl-0.4.3.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:cb07ef9014a15b3200833c65d62f75cc48ec97f4b87f86cb0b911933e2a84920 +size 37216 diff --git a/sevctl.changes b/sevctl.changes new file mode 100644 index 0000000..3c532b9 --- /dev/null +++ b/sevctl.changes @@ -0,0 +1,95 @@ +------------------------------------------------------------------- +Wed Sep 13 14:42:56 UTC 2023 - Caleb Crane + +- Update to sevctl v0.4.3 (jsc#4981) + - Add show commands for identifier and VCEK URL + - Improve processor identification + - Add 'sevctl measurement build' + - Expand coverage for all AMD CPU model numbers + - Adjust to use sev VMSA result changes + - Add vmsa show command + - Implement vmsa update subcommand + - Implement vmsa build subcommand + - Detect and use host arch's CPU generation + - Support HTTP/HTTPS proxies +- Spec: Upgrade vendored dependencies +- Spec: Utilize upstream git tags + + +------------------------------------------------------------------- +Wed Apr 19 07:39:35 UTC 2023 - Dominique Leuenberger + +- BuildRequire rubygem(asciidoctor) instead of %{rubygem + asciidoctor}" the %rubygem} macro expands to all ruby versions, + wheras we are perfectly fine with getting only one version for + asciidoctor into the buildroot. + +------------------------------------------------------------------- +Tue Mar 14 15:25:33 UTC 2023 - Caleb Crane + +- Update to v0.3.2 + git commit 255d370 + dependency: Enable vendored feature for openssl + Add show commands for identifier, SNP status and VCEK URL. + readme: Add some basic provisioning instructions + Update sev library to version 1.1.0 + ok: Find singular model and family on processor ID + +------------------------------------------------------------------- +Wed Feb 8 20:34:00 UTC 2023 - Caleb Crane + +- Set cargo_vendor update param to false to bypass upstream semvar issues + +------------------------------------------------------------------- +Tue Jan 31 22:08:30 UTC 2023 - James Fehlig + +- Update to v0.3.2 + git commit e37c4d6 + src/main: Remove README portion of main.rs + .github: Remove cargo readme CI test + docs: Add a generable man page + ci: Add asciidoctor as a build dependency + ok: Add Genoa processor identifying + ok: Rewrite processor generation querying + secret: Add docs and update README.md + Add `secret build` subcommand + measurement: rework some functions for use with `secret build` + main: Improve error printing on exit + measurement: Add docs and update README.md + measurement: Comment why we aren't using sev crate + Change `measurement build` output to measurement+nonce + Add `measurement build --launch-measure-blob` + Add `measurement build --vmsa-cpu0, --vmsa-cpu1, --num-cpus` + Add `measurement build --firmware --kernel --initrd --cmdline` + Add `measurement build --outfile PATH` + Let `measurement build --tk` accept path or base64 string + Let `measurement build` accept int values as hex too + Add `measurement build` subcommand + Update version to 0.3.2 + Update sev crate to 1.0.1 + Update to 0.3.1 + Update to 0.3.1 + build(deps): bump httparse from 1.7.1 to 1.8.0 + Add CODEOWNERS file + CI: Drop rust 1.51.0 testing + Fix clippy warnings with rust nightly + ok: Show if Page flush MSR is enabled/disabled + ok: Change TestResult.name to String + Replace error.rs with anyhow crate + ok: Expand coverage for all AMD CPU model numbers + +------------------------------------------------------------------- +Thu Jul 7 17:15:42 UTC 2022 - Caleb Crane + +- Disable obs_scm service by default +- Use a commit hash as the checked out revision corresponding to crate version 0.3.0 +- Change version format to be clear we are using a git commit hash + +------------------------------------------------------------------- +Thu Jul 7 04:13:20 UTC 2022 - Caleb Crane + +- Build for x86_64 only + +------------------------------------------------------------------- +Thu Jul 7 03:52:13 UTC 2022 - Caleb Crane + +- Initial package for sevctl v0.3.0 (https://github.com/virtee/sevctl) +- FIXME: Upstream has no tags so using HEAD revision diff --git a/sevctl.obsinfo b/sevctl.obsinfo new file mode 100644 index 0000000..9906ebd --- /dev/null +++ b/sevctl.obsinfo @@ -0,0 +1,4 @@ +name: sevctl +version: 0.4.3 +mtime: 1691456916 +commit: c41c9172be013d6f10b9e1d7286fcb021805d5a5 diff --git a/sevctl.spec b/sevctl.spec new file mode 100644 index 0000000..bb9ade9 --- /dev/null +++ b/sevctl.spec @@ -0,0 +1,55 @@ +# +# spec file for package sevctl +# +# Copyright (c) 2023 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + + +Name: sevctl +Version: 0.4.3 +Release: 0 +Summary: Administrative utility for AMD SEV +Group: Development/Libraries/Rust +License: Apache-2.0 +URL: https://github.com/virtee/sevctl +Source0: %{name}-%{version}.tar.xz +Source1: vendor.tar.xz +Source2: cargo_config +BuildRequires: cargo-packaging +BuildRequires: libopenssl-devel +BuildRequires: rubygem(asciidoctor) +ExclusiveArch: x86_64 + +%description +Administrative utility for AMD SEV + +%files +%doc README.md +%{_bindir}/sevctl + +%prep +%autosetup -a1 +mkdir .cargo +cp %{SOURCE2} .cargo/config + +%build +%{cargo_build} + +%install +%{cargo_install} + +%check +%{cargo_test} + +%changelog diff --git a/vendor.tar.xz b/vendor.tar.xz new file mode 100644 index 0000000..d5b78bd --- /dev/null +++ b/vendor.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:2c11d77699a74852f9a8bfe828313ca456351cc55006b3d097d77b46bc2d33d9 +size 23877380