diff --git a/build/victoriametrics/build.sh b/build/victoriametrics/build.sh index 727e85515..692fb51ca 100755 --- a/build/victoriametrics/build.sh +++ b/build/victoriametrics/build.sh @@ -17,12 +17,12 @@ . ../../lib/build.sh PROG=victoriametrics -VER=1.102.1 +VER=1.102.2 PKG=ooce/database/victoriametrics SUMMARY="VictoriaMetrics" DESC="Fast, cost-effective monitoring solution and time series database." -DATA=var/lib/victoria-metrics-data +DATA=var/${PREFIX#/}/$PROG set_arch 64 set_gover @@ -45,8 +45,10 @@ build() { export CGO_ENABLED=0 export GOOS=illumos - logcmd gmake victoria-metrics-pure || logerr "Unable to build victoria-metrics-pure" - logcmd gmake vmutils-pure || logerr "Unable to build vmutils-pure" + logcmd $MAKE victoria-metrics-pure \ + || logerr "Unable to build victoria-metrics-pure" + logcmd $MAKE vmutils-pure \ + || logerr "Unable to build vmutils-pure" popd >/dev/null } diff --git a/build/victoriametrics/files/victoriametrics-template.xml b/build/victoriametrics/files/victoriametrics-template.xml index 31db8318f..6cbbe21fb 100644 --- a/build/victoriametrics/files/victoriametrics-template.xml +++ b/build/victoriametrics/files/victoriametrics-template.xml @@ -47,7 +47,7 @@ + privileges="basic" /> @@ -116,7 +116,7 @@ + privileges="basic" />