mirror of
https://git.FreeBSD.org/ports.git
synced 2025-01-10 07:04:03 +00:00
net-mgmt/chronograf: Remove expired port:
2023-05-26 net-mgmt/chronograf: Requires upstream EOL node14
This commit is contained in:
parent
8c5ba49736
commit
1c83cc0394
1
MOVED
1
MOVED
@ -7574,3 +7574,4 @@ www/rubygem-webrick17|www/rubygem-webrick|2023-05-27|Remove obsoleted port. Use
|
||||
textproc/rtf2html||2023-05-28|Has expired: Abandonware, please use something modern like markdown
|
||||
databases/mariadb103-server|databases/mariadb106-server|2023-05-28|Has expired: Use databases/mariadb106-server
|
||||
databases/mariadb103-client|databases/mariadb106-client|2023-05-28|Has expired: Use databases/mariadb106-server
|
||||
net-mgmt/chronograf||2023-05-28|Has expired: Requires upstream EOL node14
|
||||
|
@ -45,7 +45,6 @@
|
||||
SUBDIR += check_ups_health
|
||||
SUBDIR += chillispot
|
||||
SUBDIR += choparp
|
||||
SUBDIR += chronograf
|
||||
SUBDIR += cidr
|
||||
SUBDIR += ciscoconf
|
||||
SUBDIR += clog
|
||||
|
@ -1,98 +0,0 @@
|
||||
PORTNAME= chronograf
|
||||
DISTVERSIONPREFIX= v
|
||||
DISTVERSION= 1.9.4
|
||||
PORTREVISION= 12
|
||||
CATEGORIES= net-mgmt
|
||||
MASTER_SITES+= https://nodejs.org/download/release/v${NODEJS_VERSION}/:node
|
||||
DISTFILES= yarn-cache-${PKGNAME}.tar.xz:prefetch \
|
||||
node-v${NODEJS_VERSION}-headers.tar.gz:node
|
||||
DIST_SUBDIR= ${PORTNAME}
|
||||
|
||||
MAINTAINER= lwhsu@FreeBSD.org
|
||||
COMMENT= Open source monitoring and visualization UI for the TICK stack
|
||||
WWW= https://www.influxdata.com/time-series-platform/chronograf/
|
||||
|
||||
LICENSE= AGPLv3
|
||||
LICENSE_FILE= ${WRKSRC}/LICENSE
|
||||
|
||||
DEPRECATED= Requires upstream EOL node14
|
||||
EXPIRATION_DATE= 2023-05-26
|
||||
|
||||
FETCH_DEPENDS= ca_root_nss>0:security/ca_root_nss \
|
||||
yarn:www/yarn-node${NODEJS_VERSION_MAJOR}
|
||||
BUILD_DEPENDS= go-bindata:devel/go-bindata \
|
||||
yarn:www/yarn-node${NODEJS_VERSION_MAJOR}
|
||||
|
||||
USES= gmake go:modules python:build
|
||||
|
||||
GO_MODULE= github.com/influxdata/${PORTNAME}
|
||||
GO_TARGET= ./cmd/chronograf/main.go:chronograf \
|
||||
./cmd/chronoctl:chronoctl
|
||||
GO_BUILDFLAGS= -ldflags "-X main.version=${DISTVERSION}"
|
||||
|
||||
NODEJS_VERSION_MAJOR= 14
|
||||
#NODEJS_VERSION!= make -V DISTVERSION -f ${PORTSDIR}/www/node${NODEJS_VERSION_MAJOR}/Makefile
|
||||
NODEJS_VERSION= 14.18.1
|
||||
|
||||
USE_RC_SUBR= chronograf
|
||||
|
||||
SUB_FILES= chronograf
|
||||
SUB_LIST= CHRONOGRAF_USER=${CHRONOGRAF_USER} \
|
||||
CHRONOGRAF_GROUP=${CHRONOGRAF_GROUP} \
|
||||
CHRONOGRAF_DBDIR=${CHRONOGRAF_DBDIR} \
|
||||
CHRONOGRAF_LOGDIR=${CHRONOGRAF_LOGDIR}
|
||||
PLIST_SUB= CHRONOGRAF_USER=${CHRONOGRAF_USER} \
|
||||
CHRONOGRAF_GROUP=${CHRONOGRAF_GROUP} \
|
||||
CHRONOGRAF_DBDIR=${CHRONOGRAF_DBDIR} \
|
||||
CHRONOGRAF_LOGDIR=${CHRONOGRAF_LOGDIR}
|
||||
|
||||
# Use influxd user as it's aleary present in the ports system
|
||||
CHRONOGRAF_USER= influxd
|
||||
CHRONOGRAF_GROUP= influxd
|
||||
|
||||
USERS?= ${CHRONOGRAF_USER}
|
||||
GROUPS?= ${CHRONOGRAF_GROUP}
|
||||
|
||||
CHRONOGRAF_DBDIR?= /var/db/${PORTNAME}
|
||||
CHRONOGRAF_LOGDIR?= /var/log/${PORTNAME}
|
||||
|
||||
YARN_ENV= HOME=${WRKDIR} XDG_CACHE_HOME=${WRKDIR}/.cache
|
||||
YARN_CACHE_FILE= yarn-cache-${PKGNAME}.tar.xz
|
||||
|
||||
PLIST_FILES= bin/chronoctl \
|
||||
bin/chronograf
|
||||
|
||||
.include <bsd.port.pre.mk>
|
||||
|
||||
.if !exists(${DISTDIR}/${DIST_SUBDIR}/${YARN_CACHE_FILE})
|
||||
pre-fetch:
|
||||
${MKDIR} ${DISTDIR}/${DIST_SUBDIR}
|
||||
${MKDIR} ${WRKDIR}
|
||||
${ECHO_CMD} 'yarn-offline-mirror "./yarn-offline-cache"' >> ${WRKDIR}/.yarnrc
|
||||
${CP} ${FILESDIR}/yarn/package.json ${FILESDIR}/yarn/yarn.lock ${WRKDIR}
|
||||
${MKDIR} ${WRKDIR}/ui
|
||||
${CP} ${FILESDIR}/yarn/ui/package.json ${WRKDIR}/ui
|
||||
cd ${WRKDIR} && ${SETENV} ${YARN_ENV} yarn --frozen-lockfile --ignore-scripts
|
||||
cd ${WRKDIR}/ui && ${SETENV} ${YARN_ENV} yarn --frozen-lockfile --ignore-scripts
|
||||
cd ${WRKDIR} && ${MTREE_CMD} -cbnSp yarn-offline-cache | ${MTREE_CMD} -C | ${SED} \
|
||||
-e 's:time=[0-9.]*:time=0.000000000:' \
|
||||
-e 's:\([gu]id\)=[0-9]*:\1=0:g' \
|
||||
-e 's:flags=.*:flags=none:' \
|
||||
-e 's:^\.:./yarn-offline-cache:' > yarn-offline-cache.mtree
|
||||
cd ${WRKDIR} && ${TAR} cJf ${DISTDIR}/${DIST_SUBDIR}/${YARN_CACHE_FILE} \
|
||||
@yarn-offline-cache.mtree
|
||||
${RM} -r ${WRKDIR}
|
||||
.endif
|
||||
|
||||
pre-build:
|
||||
${ECHO_CMD} "yarn-offline-mirror \"${WRKDIR}/yarn-offline-cache\"" >> ${WRKDIR}/.yarnrc
|
||||
cd ${WRKDIR} && ${SETENV} ${YARN_ENV} \
|
||||
yarn install --frozen-lockfile --offline
|
||||
cd ${WRKSRC}/ui && ${SETENV} ${YARN_ENV} \
|
||||
PYTHON=${PYTHON_CMD} \
|
||||
npm_config_tarball=${DISTDIR}/${DIST_SUBDIR}/node-v${NODEJS_VERSION}-headers.tar.gz \
|
||||
yarn --frozen-lockfile --offline --no-progress --no-emoji
|
||||
cd ${WRKSRC}/ui && ${SETENV} ${YARN_ENV} yarn run build
|
||||
cd ${WRKSRC} && ${SETENV} ${MAKE_ENV} ${GMAKE} .bindata
|
||||
|
||||
.include <bsd.port.post.mk>
|
@ -1,9 +0,0 @@
|
||||
TIMESTAMP = 1680873260
|
||||
SHA256 (go/net-mgmt_chronograf/chronograf-v1.9.4/yarn-cache-chronograf-1.9.4_12.tar.xz) = 58654865748602aea6b82c8fb4f00e332eb1328a5f2e15f0fc2be4d0ca113bcc
|
||||
SIZE (go/net-mgmt_chronograf/chronograf-v1.9.4/yarn-cache-chronograf-1.9.4_12.tar.xz) = 54026976
|
||||
SHA256 (go/net-mgmt_chronograf/chronograf-v1.9.4/node-v14.18.1-headers.tar.gz) = 3352973a1a737b47f2b1822ab9fd5d401427c7ba3b538ecae9928924d06b60a5
|
||||
SIZE (go/net-mgmt_chronograf/chronograf-v1.9.4/node-v14.18.1-headers.tar.gz) = 599969
|
||||
SHA256 (go/net-mgmt_chronograf/chronograf-v1.9.4/v1.9.4.mod) = dd4c41519740d06d5fe56f129c0fd34ca490c4f186eda9a6c248fb5bc2c0376c
|
||||
SIZE (go/net-mgmt_chronograf/chronograf-v1.9.4/v1.9.4.mod) = 5352
|
||||
SHA256 (go/net-mgmt_chronograf/chronograf-v1.9.4/v1.9.4.zip) = 47864a0e05548cef355d954532ffc0b4d64b04626747abcc0ca5f3cf322bcab6
|
||||
SIZE (go/net-mgmt_chronograf/chronograf-v1.9.4/v1.9.4.zip) = 3130088
|
@ -1,55 +0,0 @@
|
||||
#!/bin/sh
|
||||
|
||||
# PROVIDE: chronograf
|
||||
# REQUIRE: DAEMON NETWORKING
|
||||
# BEFORE: LOGIN
|
||||
# KEYWORD: shutdown
|
||||
|
||||
# Add the following lines to /etc/rc.conf to enable chronograf:
|
||||
# chronograf_enable="YES"
|
||||
#
|
||||
# chronograf_enable (bool): Set to YES to enable chronograf
|
||||
# Default: NO
|
||||
# chronograf_flags (str): Extra flags passed to chronograf
|
||||
# Default: -b %%CHRONOGRAF_DBDIR%%/chronograf-v1.db
|
||||
# chronograf_user (str): chronograf daemon user
|
||||
# Default: %%CHRONOGRAF_USER%%
|
||||
# chronograf_group (str): chronograf daemon group
|
||||
# Default: %%CHRONOGRAF_GROUP%%
|
||||
|
||||
. /etc/rc.subr
|
||||
|
||||
name=chronograf
|
||||
rcvar=chronograf_enable
|
||||
desc="Monitoring and visualization UI for the TICK stack"
|
||||
|
||||
load_rc_config $name
|
||||
|
||||
: ${chronograf_enable:=NO}
|
||||
: ${chronograf_flags="-b %%CHRONOGRAF_DBDIR%%/chronograf-v1.db"}
|
||||
: ${chronograf_user="%%CHRONOGRAF_USER%%"}
|
||||
: ${chronograf_group="%%CHRONOGRAF_GROUP%%"}
|
||||
|
||||
start_precmd=chronograf_prestart
|
||||
logfile="%%CHRONOGRAF_LOGDIR%%/${name}.log"
|
||||
pidfile="/var/run/${name}/${name}.pid"
|
||||
command=/usr/sbin/daemon
|
||||
command_args="-cfr -P ${pidfile} -o ${logfile} %%PREFIX%%/bin/${name} ${chronograf_flags}"
|
||||
|
||||
chronograf_prestart()
|
||||
{
|
||||
# Have to empty rc_flags so they don't get passed to daemon(8)
|
||||
rc_flags=""
|
||||
|
||||
if [ ! -d "%%CHRONOGRAF_DBDIR%%" ]; then
|
||||
install -d -o "${chronograf_user}" -g "${chronograf_group}" -m 750 "%%CHRONOGRAF_DBDIR%%"
|
||||
fi
|
||||
if [ ! -d "%%CHRONOGRAF_LOGDIR%%" ]; then
|
||||
install -d -o "${chronograf_user}" -g "${chronograf_group}" -m 750 "%%CHRONOGRAF_LOGDIR%%"
|
||||
fi
|
||||
if [ ! -d "/var/run/chronograf" ]; then
|
||||
install -d -o "${chronograf_user}" -g "${chronograf_group}" -m 755 "/var/run/chronograf"
|
||||
fi
|
||||
}
|
||||
|
||||
run_rc_command "$1"
|
@ -1,13 +0,0 @@
|
||||
--- ui/package.json.orig 2022-01-21 09:20:33 UTC
|
||||
+++ ui/package.json
|
||||
@@ -9,8 +9,8 @@
|
||||
"url": "github:influxdata/chronograf"
|
||||
},
|
||||
"scripts": {
|
||||
- "start": "GIT_SHA=$(git rev-parse HEAD) node parcel.js",
|
||||
- "build": "GIT_SHA=$(git rev-parse HEAD) parcel build -d build --log-level 2 --no-source-maps --public-url '' src/index.html",
|
||||
+ "start": "node parcel.js",
|
||||
+ "build": "parcel build -d build --log-level 2 --no-source-maps --public-url '' src/index.html",
|
||||
"clean": "rm -rf ./build/* && rm -rf ./.cache",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
@ -1,26 +0,0 @@
|
||||
{
|
||||
"private": true,
|
||||
"name": "chronograf",
|
||||
"description": "",
|
||||
"workspaces": {
|
||||
"packages": [
|
||||
"ui"
|
||||
]
|
||||
},
|
||||
"scripts": {
|
||||
"postinstall": "echo \"\" > node_modules/go.mod"
|
||||
},
|
||||
"homepage": "https://github.com/influxdata/chronograf",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "git+https://github.com/influxdata/chronograf"
|
||||
},
|
||||
"keywords": [
|
||||
"influxdb",
|
||||
"influxdata"
|
||||
],
|
||||
"author": {
|
||||
"name": "InfluxData"
|
||||
},
|
||||
"license": "AGPL-3.0"
|
||||
}
|
@ -1,141 +0,0 @@
|
||||
{
|
||||
"name": "chronograf-ui",
|
||||
"version": "1.9.4",
|
||||
"private": true,
|
||||
"license": "AGPL-3.0",
|
||||
"description": "",
|
||||
"repository": {
|
||||
"type": "git",
|
||||
"url": "github:influxdata/chronograf"
|
||||
},
|
||||
"scripts": {
|
||||
"start": "GIT_SHA=$(git rev-parse HEAD) node parcel.js",
|
||||
"build": "GIT_SHA=$(git rev-parse HEAD) parcel build -d build --log-level 2 --no-source-maps --public-url '' src/index.html",
|
||||
"clean": "rm -rf ./build/* && rm -rf ./.cache",
|
||||
"test": "jest",
|
||||
"test:watch": "jest --watch",
|
||||
"test:debug": "node --inspect-brk node_modules/.bin/jest --runInBand --watch",
|
||||
"lint": "yarn run eslint; yarn run tsc",
|
||||
"eslint": "eslint src",
|
||||
"eslint:watch": "esw src --watch --cache",
|
||||
"eslint:fix": "eslint src --fix",
|
||||
"tsc": "tsc -p ./tsconfig.json --noEmit --pretty",
|
||||
"tsc:watch": "tsc -p ./tsconfig.json --noEmit --pretty -w",
|
||||
"dev": "yarn clean && yarn start",
|
||||
"postinstall": "echo \"\" > ../node_modules/go.mod"
|
||||
},
|
||||
"author": "",
|
||||
"devDependencies": {
|
||||
"@babel/core": "^7.4.0",
|
||||
"@babel/plugin-proposal-class-properties": "^7.1.0",
|
||||
"@babel/plugin-proposal-decorators": "^7.1.2",
|
||||
"@babel/plugin-proposal-object-rest-spread": "^7.0.0",
|
||||
"@babel/plugin-transform-runtime": "^7.1.0",
|
||||
"@babel/preset-env": "^7.13.9",
|
||||
"@babel/preset-react": "^7.0.0",
|
||||
"@types/chroma-js": "^1.3.4",
|
||||
"@types/codemirror": "^0.0.56",
|
||||
"@types/d3-color": "^1.2.1",
|
||||
"@types/d3-scale": "^2.0.1",
|
||||
"@types/dygraphs": "^1.1.6",
|
||||
"@types/enzyme": "^3.1.13",
|
||||
"@types/jest": "^26.0.20",
|
||||
"@types/levelup": "^4.3.3",
|
||||
"@types/lodash": "^4.14.104",
|
||||
"@types/node": "^9.4.6",
|
||||
"@types/papaparse": "^4.1.34",
|
||||
"@types/prop-types": "^15.5.2",
|
||||
"@types/qs": "^6.5.1",
|
||||
"@types/react": "^16.8.23",
|
||||
"@types/react-dnd": "^2.0.36",
|
||||
"@types/react-dnd-html5-backend": "^2.1.9",
|
||||
"@types/react-dom": "^16.8.4",
|
||||
"@types/react-router": "^3.0.15",
|
||||
"@types/react-router-redux": "4",
|
||||
"@types/react-virtualized": "^9.18.3",
|
||||
"@types/text-encoding": "^0.0.32",
|
||||
"@types/uuid": "^3.4.3",
|
||||
"@typescript-eslint/eslint-plugin": "^4.16.1",
|
||||
"@typescript-eslint/parser": "^4.16.1",
|
||||
"autoprefixer": "^6.3.1",
|
||||
"babel-core": "^7.0.0-bridge",
|
||||
"babel-eslint": "^10.0.1",
|
||||
"babel-jest": "^23.6.0",
|
||||
"babel-plugin-lodash": "^3.3.4",
|
||||
"babel-plugin-module-resolver": "^4.1.0",
|
||||
"enzyme": "^3.6.0",
|
||||
"enzyme-adapter-react-16": "^1.5.0",
|
||||
"enzyme-to-json": "^3.3.4",
|
||||
"eslint": "^7.21.0",
|
||||
"eslint-config-prettier": "^8.1.0",
|
||||
"eslint-plugin-babel": "^5.3.1",
|
||||
"eslint-plugin-import": "^2.22.1",
|
||||
"eslint-plugin-jest": "^24.1.8",
|
||||
"eslint-plugin-prefer-arrow": "^1.2.3",
|
||||
"eslint-plugin-prettier": "^3.3.1",
|
||||
"eslint-plugin-react": "^7.22.0",
|
||||
"eslint-watch": "^7.0.0",
|
||||
"express": "^4.14.0",
|
||||
"fake-indexeddb": "^2.0.4",
|
||||
"http-proxy-middleware": "^0.18.0",
|
||||
"identity-obj-proxy": "^3.0.0",
|
||||
"jest": "^26.6.3",
|
||||
"jest-runner-eslint": "^0.10.0",
|
||||
"node-sass": "^7.0.0",
|
||||
"parcel": "1.12.3",
|
||||
"prettier": "^2.2.1",
|
||||
"sass": "^1.26.3",
|
||||
"ts-jest": "^26.5.3",
|
||||
"tslib": "^1.9.0",
|
||||
"typescript": "^4.2.2"
|
||||
},
|
||||
"dependencies": {
|
||||
"@babel/runtime": "^7.0.0",
|
||||
"babel-polyfill": "^6.26.0",
|
||||
"bignumber.js": "^4.0.2",
|
||||
"calculate-size": "^1.1.1",
|
||||
"chroma-js": "^1.3.6",
|
||||
"classnames": "^2.2.3",
|
||||
"codemirror": "^5.36.0",
|
||||
"copy-to-clipboard": "^3.3.1",
|
||||
"d3-color": "^1.2.0",
|
||||
"d3-scale": "^2.1.0",
|
||||
"dygraphs": "2.1.0",
|
||||
"encoding-down": "^5.0.4",
|
||||
"fast.js": "^0.1.1",
|
||||
"he": "^1.1.1",
|
||||
"level-js": "^3.0.0",
|
||||
"levelup": "^3.1.1",
|
||||
"lodash": "^4.17.13",
|
||||
"memoize-one": "^4.0.2",
|
||||
"moment": "^2.13.0",
|
||||
"nano-date": "^2.0.1",
|
||||
"papaparse": "^5.3.0",
|
||||
"prop-types": "^15.6.1",
|
||||
"qs": "^6.5.2",
|
||||
"react": "^16.8.6",
|
||||
"react-addons-shallow-compare": "^15.0.2",
|
||||
"react-codemirror2": "^7.2.1",
|
||||
"react-copy-to-clipboard": "^5.0.1",
|
||||
"react-custom-scrollbars": "^4.1.1",
|
||||
"react-dimensions": "^1.2.0",
|
||||
"react-dnd": "^2.6.0",
|
||||
"react-dnd-html5-backend": "^2.6.0",
|
||||
"react-dom": "^16.5.1",
|
||||
"react-grid-layout": "1.2.2",
|
||||
"react-markdown": "^6.0.2",
|
||||
"react-onclickoutside": "^6.10.0",
|
||||
"react-redux": "^7.2.2",
|
||||
"react-resize-detector": "^7.0.0",
|
||||
"react-router": "^3.0.2",
|
||||
"react-router-redux": "^4.0.8",
|
||||
"react-tooltip": "^3.2.1",
|
||||
"react-virtualized": "^9.18.5",
|
||||
"redux": "^3.3.1",
|
||||
"redux-auth-wrapper": "^3.0.0",
|
||||
"redux-thunk": "^1.0.3",
|
||||
"reselect": "^3.0.1",
|
||||
"rome": "^2.1.22",
|
||||
"uuid": "^3.2.1"
|
||||
}
|
||||
}
|
File diff suppressed because it is too large
Load Diff
@ -1,5 +0,0 @@
|
||||
Chronograf is the administrative user interface and visualization engine of the
|
||||
stack. It makes it easy to setup and maintain the monitoring and alerting for
|
||||
your infrastructure. It's simple to use and includes templates and libraries
|
||||
that allow you to rapidly build dashboards with real-time visualizations of
|
||||
your data and to easily create alerting and automation rules.
|
Loading…
Reference in New Issue
Block a user