summaryrefslogtreecommitdiff
path: root/app-crypt/sequoia-sq
diff options
context:
space:
mode:
Diffstat (limited to 'app-crypt/sequoia-sq')
-rw-r--r--app-crypt/sequoia-sq/Manifest3
-rw-r--r--app-crypt/sequoia-sq/files/sequoia-sq-0.27.0-Explicitly-drop-the-Box.patch20
-rw-r--r--app-crypt/sequoia-sq/sequoia-sq-0.27.0.ebuild6
3 files changed, 27 insertions, 2 deletions
diff --git a/app-crypt/sequoia-sq/Manifest b/app-crypt/sequoia-sq/Manifest
index 69f553f7ec69..66e0d7733b5f 100644
--- a/app-crypt/sequoia-sq/Manifest
+++ b/app-crypt/sequoia-sq/Manifest
@@ -1,3 +1,4 @@
+AUX sequoia-sq-0.27.0-Explicitly-drop-the-Box.patch 613 BLAKE2B 6091f26b309013bda32c57ab0bb0a91fada6f00d51e2381aaf243f2d7b43abebda6f301b1496d3aafbad4d5f47aea69070321bc9768edb6052bdca813a75aa45 SHA512 5b39b9858388176b05835a36eb8edda72e27ecf4642a1704dbd0e79238cdfa845037fe5e1d64d1c3315d924e16c8d095246aa600e1174f7aea98cbacae504441
DIST adler-1.0.2.crate 12778 BLAKE2B a1dc17786adae945ac09d3525e609ed944e6465690787bbb831a1b9d53793cba1989793d0a5606d5d23ee20d36457923d451b1b3530c9ec7072a487aa3e55bbd SHA512 7ab190d31890fc05b0b55d8e2c6527a505e06793d5496be0b3831e0513412f9ba97f8148f6f68ed0770fa9cd980a5092d885e058becf1d5506b7c74b82674aa1
DIST aead-0.3.2.crate 11145 BLAKE2B 2666f7c6a9a3ecac458fdda9d7698e1c4288d56b1d7f9fcaa91664a33652f91eaeda8807bfbdc3cfe9c29a9c8c391de9673c4b65b3e13f408ca5f1a59e8f8dad SHA512 803829ea12f3fe11c1e1f4d33610c361a11b33811ab28185ad4b54d9026384b8778c3e57cdc6feff8ffc56792b482fc64a8cb7daa14805edbbcd988c2d3256ea
DIST aes-0.6.0.crate 86774 BLAKE2B e687f2839b53adc3ef990da8221705a462015aa0ea004a6e15dba7e7ecc008d9d13cad6222b03244dc48bd1717a442e7aa5aaab6e97bba1d3be28c1d914e464e SHA512 65349285e429f9b8815743d86b3ebdececd48ce556a08b6ec5ec89bf966bc9b187a7df4fbe1f3b25172db3aab219b23f8040c1160359868e9f71d67a767c90c9
@@ -385,5 +386,5 @@ DIST yaml-rust-0.4.5.crate 47783 BLAKE2B 3e888c5cc7afb43eaf3aaab2b6f47b86df164a6
DIST zbase32-0.1.2.crate 8721 BLAKE2B d7f5881c8d3f06f5fd78669ae6943ffa5ebe35b5e34db2718825e88e5602fa03bbc33c11589021ad2e8754414b355b86a9391335e4df9361627aede9336b14d3 SHA512 50d703350a6404f0084b4d341ac1aef16f7a5f8924662c4d180ffaece00d295aec3f9925168d39c20837c7306ef88f98ffc5ef4c945d01c7fc6e5078c5dfb4bc
DIST zeroize-1.3.0.crate 15913 BLAKE2B 571d96420e85e3d12100dcaff00d4721eae7296465cafce83db81293e801cd5a1f78b19986dc537fab208519a48e6a7df344d8e8a7053b094c1aa5bb90de083b SHA512 352a668a4c491cbd644368eb19f797709a41f3abf9a09028b6c1c4077710d48b74c3018e65112762a31403917f000340a0e57bc095a745e3f99300d6c25ca8bb
DIST zeroize_derive-1.3.2.crate 10299 BLAKE2B 39cd21629ae91a3a80ec283c8a988be3559973b891c8ff9098dc78d2ccd8ac4352db3e52577fe6d560b2063f66d5e39cd77c9f24a01b7736fdb2d70f6dbc417d SHA512 3efcb9265a6bef7a752562ef9e3af1ccf28749afffdf1e21abf5baa51d5d761e10f77b9d655e69f26c587f2a0c412ddedf29776c2c66a9f69443a82d66c9da88
-EBUILD sequoia-sq-0.27.0.ebuild 8390 BLAKE2B 356c0d7d5eb35350bb2936ed0680f7aaf12f3ccad7ab6c997ead36503477d7b52ec58d6d0cc05bde82069cc314399b07b124ed66348036875a9aff5e2d930156 SHA512 967d360d541752ff1449e68cac11a44b46a9023a997e6be4206e8304104e5f82b60817694b360dcdeca6a9f399604a43e4c59d41472b818bdbe3ecca38591577
+EBUILD sequoia-sq-0.27.0.ebuild 8461 BLAKE2B ecc9c0d9240f9429148dba10446dccbcb6c5cc206b9e7344873bf9fb09ff275cbad98a08e884d0ce6b413f1c73a9fb6d0c37c61f1e844aded29a53ad5400820f SHA512 bc881b98fde7d21f07e8a1ace047339b1947f54da800e1cd1ed773bc11bddf4dbe55ed0aac3a2153e0861a7145499d4ddd5b7cc97ddd93933c6ab8c54f4a26f8
MISC metadata.xml 331 BLAKE2B eab0be39ea4eda8a48c79dd955b34271c5a49a1240c77f8cd0af15c5b0cafa68927929faeb00bf752991a265812d28c0fdfd4e4beee7b8a31b77834b15d4de37 SHA512 ab798b9d12b097ecd1f596999bf83e411c1726b7e5baa8ef58ebf5fab3d63468b28038cf103c875039585622bdd514a04f15c1d93cb203d9cd6da6611ccb1570
diff --git a/app-crypt/sequoia-sq/files/sequoia-sq-0.27.0-Explicitly-drop-the-Box.patch b/app-crypt/sequoia-sq/files/sequoia-sq-0.27.0-Explicitly-drop-the-Box.patch
new file mode 100644
index 000000000000..3488ac62d6ad
--- /dev/null
+++ b/app-crypt/sequoia-sq/files/sequoia-sq-0.27.0-Explicitly-drop-the-Box.patch
@@ -0,0 +1,20 @@
+From 7916f90421ecb9a75e32f0284459bcc9a3fd02b0 Mon Sep 17 00:00:00 2001
+From: Justus Winter <justus@sequoia-pgp.org>
+Date: Wed, 19 Oct 2022 14:55:58 +0200
+Subject: [PATCH] openpgp: Explicitly drop the Box.
+
+ - Appeases the compiler that now complains about the unused result.
+--- a/openpgp/src/crypto/mem.rs
++++ b/openpgp/src/crypto/mem.rs
+@@ -159,7 +159,7 @@ impl Drop for Protected {
+ unsafe {
+ let len = self.len();
+ memsec::memzero(self.as_mut().as_mut_ptr(), len);
+- Box::from_raw(self.0);
++ drop(Box::from_raw(self.0));
+ }
+ }
+ }
+--
+2.38.2
+
diff --git a/app-crypt/sequoia-sq/sequoia-sq-0.27.0.ebuild b/app-crypt/sequoia-sq/sequoia-sq-0.27.0.ebuild
index 4b5c805418cd..2beff104d292 100644
--- a/app-crypt/sequoia-sq/sequoia-sq-0.27.0.ebuild
+++ b/app-crypt/sequoia-sq/sequoia-sq-0.27.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2022 Gentoo Authors
+# Copyright 2021-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
# Generate base ebuild via
@@ -412,6 +412,10 @@ KEYWORDS="amd64 ~ppc64"
S="${WORKDIR}/${PN}-v${PV}"
+PATCHES=(
+ "${FILESDIR}"/${PN}-0.27.0-Explicitly-drop-the-Box.patch
+)
+
QA_FLAGS_IGNORED="usr/bin/sq"
COMMON_DEPEND="