forked from pool/parsec
Accepting request 1163363 from security
OBS-URL: https://build.opensuse.org/request/show/1163363 OBS-URL: https://build.opensuse.org/package/show/openSUSE:Factory/parsec?expand=0&rev=23
This commit is contained in:
commit
1b4d7ffbec
4
_service
4
_service
@ -1,10 +1,10 @@
|
||||
<services>
|
||||
<service name="cargo_vendor" mode="manual">
|
||||
<param name="compression">xz</param>
|
||||
<param name="srcdir">parsec-1.3.0</param>
|
||||
<param name="srcdir">parsec-1.4.0-rc1</param>
|
||||
<param name="update">true</param>
|
||||
</service>
|
||||
<service name="cargo_audit" mode="manual">
|
||||
<param name="srcdir">parsec-1.3.0</param>
|
||||
<param name="srcdir">parsec-1.4.0-rc1</param>
|
||||
</service>
|
||||
</services>
|
||||
|
@ -1,5 +0,0 @@
|
||||
[source.crates-io]
|
||||
replace-with = "vendored-sources"
|
||||
|
||||
[source.vendored-sources]
|
||||
directory = "vendor"
|
@ -1,3 +0,0 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:253cf74ae929ae613124ea9bcc7182f239d9cb1d013277b53e9390613d79b0ad
|
||||
size 940247
|
3
parsec-1.4.0-rc2.tar.gz
Normal file
3
parsec-1.4.0-rc2.tar.gz
Normal file
@ -0,0 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:372a5015ed17686c522e9c54c08e65c176070071d60ebd9f38561928a529bee6
|
||||
size 953444
|
@ -1,3 +1,9 @@
|
||||
-------------------------------------------------------------------
|
||||
Thu Mar 28 15:23:19 UTC 2024 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
- Update to 1.4.0-rc2:
|
||||
* Full changelog: https://github.com/parallaxsecond/parsec/compare/1.3.0...1.4.0-rc2
|
||||
|
||||
-------------------------------------------------------------------
|
||||
Mon Oct 30 08:40:35 UTC 2023 - Guillaume GARDET <guillaume.gardet@opensuse.org>
|
||||
|
||||
|
21
parsec.spec
21
parsec.spec
@ -1,7 +1,7 @@
|
||||
#
|
||||
# spec file for package parsec
|
||||
#
|
||||
# Copyright (c) 2023 SUSE LLC
|
||||
# Copyright (c) 2024 SUSE LLC
|
||||
#
|
||||
# All modifications and additions to the file contributed by third parties
|
||||
# remain the property of their copyright owners, unless otherwise agreed
|
||||
@ -17,18 +17,17 @@
|
||||
|
||||
|
||||
%global rustflags '-Clink-arg=-Wl,-z,relro,-z,now'
|
||||
%define archive_version 1.3.0
|
||||
%define archive_version 1.4.0-rc2
|
||||
|
||||
%{?systemd_ordering}
|
||||
Name: parsec
|
||||
Version: 1.3.0
|
||||
Version: 1.4.0~rc2
|
||||
Release: 0
|
||||
Summary: Platform AbstRaction for SECurity
|
||||
License: Apache-2.0
|
||||
URL: https://parallaxsecond.github.io/parsec-book
|
||||
Source0: https://github.com/parallaxsecond/parsec/archive/%{archive_version}.tar.gz#/parsec-%{archive_version}.tar.gz
|
||||
Source1: vendor.tar.xz
|
||||
Source2: cargo_config
|
||||
Source3: parsec.service
|
||||
Source4: config.toml
|
||||
Source5: parsec.conf
|
||||
@ -52,7 +51,6 @@ BuildRequires: sysuser-tools
|
||||
BuildRequires: pkgconfig(tss2-esys) >= 2.3.3
|
||||
# opensc is used to initialize HSM keys (PKCS#11 backend)
|
||||
Recommends: opensc
|
||||
%sysusers_requires
|
||||
# /dev/tpm* are owned by tss user
|
||||
Requires(pre): system-user-tss
|
||||
# tpm2-0-tss holds the udev rule to make /dev/tpm* owned by tss user
|
||||
@ -67,12 +65,17 @@ a common API to hardware security and cryptographic services in a platform-agnos
|
||||
This abstraction layer keeps workloads decoupled from physical platform details,
|
||||
enabling cloud-native delivery flows within the data center and at the edge.
|
||||
|
||||
%package -n system-user-parsec
|
||||
Summary: System user and group parsec
|
||||
%sysusers_requires
|
||||
|
||||
%description -n system-user-parsec
|
||||
Package to install system user 'parsec'
|
||||
|
||||
%prep
|
||||
%setup -q -a1 -a10 -n parsec-%{archive_version}
|
||||
rmdir trusted-services-vendor
|
||||
mv trusted-services-389b506 trusted-services-vendor
|
||||
rm -rf .cargo && mkdir .cargo
|
||||
cp %{SOURCE2} .cargo/config
|
||||
# Enable all providers
|
||||
sed -i -e 's#default = \["unix-peer-credentials-authenticator"\]##' Cargo.toml
|
||||
# Features available in 1.2.0-rc1:
|
||||
@ -116,7 +119,7 @@ export PROTOC=%{_bindir}/protoc
|
||||
export PROTOC_INCLUDE=%{_includedir}
|
||||
%cargo_test -- --lib
|
||||
|
||||
%pre -f parsec.pre
|
||||
%pre -n system-user-parsec -f parsec.pre
|
||||
%service_add_pre parsec.service
|
||||
|
||||
%post
|
||||
@ -138,6 +141,8 @@ export PROTOC_INCLUDE=%{_includedir}
|
||||
%{_libexecdir}/parsec
|
||||
%{_tmpfilesdir}/parsec.conf
|
||||
%{_unitdir}/parsec.service
|
||||
|
||||
%files -n system-user-parsec
|
||||
%{_sysusersdir}/system-user-parsec.conf
|
||||
|
||||
%changelog
|
||||
|
@ -1,3 +1,3 @@
|
||||
version https://git-lfs.github.com/spec/v1
|
||||
oid sha256:ebe8ff9ef9a6c320c26bb08e69dd10b86de24cb55bc82fec65c3e608b00cf141
|
||||
size 48104864
|
||||
oid sha256:d9288687a3eda0398e454d00596d79b1bd8d67aa6e3564d7dabbedf532ece815
|
||||
size 52351056
|
||||
|
Loading…
Reference in New Issue
Block a user