<pre style='margin:0'>
Zhenfu Shi (i0ntempest) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/fe5ebdcae7261bec75f15d027226bc6b08b94f5e">https://github.com/macports/macports-ports/commit/fe5ebdcae7261bec75f15d027226bc6b08b94f5e</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 fe5ebdcae72 hysteria: Fix outdated build command and startup item
</span>fe5ebdcae72 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit fe5ebdcae7261bec75f15d027226bc6b08b94f5e
</span>Author: Ricky Zhou <ricky@rzhou.org>
AuthorDate: Fri Feb 23 02:05:31 2024 -0800
<span style='display:block; white-space:pre;color:#404040;'> hysteria: Fix outdated build command and startup item
</span><span style='display:block; white-space:pre;color:#404040;'>
</span><span style='display:block; white-space:pre;color:#404040;'> * Pass the correct package to the go build invocation
</span><span style='display:block; white-space:pre;color:#404040;'> * Fix the --config flag in the startup item
</span>---
net/hysteria/Portfile | 8 ++++----
1 file changed, 4 insertions(+), 4 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/hysteria/Portfile b/net/hysteria/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index f2ff77ff382..f65c02710ef 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/hysteria/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/hysteria/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -6,7 +6,7 @@ PortGroup golang 1.0
</span> go.setup github.com/apernet/hysteria 2.2.4 app/v
set git-commit 80bc3b3a443268d9c89b0f82071ec7f38006a1ba
# This line is for displaying commit in CLI only
<span style='display:block; white-space:pre;background:#ffe0e0;'>-revision 0
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+revision 1
</span> categories net
maintainers {i0ntempest @i0ntempest} openmaintainer
license MIT
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -14,7 +14,7 @@ license MIT
</span> description network utility and proxy optimized for networks of poor quality
long_description Hysteria is a feature-packed network utility optimized for networks of poor quality \
(e.g. satellite connections, congested public Wi-Fi, cross-country connection) \
<span style='display:block; white-space:pre;background:#ffe0e0;'>- powered by a custom version of QUIC protocol.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ powered by a custom version of QUIC protocol.
</span>
checksums rmd160 ea8f0a7ee596a877bf6b8c2d8f1557c6e8697c18 \
sha256 b124ef8b152706d86f5f71d451a4a88874015f3f98275b55d8960768d9d4c5a9 \
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -24,7 +24,7 @@ checksums rmd160 ea8f0a7ee596a877bf6b8c2d8f1557c6e8697c18 \
</span> # Remember to update git commit hash
set time [clock format [clock seconds] -format %Y-%m-%dT%H:%M:%S]
<span style='display:block; white-space:pre;background:#ffe0e0;'>-build.args-append -ldflags=\"-X 'main.appVersion=v${version}' -X 'main.appCommit=${git-commit}' -X 'main.appDate=${time}'\" -o ../hysteria ./cmd
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+build.args-append -ldflags=\"-X 'main.appVersion=v${version}' -X 'main.appCommit=${git-commit}' -X 'main.appDate=${time}'\" -o ../hysteria .
</span> # go2port no longer works since 1.3.1 as there's no go.mod at project root
go.offline_build no
build.dir ${worksrcpath}/app
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -48,4 +48,4 @@ notes-append "
</span> "
startupitem.create yes
<span style='display:block; white-space:pre;background:#ffe0e0;'>-startupitem.executable ${prefix}/bin/hysteria -config ${prefix}/etc/hysteria/config.json
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+startupitem.executable ${prefix}/bin/hysteria --config ${prefix}/etc/hysteria/config.json
</span></pre><pre style='margin:0'>
</pre>