git: 4c7f4ca7dbbc - main - textproc/opensearch-dashboards13: Update to 1.3.10 and mark BROKEN

From: Romain Tartière <romain_at_FreeBSD.org>
Date: Sun, 21 May 2023 20:02:51 UTC
The branch main has been updated by romain:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4c7f4ca7dbbc8595eee3759e1194fc3690a5dbf0

commit 4c7f4ca7dbbc8595eee3759e1194fc3690a5dbf0
Author:     Romain Tartière <romain@FreeBSD.org>
AuthorDate: 2023-05-21 18:12:56 +0000
Commit:     Romain Tartière <romain@FreeBSD.org>
CommitDate: 2023-05-21 20:01:20 +0000

    textproc/opensearch-dashboards13: Update to 1.3.10 and mark BROKEN
    
      - Fix PKGNAMESUFFIX (bumped by mistake instead of PORTREVISION when
        marking the port as expired because it depends on node14 which has
        reached EOL);
      - Mark BROKEN: while the port depend on node14, the code in fact need
        node10 which was removed a long time ago.  If we tweak the code to
        ignore the wrong version, opensearch-dashboards still does not start
        due to the code not being compatible with node14;
      - All these problems already existed with the previous version of
        textproc/opensearch-dashboards13, so this change basically only mark
        the port broken.  Instead of bumping PORTREVISION, I updated the
        version in case support for current nodejs is brought to
        opensearch-dashboards 1.x but does not count much on it.
    
    Release notes:
    https://github.com/opensearch-project/opensearch-build/blob/main/release-notes/opensearch-release-notes-1.3.10.md
    
    With hat:       opensearch
---
 textproc/opensearch-dashboards13/Makefile | 6 +++---
 textproc/opensearch-dashboards13/distinfo | 6 +++---
 2 files changed, 6 insertions(+), 6 deletions(-)

diff --git a/textproc/opensearch-dashboards13/Makefile b/textproc/opensearch-dashboards13/Makefile
index 4f484112412a..75255bbaa5d6 100644
--- a/textproc/opensearch-dashboards13/Makefile
+++ b/textproc/opensearch-dashboards13/Makefile
@@ -1,9 +1,9 @@
 PORTNAME=	opensearch-dashboards
-DISTVERSION=	1.3.9
+DISTVERSION=	1.3.10
 DISTVERSIONSUFFIX=	-linux-x64
 CATEGORIES=	textproc www
 MASTER_SITES=	https://artifacts.opensearch.org/releases/bundle/${PORTNAME}/${DISTVERSION}/
-PKGNAMESUFFIX=	14
+PKGNAMESUFFIX=	13
 
 MAINTAINER=	opensearch@FreeBSD.org
 COMMENT?=	Visualization dashboards for OpenSearch
@@ -12,6 +12,7 @@ WWW=		https://opensearch.org
 LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
+BROKEN=		does not start with node14: wants node10 and fail with: TypeError: Cannot set property 'writecb' of undefined
 DEPRECATED=	Requires upstream EOL node14
 EXPIRATION_DATE=	2023-05-26
 
@@ -35,7 +36,6 @@ _DEVDIR=	${WRKDIR}/.devdir
 
 post-patch:
 	@${REINPLACE_CMD} -e 's|%%PREFIX%%|${PREFIX}|' -e 's|%%LOCALBASE%%|${LOCALBASE}|' -e 's|%%WRKSRC%%|${WRKSRC}|' \
-		${WRKSRC}/bin/opensearch-dashboards \
 		${WRKSRC}/bin/opensearch-dashboards-keystore \
 		${WRKSRC}/bin/opensearch-dashboards-plugin \
 		${WRKSRC}/node_modules/re2/binding.gyp
diff --git a/textproc/opensearch-dashboards13/distinfo b/textproc/opensearch-dashboards13/distinfo
index bdbafbc80015..cf040883f724 100644
--- a/textproc/opensearch-dashboards13/distinfo
+++ b/textproc/opensearch-dashboards13/distinfo
@@ -1,3 +1,3 @@
-TIMESTAMP = 1681596241
-SHA256 (opensearch-dashboards-1.3.9-linux-x64.tar.gz) = 31069fc9f4eb19e4c2335c41e31c92d93c71885a900362f93f388d7be0afc6d5
-SIZE (opensearch-dashboards-1.3.9-linux-x64.tar.gz) = 164764900
+TIMESTAMP = 1684555461
+SHA256 (opensearch-dashboards-1.3.10-linux-x64.tar.gz) = da23780ef640216a579f7ca6e8bbbb765d4edc7f2d9d523c466909f100d4d46e
+SIZE (opensearch-dashboards-1.3.10-linux-x64.tar.gz) = 164796154