pkgsrc-WIP-changes archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
prometheus-lts: Complete the build
Module Name: pkgsrc-wip
Committed By: Leonardo Taccari <leot%NetBSD.org@localhost>
Pushed By: leot
Date: Mon Mar 16 16:49:30 2026 +0100
Changeset: a0ad3e4677e244f7a9c9023194a44210e8e04519
Modified Files:
prometheus-lts/Makefile
prometheus-lts/PLIST
prometheus-lts/TODO
Log Message:
prometheus-lts: Complete the build
go-module.mk redefine EXTRACT_ONLY and so the PROMETHEUS_WEB_UI was
never extracted. Define EXTRACT_ONLY to address that.
To see a diff of this commit:
https://wip.pkgsrc.org/cgi-bin/gitweb.cgi?p=pkgsrc-wip.git;a=commitdiff;h=a0ad3e4677e244f7a9c9023194a44210e8e04519
Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.
diffstat:
prometheus-lts/Makefile | 8 +++++
prometheus-lts/PLIST | 91 +++++++++----------------------------------------
prometheus-lts/TODO | 3 +-
3 files changed, 26 insertions(+), 76 deletions(-)
diffs:
diff --git a/prometheus-lts/Makefile b/prometheus-lts/Makefile
index 043997a29e..a48a2f23ff 100644
--- a/prometheus-lts/Makefile
+++ b/prometheus-lts/Makefile
@@ -16,6 +16,7 @@ LICENSE= apache-2.0
PROMETHEUS_WEB_UI= prometheus-web-ui-3.5.1.tar.gz
SITES.${PROMETHEUS_WEB_UI}= https://github.com/prometheus/prometheus/releases/download/v3.5.1/
DISTFILES= ${DEFAULT_DISTFILES} ${PROMETHEUS_WEB_UI}
+EXTRACT_ONLY= ${DEFAULT_DISTFILES} ${PROMETHEUS_WEB_UI}
GO_DIST_BASE= ${DISTNAME}
GO_SRCPATH= github.com/prometheus/prometheus
@@ -55,6 +56,13 @@ INSTALLATION_DIRS+= ${EXAMPLE_DIR} ${WEBUI_DIR}
CONF_FILES+= ${EXAMPLE_DIR}/${f} ${PKG_SYSCONFDIR}/${f}
.endfor
+post-extract:
+ ${CHMOD} -x ${WRKDIR}/static/react-app/favicon.ico ${WRKDIR}/static/react-app/manifest.json
+ ${MKDIR} ${WRKSRC}/web/ui/static
+.for d in mantine-ui react-app
+ ${CP} -R ${WRKDIR}/static/${d} ${WRKSRC}/web/ui/static
+.endfor
+
do-build:
.for f in prometheus promtool
${RUN} cd ${WRKSRC} && ${_ULIMIT_CMD} ${PKGSRC_SETENV} ${MAKE_ENV} \
diff --git a/prometheus-lts/PLIST b/prometheus-lts/PLIST
index 497cf99835..e8bbdd3449 100644
--- a/prometheus-lts/PLIST
+++ b/prometheus-lts/PLIST
@@ -1,78 +1,21 @@
@comment $NetBSD$
bin/prometheus
bin/promtool
-share/examples/prometheus/console_libraries/menu.lib
-share/examples/prometheus/console_libraries/prom.lib
-share/examples/prometheus/consoles/index.html.example
-share/examples/prometheus/consoles/node-cpu.html
-share/examples/prometheus/consoles/node-disk.html
-share/examples/prometheus/consoles/node-overview.html
-share/examples/prometheus/consoles/node.html
-share/examples/prometheus/consoles/prometheus-overview.html
-share/examples/prometheus/consoles/prometheus.html
share/examples/prometheus/prometheus.yml
-share/prometheus/static/css/prom_console.css
-share/prometheus/static/js/prom_console.js
-share/prometheus/static/react/asset-manifest.json
-share/prometheus/static/react/favicon.ico
-share/prometheus/static/react/index.html
-share/prometheus/static/react/manifest.json
-share/prometheus/static/react/static/css/main.4858e794.css
-share/prometheus/static/react/static/js/main.aed3c73f.js
-share/prometheus/static/react/static/js/main.aed3c73f.js.LICENSE.txt
-share/prometheus/static/react/static/media/codicon.b3726f0165bf67ac6849.ttf
-share/prometheus/static/react/static/media/index.cd351d7c31d0d3fccf96.cjs
-share/prometheus/static/react/static/media/prometheus_logo_grey.3cf697e5443028ca5e5255b93c7906c5.svg
-share/prometheus/static/vendor/bootstrap-4.5.2/css/bootstrap-grid.css
-share/prometheus/static/vendor/bootstrap-4.5.2/css/bootstrap-grid.css.map
-share/prometheus/static/vendor/bootstrap-4.5.2/css/bootstrap-grid.min.css
-share/prometheus/static/vendor/bootstrap-4.5.2/css/bootstrap-grid.min.css.map
-share/prometheus/static/vendor/bootstrap-4.5.2/css/bootstrap-reboot.css
-share/prometheus/static/vendor/bootstrap-4.5.2/css/bootstrap-reboot.css.map
-share/prometheus/static/vendor/bootstrap-4.5.2/css/bootstrap-reboot.min.css
-share/prometheus/static/vendor/bootstrap-4.5.2/css/bootstrap-reboot.min.css.map
-share/prometheus/static/vendor/bootstrap-4.5.2/css/bootstrap.css
-share/prometheus/static/vendor/bootstrap-4.5.2/css/bootstrap.css.map
-share/prometheus/static/vendor/bootstrap-4.5.2/css/bootstrap.min.css
-share/prometheus/static/vendor/bootstrap-4.5.2/css/bootstrap.min.css.map
-share/prometheus/static/vendor/bootstrap-4.5.2/js/bootstrap.bundle.js
-share/prometheus/static/vendor/bootstrap-4.5.2/js/bootstrap.bundle.js.map
-share/prometheus/static/vendor/bootstrap-4.5.2/js/bootstrap.bundle.min.js
-share/prometheus/static/vendor/bootstrap-4.5.2/js/bootstrap.bundle.min.js.map
-share/prometheus/static/vendor/bootstrap-4.5.2/js/bootstrap.js
-share/prometheus/static/vendor/bootstrap-4.5.2/js/bootstrap.js.map
-share/prometheus/static/vendor/bootstrap-4.5.2/js/bootstrap.min.js
-share/prometheus/static/vendor/bootstrap-4.5.2/js/bootstrap.min.js.map
-share/prometheus/static/vendor/bootstrap4-glyphicons/css/bootstrap-glyphicons.css
-share/prometheus/static/vendor/bootstrap4-glyphicons/css/bootstrap-glyphicons.min.css
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/fontawesome/fa-brands-400.eot
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/fontawesome/fa-brands-400.svg
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/fontawesome/fa-brands-400.ttf
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/fontawesome/fa-brands-400.woff
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/fontawesome/fa-brands-400.woff2
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/fontawesome/fa-regular-400.eot
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/fontawesome/fa-regular-400.svg
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/fontawesome/fa-regular-400.ttf
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/fontawesome/fa-regular-400.woff
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/fontawesome/fa-regular-400.woff2
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/fontawesome/fa-solid-900.eot
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/fontawesome/fa-solid-900.svg
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/fontawesome/fa-solid-900.ttf
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/fontawesome/fa-solid-900.woff
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/fontawesome/fa-solid-900.woff2
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/glyphicons/glyphicons-halflings-regular.eot
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/glyphicons/glyphicons-halflings-regular.svg
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/glyphicons/glyphicons-halflings-regular.ttf
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/glyphicons/glyphicons-halflings-regular.woff
-share/prometheus/static/vendor/bootstrap4-glyphicons/fonts/glyphicons/glyphicons-halflings-regular.woff2
-share/prometheus/static/vendor/bootstrap4-glyphicons/maps/glyphicons-fontawesome.css
-share/prometheus/static/vendor/bootstrap4-glyphicons/maps/glyphicons-fontawesome.less
-share/prometheus/static/vendor/bootstrap4-glyphicons/maps/glyphicons-fontawesome.min.css
-share/prometheus/static/vendor/js/jquery-3.5.1.min.js
-share/prometheus/static/vendor/js/jquery.hotkeys.js
-share/prometheus/static/vendor/js/jquery.selection.js
-share/prometheus/static/vendor/js/popper.min.js
-share/prometheus/static/vendor/rickshaw/rickshaw.min.css
-share/prometheus/static/vendor/rickshaw/rickshaw.min.js
-share/prometheus/static/vendor/rickshaw/vendor/d3.layout.min.js
-share/prometheus/static/vendor/rickshaw/vendor/d3.v3.js
+share/prometheus/static/mantine-ui/assets/codicon-B_nZgZYP.ttf
+share/prometheus/static/mantine-ui/assets/index-BGNavk_Y.js
+share/prometheus/static/mantine-ui/assets/index-BcytBn6b.css
+share/prometheus/static/mantine-ui/favicon.svg
+share/prometheus/static/mantine-ui/index.html
+share/prometheus/static/react-app/asset-manifest.json
+share/prometheus/static/react-app/favicon.ico
+share/prometheus/static/react-app/index.html
+share/prometheus/static/react-app/manifest.json
+share/prometheus/static/react-app/static/css/main.953e44df.css
+share/prometheus/static/react-app/static/css/main.953e44df.css.map
+share/prometheus/static/react-app/static/js/main.b88eb747.js
+share/prometheus/static/react-app/static/js/main.b88eb747.js.LICENSE.txt
+share/prometheus/static/react-app/static/js/main.b88eb747.js.map
+share/prometheus/static/react-app/static/media/codicon.b3726f0165bf67ac6849.ttf
+share/prometheus/static/react-app/static/media/index.f6d03137e8c9dd0de04c.cjs
+share/prometheus/static/react-app/static/media/prometheus_logo_grey.3cf697e5443028ca5e5255b93c7906c5.svg
diff --git a/prometheus-lts/TODO b/prometheus-lts/TODO
index f8957a3fe9..0af19ec8c7 100644
--- a/prometheus-lts/TODO
+++ b/prometheus-lts/TODO
@@ -1,2 +1 @@
-- PROMETHEUS_WEB_UI seems not extracted, investigate why...
- Install fails later due that.
+- Test it for real and double-check that the Web UI also works
Home |
Main Index |
Thread Index |
Old Index