From eda1b025ce092455721943f793414242612f67f9c873d607e30797566c406295 Mon Sep 17 00:00:00 2001 From: Adam Mizerski Date: Tue, 13 Aug 2024 11:47:04 +0000 Subject: [PATCH] update to 1.10.0 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/sequoia-octopus-librnp?expand=0&rev=11 --- .gitattributes | 23 +++ .gitignore | 1 + _constraints | 11 ++ _service | 22 +++ sequoia-octopus-librnp-1.10.0.tar.xz | 3 + ...octopus-librnp-1.9.0+git.13.03113af.tar.xz | 3 + sequoia-octopus-librnp-1.9.0.tar.xz | 3 + sequoia-octopus-librnp.changes | 166 ++++++++++++++++++ sequoia-octopus-librnp.spec | 54 ++++++ vendor.tar.xz | 3 + 10 files changed, 289 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _constraints create mode 100644 _service create mode 100644 sequoia-octopus-librnp-1.10.0.tar.xz create mode 100644 sequoia-octopus-librnp-1.9.0+git.13.03113af.tar.xz create mode 100644 sequoia-octopus-librnp-1.9.0.tar.xz create mode 100644 sequoia-octopus-librnp.changes create mode 100644 sequoia-octopus-librnp.spec create mode 100644 vendor.tar.xz diff --git a/.gitattributes b/.gitattributes new file mode 100644 index 0000000..9b03811 --- /dev/null +++ b/.gitattributes @@ -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 diff --git a/.gitignore b/.gitignore new file mode 100644 index 0000000..57affb6 --- /dev/null +++ b/.gitignore @@ -0,0 +1 @@ +.osc diff --git a/_constraints b/_constraints new file mode 100644 index 0000000..b14834a --- /dev/null +++ b/_constraints @@ -0,0 +1,11 @@ + + + + + 3000 + + + 10 + + + \ No newline at end of file diff --git a/_service b/_service new file mode 100644 index 0000000..5d1ba93 --- /dev/null +++ b/_service @@ -0,0 +1,22 @@ + + + https://gitlab.com/sequoia-pgp/sequoia-octopus-librnp.git + @PARENT_TAG@ + git + v1.10.0 + * + v(\d+\.\d+\.\d+) + \1 + + + + *.tar + xz + + + + sequoia-octopus-librnp + xz + true + + diff --git a/sequoia-octopus-librnp-1.10.0.tar.xz b/sequoia-octopus-librnp-1.10.0.tar.xz new file mode 100644 index 0000000..41d5fc6 --- /dev/null +++ b/sequoia-octopus-librnp-1.10.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:21a141019ff4d8295c24b93af3efc8ca969922f8107b4aae4d335a33a93570ae +size 121696 diff --git a/sequoia-octopus-librnp-1.9.0+git.13.03113af.tar.xz b/sequoia-octopus-librnp-1.9.0+git.13.03113af.tar.xz new file mode 100644 index 0000000..d9dcda1 --- /dev/null +++ b/sequoia-octopus-librnp-1.9.0+git.13.03113af.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:11326ba192c86411c3d2adf61a38fffaf29b9bd6968b0b96eb853d3cdf33f042 +size 123784 diff --git a/sequoia-octopus-librnp-1.9.0.tar.xz b/sequoia-octopus-librnp-1.9.0.tar.xz new file mode 100644 index 0000000..c16785e --- /dev/null +++ b/sequoia-octopus-librnp-1.9.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:8260df12939c809e66dcd1893ab788813f641a18a3fda285f86c8374da6c4980 +size 123476 diff --git a/sequoia-octopus-librnp.changes b/sequoia-octopus-librnp.changes new file mode 100644 index 0000000..5895ecb --- /dev/null +++ b/sequoia-octopus-librnp.changes @@ -0,0 +1,166 @@ +------------------------------------------------------------------- +Tue Aug 13 08:51:05 UTC 2024 - Adam Mizerski + +- update to 1.10.0 + * Notable fixes + - We now properly destroy background threads when a library context + is freed. Previously, this lead to thread and resource leaks for + the ephemeral contexts created by Thunderbird. + * Notable changes + - If we don't support the RNP API version that Thunderbird + requires, we now print a log message to stderr, which should be + easier to discover than the message Thunderbird writes to the + error console. + - We use a more compact time representation in log messages now. + * New functionality + - rnp_dearmor + +------------------------------------------------------------------- +Thu Jul 25 11:45:24 UTC 2024 - Adam Mizerski + +- update to 1.9.0+git.13.g03113af + - make it compatible with current Thunderbird + +------------------------------------------------------------------- +Sun Jun 23 08:55:46 UTC 2024 - Adam Mizerski + +- update to 1.9.0 + - no upstream changelog + +------------------------------------------------------------------- +Tue Apr 16 07:24:24 UTC 2024 - Adam Mizerski + +- added _constraints + +------------------------------------------------------------------- +Wed Mar 20 19:06:24 UTC 2024 - Adam Mizerski + +- update to 1.8.1 + - Update dependencies. + +------------------------------------------------------------------- +Mon Feb 26 21:06:14 UTC 2024 - Adam Mizerski + +- update to 1.8.0 + - Implement rnp_signature_get_features + - Update dependencies. + +------------------------------------------------------------------- +Fri Jan 26 08:30:35 UTC 2024 - Adam Mizerski + +- update to 1.7.0 (changelog extracted from git history) + - Implement rnp_dump_packets_to_output. + - Update h2 to fix RUSTSEC-2024-0003. + - Update zerocopy to fix RUSTSEC-2023-0074. + - Update shlex to fix RUSTSEC-2024-0006. + - Fix password callback's key argument. + Previously we passed a pointer to an openpgp::Cert to it, which + makes no sense whatsoever, and we got away with that because + Thunderbird didn't use it. That changed with + https://hg.mozilla.org/comm-central/rev/23ca5f76f6339cc9a7949737204db36d27f0fd33 + which uses a callback to discover which key needs to be unlocked + to decrypt a message, then asks for the password outside of the + callback context, then retries the decryption operation. This new + callback asks for the passed key's fingerprint, which fails + because we used to pass NULL there a lot. + - Bump all dependencies. +- cargo_audit is now part of cargo_vendor + +------------------------------------------------------------------- +Fri Dec 15 21:33:16 UTC 2023 - Adam Mizerski + +- update to 1.6.1 + - no upstream changelog + +------------------------------------------------------------------- +Thu Dec 14 20:51:23 UTC 2023 - Adam Mizerski + +- update to 1.6.0 + - no upstream changelog + +------------------------------------------------------------------- +Fri Mar 3 15:40:10 UTC 2023 - Adam Mizerski + +- update 1.5.0 + - Fix support for Thunderbird 102.7 (fixes #83). + - Use sequoia-wot to calculate acceptance, based on trust-roots defined in + GnuPG. + - Filter out revoked and unsupported subkeys. + - Misc fixes. + +------------------------------------------------------------------- +Wed Jan 25 14:46:37 UTC 2023 - Adam Mizerski + +- added 117.patch + - fixes building with rustc>=1.65 + +------------------------------------------------------------------- +Mon Jul 4 10:13:38 UTC 2022 - Adam Mizerski + +- update to 1.4.1 + - no upstream changelog + - https://fosstodon.org/@hko/108574455812887315 + - This release adds support for Thunderbird 102. + +------------------------------------------------------------------- +Sat May 7 13:52:33 UTC 2022 - Adam Mizerski + +- update to 1.4.0 + - no upstream changelog + +------------------------------------------------------------------- +Sat Apr 23 09:09:54 UTC 2022 - Adam Mizerski + +- update to 1.3.0 + - no upstream changelog + - https://sequoia-pgp.org/blog/2022/04/22/202204-octopus-1.3.0/ + - Fixes a bug that could lead to a loss of secret key material. + - Make it compatible with Thunderbird 91.8.0. +- Follow latest "Packaging Rust Software" guidelines + - added _service, cargo_config + - use cargo-packaging, instead of rust-packaging + +------------------------------------------------------------------- +Fri Mar 25 17:39:42 UTC 2022 - Adam Mizerski + +- update to 1.2.2 + - no upstream changelog +- removed patch sequoia-octopus-librnp-v1.2.0-no-git.patch - resolved upstream + +------------------------------------------------------------------- +Wed Dec 15 09:28:21 UTC 2021 - Adam Mizerski + +- added patch sequoia-octopus-librnp-v1.2.0-no-git.patch + +------------------------------------------------------------------- +Mon Dec 13 20:55:20 UTC 2021 - Wolfgang Rosenauer + +- update to version 1.2.0 + * relicensed to LGPL2+ +- removed obsolete 20211122.patch + +------------------------------------------------------------------- +Mon Nov 22 07:41:40 UTC 2021 - Wolfgang Rosenauer + +- update to version 1.1.0 + +------------------------------------------------------------------- +Sat May 29 08:11:25 UTC 2021 - Wolfgang Rosenauer + +- update to git main 20210529 to pick up improvements + +------------------------------------------------------------------- +Sun Apr 18 08:18:43 UTC 2021 - Wolfgang Rosenauer + +- update to git main 20210418 to pick up improvements + +------------------------------------------------------------------- +Sun Apr 11 14:39:50 UTC 2021 - Wolfgang Rosenauer + +- add patch to provide (empty) stubs for symbols added in TB 78.9.1 + (some things won't work yet) + +------------------------------------------------------------------- +Sun Apr 11 08:57:47 UTC 2021 - Wolfgang Rosenauer + +- initial package diff --git a/sequoia-octopus-librnp.spec b/sequoia-octopus-librnp.spec new file mode 100644 index 0000000..a5877ea --- /dev/null +++ b/sequoia-octopus-librnp.spec @@ -0,0 +1,54 @@ +# +# spec file for package sequoia-pgp-octopus +# +# Copyright (c) 2021 SUSE LLC +# +# All modifications and additions to the file contributed by third parties +# remain the property of their copyright owners, unless otherwise agreed +# upon. The license for this file, and modifications and additions to the +# file, is the same license as for the pristine package itself (unless the +# license for the pristine package is not an Open Source License, in which +# case the license is the MIT License). An "Open Source License" is a +# license that conforms to the Open Source Definition (Version 1.9) +# published by the Open Source Initiative. + +# Please submit bugfixes or comments via https://bugs.opensuse.org/ +# + +Name: sequoia-octopus-librnp +Version: 1.10.0 +Release: 0 +Summary: librnp drop-in replacement using sequoia-pgp +License: LGPL-2.0-or-later +Group: Productivity/Networking/Security +URL: https://gitlab.com/sequoia-pgp/sequoia-octopus-librnp +Source0: %{name}-%{version}.tar.xz +Source1: vendor.tar.xz +BuildRequires: cargo-packaging +BuildRequires: clang-devel +BuildRequires: pkgconfig(nettle) +BuildRequires: pkgconfig(openssl) +BuildRequires: pkgconfig(sqlite3) +Requires: MozillaThunderbird +Provides: MozillaThunderbird-openpgp +Conflicts: MozillaThunderbird-openpgp + +%description +Sequoia Octopus' librnp is an alternative OpenPGP implementation for Mozilla Thunderbird. +If installed it will replace the upstream Thunderbird OpenPGP backend based on Botan. + +%prep +%autosetup -a1 -p1 + +%build +%cargo_build + +%install +mkdir -p %{buildroot}%{_libdir}/thunderbird +install -m 755 target/release/libsequoia_octopus_librnp.so %{buildroot}%{_libdir}/thunderbird/librnp.so + +%files +%dir %{_libdir}/thunderbird/ +%{_libdir}/thunderbird/librnp.so + +%changelog diff --git a/vendor.tar.xz b/vendor.tar.xz new file mode 100644 index 0000000..b9f9ed6 --- /dev/null +++ b/vendor.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:1fff657329ef48106d1a24d016ceb230e097110f7051db293b3e3c8b6f8f8dac +size 43804708