diff options
Diffstat (limited to 'textproc/opensearch/Makefile')
-rw-r--r-- | textproc/opensearch/Makefile | 26 |
1 files changed, 13 insertions, 13 deletions
diff --git a/textproc/opensearch/Makefile b/textproc/opensearch/Makefile index 2615dd2843a5..bee0179adbdc 100644 --- a/textproc/opensearch/Makefile +++ b/textproc/opensearch/Makefile @@ -1,7 +1,7 @@ PORTNAME= opensearch -DISTVERSION?= 2.17.1 -PORTREVISION?= 1 +DISTVERSION?= 3.0.0 DISTVERSIONSUFFIX= -linux-x64 +PORTREVISION?= 0 CATEGORIES= textproc java devel MASTER_SITES= https://artifacts.opensearch.org/releases/bundle/${PORTNAME}/${DISTVERSION}/ PKGNAMESUFFIX?= # @@ -16,10 +16,8 @@ BUILD_DEPENDS= jna>0:devel/jna RUN_DEPENDS= bash>0:shells/bash \ jna>0:devel/jna -CONFLICTS?= opensearch13 opensearch210 opensearch213 opensearch216 - USES= cpe java shebangfix -JAVA_VERSION= 17+ +JAVA_VERSION= 21+ USE_RC_SUBR= ${PORTNAME} SHEBANG_FILES= bin/opensearch bin/opensearch-cli \ @@ -31,8 +29,10 @@ SHEBANG_FILES= bin/opensearch bin/opensearch-cli \ plugins/opensearch-security/tools/install_demo_configuration.sh \ plugins/opensearch-security/tools/securityadmin.sh +CONFLICTS?= opensearch13 opensearch210 opensearch213 opensearch216 + NO_BUILD= yes -WRKSRC= ${WRKDIR}/${PORTNAME}-${PORTVERSION} +WRKSRC= ${WRKDIR}/${PORTNAME}-${DISTVERSION} OPTIONS_DEFINE= PLUGINS OPTIONS_DEFAULT=PLUGINS @@ -41,7 +41,7 @@ OPTIONS_DEFAULT=PLUGINS CONFIG_FILES= opensearch.yml jvm.options log4j2.properties -PLUGINS_CONFIG_FILES?= \ +PLUGINS_CONFIG_FILES?= \ opensearch-notifications-core/notifications-core.yml \ opensearch-notifications/notifications.yml \ opensearch-observability/observability.yml @@ -55,9 +55,10 @@ PLUGINS_CONFIG_FILES+= \ 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 + opensearch-performance-analyzer/supervisord.conf \ + opensearch-security/whitelist.yml .endif -PLUGINS_CONFIG_FILES+= \ +PLUGINS_CONFIG_FILES+= \ opensearch-reports-scheduler/reports-scheduler.yml \ opensearch-security/action_groups.yml \ opensearch-security/allowlist.yml \ @@ -67,13 +68,12 @@ PLUGINS_CONFIG_FILES+= \ opensearch-security/nodes_dn.yml \ opensearch-security/roles.yml \ opensearch-security/roles_mapping.yml \ - opensearch-security/tenants.yml \ - opensearch-security/whitelist.yml + opensearch-security/tenants.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= \ +PLUGINS_SAMPLE_CONFIG_FILES= \ opensearch-security/opensearch.yml BINS= opensearch opensearch-cli opensearch-env \ @@ -104,7 +104,7 @@ do-install: .endfor ${MKDIR} ${STAGEDIR}${PREFIX}/lib/opensearch/extensions ${MKDIR} ${STAGEDIR}${PREFIX}/lib/opensearch/lib - (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "lib modules" ${STAGEDIR}${PREFIX}/lib/opensearch/) + (cd ${WRKSRC}/ && ${COPYTREE_SHARE} "agent 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 |