<pre style='margin:0'>
Ryan Carsten Schmidt (ryandesign) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f28c5c03d317863bc71cf1f6cba33e498180c76d">https://github.com/macports/macports-ports/commit/f28c5c03d317863bc71cf1f6cba33e498180c76d</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 f28c5c03d31 netpbm: Use shellescape
</span>f28c5c03d31 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit f28c5c03d317863bc71cf1f6cba33e498180c76d
</span>Author: Ryan Carsten Schmidt <ryandesign@macports.org>
AuthorDate: Fri Dec 20 13:10:40 2024 -0600
<span style='display:block; white-space:pre;color:#404040;'> netpbm: Use shellescape
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/58878
</span><span style='display:block; white-space:pre;color:#404040;'> See: https://trac.macports.org/ticket/71564
</span>---
graphics/netpbm/Portfile | 9 +++++----
1 file changed, 5 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/graphics/netpbm/Portfile b/graphics/netpbm/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index a1e22dc3c8d..5bd140f9a15 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/graphics/netpbm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/graphics/netpbm/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -164,15 +164,16 @@ set pkgtargets {}
</span>
post-build {
# Build manpages from html files.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${workpath}/${userguide_distname} "${build.cmd} MAKEMAN='${worksrcpath}/buildtools/makeman -v' USERGUIDE=. -f ${worksrcpath}/buildtools/manpage.mk manpages"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${workpath}/${userguide_distname} "${build.cmd} MAKEMAN=[shellescape "${worksrcpath}/buildtools/makeman -v"] USERGUIDE=. -f [shellescape ${worksrcpath}/buildtools/manpage.mk] manpages"
</span>
# The tests can only be run after things have been destrooted ("packaged").
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${worksrcpath} "${build.cmd} ${pkgtargets} pkgdir=${destroot}${prefix}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ # TODO: Revisit this now that MacPorts runs the destroot phase before the test phase.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${worksrcpath} "${build.cmd} ${pkgtargets} pkgdir=[shellescape ${destroot}${prefix}]"
</span> }
destroot {
# Install manpages.
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system -W ${workpath}/${userguide_distname} "${build.cmd} MANDIR=${destroot}${prefix}/share/man USERGUIDE=. -f ${worksrcpath}/buildtools/manpage.mk installman"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system -W ${workpath}/${userguide_distname} "${build.cmd} MANDIR=[shellescape ${destroot}${prefix}/share/man] USERGUIDE=. -f [shellescape ${worksrcpath}/buildtools/manpage.mk] installman"
</span>
move ${destroot}${prefix}/misc ${destroot}${prefix}/share/${name}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -181,7 +182,7 @@ destroot {
</span> # handle symlinks. Not using chown proc because that doesn't support
# changing the group: https://trac.macports.org/ticket/55332
#chown ${destroot} ${install.user} ${install.group}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- system "chown -R '${install.user}':'${install.group}' ${destroot}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ system "chown -R [shellescape ${install.user}]:[shellescape ${install.group}] [shellescape ${destroot}]"
</span> }
if {${subport} eq ${name}} {
</pre><pre style='margin:0'>
</pre>