Skip to content

Commit

Permalink
textproc/opensearch-dashboards13: Update to 1.3.10 and mark BROKEN
Browse files Browse the repository at this point in the history
  - 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
  • Loading branch information
smortex committed May 21, 2023
1 parent 8dd336d commit 4c7f4ca
Show file tree
Hide file tree
Showing 2 changed files with 6 additions and 6 deletions.
6 changes: 3 additions & 3 deletions 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
Expand All @@ -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

Expand All @@ -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
Expand Down
6 changes: 3 additions & 3 deletions 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

0 comments on commit 4c7f4ca

Please sign in to comment.