chronograf: update to 1.10.1, makedepends on nodejs, python3
This commit is contained in:
parent
ebf39d7927
commit
a492344d36
|
@ -0,0 +1,11 @@
|
|||
--- a/package.json 2023-05-11 10:30:54.448958871 -0400
|
||||
+++ b/package.json 2023-05-11 10:31:44.786945716 -0400
|
||||
@@ -32,5 +32,8 @@
|
||||
"process": "^0.11.10",
|
||||
"querystring-es3": "^0.2.1",
|
||||
"util": "^0.12.4"
|
||||
+ },
|
||||
+ "resolutions": {
|
||||
+ "lmdb": "^2.8.0"
|
||||
}
|
||||
}
|
|
@ -0,0 +1,10 @@
|
|||
--- a/Makefile 2023-05-09 14:10:03.975291850 -0400
|
||||
+++ b/Makefile 2023-05-09 14:13:17.400831107 -0400
|
||||
@@ -72,7 +72,7 @@
|
||||
ifndef YARN
|
||||
$(error Please install yarn 1.19.1+)
|
||||
else
|
||||
- cd ui && yarn --no-progress --no-emoji
|
||||
+ cd ui && yarn --no-progress --no-emoji --ignore-scripts
|
||||
@touch .jsdep
|
||||
endif
|
|
@ -1,19 +1,19 @@
|
|||
# Template file for 'chronograf'
|
||||
pkgname=chronograf
|
||||
version=1.9.4
|
||||
revision=2
|
||||
version=1.10.1
|
||||
revision=1
|
||||
build_style=go
|
||||
go_import_path="github.com/influxdata/${pkgname}"
|
||||
go_package="${go_import_path}/cmd/chronograf"
|
||||
go_ldflags="-X main.version=${version}"
|
||||
hostmakedepends="dep go-bindata nodejs-lts yarn"
|
||||
hostmakedepends="dep go-bindata nodejs yarn python3"
|
||||
short_desc="Open source monitoring and visualization UI for the TICK stack"
|
||||
maintainer="Michael Aldridge <maldridge@voidlinux.org>"
|
||||
license="AGPL-3.0-or-later"
|
||||
homepage="https://www.influxdata.com/time-series-platform/chronograf/"
|
||||
distfiles="https://github.com/influxdata/${pkgname}/archive/${version}.tar.gz"
|
||||
checksum=ff294f25a9de57140024b9953992c1a4d79ec88167ad28435645d888a0096c27
|
||||
|
||||
changelog="https://raw.githubusercontent.com/influxdata/chronograf/master/CHANGELOG.md"
|
||||
distfiles="https://github.com/influxdata/chronograf/archive/${version}.tar.gz"
|
||||
checksum=d2fb4759f4f94d81dcde5c50fece46febd7f610ee7d9373fd000d7a9986a52d8
|
||||
system_accounts="_chronograf"
|
||||
_chronograf_homedir="/var/lib/${pkgname}"
|
||||
make_dirs="${_chronograf_homedir} 0755 _chronograf _chronograf"
|
||||
|
@ -24,12 +24,7 @@ case "$XBPS_TARGET_MACHINE" in
|
|||
esac
|
||||
|
||||
pre_build() {
|
||||
cd $wrksrc/ui
|
||||
yarn install
|
||||
export PATH=$PATH:${wrksrc}/ui/node_modules/.bin
|
||||
|
||||
cd $wrksrc
|
||||
make assets
|
||||
CFLAGS="$CFLAGS -fPIC" CXXFLAGS="$CXXFLAGS -fPIC" make .jsdep assets
|
||||
}
|
||||
|
||||
post_install() {
|
||||
|
|
Loading…
Reference in New Issue