1
0
Adam Mizerski 2024-08-13 11:47:04 +00:00 committed by Git OBS Bridge
commit eda1b025ce
10 changed files with 289 additions and 0 deletions

23
.gitattributes vendored Normal file
View File

@ -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

1
.gitignore vendored Normal file
View File

@ -0,0 +1 @@
.osc

11
_constraints Normal file
View File

@ -0,0 +1,11 @@
<?xml version="1.0"?>
<constraints>
<hardware>
<physicalmemory>
<size unit="M">3000</size>
</physicalmemory>
<disk>
<size unit="G">10</size>
</disk>
</hardware>
</constraints>

22
_service Normal file
View File

@ -0,0 +1,22 @@
<services>
<service mode="disabled" name="obs_scm">
<param name="url">https://gitlab.com/sequoia-pgp/sequoia-octopus-librnp.git</param>
<param name="versionformat">@PARENT_TAG@</param>
<param name="scm">git</param>
<param name="revision">v1.10.0</param>
<param name="match-tag">*</param>
<param name="versionrewrite-pattern">v(\d+\.\d+\.\d+)</param>
<param name="versionrewrite-replacement">\1</param>
</service>
<service mode="disabled" name="tar" />
<service mode="disabled" name="recompress">
<param name="file">*.tar</param>
<param name="compression">xz</param>
</service>
<service mode="disabled" name="set_version"/>
<service name="cargo_vendor" mode="disabled">
<param name="srcdir">sequoia-octopus-librnp</param>
<param name="compression">xz</param>
<param name="update">true</param>
</service>
</services>

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:21a141019ff4d8295c24b93af3efc8ca969922f8107b4aae4d335a33a93570ae
size 121696

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:11326ba192c86411c3d2adf61a38fffaf29b9bd6968b0b96eb853d3cdf33f042
size 123784

View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:8260df12939c809e66dcd1893ab788813f641a18a3fda285f86c8374da6c4980
size 123476

View File

@ -0,0 +1,166 @@
-------------------------------------------------------------------
Tue Aug 13 08:51:05 UTC 2024 - Adam Mizerski <adam@mizerski.pl>
- 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 <adam@mizerski.pl>
- update to 1.9.0+git.13.g03113af
- make it compatible with current Thunderbird
-------------------------------------------------------------------
Sun Jun 23 08:55:46 UTC 2024 - Adam Mizerski <adam@mizerski.pl>
- update to 1.9.0
- no upstream changelog
-------------------------------------------------------------------
Tue Apr 16 07:24:24 UTC 2024 - Adam Mizerski <adam@mizerski.pl>
- added _constraints
-------------------------------------------------------------------
Wed Mar 20 19:06:24 UTC 2024 - Adam Mizerski <adam@mizerski.pl>
- update to 1.8.1
- Update dependencies.
-------------------------------------------------------------------
Mon Feb 26 21:06:14 UTC 2024 - Adam Mizerski <adam@mizerski.pl>
- update to 1.8.0
- Implement rnp_signature_get_features
- Update dependencies.
-------------------------------------------------------------------
Fri Jan 26 08:30:35 UTC 2024 - Adam Mizerski <adam@mizerski.pl>
- 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 <adam@mizerski.pl>
- update to 1.6.1
- no upstream changelog
-------------------------------------------------------------------
Thu Dec 14 20:51:23 UTC 2023 - Adam Mizerski <adam@mizerski.pl>
- update to 1.6.0
- no upstream changelog
-------------------------------------------------------------------
Fri Mar 3 15:40:10 UTC 2023 - Adam Mizerski <adam@mizerski.pl>
- 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 <adam@mizerski.pl>
- added 117.patch
- fixes building with rustc>=1.65
-------------------------------------------------------------------
Mon Jul 4 10:13:38 UTC 2022 - Adam Mizerski <adam@mizerski.pl>
- 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 <adam@mizerski.pl>
- update to 1.4.0
- no upstream changelog
-------------------------------------------------------------------
Sat Apr 23 09:09:54 UTC 2022 - Adam Mizerski <adam@mizerski.pl>
- 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 <adam@mizerski.pl>
- 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 <adam@mizerski.pl>
- added patch sequoia-octopus-librnp-v1.2.0-no-git.patch
-------------------------------------------------------------------
Mon Dec 13 20:55:20 UTC 2021 - Wolfgang Rosenauer <wr@rosenauer.org>
- update to version 1.2.0
* relicensed to LGPL2+
- removed obsolete 20211122.patch
-------------------------------------------------------------------
Mon Nov 22 07:41:40 UTC 2021 - Wolfgang Rosenauer <wr@rosenauer.org>
- update to version 1.1.0
-------------------------------------------------------------------
Sat May 29 08:11:25 UTC 2021 - Wolfgang Rosenauer <wr@rosenauer.org>
- update to git main 20210529 to pick up improvements
-------------------------------------------------------------------
Sun Apr 18 08:18:43 UTC 2021 - Wolfgang Rosenauer <wr@rosenauer.org>
- update to git main 20210418 to pick up improvements
-------------------------------------------------------------------
Sun Apr 11 14:39:50 UTC 2021 - Wolfgang Rosenauer <wr@rosenauer.org>
- 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 <wr@rosenauer.org>
- initial package

View File

@ -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

3
vendor.tar.xz Normal file
View File

@ -0,0 +1,3 @@
version https://git-lfs.github.com/spec/v1
oid sha256:1fff657329ef48106d1a24d016ceb230e097110f7051db293b3e3c8b6f8f8dac
size 43804708