Hi Denis, ports,

Here is an update for VictoriaMetrics to latest version. Might be nice
to have for 7.4, as the 1.93.x branch is LTS.

It works fine in my single-node non-vmauth setup.

There are way too many changes to list. Check from [1] to [2] for the
details. Versions 1.86.x, 1.90.x, 1.92.x and 1.93.x have update notes
that might be relevant. In particular, 1.90.x and 1.92.x can't be
rolled back.

Port-wise, I changed BUILDINFO_TAG and PKG_TAG to somewhat emulate the
upstream behavior. Also, all the cool kids are using DIST_TUPLE and
wanted to give it a shot. Dunno if it's the right thing for Go ports,
as moving away from GH_* I had to set ALL_TARGET.

[1]: https://docs.victoriametrics.com/CHANGELOG_2022.html#v1851
[2]: https://docs.victoriametrics.com/CHANGELOG.html#v1933

-Lucas


diff /usr/ports
commit - 36537ebfdaa8934a681e5d87f3f40049d6d2935f
path + /usr/ports
blob - 40ce0ad4424a6789c7bbb2e9ec471e1eae6642c0
file + databases/victoriametrics/Makefile
--- databases/victoriametrics/Makefile
+++ databases/victoriametrics/Makefile
@@ -1,10 +1,9 @@
 COMMENT =              fast, cost-effective and scalable time series database
 
-V =                    1.85.0
-GH_ACCOUNT =           VictoriaMetrics
-GH_PROJECT =           VictoriaMetrics
-GH_TAGNAME =           v${V}
+V =                    1.93.3
 
+DIST_TUPLE +=          github VictoriaMetrics VictoriaMetrics v${V} . # Apache 
License 2.0
+
 PKGNAME =              victoriametrics-${V}
 
 CATEGORIES =           databases
@@ -25,8 +24,10 @@ MAKE_ENV =           BUILDINFO_TAG=openbsd PKG_TAG=openbsd
 SUBST_VARS =           LOCALSTATEDIR
 NO_TEST =              Yes
 
-MAKE_ENV =             BUILDINFO_TAG=openbsd PKG_TAG=openbsd
+MAKE_ENV =             BUILDINFO_TAG=tags-v${V} PKG_TAG=tags-v${V}
 
+ALL_TARGET =           github.com/VictoriaMetrics/VictoriaMetrics
+
 do-build:
        cd ${WRKSRC} && GOOS=openbsd ${MAKE_ENV} ${MAKE_PROGRAM} 
victoria-metrics-pure
        cd ${WRKSRC} && GOOS=openbsd ${MAKE_ENV} ${MAKE_PROGRAM} vmbackup-pure
blob - 6bb324bc7f97e5d095bd805e0bbccca3cb95ed09
file + databases/victoriametrics/distinfo
--- databases/victoriametrics/distinfo
+++ databases/victoriametrics/distinfo
@@ -1,2 +1,2 @@
-SHA256 (VictoriaMetrics-1.85.0.tar.gz) = 
Qwe6gDoMQ5acq/fhcu03kYujtTYnah+cMgkx1D/gKqQ=
-SIZE (VictoriaMetrics-1.85.0.tar.gz) = 21457608
+SHA256 (VictoriaMetrics-VictoriaMetrics-v1.93.3.tar.gz) = 
vVNOzdWGVDUouQobhcRTLHnIhxgygNfY1rRlL2/xglY=
+SIZE (VictoriaMetrics-VictoriaMetrics-v1.93.3.tar.gz) = 59785365

Reply via email to