Dear all, Since version 6.3, Elastic team has changed the way of how they distribute their products: https://www.elastic.co/products/x-pack/open
Before 6.3 it was Apache-licensed software, and for customers who wanted additional features, there was additional plugin with restrictive license, X-Pack (sysutils/x-pack in our ports tree). Staring from version 6.3, X-Pack was integrated into Elastic products and now they are distributed under restrictive Elastic license: https://github.com/elastic/elasticsearch/blob/master/licenses/ELASTIC-LICENSE.txt Apache-licensed versions of Elastic software are now distributed as separate packages. My proposal is to leave textproc/elasticsearch as port for restricted Elastic-licensed version, giving users ability to build and use it with its nice monitoring/management features (which are covered by free time-unlimited Basic license), and add textproc/elasticsearch-oss for Apache-licensed version. The same story is with sysutils/logstash and www/kibana. Please advise, and I'll move on with other parts of Elastic stack. Please see the diff and new port for OSS version attached. -- With best regards, Pavel Korovin
Index: Makefile =================================================================== RCS file: /cvs/ports/textproc/elasticsearch/Makefile,v retrieving revision 1.54 diff -u -p -r1.54 Makefile --- Makefile 17 May 2018 10:22:58 -0000 1.54 +++ Makefile 18 Aug 2018 16:53:25 -0000 @@ -2,7 +2,7 @@ COMMENT = distributed RESTful search and analytics -V = 6.2.4 +V = 6.3.2 DISTNAME = elasticsearch-$V CATEGORIES = textproc @@ -10,8 +10,11 @@ HOMEPAGE = https://www.elastic.co/produ MAINTAINER = Pavel Korovin <p...@openbsd.org> -# Apache2 -PERMIT_PACKAGE_CDROM = Yes +# Elastic license +# https://github.com/elastic/elasticsearch/blob/master/licenses/ELASTIC-LICENSE.txt +PERMIT_PACKAGE_CDROM = Elastic license +PERMIT_PACKAGE_FTP = Elastic license +PERMIT_DISTFILES_FTP = Elastic license MASTER_SITES = https://artifacts.elastic.co/downloads/elasticsearch/ @@ -30,11 +33,17 @@ ES_HOME = ${PREFIX}/elasticsearch/ do-install: ${SUBST_CMD} ${WRKSRC}/bin/elasticsearch-env - rm ${WRKSRC}/bin/*.{bat,beforesubst,exe,orig} ${WRKSRC}/config/*.orig - sed -i 's,#!/bin/bash,#!/usr/bin/env bash,' ${WRKSRC}/bin/* - ${INSTALL_DATA_DIR} ${ES_HOME}/{bin,lib,modules,plugins}/ \ + mv ${WRKSRC}/bin/x-pack/ ${WRKSRC}/bin/elasticsearch-sql-cli-${V}.jar \ + ${WRKSRC} + rm ${WRKSRC}/x-pack/*.bat ${WRKSRC}/bin/*.{bat,beforesubst,exe,orig} \ + ${WRKSRC}/config/*.orig + sed -i 's,#!/bin/bash,#!/usr/bin/env bash,' ${WRKSRC}/x-pack/* ${WRKSRC}/bin/* + rm -r ${WRKSRC}/modules/x-pack/x-pack-ml/platform/* + ${INSTALL_DATA_DIR} ${ES_HOME}/{bin,bin/x-pack,lib,modules,plugins}/ \ ${PREFIX}/share/{doc,examples}/elasticsearch/ + ${INSTALL_SCRIPT} ${WRKSRC}/x-pack/* ${ES_HOME}/bin/x-pack/ ${INSTALL_SCRIPT} ${WRKSRC}/bin/* ${ES_HOME}/bin/ + ${INSTALL_DATA} ${WRKSRC}/elasticsearch-sql-cli-${V}.jar ${ES_HOME}/bin/ ${INSTALL_DATA} ${WRKSRC}/config/* ${PREFIX}/share/examples/elasticsearch/ ${INSTALL_DATA} ${WRKSRC}/lib/*.jar ${ES_HOME}/lib/ cp -R ${WRKSRC}/modules ${ES_HOME}/ Index: distinfo =================================================================== RCS file: /cvs/ports/textproc/elasticsearch/distinfo,v retrieving revision 1.39 diff -u -p -r1.39 distinfo --- distinfo 17 May 2018 10:22:58 -0000 1.39 +++ distinfo 18 Aug 2018 16:53:25 -0000 @@ -1,2 +1,2 @@ -SHA256 (elasticsearch-6.2.4.tar.gz) = kebx6h4d05AR56cD0nUcpG7jdGZbCLC/4X4MDCcADo4= -SIZE (elasticsearch-6.2.4.tar.gz) = 29056810 +SHA256 (elasticsearch-6.3.2.tar.gz) = 0FYIxrEl30+2yAn5wd1Ffjaea1gsKVjFLaleAcxUwCQ= +SIZE (elasticsearch-6.3.2.tar.gz) = 91452574 Index: patches/patch-bin_elasticsearch-env =================================================================== RCS file: /cvs/ports/textproc/elasticsearch/patches/patch-bin_elasticsearch-env,v retrieving revision 1.1 diff -u -p -r1.1 patch-bin_elasticsearch-env --- patches/patch-bin_elasticsearch-env 17 May 2018 10:22:58 -0000 1.1 +++ patches/patch-bin_elasticsearch-env 18 Aug 2018 16:53:25 -0000 @@ -21,7 +21,7 @@ Index: bin/elasticsearch-env if [ -z "$ES_PATH_CONF" ]; then echo "ES_PATH_CONF must be set to the configuration path" -@@ -85,6 +85,6 @@ if [ -z "$ES_TMPDIR" ]; then +@@ -88,6 +88,6 @@ if [ -z "$ES_TMPDIR" ]; then if [ $mktemp_coreutils -eq 0 ]; then ES_TMPDIR=`mktemp -d --tmpdir "elasticsearch.XXXXXXXX"` else Index: patches/patch-config_elasticsearch_yml =================================================================== RCS file: /cvs/ports/textproc/elasticsearch/patches/patch-config_elasticsearch_yml,v retrieving revision 1.4 diff -u -p -r1.4 patch-config_elasticsearch_yml --- patches/patch-config_elasticsearch_yml 17 May 2018 10:22:58 -0000 1.4 +++ patches/patch-config_elasticsearch_yml 18 Aug 2018 16:53:25 -0000 @@ -16,11 +16,10 @@ Index: config/elasticsearch.yml # # ----------------------------------- Memory ----------------------------------- # -@@ -86,3 +86,7 @@ +@@ -86,3 +86,6 @@ # Require explicit names when deleting indices: # #action.destructive_requires_name: true +# -+# X-Pack Machine Learning is not supported on OpenBSD; -+# uncomment if running with X-Pack: -+#xpack.ml.enabled: false ++# X-Pack Machine Learning is not supported on OpenBSD ++xpack.ml.enabled: false Index: pkg/PLIST =================================================================== RCS file: /cvs/ports/textproc/elasticsearch/pkg/PLIST,v retrieving revision 1.29 diff -u -p -r1.29 PLIST --- pkg/PLIST 17 May 2018 10:22:58 -0000 1.29 +++ pkg/PLIST 18 Aug 2018 16:53:25 -0000 @@ -1,4 +1,5 @@ @comment $OpenBSD: PLIST,v 1.29 2018/05/17 10:22:58 pvk Exp $ +@conflict elasticsearch-oss-* @ask-update elasticsearch-<2.0.0 Make sure your existing data is backed up @newgroup _elasticsearch:748 @newuser _elasticsearch:748:_elasticsearch:daemon:Elasticsearch Account:/nonexistent:/sbin/nologin @@ -6,6 +7,7 @@ @extraunexec rm -rf ${PREFIX}/elasticsearch/{bin,plugins}/x-pack/ @extraunexec rm -rf ${LOCALSTATEDIR}/elasticsearch/* @extraunexec rm -rf ${LOCALSTATEDIR}/log/elasticsearch/* +@rcscript ${RCDIR}/elasticsearch elasticsearch/ @mode 0775 @group _elasticsearch @@ -13,16 +15,41 @@ elasticsearch/bin/ @mode @group elasticsearch/bin/elasticsearch +elasticsearch/bin/elasticsearch-certgen +elasticsearch/bin/elasticsearch-certutil +elasticsearch/bin/elasticsearch-croneval elasticsearch/bin/elasticsearch-env elasticsearch/bin/elasticsearch-keystore +elasticsearch/bin/elasticsearch-migrate elasticsearch/bin/elasticsearch-plugin +elasticsearch/bin/elasticsearch-saml-metadata +elasticsearch/bin/elasticsearch-setup-passwords +elasticsearch/bin/elasticsearch-sql-cli +elasticsearch/bin/elasticsearch-sql-cli-${V}.jar +elasticsearch/bin/elasticsearch-syskeygen elasticsearch/bin/elasticsearch-translog +elasticsearch/bin/elasticsearch-users +elasticsearch/bin/x-pack/ +elasticsearch/bin/x-pack-env +elasticsearch/bin/x-pack-security-env +elasticsearch/bin/x-pack-watcher-env +elasticsearch/bin/x-pack/certgen +elasticsearch/bin/x-pack/certutil +elasticsearch/bin/x-pack/croneval +elasticsearch/bin/x-pack/migrate +elasticsearch/bin/x-pack/saml-metadata +elasticsearch/bin/x-pack/setup-passwords +elasticsearch/bin/x-pack/sql-cli +elasticsearch/bin/x-pack/syskeygen +elasticsearch/bin/x-pack/users elasticsearch/lib/ elasticsearch/lib/HdrHistogram-2.1.9.jar elasticsearch/lib/elasticsearch-${V}.jar elasticsearch/lib/elasticsearch-cli-${V}.jar elasticsearch/lib/elasticsearch-core-${V}.jar elasticsearch/lib/elasticsearch-launchers-${V}.jar +elasticsearch/lib/elasticsearch-secure-sm-${V}.jar +elasticsearch/lib/elasticsearch-x-content-${V}.jar elasticsearch/lib/hppc-0.7.1.jar elasticsearch/lib/jackson-core-2.8.10.jar elasticsearch/lib/jackson-dataformat-cbor-2.8.10.jar @@ -31,31 +58,30 @@ elasticsearch/lib/jackson-dataformat-yam elasticsearch/lib/jna-4.5.1.jar elasticsearch/lib/joda-time-2.9.9.jar elasticsearch/lib/jopt-simple-5.0.2.jar -elasticsearch/lib/jts-1.13.jar +elasticsearch/lib/jts-core-1.15.0.jar elasticsearch/lib/log4j-1.2-api-2.9.1.jar elasticsearch/lib/log4j-api-2.9.1.jar elasticsearch/lib/log4j-core-2.9.1.jar -elasticsearch/lib/lucene-analyzers-common-7.2.1.jar -elasticsearch/lib/lucene-backward-codecs-7.2.1.jar -elasticsearch/lib/lucene-core-7.2.1.jar -elasticsearch/lib/lucene-grouping-7.2.1.jar -elasticsearch/lib/lucene-highlighter-7.2.1.jar -elasticsearch/lib/lucene-join-7.2.1.jar -elasticsearch/lib/lucene-memory-7.2.1.jar -elasticsearch/lib/lucene-misc-7.2.1.jar -elasticsearch/lib/lucene-queries-7.2.1.jar -elasticsearch/lib/lucene-queryparser-7.2.1.jar -elasticsearch/lib/lucene-sandbox-7.2.1.jar -elasticsearch/lib/lucene-spatial-7.2.1.jar -elasticsearch/lib/lucene-spatial-extras-7.2.1.jar -elasticsearch/lib/lucene-spatial3d-7.2.1.jar -elasticsearch/lib/lucene-suggest-7.2.1.jar +elasticsearch/lib/lucene-analyzers-common-7.3.1.jar +elasticsearch/lib/lucene-backward-codecs-7.3.1.jar +elasticsearch/lib/lucene-core-7.3.1.jar +elasticsearch/lib/lucene-grouping-7.3.1.jar +elasticsearch/lib/lucene-highlighter-7.3.1.jar +elasticsearch/lib/lucene-join-7.3.1.jar +elasticsearch/lib/lucene-memory-7.3.1.jar +elasticsearch/lib/lucene-misc-7.3.1.jar +elasticsearch/lib/lucene-queries-7.3.1.jar +elasticsearch/lib/lucene-queryparser-7.3.1.jar +elasticsearch/lib/lucene-sandbox-7.3.1.jar +elasticsearch/lib/lucene-spatial-7.3.1.jar +elasticsearch/lib/lucene-spatial-extras-7.3.1.jar +elasticsearch/lib/lucene-spatial3d-7.3.1.jar +elasticsearch/lib/lucene-suggest-7.3.1.jar elasticsearch/lib/plugin-classloader-${V}.jar elasticsearch/lib/plugin-cli-${V}.jar -elasticsearch/lib/securesm-1.2.jar elasticsearch/lib/snakeyaml-1.17.jar -elasticsearch/lib/spatial4j-0.6.jar -elasticsearch/lib/t-digest-3.0.jar +elasticsearch/lib/spatial4j-0.7.jar +elasticsearch/lib/t-digest-3.2.jar elasticsearch/modules/ elasticsearch/modules/aggs-matrix-stats/ elasticsearch/modules/aggs-matrix-stats/aggs-matrix-stats-${V}.jar @@ -64,6 +90,7 @@ elasticsearch/modules/analysis-common/ elasticsearch/modules/analysis-common/analysis-common-${V}.jar elasticsearch/modules/analysis-common/plugin-descriptor.properties elasticsearch/modules/ingest-common/ +elasticsearch/modules/ingest-common/elasticsearch-grok-${V}.jar elasticsearch/modules/ingest-common/ingest-common-${V}.jar elasticsearch/modules/ingest-common/jcodings-1.0.12.jar elasticsearch/modules/ingest-common/joni-2.1.6.jar @@ -74,7 +101,7 @@ elasticsearch/modules/lang-expression/as elasticsearch/modules/lang-expression/asm-commons-5.0.4.jar elasticsearch/modules/lang-expression/asm-tree-5.0.4.jar elasticsearch/modules/lang-expression/lang-expression-${V}.jar -elasticsearch/modules/lang-expression/lucene-expressions-7.2.1.jar +elasticsearch/modules/lang-expression/lucene-expressions-7.3.1.jar elasticsearch/modules/lang-expression/plugin-descriptor.properties elasticsearch/modules/lang-expression/plugin-security.policy elasticsearch/modules/lang-mustache/ @@ -130,6 +157,128 @@ elasticsearch/modules/transport-netty4/t elasticsearch/modules/tribe/ elasticsearch/modules/tribe/plugin-descriptor.properties elasticsearch/modules/tribe/tribe-${V}.jar +elasticsearch/modules/x-pack/ +elasticsearch/modules/x-pack/meta-plugin-descriptor.properties +elasticsearch/modules/x-pack/x-pack-core/ +elasticsearch/modules/x-pack/x-pack-core/LICENSE.txt +elasticsearch/modules/x-pack/x-pack-core/NOTICE.txt +elasticsearch/modules/x-pack/x-pack-core/bcpkix-jdk15on-1.58.jar +elasticsearch/modules/x-pack/x-pack-core/bcprov-jdk15on-1.58.jar +elasticsearch/modules/x-pack/x-pack-core/commons-codec-1.10.jar +elasticsearch/modules/x-pack/x-pack-core/commons-logging-1.1.3.jar +elasticsearch/modules/x-pack/x-pack-core/httpasyncclient-4.1.2.jar +elasticsearch/modules/x-pack/x-pack-core/httpclient-4.5.2.jar +elasticsearch/modules/x-pack/x-pack-core/httpcore-4.4.5.jar +elasticsearch/modules/x-pack/x-pack-core/httpcore-nio-4.4.5.jar +elasticsearch/modules/x-pack/x-pack-core/netty-buffer-4.1.16.Final.jar +elasticsearch/modules/x-pack/x-pack-core/netty-codec-4.1.16.Final.jar +elasticsearch/modules/x-pack/x-pack-core/netty-codec-http-4.1.16.Final.jar +elasticsearch/modules/x-pack/x-pack-core/netty-common-4.1.16.Final.jar +elasticsearch/modules/x-pack/x-pack-core/netty-handler-4.1.16.Final.jar +elasticsearch/modules/x-pack/x-pack-core/netty-resolver-4.1.16.Final.jar +elasticsearch/modules/x-pack/x-pack-core/netty-transport-4.1.16.Final.jar +elasticsearch/modules/x-pack/x-pack-core/plugin-descriptor.properties +elasticsearch/modules/x-pack/x-pack-core/plugin-security.policy +elasticsearch/modules/x-pack/x-pack-core/transport-netty4-${V}.jar +elasticsearch/modules/x-pack/x-pack-core/unboundid-ldapsdk-3.2.0.jar +elasticsearch/modules/x-pack/x-pack-core/x-pack-core-${V}.jar +elasticsearch/modules/x-pack/x-pack-deprecation/ +elasticsearch/modules/x-pack/x-pack-deprecation/LICENSE.txt +elasticsearch/modules/x-pack/x-pack-deprecation/NOTICE.txt +elasticsearch/modules/x-pack/x-pack-deprecation/plugin-descriptor.properties +elasticsearch/modules/x-pack/x-pack-deprecation/plugin-security.policy +elasticsearch/modules/x-pack/x-pack-deprecation/x-pack-deprecation-${V}.jar +elasticsearch/modules/x-pack/x-pack-graph/ +elasticsearch/modules/x-pack/x-pack-graph/LICENSE.txt +elasticsearch/modules/x-pack/x-pack-graph/NOTICE.txt +elasticsearch/modules/x-pack/x-pack-graph/plugin-descriptor.properties +elasticsearch/modules/x-pack/x-pack-graph/plugin-security.policy +elasticsearch/modules/x-pack/x-pack-graph/x-pack-graph-${V}.jar +elasticsearch/modules/x-pack/x-pack-logstash/ +elasticsearch/modules/x-pack/x-pack-logstash/LICENSE.txt +elasticsearch/modules/x-pack/x-pack-logstash/NOTICE.txt +elasticsearch/modules/x-pack/x-pack-logstash/plugin-descriptor.properties +elasticsearch/modules/x-pack/x-pack-logstash/plugin-security.policy +elasticsearch/modules/x-pack/x-pack-logstash/x-pack-logstash-${V}.jar +elasticsearch/modules/x-pack/x-pack-ml/ +elasticsearch/modules/x-pack/x-pack-ml/LICENSE.txt +elasticsearch/modules/x-pack/x-pack-ml/NOTICE.txt +elasticsearch/modules/x-pack/x-pack-ml/platform/ +elasticsearch/modules/x-pack/x-pack-ml/plugin-descriptor.properties +elasticsearch/modules/x-pack/x-pack-ml/plugin-security.policy +elasticsearch/modules/x-pack/x-pack-ml/resources/ +elasticsearch/modules/x-pack/x-pack-ml/resources/date_time_zonespec.csv +elasticsearch/modules/x-pack/x-pack-ml/resources/ml-en.dict +elasticsearch/modules/x-pack/x-pack-ml/super-csv-2.4.0.jar +elasticsearch/modules/x-pack/x-pack-ml/x-pack-ml-${V}.jar +elasticsearch/modules/x-pack/x-pack-monitoring/ +elasticsearch/modules/x-pack/x-pack-monitoring/LICENSE.txt +elasticsearch/modules/x-pack/x-pack-monitoring/NOTICE.txt +elasticsearch/modules/x-pack/x-pack-monitoring/elasticsearch-rest-client-${V}.jar +elasticsearch/modules/x-pack/x-pack-monitoring/elasticsearch-rest-client-sniffer-${V}.jar +elasticsearch/modules/x-pack/x-pack-monitoring/plugin-descriptor.properties +elasticsearch/modules/x-pack/x-pack-monitoring/plugin-security.policy +elasticsearch/modules/x-pack/x-pack-monitoring/x-pack-monitoring-${V}.jar +elasticsearch/modules/x-pack/x-pack-rollup/ +elasticsearch/modules/x-pack/x-pack-rollup/LICENSE.txt +elasticsearch/modules/x-pack/x-pack-rollup/NOTICE.txt +elasticsearch/modules/x-pack/x-pack-rollup/plugin-descriptor.properties +elasticsearch/modules/x-pack/x-pack-rollup/plugin-security.policy +elasticsearch/modules/x-pack/x-pack-rollup/x-pack-rollup-${V}.jar +elasticsearch/modules/x-pack/x-pack-security/ +elasticsearch/modules/x-pack/x-pack-security/LICENSE.txt +elasticsearch/modules/x-pack/x-pack-security/NOTICE.txt +elasticsearch/modules/x-pack/x-pack-security/cryptacular-1.2.0.jar +elasticsearch/modules/x-pack/x-pack-security/guava-19.0.jar +elasticsearch/modules/x-pack/x-pack-security/httpclient-cache-4.5.2.jar +elasticsearch/modules/x-pack/x-pack-security/java-support-7.3.0.jar +elasticsearch/modules/x-pack/x-pack-security/log4j-slf4j-impl-2.9.1.jar +elasticsearch/modules/x-pack/x-pack-security/metrics-core-3.2.2.jar +elasticsearch/modules/x-pack/x-pack-security/opensaml-core-3.3.0.jar +elasticsearch/modules/x-pack/x-pack-security/opensaml-messaging-api-3.3.0.jar +elasticsearch/modules/x-pack/x-pack-security/opensaml-messaging-impl-3.3.0.jar +elasticsearch/modules/x-pack/x-pack-security/opensaml-profile-api-3.3.0.jar +elasticsearch/modules/x-pack/x-pack-security/opensaml-profile-impl-3.3.0.jar +elasticsearch/modules/x-pack/x-pack-security/opensaml-saml-api-3.3.0.jar +elasticsearch/modules/x-pack/x-pack-security/opensaml-saml-impl-3.3.0.jar +elasticsearch/modules/x-pack/x-pack-security/opensaml-security-api-3.3.0.jar +elasticsearch/modules/x-pack/x-pack-security/opensaml-security-impl-3.3.0.jar +elasticsearch/modules/x-pack/x-pack-security/opensaml-soap-api-3.3.0.jar +elasticsearch/modules/x-pack/x-pack-security/opensaml-soap-impl-3.3.0.jar +elasticsearch/modules/x-pack/x-pack-security/opensaml-storage-api-3.3.0.jar +elasticsearch/modules/x-pack/x-pack-security/opensaml-storage-impl-3.3.0.jar +elasticsearch/modules/x-pack/x-pack-security/opensaml-xmlsec-api-3.3.0.jar +elasticsearch/modules/x-pack/x-pack-security/opensaml-xmlsec-impl-3.3.0.jar +elasticsearch/modules/x-pack/x-pack-security/plugin-descriptor.properties +elasticsearch/modules/x-pack/x-pack-security/plugin-security.policy +elasticsearch/modules/x-pack/x-pack-security/slf4j-api-1.6.2.jar +elasticsearch/modules/x-pack/x-pack-security/x-pack-security-${V}.jar +elasticsearch/modules/x-pack/x-pack-security/xmlsec-2.0.8.jar +elasticsearch/modules/x-pack/x-pack-sql/ +elasticsearch/modules/x-pack/x-pack-sql/LICENSE.txt +elasticsearch/modules/x-pack/x-pack-sql/NOTICE.txt +elasticsearch/modules/x-pack/x-pack-sql/aggs-matrix-stats-${V}.jar +elasticsearch/modules/x-pack/x-pack-sql/antlr4-runtime-4.5.3.jar +elasticsearch/modules/x-pack/x-pack-sql/plugin-descriptor.properties +elasticsearch/modules/x-pack/x-pack-sql/plugin-security.policy +elasticsearch/modules/x-pack/x-pack-sql/sql-proto-${V}.jar +elasticsearch/modules/x-pack/x-pack-sql/x-pack-sql-${V}.jar +elasticsearch/modules/x-pack/x-pack-upgrade/ +elasticsearch/modules/x-pack/x-pack-upgrade/LICENSE.txt +elasticsearch/modules/x-pack/x-pack-upgrade/NOTICE.txt +elasticsearch/modules/x-pack/x-pack-upgrade/plugin-descriptor.properties +elasticsearch/modules/x-pack/x-pack-upgrade/plugin-security.policy +elasticsearch/modules/x-pack/x-pack-upgrade/x-pack-upgrade-${V}.jar +elasticsearch/modules/x-pack/x-pack-watcher/ +elasticsearch/modules/x-pack/x-pack-watcher/LICENSE.txt +elasticsearch/modules/x-pack/x-pack-watcher/NOTICE.txt +elasticsearch/modules/x-pack/x-pack-watcher/activation-1.1.1.jar +elasticsearch/modules/x-pack/x-pack-watcher/guava-16.0.1.jar +elasticsearch/modules/x-pack/x-pack-watcher/javax.mail-1.5.6.jar +elasticsearch/modules/x-pack/x-pack-watcher/owasp-java-html-sanitizer-r239.jar +elasticsearch/modules/x-pack/x-pack-watcher/plugin-descriptor.properties +elasticsearch/modules/x-pack/x-pack-watcher/plugin-security.policy +elasticsearch/modules/x-pack/x-pack-watcher/x-pack-watcher-${V}.jar @mode 0775 @group _elasticsearch @sample elasticsearch/plugins/ @@ -158,12 +307,16 @@ share/examples/elasticsearch/jvm.options share/examples/elasticsearch/log4j2.properties @mode 0640 @sample ${SYSCONFDIR}/elasticsearch/log4j2.properties +share/examples/elasticsearch/role_mapping.yml +@sample ${SYSCONFDIR}/elasticsearch/role_mapping.yml +share/examples/elasticsearch/roles.yml +@sample ${SYSCONFDIR}/elasticsearch/roles.yml +share/examples/elasticsearch/users +@sample ${SYSCONFDIR}/elasticsearch/users +share/examples/elasticsearch/users_roles +@sample ${SYSCONFDIR}/elasticsearch/users_roles @mode 0770 @owner _elasticsearch @group _elasticsearch @sample ${LOCALSTATEDIR}/elasticsearch/ @sample ${LOCALSTATEDIR}/log/elasticsearch/ -@mode -@owner -@group -@rcscript ${RCDIR}/elasticsearch Index: pkg/README =================================================================== RCS file: /cvs/ports/textproc/elasticsearch/pkg/README,v retrieving revision 1.6 diff -u -p -r1.6 README --- pkg/README 17 May 2018 10:22:58 -0000 1.6 +++ pkg/README 18 Aug 2018 16:53:25 -0000 @@ -4,6 +4,13 @@ $OpenBSD: README,v 1.6 2018/05/17 10:22: | Running ${FULLPKGNAME} on OpenBSD +----------------------------------------------------------------------- +OpenBSD-specific Limitations +============================ +1. OpenBSD is not on the list of supported platforms: +https://www.elastic.co/support/matrix + +2. Machine Learning features are not available and disabled by default. + Initial Node/Cluster Configuration ================================== Configuratoin files are located in ${SYSCONFDIR}/elasticsearch @@ -24,8 +31,8 @@ Resource Limits: File Descriptors The minimum number of openfiles required for production Elasticsearch node is 65536. Elasticsearch will not start if openfiles limit is lower than this. -OpenBSD's defaults are very conservative in allocation of system resources, -in order to run Elasticsearch, the following steps required: +OpenBSD's defaults are very conservative in allocation of system resources. +In order to run Elasticsearch, the following steps required: 1. Adjust kern.maxfiles: @@ -64,12 +71,6 @@ as root, use doas(1): # doas -u _elasticsearch \ ${TRUEPREFIX}/elasticsearch/bin/elasticsearch-plugin install <plugin> - -Elastic X-Pack is available as separate OpenBSD package: - - # pkg_add x-pack - -See X-Pack package README for more information. Upgrading ElasticSearch =======================
elasticsearch-oss-6.3.2.tgz
Description: Binary data