Accepting request 1098019 from home:larrydewey

I would like to maintain snpguest, and would like to use Virtualization:snpguest as the devel/feeder project.

OBS-URL: https://build.opensuse.org/request/show/1098019
OBS-URL: https://build.opensuse.org/package/show/Virtualization/snpguest?expand=0&rev=1
This commit is contained in:
Olaf Hering 2023-07-14 13:45:11 +00:00 committed by Git OBS Bridge
commit 75ce5e3033
11 changed files with 169 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

27
_service Normal file
View File

@ -0,0 +1,27 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">https://github.com/virtee/snpguest.git</param>
<param name="versionformat">@PARENT_TAG@~@TAG_OFFSET@</param>
<param name="scm">git</param>
<param name="revision">v0.2.2</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param>
<param name="changesgenerate">enable</param>
<param name="changesauthor">larry.j.dewey@gmail.com</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">gz</param>
</service>
<service mode="disabled" name="set_version"/>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">snpguest</param>
<param name="compression">gz</param>
<param name="update">true</param>
</service>
<service name="cargo_audit" mode="disabled">
<param name="srcdir">snpguest</param>
</service>
</services>

4
_servicedata Normal file
View File

@ -0,0 +1,4 @@
<servicedata>
<service name="tar_scm">
<param name="url">https://github.com/virtee/snpguest.git</param>
<param name="changesrevision">16908aaa22c184d62267abe7ac2fb9fefaf0b0c0</param></service></servicedata>

5
cargo_config Normal file
View File

@ -0,0 +1,5 @@
[source.crates-io]
replace-with = "vendored-sources"
[source.vendored-sources]
directory = "vendor"

3
snpguest-0.2.2~0.obscpio Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:94b251b0d9864dfeae1b41a0ab92722405168ded27e3970be1dc204000dd4e91
size 51723

3
snpguest-0.2.2~0.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:f7a1cd9d7480ac77f7a91a369b6972adf6fd507f761ea1df7b354df476a2d092
size 13422

42
snpguest.changes Normal file
View File

@ -0,0 +1,42 @@
-------------------------------------------------------------------
Mon Jul 10 17:18:03 UTC 2023 - larry.j.dewey@gmail.com
- Update to version 0.2.2~0:
* Update to 0.2.2
* Update Cargo.toml readme field
* Update to 0.2.1
-------------------------------------------------------------------
Tue Jun 06 15:51:36 UTC 2023 - larry.j.dewey@gmail.com
- Update to version 0.2.0~0:
* Fixing dependencies
* Changed VMPL to use updated SEV library
* Convert README to Markdown
* .gitignore: Add Cargo.lock
* Reformat
* Made certificate path and proc model required. Changed Cargo.toml. Shortened verify commands.
* Restrucuted project. Using updated SEV library. Adressed comments.
* Changed identification to enum
* Fixed request module with comments. Now using new virtee library
* Added verify-TCB, attestation signture verification and quiet flag
-------------------------------------------------------------------
Tue Jun 06 15:28:17 UTC 2023 - larry.j.dewey@gmail.com
- Update to version 0.2.0~0:
* Fixing dependencies
* Changed VMPL to use updated SEV library
* Convert README to Markdown
* .gitignore: Add Cargo.lock
* Reformat
* Made certificate path and proc model required. Changed Cargo.toml. Shortened verify commands.
* Restrucuted project. Using updated SEV library. Adressed comments.
* Changed identification to enum
* Fixed request module with comments. Now using new virtee library
* Added verify-TCB, attestation signture verification and quiet flag
-------------------------------------------------------------------
Tue May 23 14:50:12 UTC 2023 - Larry Dewey <larry.j.dewey@gmail.com>
- Initial Release v0.2.0

4
snpguest.obsinfo Normal file
View File

@ -0,0 +1,4 @@
name: snpguest
version: 0.2.2~0
mtime: 1688699353
commit: 16908aaa22c184d62267abe7ac2fb9fefaf0b0c0

54
snpguest.spec Normal file
View File

@ -0,0 +1,54 @@
# SPDX-License-Identifier: Apache-2.0
#
# Copyright (C) 2023 VirTEE
#
# Licensed under the Apache License, Version 2.0 (the "License");
# you may not use this file except in compliance with the License.
# You may obtain a copy of the License at
#
# http://www.apache.org/licenses/LICENSE-2.0
#
# Unless required by applicable law or agreed to in writing, software
# distributed under the License is distributed on an "AS IS" BASIS,
# WITHOUT WARRANTIES OR CONDITIONS OF ANY KIND, either express or implied.
# See the License for the specific language governing permissions and
# limitations under the License.
#
# Author: Larry Dewey <larry.dewey@amd.com>
Name: snpguest
Version: 0.2.2~0
Release: 0
Summary: A Rust command-line tool for interacting with the AMD Secure Processor
License: Apache-2.0
Group: Productivity/Security
Url: https://github.com/virtee/snpguest
Source0: %{name}-%{version}.tar.gz
Source1: vendor.tar.gz
Source2: cargo_config
BuildRequires: cargo-packaging
%description
snpguest is a command line utility for interacting with the AMD Secure Encrypted Virtualization - Secure Nested Paging (SEV-SNP) guest environment (via the /dev/sev-guest device).
%prep
# The number passed to -a (a stands for "after") should be equivalent to the Source tag number
# of the vendor tarball, 1 in this case (from Source1).
%autosetup -a1
install -D -m 644 %{SOURCE2} .cargo/config
%build
%{cargo_build}
%install
%{cargo_install}
%check
%{cargo_test}
%files
%license LICENSE
%doc README.md
%{_bindir}/%{name}
%changelog

3
vendor.tar.gz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1e671a2b3c2cfb69c7432a4ac34be702f8b011dfe9effc915583bd042a639227
size 41191296