summaryrefslogtreecommitdiff
path: root/security/p5-Crypt-GpgME/files/patch-lib_Crypt_GpgME.pm
diff options
context:
space:
mode:
authorJason E. Hale <jhale@FreeBSD.org>2025-06-24 04:48:49 -0400
committerJason E. Hale <jhale@FreeBSD.org>2025-06-24 09:05:37 -0400
commitbd760bb0a20d36ec737782fb2e4f1a852482aeb2 (patch)
treed84f1f97c21ba97160d19853ef6b0988d87d1337 /security/p5-Crypt-GpgME/files/patch-lib_Crypt_GpgME.pm
parentdevel/git-who: new port: Git blame for file trees (diff)
security/p5-Crypt-GpgME: Adapt for GpgME 2.0.0
The trustlist feature, which only worked for a short period in 2003, has been long deprecated and was finally removed in GpgME 2.0.0. Still wondering why this port was even added in 2022 when upstream activity died in 2009. According to repology, we're the only folks still shipping this.
Diffstat (limited to 'security/p5-Crypt-GpgME/files/patch-lib_Crypt_GpgME.pm')
-rw-r--r--security/p5-Crypt-GpgME/files/patch-lib_Crypt_GpgME.pm16
1 files changed, 16 insertions, 0 deletions
diff --git a/security/p5-Crypt-GpgME/files/patch-lib_Crypt_GpgME.pm b/security/p5-Crypt-GpgME/files/patch-lib_Crypt_GpgME.pm
new file mode 100644
index 000000000000..61bb81fa0777
--- /dev/null
+++ b/security/p5-Crypt-GpgME/files/patch-lib_Crypt_GpgME.pm
@@ -0,0 +1,16 @@
+The trustlist feature, which only worked for a short period in 2003, was
+removed in GpgME 2.0.0.
+
+--- lib/Crypt/GpgME.pm.orig 2009-11-17 22:51:18 UTC
++++ lib/Crypt/GpgME.pm
+@@ -226,10 +226,6 @@ Returns a new Crypt::GpgME instance. Throws an excepti
+
+ my $key = $ctx->signers_enum($seq);
+
+-=head2 trustlist
+-
+- my @trustlist = $ctx->trustlist($pattern, $maxlevel);
+-
+ =head2 verify
+
+ my ($result, $plain) = $ctx->verify($sig);