From 030ebad482a2c4b0df818db6902b180019377d12 Mon Sep 17 00:00:00 2001 From: George Rawlinson Date: Wed, 24 Nov 2021 06:55:22 +0000 Subject: [PATCH] upgpkg: prometheus-bind-exporter 0.5.0-1 New upstream release. --- .SRCINFO | 9 ++++++--- PKGBUILD | 11 +++++++---- 2 files changed, 13 insertions(+), 7 deletions(-) diff --git a/.SRCINFO b/.SRCINFO index 49448f1..7fe1ece 100644 --- a/.SRCINFO +++ b/.SRCINFO @@ -1,6 +1,6 @@ pkgbase = prometheus-bind-exporter pkgdesc = Prometheus exporter for BIND metrics - pkgver = 0.4.0 + pkgver = 0.5.0 pkgrel = 1 url = https://github.com/prometheus-community/bind_exporter arch = x86_64 @@ -8,10 +8,13 @@ pkgbase = prometheus-bind-exporter makedepends = go depends = glibc optdepends = bind: for monitoring a local BIND server - source = prometheus-bind-exporter-0.4.0.tar.gz::https://github.com/prometheus-community/bind_exporter/archive/v0.4.0.tar.gz + source = prometheus-bind-exporter-0.5.0.tar.gz::https://github.com/prometheus-community/bind_exporter/archive/v0.5.0.tar.gz source = systemd.service source = sysusers.conf - b2sums = ec391fa2db90d02f3f468d8db5b6ada47f84853401d4f00fdfd9be7a142cc4305de0fdedd3aa553ab08d78ddd55ce948f098eb4f7a6e9412f5327d2499eb65c1 + sha512sums = 1ceb50b0443e32687f6573f81cadbce5de752d5205465e407ff492a9c12b6b44c6ff4cc10ecadcd23c762f3544b8885113bdfd3254144cdb5ea131f9a4c4be9d + sha512sums = 8c22cfadddd8820258e02f53253de78cc1707f6220da13f36e682b79d58a3b59ef615b3f0c74ced01bcb6afb19c35414821575d265227512f5192182aca2d042 + sha512sums = 143591ed6c2550085a2ab5c292aa57a6ab047826158270c630acaf1dd1afc9e3cbccb612f0b684206832c8d641eb432bf4f474dd07b9dc744cfd7174d320b552 + b2sums = 058e9609ae1db047486638459aee9466597b6fb28fd199d7a6c28109ef8bbf568b55fe6089ce1ab5e8983ae4026c613204cb011166c9320c552000ec721458c7 b2sums = 83ac2fb9b39f10f9eb130fc566887a5dc70447265d9d567221ceccf83a9fe7ad8035dfa751ecefe9681c64fd8ddb260b3e370f956350b9cab699eed507d9affc b2sums = 739b1e4e7ab277096d0875ed14d61f223e7b990e7081721e4638aebad9c3beccc270ce9944384784af8eab035dbb34a86badae687c065291bfb384abfb42573a diff --git a/PKGBUILD b/PKGBUILD index 72a2285..86673ed 100644 --- a/PKGBUILD +++ b/PKGBUILD @@ -2,7 +2,7 @@ pkgname=prometheus-bind-exporter _pkgname=bind_exporter -pkgver=0.4.0 +pkgver=0.5.0 pkgrel=1 pkgdesc="Prometheus exporter for BIND metrics" arch=('x86_64') @@ -16,7 +16,10 @@ source=( 'systemd.service' 'sysusers.conf' ) -b2sums=('ec391fa2db90d02f3f468d8db5b6ada47f84853401d4f00fdfd9be7a142cc4305de0fdedd3aa553ab08d78ddd55ce948f098eb4f7a6e9412f5327d2499eb65c1' +sha512sums=('1ceb50b0443e32687f6573f81cadbce5de752d5205465e407ff492a9c12b6b44c6ff4cc10ecadcd23c762f3544b8885113bdfd3254144cdb5ea131f9a4c4be9d' + '8c22cfadddd8820258e02f53253de78cc1707f6220da13f36e682b79d58a3b59ef615b3f0c74ced01bcb6afb19c35414821575d265227512f5192182aca2d042' + '143591ed6c2550085a2ab5c292aa57a6ab047826158270c630acaf1dd1afc9e3cbccb612f0b684206832c8d641eb432bf4f474dd07b9dc744cfd7174d320b552') +b2sums=('058e9609ae1db047486638459aee9466597b6fb28fd199d7a6c28109ef8bbf568b55fe6089ce1ab5e8983ae4026c613204cb011166c9320c552000ec721458c7' '83ac2fb9b39f10f9eb130fc566887a5dc70447265d9d567221ceccf83a9fe7ad8035dfa751ecefe9681c64fd8ddb260b3e370f956350b9cab699eed507d9affc' '739b1e4e7ab277096d0875ed14d61f223e7b990e7081721e4638aebad9c3beccc270ce9944384784af8eab035dbb34a86badae687c065291bfb384abfb42573a') @@ -27,7 +30,7 @@ prepare() { mkdir build # download dependencies - go mod vendor + go mod download } build() { @@ -35,7 +38,7 @@ build() { go build -v \ -buildmode=pie \ -trimpath \ - -mod=vendor \ + -mod=readonly \ -modcacherw \ -ldflags "-linkmode external -extldflags ${LDFLAGS} \ -X github.com/prometheus/common/version.Version=$pkgver \