<pre style='margin:0'>
David B. Evans (dbevans) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/ec2f61a75add6f8728bef314f7b783ae04d8c20c">https://github.com/macports/macports-ports/commit/ec2f61a75add6f8728bef314f7b783ae04d8c20c</a></p>
<pre style="white-space: pre; background: #F8F8F8">The following commit(s) were added to refs/heads/master by this push:
<span style='display:block; white-space:pre;color:#404040;'> new ec2f61a75ad p5-gnupg-interface: update to version 1.03
</span>ec2f61a75ad is described below
<span style='display:block; white-space:pre;color:#808000;'>commit ec2f61a75add6f8728bef314f7b783ae04d8c20c
</span>Author: David B. Evans <devans@macports.org>
AuthorDate: Sat Sep 16 00:04:21 2023 -0700
<span style='display:block; white-space:pre;color:#404040;'> p5-gnupg-interface: update to version 1.03
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * patch to fix taint mode
</span>---
perl/p5-gnupg-interface/Portfile | 19 +++++++++++++------
perl/p5-gnupg-interface/files/fix_taint_mode.patch | 22 ++++++++++++++++++++++
2 files changed, 35 insertions(+), 6 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-gnupg-interface/Portfile b/perl/p5-gnupg-interface/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a2c81771e21..ec1b8ab7d41 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/perl/p5-gnupg-interface/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-gnupg-interface/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,18 +4,19 @@ PortSystem 1.0
</span> PortGroup perl5 1.0
perl5.branches 5.28 5.30 5.32 5.34
<span style='display:block; white-space:pre;background:#ffe0e0;'>-perl5.setup GnuPG-Interface 1.02
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+perl5.setup GnuPG-Interface 1.03
</span> revision 0
license {Artistic-1 GPL}
maintainers nomaintainer
description Perl interface to GnuPG
<span style='display:block; white-space:pre;background:#ffe0e0;'>-long_description ${description}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+long_description {*}${description}
</span>
platforms {darwin any}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+supported_archs noarch
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 b9027479ec5757761b2b4450ab4c3466655a0984 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 c27a48c3d48e1a9205e362eeea66d46b032bd84637991fdf0b13828bcafdd3e6 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 75523
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 339089b3188227a1c414716b3a31450256f3d005 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 5af56630f0fac290d7242183f6449aa0e02829f4611dc62bc6e9e9b3808f187a \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 77280
</span>
if {${perl5.major} != ""} {
depends_lib-append \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -26,5 +27,11 @@ if {${perl5.major} != ""} {
</span> port:p${perl5.major}-moox-late \
port:p${perl5.major}-scalar-list-utils
<span style='display:block; white-space:pre;background:#ffe0e0;'>- supported_archs noarch
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ patchfiles fix_taint_mode.patch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@PREFIX@@|${prefix}|" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/lib/GnuPG/Interface.pm \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${worksrcpath}/t/taint_mode.t
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/perl/p5-gnupg-interface/files/fix_taint_mode.patch b/perl/p5-gnupg-interface/files/fix_taint_mode.patch
</span>new file mode 100644
<span style='display:block; white-space:pre;color:#808080;'>index 00000000000..553f7af017c
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>--- /dev/null
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/perl/p5-gnupg-interface/files/fix_taint_mode.patch
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -0,0 +1,22 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- lib/GnuPG/Interface.pm.orig 2023-09-17 17:40:43
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ lib/GnuPG/Interface.pm 2023-09-17 17:42:29
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -355,7 +355,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # being in the path when in taint mode. Set a path, if running
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # in taint mode whomever is calling us should be providing the
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # path to the gpg program to use.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- local $ENV{PATH} = '/usr/bin' if tainted $ENV{PATH};
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ local $ENV{PATH} = '@@PREFIX@@/bin' if tainted $ENV{PATH};
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ exec @command or die "exec() error: $ERRNO";
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+--- t/taint_mode.t.orig 2023-09-17 16:56:15
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++++ t/taint_mode.t 2023-09-17 16:57:08
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+@@ -16,7 +16,7 @@
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See that we instantiate an object in Taint mode
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ TEST
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+- $gnupg = GnuPG::Interface->new( call => '/usr/bin/gpg' );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>++ $gnupg = GnuPG::Interface->new( call => '@@PREFIX@@/bin/gpg' );
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ };
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # See that version is set
</span></pre><pre style='margin:0'>
</pre>