<pre style='margin:0'>
Zero King (l2dy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/af4d5761a7c4b3156ee934303d5b10d818a7f075">https://github.com/macports/macports-ports/commit/af4d5761a7c4b3156ee934303d5b10d818a7f075</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 af4d5761a7c stubby: fix config file destroot
</span>af4d5761a7c is described below
<span style='display:block; white-space:pre;color:#808000;'>commit af4d5761a7c4b3156ee934303d5b10d818a7f075
</span>Author: Zero King <l2dy@macports.org>
AuthorDate: Thu Jan 12 21:21:17 2023 +0800
<span style='display:block; white-space:pre;color:#404040;'> stubby: fix config file destroot
</span>---
net/stubby/Portfile | 6 +++++-
1 file changed, 5 insertions(+), 1 deletion(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/stubby/Portfile b/net/stubby/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 6a382fe1801..92b3b8c9aea 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/stubby/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/stubby/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -5,7 +5,7 @@ PortGroup github 1.0
</span> PortGroup cmake 1.1
github.setup getdnsapi stubby 0.4.3 v
<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
platforms darwin
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -40,6 +40,10 @@ post-patch {
</span> ${worksrcpath}/CMakeLists.txt
}
<span style='display:block; white-space:pre;background:#e0ffe0;'>+post-destroot {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ move ${destroot}${prefix}/etc/stubby/stubby.yml ${destroot}${prefix}/etc/stubby/stubby.yml.example
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-activate {
if {![file exists ${prefix}/etc/stubby/stubby.yml]} {
file copy ${prefix}/etc/stubby/stubby.yml.example ${stubbyconfdir}/stubby.yml
</pre><pre style='margin:0'>
</pre>