Script 'mail_helper' called by obssrc Hello community, here is the log from the commit of package rust-keylime for openSUSE:Factory checked in at 2022-10-27 13:53:41 ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Comparing /work/SRC/openSUSE:Factory/rust-keylime (Old) and /work/SRC/openSUSE:Factory/.rust-keylime.new.2275 (New) ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++
Package is "rust-keylime" Thu Oct 27 13:53:41 2022 rev:6 rq:1031090 version:0.1.0+git.1666019359.f5de47b Changes: -------- --- /work/SRC/openSUSE:Factory/rust-keylime/rust-keylime.changes 2022-10-14 15:40:51.155749408 +0200 +++ /work/SRC/openSUSE:Factory/.rust-keylime.new.2275/rust-keylime.changes 2022-10-27 13:54:06.824549571 +0200 @@ -1,0 +2,7 @@ +Tue Oct 25 08:16:33 UTC 2022 - apla...@suse.com + +- Add cargo-audit service per policy +- Update to version 0.1.0+git.1666019359.f5de47b: + * README: mark Rust agent as the official one, fix cargo run command + +------------------------------------------------------------------- Old: ---- rust-keylime-0.1.0+git.1664480840.0ea0492.tar.xz New: ---- rust-keylime-0.1.0+git.1666019359.f5de47b.tar.xz ++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++++ Other differences: ------------------ ++++++ rust-keylime.spec ++++++ --- /var/tmp/diff_new_pack.gDBDxM/_old 2022-10-27 13:54:07.968555406 +0200 +++ /var/tmp/diff_new_pack.gDBDxM/_new 2022-10-27 13:54:07.976555447 +0200 @@ -25,7 +25,7 @@ %define _config_norepl %config(noreplace) %endif Name: rust-keylime -Version: 0.1.0+git.1664480840.0ea0492 +Version: 0.1.0+git.1666019359.f5de47b Release: 0 Summary: Rust implementation of the keylime agent License: Apache-2.0 AND MIT @@ -38,7 +38,7 @@ Source5: tmpfiles.keylime # PATCH-FIX-OPENSUSE keylime-agent.conf.diff Patch1: keylime-agent.conf.diff -BuildRequires: cargo +BuildRequires: cargo-packaging BuildRequires: clang BuildRequires: firewall-macros BuildRequires: libarchive-devel @@ -51,6 +51,10 @@ Requires: tpm2.0-abrmd Provides: user(keylime) %sysusers_requires +# Disable this line if you wish to support all platforms. In most +# situations, you will likely only target tier1 arches for user facing +# components. +# ExclusiveArch: %_{rust_tier1_arches} %description Rust implementation of keylime agent. Keylime is system integrity @@ -62,11 +66,11 @@ cp %{SOURCE2} .cargo/config %build -RUSTFLAGS=%{rustflags} cargo build --release --no-default-features --features "with-zmq" +%{cargo_build} --no-default-features --features "with-zmq" %sysusers_generate_pre %{SOURCE4} keylime keylime-user.conf %install -RUSTFLAGS=%{rustflags} cargo install --frozen --no-default-features --features "with-zmq" --root=%{buildroot}%{_prefix} --path . +%{cargo_install} --no-default-features --features "with-zmq" install -Dpm 0600 keylime-agent.conf %{buildroot}%{_distconfdir}/keylime/agent.conf install -Dpm 0644 ./dist/systemd/system/keylime_agent.service %{buildroot}%{_unitdir}/keylime_agent.service @@ -81,8 +85,8 @@ # Create work directory mkdir -p %{buildroot}%{_sharedstatedir}/keylime -rm %{buildroot}%{_prefix}/.crates.toml -rm %{buildroot}%{_prefix}/.crates2.json +# %_check +# %_{cargo_test} %pre -f keylime.pre %service_add_pre keylime_agent.service ++++++ _service ++++++ --- /var/tmp/diff_new_pack.gDBDxM/_old 2022-10-27 13:54:08.016555651 +0200 +++ /var/tmp/diff_new_pack.gDBDxM/_new 2022-10-27 13:54:08.020555672 +0200 @@ -14,9 +14,9 @@ <!-- <param name="srcdir">rust-keylime</param> --> <!-- <param name="compression">xz</param> --> <!-- </service> --> - <!-- <service name="cargo_audit" mode="disabled"> --> - <!-- <param name="srcdir">rust-keylime</param> --> - <!-- </service> --> + <service name="cargo_audit" mode="disabled"> + <param name="srcdir">rust-keylime</param> + </service> <service name="set_version" mode="disabled"/> </services> ++++++ _servicedata ++++++ --- /var/tmp/diff_new_pack.gDBDxM/_old 2022-10-27 13:54:08.048555815 +0200 +++ /var/tmp/diff_new_pack.gDBDxM/_new 2022-10-27 13:54:08.052555835 +0200 @@ -1,6 +1,6 @@ <servicedata> <service name="tar_scm"> <param name="url">https://github.com/keylime/rust-keylime.git</param> - <param name="changesrevision">0ea0492357432475377d7ed3e3e4a98927b8d529</param></service></servicedata> + <param name="changesrevision">f5de47bd3fdcf767403242d05032b5775f3883ed</param></service></servicedata> (No newline at EOF) ++++++ rust-keylime-0.1.0+git.1664480840.0ea0492.tar.xz -> rust-keylime-0.1.0+git.1666019359.f5de47b.tar.xz ++++++ diff -urN '--exclude=CVS' '--exclude=.cvsignore' '--exclude=.svn' '--exclude=.svnignore' old/rust-keylime-0.1.0+git.1664480840.0ea0492/README.md new/rust-keylime-0.1.0+git.1666019359.f5de47b/README.md --- old/rust-keylime-0.1.0+git.1664480840.0ea0492/README.md 2022-09-29 21:47:20.000000000 +0200 +++ new/rust-keylime-0.1.0+git.1666019359.f5de47b/README.md 2022-10-17 17:09:19.000000000 +0200 @@ -21,7 +21,8 @@ a physical TPM chip (or a TPM emulator) to perform keylime operations. The TPM emulator is a program that runs in the daemon to mimic TPM commands. -The rust keylime agent is in early development and not ready for production use. +The rust-keylime agent is the official agent (starting with version 0.1.0) and +replaces the Python implementation. ## Prerequisites @@ -48,7 +49,7 @@ To run with `pretty-env-logger` trace logging active, set cargo run within `RUST_LOG`, as follows: - $ RUST_LOG=keylime_agent=trace cargo run + $ RUST_LOG=keylime_agent=trace cargo run --bin keylime_agent ## Testing ++++++ vendor.tar.xz ++++++ /work/SRC/openSUSE:Factory/rust-keylime/vendor.tar.xz /work/SRC/openSUSE:Factory/.rust-keylime.new.2275/vendor.tar.xz differ: char 1, line 1