Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package parsec for openSUSE:Factory checked in at 2021-09-21 21:13:17 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/parsec (Old) and /work/SRC/openSUSE:Factory/.parsec.new.1899 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "parsec" Tue Sep 21 21:13:17 2021 rev:6 rq:920615 version:0.8.0 Changes: -------- --- /work/SRC/openSUSE:Factory/parsec/parsec.changes 2021-05-01 00:46:58.223379387 +0200 +++ /work/SRC/openSUSE:Factory/.parsec.new.1899/parsec.changes 2021-09-21 21:14:11.138709405 +0200 @@ -1,0 +2,11 @@ +Fri Aug 6 07:01:27 UTC 2021 - Guillaume GARDET <guillaume.gar...@opensuse.org> + +- Update to 0.8.0: + * Changelog: https://github.com/parallaxsecond/parsec/compare/0.7.2...0.8.0 +- Drop upstream patch: + * parsec-fix-old-rust.patch +- Disable 'trusted-service-provider' as it currently fails to build +- Disable 'jwt-svid-authenticator' (SPIFFE-based authenticator) + on Leap, as it cannot be compiled with rust 1.43.1 + +------------------------------------------------------------------- Old: ---- parsec-0.7.2.tar.gz parsec-fix-old-rust.patch New: ---- parsec-0.8.0.tar.gz trusted-services-c1cf912.tar.gz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ parsec.spec ++++++ --- /var/tmp/diff_new_pack.LHCnTm/_old 2021-09-21 21:14:12.162710563 +0200 +++ /var/tmp/diff_new_pack.LHCnTm/_new 2021-09-21 21:14:12.166710567 +0200 @@ -17,13 +17,10 @@ %global rustflags '-Clink-arg=-Wl,-z,relro,-z,now' -# Features available: -# all-providers = ["tpm-provider", "pkcs11-provider", "mbed-crypto-provider", "cryptoauthlib-provider"] -# all-authenticators = ["direct-authenticator", "unix-peer-credentials-authenticator"] -%define features "all-authenticators,all-providers" + %{?systemd_ordering} Name: parsec -Version: 0.7.2 +Version: 0.8.0 Release: 0 Summary: Platform AbstRaction for SECurity License: Apache-2.0 @@ -35,8 +32,7 @@ Source4: config.toml Source5: parsec.conf Source6: system-user-parsec.conf -# Fix build with old rust used in Leap 15.3/SLE15-SP3 - https://github.com/parallaxsecond/parsec/issues/409 -Patch1: parsec-fix-old-rust.patch +Source10: https://git.trustedfirmware.org/TS/trusted-services.git/snapshot/trusted-services-c1cf912.tar.gz BuildRequires: cargo BuildRequires: clang-devel BuildRequires: cmake @@ -65,17 +61,31 @@ enabling cloud-native delivery flows within the data center and at the edge. %prep -%autosetup -p1 -a1 +%setup -q -a1 -a10 +rmdir trusted-services-vendor +mv trusted-services-c1cf912 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 -echo 'default = ["all-authenticators", "all-providers"]' >> Cargo.toml +# Features available in 0.8.0: +# all-providers = ["tpm-provider", "pkcs11-provider", "mbed-crypto-provider", "cryptoauthlib-provider", "trusted-service-provider"] +# all-authenticators = ["direct-authenticator", "unix-peer-credentials-authenticator", "jwt-svid-authenticator"] +%if 0%{suse_version} > 1500 +# Tumbleweed +# Disable "trusted-service-provider" until we have a trusted-services package +echo 'default = ["tpm-provider", "pkcs11-provider", "mbed-crypto-provider", "cryptoauthlib-provider", "all-authenticators"]' >> Cargo.toml +%else +# Leap/SLE +# Disable jwt-svid-authenticator (SPIFFE-based authenticator) as it cannot be compiled with rust 1.43.1 +# Disable "trusted-service-provider" until we have a trusted-services package +echo 'default = ["direct-authenticator", "unix-peer-credentials-authenticator", "tpm-provider", "pkcs11-provider", "mbed-crypto-provider", "cryptoauthlib-provider"]' >> Cargo.toml +%endif %build export PROTOC=%{_bindir}/protoc export PROTOC_INCLUDE=%{_includedir} -%cargo_build -- --features=%features +%cargo_build %sysusers_generate_pre %{SOURCE6} parsec %install @@ -98,7 +108,7 @@ %check export PROTOC=%{_bindir}/protoc export PROTOC_INCLUDE=%{_includedir} -%cargo_test -- --lib --features=%features +%cargo_test -- --lib %pre -f parsec.pre %service_add_pre parsec.service ++++++ _service ++++++ --- /var/tmp/diff_new_pack.LHCnTm/_old 2021-09-21 21:14:12.194710599 +0200 +++ /var/tmp/diff_new_pack.LHCnTm/_new 2021-09-21 21:14:12.194710599 +0200 @@ -1,6 +1,6 @@ <services> <service name="cargo_vendor" mode="disabled"> <param name="compression">xz</param> - <param name="srcdir">parsec-0.7.2</param> + <param name="srcdir">parsec-0.8.0</param> </service> </services> ++++++ parsec-0.7.2.tar.gz -> parsec-0.8.0.tar.gz ++++++ ++++ 15353 lines of diff (skipped) ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/parsec/vendor.tar.xz /work/SRC/openSUSE:Factory/.parsec.new.1899/vendor.tar.xz differ: char 26, line 1