Page MenuHomeFreeBSD

D50236.diff
No OneTemporary

D50236.diff

Index: textproc/opensearch/Makefile
===================================================================
--- textproc/opensearch/Makefile
+++ textproc/opensearch/Makefile
@@ -1,6 +1,5 @@
PORTNAME= opensearch
-DISTVERSION?= 2.17.1
-PORTREVISION?= 1
+DISTVERSION?= 3.0.0
DISTVERSIONSUFFIX= -linux-x64
CATEGORIES= textproc java devel
MASTER_SITES= https://artifacts.opensearch.org/releases/bundle/${PORTNAME}/${DISTVERSION}/
@@ -19,7 +18,7 @@
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 \
@@ -68,7 +67,6 @@
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
@@ -104,7 +102,7 @@
.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
Index: textproc/opensearch/distinfo
===================================================================
--- textproc/opensearch/distinfo
+++ textproc/opensearch/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1728915409
-SHA256 (opensearch-2.17.1-linux-x64.tar.gz) = f66ed5b7ec7848f38102a54bf3c82e7d29aa86f02209c9ce8bb6cbe375f30a25
-SIZE (opensearch-2.17.1-linux-x64.tar.gz) = 908618130
+TIMESTAMP = 1746608948
+SHA256 (opensearch-3.0.0-linux-x64.tar.gz) = d98c60bf7d75b8b4257b2421dd22b89155e87be4b509da6a4e1136cf62e0b155
+SIZE (opensearch-3.0.0-linux-x64.tar.gz) = 978590132
Index: textproc/opensearch/files/patch-config_jvm.options
===================================================================
--- textproc/opensearch/files/patch-config_jvm.options
+++ textproc/opensearch/files/patch-config_jvm.options
@@ -1,14 +1,14 @@
---- config/jvm.options.orig 2021-07-30 14:01:34 UTC
-+++ config/jvm.options
-@@ -61,17 +61,17 @@
- -XX:HeapDumpPath=data
-
+--- config/jvm.options.orig 2025-05-07 10:32:22.307821000 +0000
++++ config/jvm.options 2025-05-07 10:32:33.106876000 +0000
+@@ -58,7 +58,6 @@
+
+ # specify an alternative path for heap dumps; ensure the directory exists and
+ # has sufficient space
+--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
+ -XX:ErrorFile=logs/hs_err_pid%p.log
+@@ -68,13 +67,13 @@
8:-XX:+PrintGCDateStamps
8:-XX:+PrintTenuringDistribution
8:-XX:+PrintGCApplicationStoppedTime
@@ -17,7 +17,15 @@
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
+
+ # JDK 20+ Incubating Vector Module for SIMD optimizations;
+ # disabling may reduce performance on vector optimized lucene
+@@ -85,4 +84,3 @@
+ 23:-XX:CompileCommand=dontinline,java/lang/invoke/MethodHandle.asTypeUncached
+
+ 21-:-javaagent:agent/opensearch-agent.jar
+-21-:--add-opens=java.base/java.nio=org.apache.arrow.memory.core,ALL-UNNAMED

File Metadata

Mime Type
text/plain
Expires
Tue, Sep 1, 4:13 PM (54 m, 5 s)
Storage Engine
blob
Storage Format
Raw Data
Storage Handle
37837603
Default Alt Text
D50236.diff (3 KB)

Event Timeline