<pre style='margin:0'>
Ken (kencu) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/01852af41498a024b5c9666f4f81daea7896b24c">https://github.com/macports/macports-ports/commit/01852af41498a024b5c9666f4f81daea7896b24c</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 01852af4149 libsodium: Update to 1.0.18-20200728
</span>01852af4149 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 01852af41498a024b5c9666f4f81daea7896b24c
</span>Author: Ryan Schmidt <ryandesign@macports.org>
AuthorDate: Tue Jul 28 23:48:38 2020 -0500
<span style='display:block; white-space:pre;color:#404040;'> libsodium: Update to 1.0.18-20200728
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> It has been over a year since the 1.0.18 release, but the project
</span><span style='display:block; white-space:pre;color:#404040;'> recommends using the stable branch which has further fixes. Rework the
</span><span style='display:block; white-space:pre;color:#404040;'> Portfile to accommodate this.
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> The github portgroup livecheck tells you if the latest commit hash is
</span><span style='display:block; white-space:pre;color:#404040;'> different. A custom livecheck on my server tells you the latest version
</span><span style='display:block; white-space:pre;color:#404040;'> and date by checking the releases directory on their server. I wasn't
</span><span style='display:block; white-space:pre;color:#404040;'> sure which one of these was more useful so I've left both in the
</span><span style='display:block; white-space:pre;color:#404040;'> Portfile with the former activated for now.
</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/48579
</span>---
devel/libsodium/Portfile | 25 ++++++++++++++++++++-----
1 file changed, 20 insertions(+), 5 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/devel/libsodium/Portfile b/devel/libsodium/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 2e98659f6a7..0ded460628e 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/devel/libsodium/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/devel/libsodium/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -3,9 +3,15 @@
</span> PortSystem 1.0
PortGroup github 1.0
PortGroup muniversal 1.0
<span style='display:block; white-space:pre;background:#ffe0e0;'>-PortGroup cxx11 1.1
</span>
<span style='display:block; white-space:pre;background:#ffe0e0;'>-github.setup jedisct1 libsodium 1.0.18-RELEASE
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# Upstream recommends using the stable branch:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# https://doc.libsodium.org/installation
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.setup jedisct1 libsodium d37afd6015fa246b967aa216611874883e5670c1
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+version 1.0.18-20200728
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+checksums rmd160 154e61138bc9e14f6823caed62c3841b5fb180e0 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ sha256 b9d55bdc55bf4bbea83c614558a5a3dd0af1cec7fd1d0e2a6081a77064a086c3 \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ size 2041012
</span>
categories devel security
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -18,14 +24,23 @@ description Portable and packageable NaCl-based crypto library
</span> long_description libsodium is a library for network communication, \
encryption, decryption, signatures, etc.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-checksums rmd160 48941eaf00afe9061796a4753ed320e81a8be95e \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- sha256 34f0c6a2c05ea5e5968d2231f2fd2ea35c29b8d9119045563deb64e680c7da99 \
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- size 2046708
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.tarball_from archive
</span>
depends_build-append \
port:pkgconfig
<span style='display:block; white-space:pre;background:#e0ffe0;'>+compiler.cxx_standard \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ 2011
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> configure.args --disable-silent-rules
test.run yes
test.target check
<span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+github.livecheck.branch \
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ stable
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#livecheck.type regex
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#livecheck.version ${version}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#livecheck.url http://www.ryandesign.com/macports/version.php/${name}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+#livecheck.regex {^([^-]+-\d{8})}
</span></pre><pre style='margin:0'>
</pre>