aboutsummaryrefslogtreecommitdiffstats
path: root/testing
diff options
context:
space:
mode:
authorFrancesco Colista <fcolista@bethel.jw.org>2017-06-28 07:56:28 +0000
committerFrancesco Colista <fcolista@bethel.jw.org>2017-06-28 07:56:28 +0000
commit353c939e8d1a1056ec9296a0007f31d89f32da14 (patch)
tree381f79321f5bc71f917012cd7ef57a2616d81e0e /testing
parentff43e5a32326fb16f9674caadd2282b038bbcf00 (diff)
downloadaports-353c939e8d1a1056ec9296a0007f31d89f32da14.tar.bz2
aports-353c939e8d1a1056ec9296a0007f31d89f32da14.tar.xz
testing/consul: upgrade to 0.8.5
Diffstat (limited to 'testing')
-rw-r--r--testing/consul/APKBUILD9
1 files changed, 7 insertions, 2 deletions
diff --git a/testing/consul/APKBUILD b/testing/consul/APKBUILD
index aa327ae98e..c1ea62665c 100644
--- a/testing/consul/APKBUILD
+++ b/testing/consul/APKBUILD
@@ -1,7 +1,7 @@
# Contributor: Olivier Mauras <olivier@mauras.ch>
# Maintainer: Francesco Colista <fcolista@alpinelinux.org>
pkgname=consul
-pkgver=0.8.3
+pkgver=0.8.5
pkgrel=0
pkgdesc="A tool for service discovery, monitoring and configuration"
url="https://www.consul.io/"
@@ -21,6 +21,11 @@ source="$pkgname-$pkgver.tar.gz::https://github.com/hashicorp/$pkgname/archive/v
tls.json.sample"
builddir="$srcdir/src/github.com/hashicorp/$pkgname"
+check() {
+ cd "$builddir"
+ GOPATH="$srcdir" go test
+}
+
prepare() {
mkdir -p "$srcdir/src/github.com/hashicorp"
mv "$srcdir"/$pkgname-$pkgver "$builddir"/ || return 1
@@ -56,7 +61,7 @@ package() {
install -m640 -o root -g consul "$srcdir"/$cf "$pkgdir"/etc/${pkgname} || return 1
done
}
-sha512sums="84c72f5cdc9f82288b29b92e386324214bf71ef3952cbd3391f4c7c427cf5f385a3e472304cfb8c837bbfb009547ad3b736d6f66f0546a5f994d547d431bd4b8 consul-0.8.3.tar.gz
+sha512sums="ebd73c2fd43ba39e26a1ea62a982d9ac162a45022d3a495ce7e6c660cef58eb5115fa59128694324d9e713acc5c260f2cf2fb3f1c0ab85379a0ebe79ac7f46b2 consul-0.8.5.tar.gz
b0b6ba59d5b2c07f269bf901a24d1dcfbf96953185582577cecf7e17a2909a98673ec780d107b6264e910425aeadcf21d4adcedb89d4616c4eb9840e08639c17 consul.initd
f2c5af74dfcbca2fea8ebea31139d93f44455b93ef17ec611b880d7071af4125615dbbd23969d0d04ca636c26d7b4e7eb97f1266baa89252097f4cbc5173d817 consul.confd
d4310dde63d3b8fc4791124bd255bf2a1402b86d00f6b1732e18b0caedb75eae6c77382e1a48f12469828ef4bb363db4580fb1aafa63fcdc97b1431f6ea96d58 acl.json.sample