aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRene Ladan <rene@FreeBSD.org>2026-11-30 21:06:24 +0000
committerRene Ladan <rene@FreeBSD.org>2026-11-30 21:06:59 +0000
commitb01b6e32d7861963263a159947b03c7dd35f111a (patch)
tree33a85745c5de8a993439c5a734b1ce768292d41b
parent6f37011b1a98b6a9169a1288ae972b7b2e7be1c0 (diff)
textproc/opensearch216: Remove expired port
2026-11-30 textproc/opensearch216: Not consumers exists for this port. Wazuh uses textproc/opensearch219
-rw-r--r--MOVED1
-rw-r--r--textproc/Makefile1
-rw-r--r--textproc/opensearch216/Makefile157
-rw-r--r--textproc/opensearch216/distinfo3
-rw-r--r--textproc/opensearch216/files/opensearch.in115
-rw-r--r--textproc/opensearch216/files/patch-config_jvm.options23
-rw-r--r--textproc/opensearch216/files/patch-config_opensearch.yml15
-rw-r--r--textproc/opensearch216/files/pkg-message.in27
-rw-r--r--textproc/opensearch216/pkg-descr2
9 files changed, 1 insertions, 343 deletions
diff --git a/MOVED b/MOVED
index 71e338166231..1927f718d209 100644
--- a/MOVED
+++ b/MOVED
@@ -5881,3 +5881,4 @@ x11-themes/adwaita-qt5||2026-11-30|Has expired: Abandoned, upstream repo was arc
x11-themes/adwaita-qt6||2026-11-30|Has expired: Abandoned, upstream repo was archived
net/libcapn||2026-11-30|Has expired: Archived upstream, does not build with CMake 4
net/rubygem-t|net/x-cli|2026-11-30|Has expired: Upstream moved to rust implementation. Use net/x-cli instead
+textproc/opensearch216|textproc/opensearch219|2026-11-30|Has expired: Not consumers exists for this port. Wazuh uses textproc/opensearch219
diff --git a/textproc/Makefile b/textproc/Makefile
index 1ae55de2f005..e952d2964628 100644
--- a/textproc/Makefile
+++ b/textproc/Makefile
@@ -553,7 +553,6 @@
SUBDIR += opensearch-dashboards
SUBDIR += opensearch-dashboards219
SUBDIR += opensearch13
- SUBDIR += opensearch216
SUBDIR += opensearch219
SUBDIR += opensp
SUBDIR += openvanilla-framework
diff --git a/textproc/opensearch216/Makefile b/textproc/opensearch216/Makefile
deleted file mode 100644
index 8d2c5c4a66f3..000000000000
--- a/textproc/opensearch216/Makefile
+++ /dev/null
@@ -1,157 +0,0 @@
-PORTNAME= opensearch
-DISTVERSION?= 2.16.0
-PORTREVISION?= 4
-DISTVERSIONSUFFIX= -linux-x64
-CATEGORIES= textproc java devel
-MASTER_SITES= https://artifacts.opensearch.org/releases/bundle/${PORTNAME}/${DISTVERSION}/
-PKGNAMESUFFIX?= 216
-
-MAINTAINER= opensearch@FreeBSD.org
-COMMENT?= Full-text search engine for Java
-WWW= https://opensearch.org
-
-LICENSE= APACHE20
-
-DEPRECATED= Not consumers exists for this port. Wazuh uses textproc/opensearch219
-EXPIRATION_DATE=2026-11-30
-
-BUILD_DEPENDS= jna>0:devel/jna
-RUN_DEPENDS= bash>0:shells/bash \
- jna>0:devel/jna
-
-CONFLICTS?= opensearch opensearch13 opensearch210 opensearch213
-
-USES= cpe java shebangfix
-JAVA_VERSION= 17+
-USE_RC_SUBR= ${PORTNAME}
-
-SHEBANG_FILES= bin/opensearch bin/opensearch-cli \
- bin/opensearch-env bin/opensearch-env-from-file \
- bin/opensearch-keystore bin/opensearch-node \
- bin/opensearch-plugin bin/opensearch-shard \
- plugins/opensearch-security/tools/audit_config_migrater.sh \
- plugins/opensearch-security/tools/hash.sh \
- plugins/opensearch-security/tools/install_demo_configuration.sh \
- plugins/opensearch-security/tools/securityadmin.sh
-
-NO_BUILD= yes
-WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION}
-
-OPTIONS_DEFINE= PLUGINS
-OPTIONS_DEFAULT=PLUGINS
-
-.include <bsd.port.options.mk>
-
-CONFIG_FILES= opensearch.yml jvm.options log4j2.properties
-
-PLUGINS_CONFIG_FILES?= \
- opensearch-notifications-core/notifications-core.yml \
- opensearch-notifications/notifications.yml \
- opensearch-observability/observability.yml
-.if ${PKGNAMESUFFIX} == "210" || ${PKGNAMESUFFIX} == "213" || ${PKGNAMESUFFIX} == "216"
-PLUGINS_CONFIG_FILES+= \
- opensearch-performance-analyzer/agent-stats-metadata \
- opensearch-performance-analyzer/log4j2.xml \
- opensearch-performance-analyzer/opensearch_security.policy \
- opensearch-performance-analyzer/performance-analyzer.properties \
- opensearch-performance-analyzer/plugin-stats-metadata \
- opensearch-performance-analyzer/rca.conf \
- opensearch-performance-analyzer/rca_idle_cluster_manager.conf \
- opensearch-performance-analyzer/rca_cluster_manager.conf \
- opensearch-performance-analyzer/supervisord.conf
-.endif
-PLUGINS_CONFIG_FILES+= \
- opensearch-reports-scheduler/reports-scheduler.yml \
- opensearch-security/action_groups.yml \
- opensearch-security/allowlist.yml \
- opensearch-security/audit.yml \
- opensearch-security/config.yml \
- opensearch-security/internal_users.yml \
- opensearch-security/nodes_dn.yml \
- opensearch-security/roles.yml \
- opensearch-security/roles_mapping.yml \
- opensearch-security/tenants.yml \
- opensearch-security/whitelist.yml
-
-# Upstream provide some *.example files. These are also copied as sample filse
-# but we do not register them as @sample to avoid installing filse that needs
-# to be tuned a site specific way.
-PLUGINS_SAMPLE_CONFIG_FILES= \
- opensearch-security/opensearch.yml
-
-BINS= opensearch opensearch-cli opensearch-env \
- opensearch-env-from-file opensearch-keystore \
- opensearch-node opensearch-plugin \
- opensearch-shard
-
-SEARCHUSER?= opensearch
-SEARCHGROUP?= ${SEARCHUSER}
-USERS= ${SEARCHUSER}
-GROUPS= ${SEARCHGROUP}
-
-SUB_FILES= pkg-message
-SUB_LIST= ETCDIR=${ETCDIR} \
- JAVA_HOME=${JAVA_HOME}
-
-post-patch:
- ${RM} ${WRKSRC}/lib/jna-*.jar
-
-do-install:
- ${MKDIR} ${STAGEDIR}${PREFIX}/etc/opensearch
-.for f in ${CONFIG_FILES}
- ${INSTALL} ${WRKSRC}/config/${f} ${STAGEDIR}${ETCDIR}/${f}.sample
-.endfor
- ${MKDIR} ${STAGEDIR}${PREFIX}/lib/opensearch/bin
-.for f in ${BINS}
- ${INSTALL_SCRIPT} ${WRKSRC}/bin/${f} ${STAGEDIR}${PREFIX}/lib/opensearch/bin
-.endfor
- ${MKDIR} ${STAGEDIR}${PREFIX}/lib/opensearch/extensions
- ${MKDIR} ${STAGEDIR}${PREFIX}/lib/opensearch/lib
- (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "lib modules" ${STAGEDIR}${PREFIX}/lib/opensearch/)
- ${MKDIR} ${STAGEDIR}${PREFIX}/libexec/opensearch
- ${INSTALL} -lrs ${STAGEDIR}${ETCDIR} ${STAGEDIR}${PREFIX}/lib/opensearch/config
- ${LN} -s ${JAVASHAREDIR}/classes/jna.jar ${STAGEDIR}${PREFIX}/lib/opensearch/lib/jna.jar
-
-do-install-PLUGINS-on:
- ${MKDIR} ${STAGEDIR}${ETCDIR}/opensearch-notifications-core \
- ${STAGEDIR}${ETCDIR}/opensearch-notifications \
- ${STAGEDIR}${ETCDIR}/opensearch-observability \
- ${STAGEDIR}${ETCDIR}/opensearch-reports-scheduler \
- ${STAGEDIR}${ETCDIR}/opensearch-security
-.if ${PKGNAMESUFFIX} == "210" || ${PKGNAMESUFFIX} == "213" || ${PKGNAMESUFFIX} == "216"
- ${MKDIR} ${STAGEDIR}${ETCDIR}/opensearch-performance-analyzer
-.endif
-
-.for f in ${PLUGINS_CONFIG_FILES}
- ${INSTALL} ${WRKSRC}/config/${f} ${STAGEDIR}${ETCDIR}/${f}.sample
- ${ECHO} "@sample(opensearch,opensearch,640) ${ETCDIR}/${f}.sample" >> ${TMPPLIST}
-.endfor
-.for f in ${PLUGINS_SAMPLE_CONFIG_FILES}
- ${INSTALL} ${WRKSRC}/config/${f}.example ${STAGEDIR}${ETCDIR}/${f}.sample
- ${ECHO} "@(opensearch,opensearch,640) ${ETCDIR}/${f}.sample" >> ${TMPPLIST}
-.endfor
- (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "plugins" ${STAGEDIR}${PREFIX}/lib/opensearch/)
- (cd ${WRKSRC}/plugins/opensearch-security/tools && ${COPYTREE_BIN} "*.sh" ${STAGEDIR}${PREFIX}/lib/opensearch/plugins/opensearch-security/tools)
-
-post-install:
-.for f in ${CONFIG_FILES}
- ${ECHO} "@sample(opensearch,opensearch,640) ${ETCDIR}/${f}.sample" >> ${TMPPLIST}
-.endfor
- ${FIND} -s ${STAGEDIR}${PREFIX}/lib/opensearch -not -type d | ${SORT} | \
- ${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
- ${ECHO} "@dir lib/opensearch/extensions" >> ${TMPPLIST}
- ${ECHO} "@dir libexec/opensearch" >> ${TMPPLIST}
-.if ${PORT_OPTIONS:MPLUGINS}
- ${ECHO} "@dir lib/opensearch/plugins" >> ${TMPPLIST}
- ${ECHO} "@dir(opensearch,opensearch,0750) ${ETCDIR}/opensearch-notifications-core" >> ${TMPPLIST}
- ${ECHO} "@dir(opensearch,opensearch,0750) ${ETCDIR}/opensearch-notifications" >> ${TMPPLIST}
- ${ECHO} "@dir(opensearch,opensearch,0750) ${ETCDIR}/opensearch-observability" >> ${TMPPLIST}
-.if ${PKGNAMESUFFIX} == "210" || ${PKGNAMESUFFIX} == "213" || ${PKGNAMESUFFIX} == "216"
- ${ECHO} "@dir(opensearch,opensearch,0750) ${ETCDIR}/opensearch-performance-analyzer" >> ${TMPPLIST}
-.endif
- ${ECHO} "@dir(opensearch,opensearch,0750) ${ETCDIR}/opensearch-reports-scheduler" >> ${TMPPLIST}
- ${ECHO} "@dir(opensearch,opensearch,0750) ${ETCDIR}/opensearch-security" >> ${TMPPLIST}
-.endif
- ${ECHO} "@dir(opensearch,opensearch,0750) ${ETCDIR}/" >> ${TMPPLIST}
-
-.include <bsd.port.mk>
diff --git a/textproc/opensearch216/distinfo b/textproc/opensearch216/distinfo
deleted file mode 100644
index ed6d901db148..000000000000
--- a/textproc/opensearch216/distinfo
+++ /dev/null
@@ -1,3 +0,0 @@
-TIMESTAMP = 1746824840
-SHA256 (opensearch-2.16.0-linux-x64.tar.gz) = ed0bb23499d38a0e3bd88f8b975b215a643662858500ac05630e292be06f65b2
-SIZE (opensearch-2.16.0-linux-x64.tar.gz) = 904196816
diff --git a/textproc/opensearch216/files/opensearch.in b/textproc/opensearch216/files/opensearch.in
deleted file mode 100644
index 71334ce1ee01..000000000000
--- a/textproc/opensearch216/files/opensearch.in
+++ /dev/null
@@ -1,115 +0,0 @@
-#!/bin/sh
-
-# PROVIDE: opensearch
-# REQUIRE: DAEMON
-# BEFORE: LOGIN
-# KEYWORD: shutdown
-#
-# Add the following line to /etc/rc.conf to enable opensearch:
-#
-# opensearch_enable="YES"
-#
-# opensearch_user (username): Set to opensearch by default.
-# Set it to required username.
-# opensearch_group (group): Set to opensearch by default.
-# Set it to required group.
-# opensearch_config (path): Set to %%PREFIX%%/etc/opensearch/opensearch.yml by default.
-# Set it to the config file location.
-# opensearch_java_home (path): Set to %%JAVA_HOME%% by default.
-# Set it to the root of the JDK to use.
-#
-. /etc/rc.subr
-
-name=opensearch
-rcvar=opensearch_enable
-
-load_rc_config ${name}
-
-: ${opensearch_enable:=NO}
-: ${opensearch_user=opensearch}
-: ${opensearch_group=opensearch}
-: ${opensearch_config=%%PREFIX%%/etc/opensearch}
-: ${opensearch_login_class=root}
-: ${opensearch_java_home="%%JAVA_HOME%%"}
-
-required_files="${opensearch_config}/opensearch.yml"
-_pidprefix=/var/run/opensearch/opensearch
-pidfile=${_pidprefix}.pid
-procname=${opensearch_java_home}/bin/java
-
-extra_commands="console status"
-console_cmd=opensearch_console
-start_precmd=opensearch_precmd
-command=%%PREFIX%%/lib/opensearch/bin/opensearch
-command_args="-d --pidfile=${pidfile}"
-
-export OPENSEARCH_PATH_CONF=${opensearch_config}
-export JAVA_HOME=${opensearch_java_home}
-
-opensearch_precmd()
-{
- /usr/bin/install -d -o ${opensearch_user} -g ${opensearch_group} -m 755 ${pidfile%/*}
- /usr/bin/install -d -o ${opensearch_user} -g ${opensearch_group} -m 755 /var/db/opensearch
- /usr/bin/install -d -o ${opensearch_user} -g ${opensearch_group} -m 755 /var/log/opensearch
-}
-
-opensearch_console()
-{
- command_args=""
- run_rc_command "start"
-}
-
-if [ -n "$2" ]; then
- profile="$2"
- if [ "x${opensearch_profiles}" != "x" ]; then
- eval opensearch_config="\${opensearch_${profile}_config:-}"
- if [ "x${opensearch_config}" = "x" ]; then
- echo "You must define a configuration (opensearch_${profile}_config)"
- exit 1
- fi
- export OPENSEARCH_PATH_CONF=${opensearch_config}
- required_files="${opensearch_config}/opensearch.yml"
- required_files="${opensearch_config}/jvm.options"
- eval opensearch_enable="\${opensearch_${profile}_enable:-${opensearch_enable}}"
- pidfile="${_pidprefix}.${profile}.pid"
- command_args="-d --pidfile=${pidfile}"
- echo "===> opensearch profile: ${profile}"
- else
- echo "$0: extra argument ignored"
- fi
-else
- if [ "x${opensearch_profiles}" != "x" -a "x$1" != "x" ]; then
- for profile in ${opensearch_profiles}; do
- eval _enable="\${opensearch_${profile}_enable}"
- case "x${_enable:-${opensearch_enable}}" in
- x|x[Nn][Oo]|x[Nn][Oo][Nn][Ee])
- continue
- ;;
- x[Yy][Ee][Ss])
- ;;
- *)
- if test -z "$_enable"; then
- _var=opensearch_enable
- else
- _var=opensearch_"${profile}"_enable
- fi
- echo "Bad value" \
- "'${_enable:-${opensearch_enable}}'" \
- "for ${_var}. " \
- "Profile ${profile} skipped."
- continue
- ;;
- esac
- %%PREFIX%%/etc/rc.d/opensearch $1 ${profile}
- retcode="$?"
- if [ "0${retcode}" -ne 0 ]; then
- failed="${profile} (${retcode}) ${failed:-}"
- else
- success="${profile} ${success:-}"
- fi
- done
- exit 0
- fi
-fi
-
-run_rc_command "$1"
diff --git a/textproc/opensearch216/files/patch-config_jvm.options b/textproc/opensearch216/files/patch-config_jvm.options
deleted file mode 100644
index f6276944b6db..000000000000
--- a/textproc/opensearch216/files/patch-config_jvm.options
+++ /dev/null
@@ -1,23 +0,0 @@
---- config/jvm.options.orig 2021-07-30 14:01:34 UTC
-+++ config/jvm.options
-@@ -61,17 +61,17 @@
- -XX:HeapDumpPath=data
-
- # specify an alternative path for JVM fatal error logs
---XX:ErrorFile=logs/hs_err_pid%p.log
-+-XX:ErrorFile=/hs_err_pid%p.log
-
- ## JDK 8 GC logging
- 8:-XX:+PrintGCDetails
- 8:-XX:+PrintGCDateStamps
- 8:-XX:+PrintTenuringDistribution
- 8:-XX:+PrintGCApplicationStoppedTime
--8:-Xloggc:logs/gc.log
-+8:-Xloggc:${OPENSEARCH_TMPDIR}/gc.log
- 8:-XX:+UseGCLogFileRotation
- 8:-XX:NumberOfGCLogFiles=32
- 8:-XX:GCLogFileSize=64m
-
- # JDK 9+ GC logging
--9-:-Xlog:gc*,gc+age=trace,safepoint:file=logs/gc.log:utctime,pid,tags:filecount=32,filesize=64m
-+9-:-Xlog:gc*,gc+age=trace,safepoint:file=${OPENSEARCH_TMPDIR}/gc.log:utctime,pid,tags:filecount=32,filesize=64m
diff --git a/textproc/opensearch216/files/patch-config_opensearch.yml b/textproc/opensearch216/files/patch-config_opensearch.yml
deleted file mode 100644
index f5aa3ed1a80e..000000000000
--- a/textproc/opensearch216/files/patch-config_opensearch.yml
+++ /dev/null
@@ -1,15 +0,0 @@
---- config/opensearch.yml.orig 2021-07-02 23:22:08 UTC
-+++ config/opensearch.yml
-@@ -31,10 +31,12 @@
- # Path to directory where to store the data (separate multiple locations by comma):
- #
- #path.data: /path/to/data
-+path.data: /var/db/opensearch
- #
- # Path to log files:
- #
- #path.logs: /path/to/logs
-+path.logs: /var/log/opensearch
- #
- # ----------------------------------- Memory -----------------------------------
- #
diff --git a/textproc/opensearch216/files/pkg-message.in b/textproc/opensearch216/files/pkg-message.in
deleted file mode 100644
index c08de567504c..000000000000
--- a/textproc/opensearch216/files/pkg-message.in
+++ /dev/null
@@ -1,27 +0,0 @@
-[
-{ type: install
- message: <<EOM
-Opensearch was installed
-
-Please see %%ETCDIR%% for a sample version of
-opensearch.yml.
-
-OpenSearch requires memory locking of large amounts of RAM.
-You may need to set:
-
-sysctl security.bsd.unprivileged_mlock=1
-
-When running within a jail, it's highly advisable to set:
-
-enforce_statfs = 1
-
-for the jail running opensearch instance.
-
-If OpenSearch was built with the PLUGINS option enabled (default) it will not
-start until the security plugin is properly configured. Please refer to the
-OpenSearch documentation for setting-up TLS:
-
-https://opensearch.org/docs/security-plugin/configuration/tls
-EOM
-}
-]
diff --git a/textproc/opensearch216/pkg-descr b/textproc/opensearch216/pkg-descr
deleted file mode 100644
index 8d97bcb3176a..000000000000
--- a/textproc/opensearch216/pkg-descr
+++ /dev/null
@@ -1,2 +0,0 @@
-OpenSearch is a fork of Elasticsearch which aims to be a Distributed,
-RESTful, Search Engine built on top of Apache Lucene.