<pre style='margin:0'>
Christopher Nielsen (mascguy) pushed a commit to branch master
in repository macports-ports.
</pre>
<p><a href="https://github.com/macports/macports-ports/commit/a2e8deda1458ce36b449c8cff1304cde19b68378">https://github.com/macports/macports-ports/commit/a2e8deda1458ce36b449c8cff1304cde19b68378</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 a2e8deda145 elasticsearch: move post-activate messages to notes - Cleanup notes, to allow MacPorts base to manage line wrapping - Eliminate redundant msg, re: port load; already added by MacPorts
</span>a2e8deda145 is described below
<span style='display:block; white-space:pre;color:#808000;'>commit a2e8deda1458ce36b449c8cff1304cde19b68378
</span>Author: Christopher Nielsen <mascguy@github.com>
AuthorDate: Fri Nov 26 08:46:53 2021 -0500
<span style='display:block; white-space:pre;color:#404040;'> elasticsearch: move post-activate messages to notes
</span><span style='display:block; white-space:pre;color:#404040;'> - Cleanup notes, to allow MacPorts base to manage line wrapping
</span><span style='display:block; white-space:pre;color:#404040;'> - Eliminate redundant msg, re: port load; already added by MacPorts
</span>---
databases/elasticsearch/Portfile | 17 ++++++++---------
1 file changed, 8 insertions(+), 9 deletions(-)
<span style='display:block; white-space:pre;color:#808080;'>diff --git a/databases/elasticsearch/Portfile b/databases/elasticsearch/Portfile
</span><span style='display:block; white-space:pre;color:#808080;'>index 1ffb2d323f1..9043e2143ea 100644
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>--- a/databases/elasticsearch/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0ff;'>+++ b/databases/elasticsearch/Portfile
</span><span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -105,15 +105,14 @@ post-activate {
</span> system "chown -R root:${group} ${elasticdir}"
system "chown -R ${user}:${group} ${logdir}"
system "chown -R ${user}:${group} ${dbdir}"
<span style='display:block; white-space:pre;background:#ffe0e0;'>-
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "###########################################################"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "# Elasticsearch requires Java/OpenJDK ${java.version}, which comes installed."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "# Other Java versions are not supported."
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "# Use `sudo port load elasticsearch` to start the service"
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>- ui_msg "###########################################################"
</span> }
<span style='display:block; white-space:pre;background:#ffe0e0;'>-notes "To interact with Elasticsearch, start with commands like:
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+###########################################################"
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+notes "\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Elasticsearch requires Java/OpenJDK ${java.version}, which comes installed.\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+Other Java versions are not supported.
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+To interact with Elasticsearch, start with commands like:
</span>
# default Elasticsearch response
curl -XGET \"http://localhost:9200\"
<span style='display:block; white-space:pre;background:#e0e0e0;'>@@ -140,8 +139,8 @@ curl -XDELETE \"http://localhost:9200/my_first_index\"
</span>
Each Elasticsearch shard is a Lucene index; aim for 10-50 GB per shard.
<span style='display:block; white-space:pre;background:#ffe0e0;'>-${name} is tested with the JDK provided in port ${java.fallback}. Add these
</span><span style='display:block; white-space:pre;background:#ffe0e0;'>-lines to your ~/.profile to set up your java environment and test with
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+${name} is tested with the JDK provided in port ${java.fallback}. Add these\
</span><span style='display:block; white-space:pre;background:#e0ffe0;'>+lines to your ~/.profile to set up your java environment and test with\
</span> 'java -version':
# Java environment
</pre><pre style='margin:0'>
</pre>