1
0

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
This commit is contained in:
Wolfgang Rosenauer 2024-03-18 07:49:04 +00:00 committed by Git OBS Bridge
commit eb86860cce
7 changed files with 232 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

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.8.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:dbd5a55e38973cc5f00f7b465987bd44d7dad831c868a9c37879ab8590d08a31
size 118908

View File

@ -0,0 +1,126 @@
-------------------------------------------------------------------
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.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

3
vendor.tar.xz Normal file
View File

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