<pre style='margin:0'>
Craig Treleaven (ctreleaven) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/1d9759f9b4cc85e8745a8405ba3206968486d5f1">https://github.com/macports/macports-ports/commit/1d9759f9b4cc85e8745a8405ba3206968486d5f1</a></p>
<pre style="white-space: pre; background: #F8F8F8"><span style='display:block; white-space:pre;color:#808000;'>commit 1d9759f9b4cc85e8745a8405ba3206968486d5f1
</span>Author: Craig Treleaven <ctreleaven@macports.org>
AuthorDate: Thu Jan 14 08:31:01 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> logrotate: update to 3.18.0, enable universal
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> update to version 3.18.0
</span><span style='display:block; white-space:pre;color:#404040;'> enable universal build (fingers crossed for arm64)
</span><span style='display:block; white-space:pre;color:#404040;'> specify installs_libs no
</span>---
sysutils/logrotate/Portfile | 25 ++++++++++++++-----------
1 file changed, 14 insertions(+), 11 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/logrotate/Portfile b/sysutils/logrotate/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index e14fbdbbe6b..3a5145b1e72 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/logrotate/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/logrotate/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,13 +3,13 @@
</span> PortSystem 1.0
PortGroup github 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup logrotate logrotate 3.16.0
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup logrotate logrotate 3.18.0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> github.tarball_from releases
use_xz yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 3a16eec859a5f0d272bc17e77b5eb02105fd45a5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 442f6fdf61c349eeae5f76799878b88fe45a11c8863a38b618bac6988f4a7ce5 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 160244
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 7751c4094abc2fb1e4fa1e956394d434caf5d4fa \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 841f81bf09d0014e4a2e11af166bb33fcd8429cc0c2d4a7d3d9ceb3858cfccc5 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 161888
</span>
categories sysutils
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,6 +24,8 @@ long_description The logrotate utility is designed to simplify the administra
</span> of log files. Logrotate can be set to handle a log file daily, weekly, \
monthly or when the log file exceeds a certain size.
<span style='display:block; white-space:pre;background:#e0ffe0;'>+installs_libs no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> depends_lib port:popt
depends_run port:gettext \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -42,17 +44,18 @@ post-extract {
</span> }
post-patch {
<span style='display:block; white-space:pre;background:#ffe0e0;'>- reinplace "s|@PREFIX@|${prefix}|g" \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ${worksrcpath}/examples/logrotate.conf
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# reinplace "s|@PREFIX@|${prefix}|g" \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# ${worksrcpath}/examples/logrotate.conf
</span> reinplace "s|@PREFIX@|${prefix}|g" \
${worksrcpath}/logrotate.conf.example
reinplace "s|@PREFIX@|${prefix}|g" \
${worksrcpath}/org.macports.logrotate.plist.example
}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-autoreconf.args-append \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- --force
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+use_autoconf yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#use_autoreconf yes
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#autoreconf.args-append \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# --force
</span> configure.args-append \
--disable-silent-rules\
--with-state-file-path=${prefix}/var/run/logrotate/logrotate.status \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -61,7 +64,7 @@ configure.args-append \
</span> --with-uncompress-command=${uncompress} \
--with-compress-extension=${compress_ext}
<span style='display:block; white-space:pre;background:#ffe0e0;'>-universal_variant no
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#universal_variant no
</span>
destroot.keepdirs ${destroot}${prefix}/etc/logrotate.d \
${destroot}${prefix}/var/run/logrotate
</pre><pre style='margin:0'>
</pre>