<pre style='margin:0'>
Renee Otten (reneeotten) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/7b9edbaf09b858af3357b4de09b1684fe36feca6">https://github.com/macports/macports-ports/commit/7b9edbaf09b858af3357b4de09b1684fe36feca6</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 7b9edba alertmanager: set USER envvar if missing for promu
</span>7b9edba is described below
<span style='display:block; white-space:pre;color:#808000;'>commit 7b9edbaf09b858af3357b4de09b1684fe36feca6
</span>Author: Herby Gillot <herby.gillot@gmail.com>
AuthorDate: Mon Apr 6 04:11:07 2020 -0400
<span style='display:block; white-space:pre;color:#404040;'> alertmanager: set USER envvar if missing for promu
</span>---
net/alertmanager/Portfile | 7 +++++++
1 file changed, 7 insertions(+)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/net/alertmanager/Portfile b/net/alertmanager/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index d9a04e9..6e7753d 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/net/alertmanager/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/net/alertmanager/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -53,6 +53,13 @@ add_users ${prom_user} \
</span> group=${prom_user} \
realname=Prometheus
<span style='display:block; white-space:pre;background:#e0ffe0;'>+# promu will fail if it cannot capture the current user using the USER
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# environment variable. So if USER is not currently set in the environment,
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+# we'll set it here for purposes of the build.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+if {! [info exists env(USER)]} {
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+ build.env-append "USER=${macportsuser}"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+}
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span> post-extract {
# Install promu
xinstall -d ${workpath}/bin
</pre><pre style='margin:0'>
</pre>