<pre style='margin:0'>
Herby Gillot (herbygillot) pushed a commit to branch master
in repository macports-ports.

</pre>
<p><a href="https://github.com/macports/macports-ports/commit/f04ca8ecf374866f129d25d515d0de13fff811f0">https://github.com/macports/macports-ports/commit/f04ca8ecf374866f129d25d515d0de13fff811f0</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 f04ca8ecf37 ntpsec: Fix livecheck
</span>f04ca8ecf37 is described below

<span style='display:block; white-space:pre;color:#808000;'>commit f04ca8ecf374866f129d25d515d0de13fff811f0
</span>Author: Fred Wright <fw@fwright.net>
AuthorDate: Thu May 2 18:19:35 2024 -0700

<span style='display:block; white-space:pre;color:#404040;'>    ntpsec: Fix livecheck
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    The previous regex change to allow the patch letter broke the case
</span><span style='display:block; white-space:pre;color:#404040;'>    where the letter is absent.  The regex is now derived from the GitHub
</span><span style='display:block; white-space:pre;color:#404040;'>    default regex, but adjusted to exclude patterns with dashes to avoid
</span><span style='display:block; white-space:pre;color:#404040;'>    versions such as X.Y.Z-rcN.  The unnecessary quote exclusion is
</span><span style='display:block; white-space:pre;color:#404040;'>    dropped.
</span><span style='display:block; white-space:pre;color:#404040;'>    
</span><span style='display:block; white-space:pre;color:#404040;'>    TESTED:
</span><span style='display:block; white-space:pre;color:#404040;'>    Tested with current and older port versions, including with modified
</span><span style='display:block; white-space:pre;color:#404040;'>    regex to make 1.2.2a the apparent latest.
</span>---
 sysutils/ntpsec/Portfile | 5 +++--
 1 file changed, 3 insertions(+), 2 deletions(-)

<span style='display:block; white-space:pre;color:#808080;'>diff --git a/sysutils/ntpsec/Portfile b/sysutils/ntpsec/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6b78836a622..fd0b990ced3 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/sysutils/ntpsec/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/sysutils/ntpsec/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -171,5 +171,6 @@ startupitem.create      yes
</span> startupitem.netchange   yes
 startupitem.executable  ${prefix}/sbin/ntpd -n -g -p ${prefix}/var/run/ntpd.pid -f ${prefix}/var/db/ntp.drift -c ${prefix}/etc/ntp.conf
 
<span style='display:block; white-space:pre;background:#ffe0e0;'>-# Allow an optional letter after the version for patch releases
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-livecheck.regex ${name}-(\\d+(?:\\.\\d+)*\\w+)
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Match most tarball patterns, but disallow versions with dashes to filter out
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# X.Y.Z-rcN, etc.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+livecheck.regex ${name}-(\[^-]+)\\.tar\\.gz
</span></pre><pre style='margin:0'>

</pre>