From bd760bb0a20d36ec737782fb2e4f1a852482aeb2 Mon Sep 17 00:00:00 2001 From: "Jason E. Hale" Date: Tue, 24 Jun 2025 04:48:49 -0400 Subject: 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. --- security/p5-Crypt-GpgME/files/patch-lib_Crypt_GpgME.pm | 16 ++++++++++++++++ 1 file changed, 16 insertions(+) create mode 100644 security/p5-Crypt-GpgME/files/patch-lib_Crypt_GpgME.pm (limited to 'security/p5-Crypt-GpgME/files/patch-lib_Crypt_GpgME.pm') 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); -- cgit v1.2.3