<pre style='margin:0'>
Joshua Root (jmroot) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/81592e3c24926c1e6ea2b4bcacc44cb34f7c0bc6">https://github.com/macports/macports-ports/commit/81592e3c24926c1e6ea2b4bcacc44cb34f7c0bc6</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 81592e3 fetch-crl-launchd: fix startup item installation
</span>81592e3 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 81592e3c24926c1e6ea2b4bcacc44cb34f7c0bc6
</span>Author: Jimmy Yuen Ho Wong <wyuenho@gmail.com>
AuthorDate: Tue Jun 26 03:03:28 2018 +0100
<span style='display:block; white-space:pre;color:#404040;'> fetch-crl-launchd: fix startup item installation
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * closes https://trac.macports.org/ticket/56725
</span>---
security/fetch-crl/Portfile | 30 +++++++++++++-----------------
1 file changed, 13 insertions(+), 17 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/security/fetch-crl/Portfile b/security/fetch-crl/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 96416a7..6af8017 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/security/fetch-crl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/security/fetch-crl/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -63,6 +63,7 @@ subport ${name} {
</span>
# The subport provides a launchd item
subport ${name}-launchd {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ revision 1
</span> # update descriptions
description Creates a launchd entry for fetch-crl utility
long_description ${description}. ${long_description}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -72,8 +73,9 @@ subport ${name}-launchd {
</span> distfiles {}
worksrcdir ${subport}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+ startupitem.create no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ startupitem.type launchd
</span> startupitem.name ${name}
<span style='display:block; white-space:pre;background:#ffe0e0;'>- set plist_label org.macports.${startupitem.name}
</span> set plist_macports ${prefix}/etc/${startupitem.location}
set plist_system /Library/${startupitem.location}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -83,7 +85,7 @@ subport ${name}-launchd {
</span> }
configure {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@@LABEL@@|${plist_label}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ reinplace "s|@@LABEL@@|${startupitem.uniquename}|g" \
</span> ${worksrcpath}/${startupitem.plist}
reinplace "s|@@PREFIX@@|${prefix}|g" \
${worksrcpath}/${startupitem.plist}
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -92,23 +94,17 @@ subport ${name}-launchd {
</span> build {}
destroot {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- xinstall -d ${destroot}${plist_macports}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ xinstall -d ${destroot}${plist_macports}/${startupitem.uniquename}
</span> xinstall -d ${destroot}${plist_system}
xinstall -m 644 ${worksrcpath}/${startupitem.plist} \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${plist_macports}/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ln -s ${plist_macports}/${startupitem.plist} \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${destroot}${plist_system}/
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- }
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- post-destroot {
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "###########################################################"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "# A startup item has been generated that will aid in "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "# starting fetch-crl with launchd. It is disabled "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "# by default. Execute the following command to start it, "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "# and to cause it to launch at startup: "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "# "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "# sudo port load fetch-crl "
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "###########################################################"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${plist_macports}/${startupitem.uniquename}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ if {${startupitem.install}} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${plist_macports}/${startupitem.uniquename}/${startupitem.plist} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${plist_system}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ } else {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ln -s ${plist_macports}/${startupitem.uniquename}/${startupitem.plist} \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ ${destroot}${plist_macports}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ }
</span> }
livecheck.type none
</pre><pre style='margin:0'>
</pre>