git: 36337ab152ea - main - textproc/opensearch-*: Update to 2.4.1

From: Jose Alonso Cardenas Marquez <acm_at_FreeBSD.org>
Date: Thu, 30 Mar 2023 14:10:13 UTC
The branch main has been updated by acm:

URL: https://cgit.FreeBSD.org/ports/commit/?id=36337ab152ea647b2852991cf40533c14a111f84

commit 36337ab152ea647b2852991cf40533c14a111f84
Author:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
AuthorDate: 2023-03-30 14:03:33 +0000
Commit:     Jose Alonso Cardenas Marquez <acm@FreeBSD.org>
CommitDate: 2023-03-30 14:10:02 +0000

    textproc/opensearch-*: Update to 2.4.1
    
    - Fix issues when it is packaged with PLUGINS=off [1]
    PR:             269909
    Reported by:    bsd  at_ abinet.ru [1]
    With hat:       opensearch
---
 textproc/opensearch-dashboards/Makefile | 2 +-
 textproc/opensearch-dashboards/distinfo | 6 +++---
 textproc/opensearch/Makefile            | 4 +++-
 textproc/opensearch/distinfo            | 6 +++---
 4 files changed, 10 insertions(+), 8 deletions(-)

diff --git a/textproc/opensearch-dashboards/Makefile b/textproc/opensearch-dashboards/Makefile
index 1a6489a29b3a..194efe5e37d0 100644
--- a/textproc/opensearch-dashboards/Makefile
+++ b/textproc/opensearch-dashboards/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	opensearch-dashboards
-DISTVERSION=	2.4.0
+DISTVERSION=	2.4.1
 DISTVERSIONSUFFIX=	-linux-x64
 CATEGORIES=	textproc www
 MASTER_SITES=	https://artifacts.opensearch.org/releases/bundle/${PORTNAME}/${DISTVERSION}/
diff --git a/textproc/opensearch-dashboards/distinfo b/textproc/opensearch-dashboards/distinfo
index d902b030c0ad..08f968476cc8 100644
--- a/textproc/opensearch-dashboards/distinfo
+++ b/textproc/opensearch-dashboards/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1670264361
-SHA256 (opensearch-dashboards-2.4.0-linux-x64.tar.gz) = d4e73f4e4cb37b8c6cc3a6798622dc0d3967f65ab14852e7adf18f49be988e90
-SIZE (opensearch-dashboards-2.4.0-linux-x64.tar.gz) = 297224081
+TIMESTAMP = 1680109209
+SHA256 (opensearch-dashboards-2.4.1-linux-x64.tar.gz) = 373d078f4cf32c80af76106215276199cdb584259cd94f3fb1a4829257a8b1d5
+SIZE (opensearch-dashboards-2.4.1-linux-x64.tar.gz) = 354289090
diff --git a/textproc/opensearch/Makefile b/textproc/opensearch/Makefile
index 33af45ab31f4..ebab253d09d4 100644
--- a/textproc/opensearch/Makefile
+++ b/textproc/opensearch/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	opensearch
-DISTVERSION=	2.4.0
+DISTVERSION=	2.4.1
 DISTVERSIONSUFFIX=	-linux-x64
 CATEGORIES=	textproc java devel
 MASTER_SITES=	https://artifacts.opensearch.org/releases/bundle/${PORTNAME}/${DISTVERSION}/
@@ -127,7 +127,9 @@ post-install:
 .endfor
 	${FIND} -s ${STAGEDIR}${PREFIX}/lib/opensearch -not -type d | ${SORT} | \
 		${SED} -e 's#^${STAGEDIR}${PREFIX}/##' >> ${TMPPLIST}
+.if ${PORT_OPTIONS:MPLUGINS}
 	${ECHO} "@dir lib/opensearch/plugins" >> ${TMPPLIST}
+.endif
 	${ECHO} "@dir libexec/opensearch" >> ${TMPPLIST}
 	${ECHO} "@dir(opensearch,opensearch,0755) ${ETCDIR}" >> ${TMPPLIST}
 
diff --git a/textproc/opensearch/distinfo b/textproc/opensearch/distinfo
index ea1c74162e67..ae3aba88fe84 100644
--- a/textproc/opensearch/distinfo
+++ b/textproc/opensearch/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1670264313
-SHA256 (opensearch-2.4.0-linux-x64.tar.gz) = 82bee5f68ea3d74a7d835d35f1479509b8497d01c1ae758a4737f5ea799e38e8
-SIZE (opensearch-2.4.0-linux-x64.tar.gz) = 556689176
+TIMESTAMP = 1680109125
+SHA256 (opensearch-2.4.1-linux-x64.tar.gz) = f2b71818ad84cdab1b736211efbdd79d33835a92d46f66a237fa1182d012410d
+SIZE (opensearch-2.4.1-linux-x64.tar.gz) = 556735165