<pre style='margin:0'>
Kurt Hindenburg (kurthindenburg) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/afc5e1f85dc22dc882ee232b57cbbad9ac6e007f">https://github.com/macports/macports-ports/commit/afc5e1f85dc22dc882ee232b57cbbad9ac6e007f</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit afc5e1f85dc22dc882ee232b57cbbad9ac6e007f
</span>Author: Kurt Hindenburg <khindenburg@macports.org>
AuthorDate: Sun Oct 1 12:34:57 2017 -0400

<span style='display:block; white-space:pre;color:#404040;'>    fcron: on High Sierra, set permissions to allow binaries to work
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    Add perl build deps to avoid using systems perl; adjust notes on
</span><span style='display:block; white-space:pre;color:#404040;'>    starting.  Add self as maintainer.
</span>---
 sysutils/fcron/Portfile | 19 ++++++++++++++++---
 1 file changed, 16 insertions(+), 3 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/fcron/Portfile b/sysutils/fcron/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 315d1b9..7f4101c 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/fcron/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/fcron/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -4,10 +4,11 @@ PortSystem          1.0
</span> 
 name                fcron
 version             3.2.1
<span style='display:block; white-space:pre;background:#e0ffe0;'>+revision            1
</span> categories          sysutils
 platforms           darwin
 license             GPL-2
<span style='display:block; white-space:pre;background:#ffe0e0;'>-maintainers         nomaintainer
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+maintainers         {khindenburg @kurthindenburg} openmaintainer
</span> description         fcron is an alternative scheduler aka cron daemon
 long_description    fcron is a scheduler. It aims at replacing Vixie Cron, so \
     it implements most of its functionalities. But contrary to \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -23,6 +24,8 @@ extract.suffix      .src.tar.gz
</span> checksums           rmd160  a3c17af13e2b6fd9e30e9365822e6609c3d79464 \
                     sha256  6114d0a39a32853669c0c0ba0f96d92920e7cabca3ff1edf37d25750403e5f6a
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+depends_build-append    bin:perl:perl5
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args      --with-boot-install=no \
                     --with-pam=no \
                     --with-selinux=no
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -38,7 +41,18 @@ destroot.keepdirs   ${destroot}${prefix}/var/spool/fcron
</span> 
 add_users fcron group=fcron shell=/bin/bash realname=fcronServer
 
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-patch {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    reinplace -W "${worksrcpath}/script" "s|/usr/bin/env perl|${prefix}/bin/perl5|" has_usrgrp.pl gen-in.pl
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-destroot {
<span style='display:block; white-space:pre;background:#e0ffe0;'>+    if {${os.major} >= 17} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        file attributes ${destroot}${prefix}/sbin/fcron -permissions +s
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        file attributes ${destroot}${prefix}/bin/fcrontab -permissions +s
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        file attributes ${destroot}${prefix}/bin/fcrondyn -permissions +s
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+        file attributes ${destroot}${prefix}/bin/fcronsighup -permissions +s
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+    }
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span>     foreach file [glob ${destroot}${prefix}/etc/fcron*] {
         file rename ${file} ${file}.sample
     }
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -56,8 +70,7 @@ starting ${name} with launchd. It is disabled\
</span> by default. Execute the following command to start it,\
 and to cause it to launch at startup:
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-sudo launchctl load -w ${startup_root}/Library/LaunchDaemons/org.macports.fcron.plist
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+sudo port load fcron
</span> "
 
 livecheck.type      regex
</pre><pre style='margin:0'>

</pre>