Lucas <[email protected]> wrote:
> 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
Late bump. Updated to 1.93.5 instead of 1.93.3. Been running 1.93.x the
whole month without issues.
Lucas
diff refs/heads/master 50af0b558d38cf569458c1d7294559077a8e2a8c
commit - 1d7c43bd66e2d067ea6aa461dfb9331b85d9bbaf
commit + 50af0b558d38cf569458c1d7294559077a8e2a8c
blob - 40ce0ad4424a6789c7bbb2e9ec471e1eae6642c0
blob + 59356a8ce263c0e62157b3b3e3208f3a5de9bb0f
--- 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.5
+DIST_TUPLE += github VictoriaMetrics VictoriaMetrics v${V} . # Apache
License 2.0
+
PKGNAME = victoriametrics-${V}
CATEGORIES = databases
@@ -25,8 +24,10 @@ MODGO_GOPATH = ${MODGO_WORKSPACE}
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
blob + 2d76766dd1869ed46add6718c82de5ac43f25e04
--- 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.5.tar.gz) =
DhpwbPR6u17OVR9maMJ4c60UFJqfmFGDLhMY9f1GzOQ=
+SIZE (VictoriaMetrics-VictoriaMetrics-v1.93.5.tar.gz) = 59986043