git: 657588cb9e73 - main - textproc/opensearch-dashboards: fix PLIST issue

From: Matthias Fechner <mfechner_at_FreeBSD.org>
Date: Thu, 01 Feb 2024 08:48:57 UTC
The branch main has been updated by mfechner:

URL: https://cgit.FreeBSD.org/ports/commit/?id=657588cb9e73404717c5de3bf4e1a769f2882637

commit 657588cb9e73404717c5de3bf4e1a769f2882637
Author:     Matthias Fechner <mfechner@FreeBSD.org>
AuthorDate: 2024-02-01 08:47:07 +0000
Commit:     Matthias Fechner <mfechner@FreeBSD.org>
CommitDate: 2024-02-01 08:48:49 +0000

    textproc/opensearch-dashboards: fix PLIST issue
    
    Fixes the following warnings:
    ====> Running Q/A tests (stage-qa)
    ====> Checking for pkg-plist issues (check-plist)
    ===> Parsing plist
    ===> Checking for items in STAGEDIR missing from pkg-plist
    Error: Orphaned: @dir %%WWWDIR%%/plugins/observabilityDashboards/server/adaptors/integrations/__test__
    Error: Orphaned: @dir %%WWWDIR%%/plugins/observabilityDashboards/server/adaptors/integrations/repository/__test__
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/Alerts/components/AlertFlyout
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/CreateDetector/components/ConfigureAlerts/components/AlertCondition
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/AlertTriggerView
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/DetectorBasicDetailsView
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/DetectorRulesView
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/FieldMappingsView
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/UpdateAlertConditions
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/UpdateDetectorBasicDetails
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/UpdateDetectorRules
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/UpdateFieldMappings
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/Detectors/containers/AlertTriggersView
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/Detectors/containers/DetectorDetails
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/Detectors/containers/DetectorDetailsView
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/Detectors/containers/Detectors
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/Detectors/containers/EditFieldMappings
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/Rules/components/DeleteModal
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/Rules/components/RuleEditor/components
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityAnalyticsDashboards/test/mocks/Rules/components/RulesTable
    Error: Orphaned: @dir %%WWWDIR%%/plugins/securityDashboards/server/multitenancy/test
    ===> Checking for items in pkg-plist which are not in STAGEDIR
    ===> Error: Plist issues found.
---
 textproc/opensearch-dashboards/Makefile | 22 ++++++++++++++++++++++
 1 file changed, 22 insertions(+)

diff --git a/textproc/opensearch-dashboards/Makefile b/textproc/opensearch-dashboards/Makefile
index beea4f1ec306..c95f92b6a754 100644
--- a/textproc/opensearch-dashboards/Makefile
+++ b/textproc/opensearch-dashboards/Makefile
@@ -55,5 +55,27 @@ post-install:
 	${ECHO} "@dir ${WWWDIR}/plugins/reportsDashboards/node_modules/set-interval-async/test/resources/dynamic" >> ${TMPPLIST}
 	${ECHO} "@dir ${WWWDIR}/plugins/reportsDashboards/node_modules/set-interval-async/examples/fixed" >> ${TMPPLIST}
 	${ECHO} "@dir ${WWWDIR}/plugins/reportsDashboards/node_modules/set-interval-async/examples/dynamic" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/observabilityDashboards/server/adaptors/integrations/__test__" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/observabilityDashboards/server/adaptors/integrations/repository/__test__" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Alerts/components/AlertFlyout" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/CreateDetector/components/ConfigureAlerts/components/AlertCondition" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/AlertTriggerView" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/DetectorBasicDetailsView" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/DetectorRulesView" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/FieldMappingsView" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/UpdateAlertConditions" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/UpdateDetectorBasicDetails" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/UpdateDetectorRules" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/components/UpdateFieldMappings" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/containers/AlertTriggersView" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/containers/DetectorDetails" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/containers/DetectorDetailsView" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/containers/Detectors" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Detectors/containers/EditFieldMappings" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Rules/components/DeleteModal" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Rules/components/RuleEditor/components" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityAnalyticsDashboards/test/mocks/Rules/components/RulesTable" >> ${TMPPLIST}
+	${ECHO} "@dir ${WWWDIR}/plugins/securityDashboards/server/multitenancy/test" >> ${TMPPLIST}
+
 
 .include <bsd.port.mk>