===> The following configuration options are available for elasticsearch6-6.8.16:
DOCS=on: Build and/or install documentation
===> Use 'make config' to modify these settings
Please see /usr/local/etc/elasticsearch for sample versions of
elasticsearch.yml and logging.yml.
ElasticSearch requires memory locking of large amounts of RAM.
You may need to set:
sysctl security.bsd.unprivileged_mlock=1
!!! PLUGINS NOTICE !!!
ElasticSearch plugins should only be installed via the elasticsearch-plugin
included with this software. As we strive to provide a minimum semblance
of security, the files installed by the package are owned by root:wheel.
This is different than upstream which expects all of the files to be
owned by the user and for you to execute the elasticsearch-plugin script
as said user.
You will encounter permissions errors with configuration files and
directories created by plugins which you will have to manually correct.
This is the price we have to pay to protect ourselves in the face of
a poorly designed security model.
e.g., after installing X-Pack you will have to correct:
/usr/local/etc/elasticsearch/elasticsearch.keystore file to be owned by elasticsearch:elasticsearch
/usr/local/etc/elasticsearch/x-pack directory/files to be owned by elasticsearch:elasticsearch
!!! PLUGINS NOTICE !!!
cleanup: Remove expired ports:
2023-01-01 sysutils/beats6: No longer maintained and supported.
2023-01-01 sysutils/logstash6: No longer maintained and supported.
2023-01-01 textproc/elasticsearch6: No longer maintained and supported.
Remove WWW entries moved into port Makefiles
Commit b7f05445c00f has added WWW entries to port Makefiles based on
WWW: lines in pkg-descr files.
This commit removes the WWW: lines of moved-over URLs from these
pkg-descr files.
Approved by: portmgr (tcberner)
Add WWW entries to port Makefiles
It has been common practice to have one or more URLs at the end of the
ports' pkg-descr files, one per line and prefixed with "WWW:". These
URLs should point at a project website or other relevant resources.
Access to these URLs required processing of the pkg-descr files, and
they have often become stale over time. If more than one such URL was
present in a pkg-descr file, only the first one was tarnsfered into
the port INDEX, but for many ports only the last line did contain the
port specific URL to further information.
There have been several proposals to make a project URL available as
a macro in the ports' Makefiles, over time.
(Only the first 15 lines of the commit message are shown above )
*/*: Remove redundant '-[0-9]*' from CONFLICTS
The conflict checks compare the patterns first against the package
names without version (as reported by "pkg query "%n"), then - if
there was no match - agsinst the full package names including the
version (as reported by "pkg query "%n-%v").
Many CONFLICTS definitions used patterns like "bash-[0-9]*" to filter
for the bash package in any version. But that pattern is functionally
identical with just "bash".
Approved by: portmgr (blanket)
textproc/elasticsearch6: Fix rc order
It has been found that elasticsearch is being started in wrong phase of rc
sequence.
This should bring it to more apropriate place where all services, including
cleartmp, are started.
PR: 236840
Reported by: Nemesis11 <felix@zwame.pt>
Reviewed by: osa (mentor), swills
Approved by: osa (mentor)
MFH: 2021Q1
Differential Revision: https://reviews.freebsd.org/D27874
Switch maintainer to elastic@
Per the previous maintainer's comments in PR 237372 they no longer use the
software and don't have time to test it. See, also, the discussion in
PR 241845.
Using elastic@ is also consistent with kibana6 and logstash6 (the other
parts of the ELK stack).
Update to 6.8.3
* Update to 6.8.3, which allows the use of newer versions of Java (e.g. 11)
* Modify the rc file to allow the version of Java to be used to be configured
* Pull in changes to jvm.options that allow for newer versions of Java
* Fix a type in pkg-message
PR: 239972
Approved by: maintainer timeout
Sponsored by: The FreeBSD Foundation
textproc/elasticsearch{5,6}: Pidfiles should be in a writable subdirectory
This fixes issues Elastic has with starting/stopping in some situations
PR: 226800
textproc/elasticsearch6: Fix ability to install plugins
- Update pkg-message to provide very useful info
- Use login_class=root by default to help users avoid this issue (affects
everyone)
PR: 226301
textproc/elasticsearch6: Update pkg-message
"bootstrap.system_call_filter: false" does not need to be set on
ElasticSearch 6.2.2 for a successful bootstrap on FreeBSD
textproc/elasticsearch{5,6}: Fix symlink
Relative symlinks should only be used when both files are in the
STAGEDIR. In this situation poudriere was producing usable packages
because of the unique location of WRKSRC (/wrksrc/...) which caused the
relative symlink to be deep enough "../../../../../" to hit the root of the
filesystem and then point to the location of the file. However, users
who were building the port directory with "make" or "portmaster" were
getting symlinks that did not point to the right location.
PR: 226234226265222261
textproc/elasticsearch6: Fix run issues
- Elastic no longer accepts -Epath.conf argument. Change to ES_PATH_CONF env
- Elastic was not honoring the elasticsearch_tmpdir rc.conf variable. Remove.
The default behavior is to use mktemp for a unique tmpdir in /tmp. This seems
sane,
especially when running multiple profiles.
- Patch jvm.options to set a writable location for gc.log, which will be the
tmpdir.
There is not an easy way to automatically point this to the log dir, so it
needs
a unique location when running muliple profiles.
- devel/jca is also a BUILD dependency to fix build outside poudriere
PR: 226265
textproc/elasticsearch6: Fix JNA support
JNA (Java Native Access) provides access to OS-native facilities in pure
Java code. The JNA shipped with Elastic is meant for Linux so it does
not function correctly. We will ship one built for FreeBSD instead.
PR: 222261
textproc/elasticsearch6: Update to 6.2.2
- Take maintainership
- Sync up with work done on textproc/elasticsearch5 port
Approved by: maintainer (private email)
Re-create textproc/elasticsearch6 after copying it from textproc/elasticsearch5
- Actualy provide elasticsearch6 with this port [1];
- Fix MAINTAINER address [2].
PR: 225836 [1]
Submitted by: w.schwarzenfeld@utanet.at [1]
Reported by: john@saltant.com [2] via ports@