Update to OpenBSD 6.9 and VictoriaMetrics 1.59 (#1263)

* Update to OpenBSD 6.9 and VictoriaMetrics 1.58

While at it, also build vmagent

* Bump to v1.59 and remove zstd dependency
This commit is contained in:
Denis Fondras 2021-05-03 13:14:13 +02:00 committed by GitHub
parent 76027093ca
commit cdd1b06473
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
5 changed files with 31 additions and 15 deletions

View file

@ -1,11 +1,11 @@
# OpenBSD ports
Tested with Release 6.8
Tested with Release 6.9
The VictoriaMetrics DB must be place in `/usr/ports/sysutils` directory
and the file `/usr/ports/infrastructure/db/user.list`
should be modified with a new line
The VictoriaMetrics DB must be place in `/usr/ports/databases` directory
and the file `/usr/ports/infrastructure/db/user.list` should be modified
with a new line
```
862 _vmetrics _vmetrics sysutils/VictoriaMetrics
866 _vmetrics _vmetrics databases/VictoriaMetrics
```

View file

@ -4,9 +4,9 @@ COMMENT = fast, cost-effective and scalable time series database
GH_ACCOUNT = VictoriaMetrics
GH_PROJECT = VictoriaMetrics
GH_TAGNAME = v1.46.0
GH_TAGNAME = v1.59.0
CATEGORIES = sysutils
CATEGORIES = databases
HOMEPAGE = https://victoriametrics.com/
@ -27,10 +27,12 @@ do-build:
cd ${WRKSRC} && GOOS=openbsd ${MAKE_ENV} ${MAKE_PROGRAM} victoria-metrics-pure
cd ${WRKSRC} && GOOS=openbsd ${MAKE_ENV} ${MAKE_PROGRAM} vmbackup
cd ${WRKSRC} && GOOS=openbsd ${MAKE_ENV} ${MAKE_PROGRAM} vmrestore
cd ${WRKSRC} && GOOS=openbsd ${MAKE_ENV} ${MAKE_PROGRAM} vmagent-pure
do-install:
${INSTALL_PROGRAM} ./pkg/vmlogger.pl ${PREFIX}/bin/vmetricslogger.pl
${INSTALL_PROGRAM} ${WRKSRC}/bin/victoria-metrics-pure ${PREFIX}/bin/vmetrics
${INSTALL_PROGRAM} ${WRKSRC}/bin/vmagent-pure ${PREFIX}/bin/vmagent
${INSTALL_PROGRAM} ${WRKSRC}/bin/vmbackup ${PREFIX}/bin/vmetricsbackup
${INSTALL_PROGRAM} ${WRKSRC}/bin/vmrestore ${PREFIX}/bin/vmetricsrestore
${INSTALL_DATA_DIR} ${PREFIX}/share/doc/vmetrics/

View file

@ -1,2 +1,2 @@
SHA256 (VictoriaMetrics-1.46.0.tar.gz) = s9wWGc/VTF9LrK7Ingg1qEhD0lN198hfUqXOut6CH3Y=
SIZE (VictoriaMetrics-1.46.0.tar.gz) = 9101866
SHA256 (VictoriaMetrics-1.59.0.tar.gz) = /chb4noFxU6OZbLO7kjBfdleMDvN80hqwqAVQ2QJGr0=
SIZE (VictoriaMetrics-1.59.0.tar.gz) = 11040979

View file

@ -1,36 +1,49 @@
@comment $OpenBSD: PLIST,v$
@newgroup _vmetrics:862
@newuser _vmetrics:862:_vmetrics:daemon:VictoriaMetrics:${VARBASE}/db/vmetrics:/sbin/nologin
@newgroup _vmetrics:866
@newuser _vmetrics:866:_vmetrics:daemon:VictoriaMetrics:${VARBASE}/db/vmetrics:/sbin/nologin
@sample ${SYSCONFDIR}/prometheus/
@rcscript ${RCDIR}/vmetrics
@bin bin/vmagent
@bin bin/vmetrics
@bin bin/vmetricsbackup
@bin bin/vmetricsrestore
@bin bin/vmetricslogger.pl
@bin bin/vmetricsrestore
share/doc/vmetrics/
share/doc/vmetrics/Articles.md
share/doc/vmetrics/BestPractices.md
share/doc/vmetrics/CHANGELOG.md
share/doc/vmetrics/CaseStudies.md
share/doc/vmetrics/Cluster-VictoriaMetrics.md
share/doc/vmetrics/ExtendedPromQL.md
share/doc/vmetrics/FAQ.md
share/doc/vmetrics/Home.md
share/doc/vmetrics/LICENSE
share/doc/vmetrics/MetricsQL.md
share/doc/vmetrics/PerTenantStatistic.md
share/doc/vmetrics/Quick-Start.md
share/doc/vmetrics/README.md
share/doc/vmetrics/Release-Guide.md
share/doc/vmetrics/SampleSizeCalculations.md
share/doc/vmetrics/Single-server-VictoriaMetrics.md
share/doc/vmetrics/latest.png
share/doc/vmetrics/logo.png
share/doc/vmetrics/per-tenant-stats.jpg
share/doc/vmetrics/robots.txt
share/doc/vmetrics/root.png
share/doc/vmetrics/rp_daily_1.png
share/doc/vmetrics/rp_daily_2.png
share/doc/vmetrics/vmagent.md
share/doc/vmetrics/vmagent.png
share/doc/vmetrics/vmalert.md
share/doc/vmetrics/vmauth.md
share/doc/vmetrics/vmbackup.md
share/doc/vmetrics/vmbackupmanager.md
share/doc/vmetrics/vmctl.md
share/doc/vmetrics/vmgateway-access-control.jpg
share/doc/vmetrics/vmgateway-overview.jpeg
share/doc/vmetrics/vmgateway-rate-limiting.jpg
share/doc/vmetrics/vmgateway.md
share/doc/vmetrics/vmrestore.md
@mode 0755
@owner _vmetrics
@group _vmetrics
@sample ${VARBASE}/db/vmetrics
@sample ${VARBASE}/db/vmetrics/

View file

@ -15,7 +15,8 @@ rc_reload=NO
me=`basename $0`
rc_start() {
${rcexec} "${daemon} -loggerDisableTimestamps ${daemon_flags} < /dev/null 2>&1 | ${TRUEPREFIX}/bin/vmetricslogger.pl $me"
${rcexec} "${daemon} -loggerDisableTimestamps ${daemon_flags} \
< /dev/null 2>&1 | ${TRUEPREFIX}/bin/vmetricslogger.pl $me"
}
rc_cmd $1