From eb86860cce64829af432f5a1e91497e66d286113474480dfe43dadb1f10f26b4 Mon Sep 17 00:00:00 2001 From: Wolfgang Rosenauer Date: Mon, 18 Mar 2024 07:49:04 +0000 Subject: [PATCH] Accepting request 1158805 from mozilla I need a devel repo to push it to openSUSE:Factory. OBS-URL: https://build.opensuse.org/request/show/1158805 OBS-URL: https://build.opensuse.org/package/show/mozilla:Factory/sequoia-octopus-librnp?expand=0&rev=1 --- .gitattributes | 23 +++++ .gitignore | 1 + _service | 22 +++++ sequoia-octopus-librnp-1.8.0.tar.xz | 3 + sequoia-octopus-librnp.changes | 126 ++++++++++++++++++++++++++++ sequoia-octopus-librnp.spec | 54 ++++++++++++ vendor.tar.xz | 3 + 7 files changed, 232 insertions(+) create mode 100644 .gitattributes create mode 100644 .gitignore create mode 100644 _service create mode 100644 sequoia-octopus-librnp-1.8.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/_service b/_service new file mode 100644 index 0000000..044b13e --- /dev/null +++ b/_service @@ -0,0 +1,22 @@ + + + https://gitlab.com/sequoia-pgp/sequoia-octopus-librnp.git + @PARENT_TAG@ + git + v1.8.0 + * + v(\d+\.\d+\.\d+) + \1 + + + + *.tar + xz + + + + sequoia-octopus-librnp + xz + true + + diff --git a/sequoia-octopus-librnp-1.8.0.tar.xz b/sequoia-octopus-librnp-1.8.0.tar.xz new file mode 100644 index 0000000..52288dc --- /dev/null +++ b/sequoia-octopus-librnp-1.8.0.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:dbd5a55e38973cc5f00f7b465987bd44d7dad831c868a9c37879ab8590d08a31 +size 118908 diff --git a/sequoia-octopus-librnp.changes b/sequoia-octopus-librnp.changes new file mode 100644 index 0000000..ebb5c84 --- /dev/null +++ b/sequoia-octopus-librnp.changes @@ -0,0 +1,126 @@ +------------------------------------------------------------------- +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..ce060bf --- /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.8.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..ebf1822 --- /dev/null +++ b/vendor.tar.xz @@ -0,0 +1,3 @@ +version https://git-lfs.github.com/spec/v1 +oid sha256:4706b63b528e3277276f434e93809907b4d39088d6f86025fe57cf6ce3f24ae6 +size 42859000