From d5289d45a9e878e560ca8bae7da7e5b8b0ef83f0fdabe08495848a31e533f732 Mon Sep 17 00:00:00 2001 From: William Brown Date: Tue, 7 Mar 2023 02:24:24 +0000 Subject: [PATCH] Accepting request 1067424 from home:amanzini:branches:devel:languages:rust - Update to version 0.6.0~0: * README and documentation improvements * Read the rustc path passed by Cargo; fixes #90 * Read location of Cargo from the environment variable Cargo sets for third-party subcommands * Add a note on sccache version compatibility to CHANGELOG.md * Panic on compilation commands where we fail to parse the arguments instead of silently ignoring the error * Specifying the binary-scanning feature is no longer needed * Pass options such as --offline to `cargo metadata` * Pass on arguments from `cargo auditable` invocation to the rustc wrapper; prep work towards fixing #83 * Bump rust-audit-info to 0.5.2 * Bump auditable-serde version to 0.5.2 * Correctly fill in the source even in dependency entries when converting to cargo-lock data format * Drop the roundtrip through &str in semver::Version; now that semver 1.0 has shipped the versions are API-compatible and this is no longer necessary * Release auditable-info 0.6.1 * Bump all the version requirements for things depending on auditable-info * Fix audit_info_from_slice function signature OBS-URL: https://build.opensuse.org/request/show/1067424 OBS-URL: https://build.opensuse.org/package/show/devel:languages:rust/cargo-auditable?expand=0&rev=3 --- _service | 2 +- _servicedata | 2 +- cargo-auditable-0.5.2~0.tar.zst | 3 --- cargo-auditable-0.6.0~0.obscpio | 3 +++ cargo-auditable-0.6.0~0.tar.zst | 3 +++ cargo-auditable.changes | 20 ++++++++++++++++++++ cargo-auditable.obsinfo | 4 ++++ cargo-auditable.spec | 12 ++++++------ vendor.tar.zst | 4 ++-- 9 files changed, 40 insertions(+), 13 deletions(-) delete mode 100644 cargo-auditable-0.5.2~0.tar.zst create mode 100644 cargo-auditable-0.6.0~0.obscpio create mode 100644 cargo-auditable-0.6.0~0.tar.zst create mode 100644 cargo-auditable.obsinfo diff --git a/_service b/_service index 5df9260..d774c33 100644 --- a/_service +++ b/_service @@ -3,7 +3,7 @@ https://github.com/rust-secure-code/cargo-auditable.git @PARENT_TAG@~@TAG_OFFSET@ git - v0.5.2 + v0.6.0 * v(\d+\.\d+\.\d+) \1 diff --git a/_servicedata b/_servicedata index b5601a0..1dae6c6 100644 --- a/_servicedata +++ b/_servicedata @@ -1,4 +1,4 @@ https://github.com/rust-secure-code/cargo-auditable.git - 4e4860cda0de05d35b5abc4782c0f0b8c9404475 \ No newline at end of file + e05d2776cff3d4db7b1d60c886563625bc589aba \ No newline at end of file diff --git a/cargo-auditable-0.5.2~0.tar.zst b/cargo-auditable-0.5.2~0.tar.zst deleted file mode 100644 index ebd9618..0000000 --- a/cargo-auditable-0.5.2~0.tar.zst +++ /dev/null @@ -1,3 +0,0 @@ -version https://git-lfs.github.com/spec/v1 -oid sha256:6b3025304a4a0484ce59a559ab6c561a4a8b9a620565360e4318a967d4bbe3ec -size 38647 diff --git a/cargo-auditable-0.6.0~0.obscpio b/cargo-auditable-0.6.0~0.obscpio new file mode 100644 index 0000000..2246a82 --- /dev/null +++ b/cargo-auditable-0.6.0~0.obscpio @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:b185c2a7e51d138c50c88668e54d29927549f2327a1732c618f9e58610739450 +size 184331 diff --git a/cargo-auditable-0.6.0~0.tar.zst b/cargo-auditable-0.6.0~0.tar.zst new file mode 100644 index 0000000..0095b61 --- /dev/null +++ b/cargo-auditable-0.6.0~0.tar.zst @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:189770e901af4dd1ab49bc67c1063d1bf1eab33e08a7b1ddf3b8b0fd2a3d1b2e +size 42519 diff --git a/cargo-auditable.changes b/cargo-auditable.changes index 56c00d0..5a17f2b 100644 --- a/cargo-auditable.changes +++ b/cargo-auditable.changes @@ -1,3 +1,23 @@ +------------------------------------------------------------------- +Thu Feb 23 14:27:09 UTC 2023 - Andrea Manzini + +- Update to version 0.6.0~0: + * README and documentation improvements + * Read the rustc path passed by Cargo; fixes #90 + * Read location of Cargo from the environment variable Cargo sets for third-party subcommands + * Add a note on sccache version compatibility to CHANGELOG.md + * Panic on compilation commands where we fail to parse the arguments instead of silently ignoring the error + * Specifying the binary-scanning feature is no longer needed + * Pass options such as --offline to `cargo metadata` + * Pass on arguments from `cargo auditable` invocation to the rustc wrapper; prep work towards fixing #83 + * Bump rust-audit-info to 0.5.2 + * Bump auditable-serde version to 0.5.2 + * Correctly fill in the source even in dependency entries when converting to cargo-lock data format + * Drop the roundtrip through &str in semver::Version; now that semver 1.0 has shipped the versions are API-compatible and this is no longer necessary + * Release auditable-info 0.6.1 + * Bump all the version requirements for things depending on auditable-info + * Fix audit_info_from_slice function signature + ------------------------------------------------------------------- Thu Nov 3 04:31:16 UTC 2022 - William Brown diff --git a/cargo-auditable.obsinfo b/cargo-auditable.obsinfo new file mode 100644 index 0000000..ec304e3 --- /dev/null +++ b/cargo-auditable.obsinfo @@ -0,0 +1,4 @@ +name: cargo-auditable +version: 0.6.0~0 +mtime: 1670449731 +commit: e05d2776cff3d4db7b1d60c886563625bc589aba diff --git a/cargo-auditable.spec b/cargo-auditable.spec index 9a012d5..bbb9299 100644 --- a/cargo-auditable.spec +++ b/cargo-auditable.spec @@ -1,7 +1,7 @@ # # spec file for package cargo-auditable # -# Copyright (c) 2022 SUSE LINUX GmbH, Nuernberg, Germany. +# 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 @@ -12,24 +12,25 @@ # license that conforms to the Open Source Definition (Version 1.9) # published by the Open Source Initiative. -# Please submit bugfixes or comments via http://bugs.opensuse.org/ +# Please submit bugfixes or comments via https://bugs.opensuse.org/ # + %define __rustflags -Clink-arg=-Wl,-z,relro,-z,now -C debuginfo=2 -C incremental=false %define __cargo CARGO_FEATURE_VENDORED=1 RUSTFLAGS="%{__rustflags}" %{_bindir}/cargo %define __cargo_common_opts %{?_smp_mflags} Name: cargo-auditable -Version: 0.5.2~0 +Version: 0.6.0~0 Release: 0 Summary: A tool to embed auditing information in ELF sections of rust binaries # If you know the license, put it's SPDX string here. # Alternately, you can use cargo lock2rpmprovides to help generate this. -License: ( (MIT OR Apache-2.0) AND Unicode-DFS-2016 ) AND ( 0BSD OR MIT OR Apache-2.0 ) AND ( Apache-2.0 OR BSL-1.0 ) AND ( Apache-2.0 OR MIT ) AND ( Apache-2.0 WITH LLVM-exception OR Apache-2.0 OR MIT ) AND ( MIT OR Apache-2.0 OR Zlib ) AND ( MIT OR Zlib OR Apache-2.0 ) AND ( Unlicense OR MIT ) AND ( Zlib OR Apache-2.0 OR MIT ) AND MIT +License: (Apache-2.0 OR MIT) AND Unicode-DFS-2016 AND (0BSD OR MIT OR Apache-2.0) AND (Apache-2.0 OR BSL-1.0) AND (Apache-2.0 OR MIT) AND (Apache-2.0 OR Apache-2.0 WITH LLVM-exception OR MIT) AND (Apache-2.0 OR MIT OR Zlib) AND (Apache-2.0 OR MIT OR Zlib) AND (MIT OR Unlicense) AND (Apache-2.0 OR Zlib OR MIT) AND MIT # Select a group from this link: # https://en.opensuse.org/openSUSE:Package_group_guidelines Group: Development/Languages/Rust -Url: https://github.com/rust-secure-code/cargo-auditable +URL: https://github.com/rust-secure-code/cargo-auditable Source0: %{name}-%{version}.tar.zst Source1: vendor.tar.zst Source2: cargo_config @@ -64,4 +65,3 @@ install -m 0755 %{_builddir}/%{name}-%{version}/target/release/cargo-auditable % %{_bindir}/cargo-auditable %changelog - diff --git a/vendor.tar.zst b/vendor.tar.zst index 907ff97..97cd970 100644 --- a/vendor.tar.zst +++ b/vendor.tar.zst @@ -1,3 +1,3 @@ version https://git-lfs.github.com/spec/v1 -oid sha256:d80f4bffdaffd3222d4fc54ce0aa4e41dd172958d933818a3d5132cc4779947f -size 2391562 +oid sha256:8275e11ff15da2be091e4b6643dafa13a9b8c7e7514125e036572baa5db3fff9 +size 2451471