aboutsummaryrefslogtreecommitdiffstats
path: root/testing/vault
diff options
context:
space:
mode:
authorChristian Kampka <christian@kampka.net>2015-12-12 14:27:35 +0100
committerChristian Kampka <christian@kampka.net>2015-12-12 14:27:35 +0100
commit6ef1728084d139a7ad7e47b2543211e1ebe4d74d (patch)
treef5e6e966f204e5a66b32f28cfb4efd3bf8e40ea6 /testing/vault
parent91892e3daf7c9dd29d21f5843df6ae5af2de52cd (diff)
downloadaports-6ef1728084d139a7ad7e47b2543211e1ebe4d74d.tar.bz2
aports-6ef1728084d139a7ad7e47b2543211e1ebe4d74d.tar.xz
testing/vault: fix build
Diffstat (limited to 'testing/vault')
-rw-r--r--testing/vault/APKBUILD12
1 files changed, 6 insertions, 6 deletions
diff --git a/testing/vault/APKBUILD b/testing/vault/APKBUILD
index 812a55acd4..22a7e114c4 100644
--- a/testing/vault/APKBUILD
+++ b/testing/vault/APKBUILD
@@ -20,7 +20,7 @@ source="${pkgname}-${pkgver}.tar.gz::https://github.com/hashicorp/${pkgname}/arc
vault.hcl
vault.initd"
-_builddir="${srcdir}/${pkgname}"
+_builddir="${srcdir}/${pkgname}-${pkgver}"
prepare() {
cd "${_builddir}"
@@ -34,10 +34,10 @@ prepare() {
build() {
cd "$_builddir" || return 1
- export GOPATH="${_builddir}"
+ ln -s "${_builddir}/Godeps/_workspace/src" "${_builddir}"
mkdir -p "${_builddir}/src/github.com/hashicorp"
ln -s "${_builddir}" "${_builddir}/src/github.com/hashicorp/vault"
- go build -x -v -o bin/${pkgname} || return 1
+ GOPATH="${_builddir}" go build -x -v -o bin/${pkgname} || return 1
}
package() {
@@ -54,15 +54,15 @@ package() {
"$pkgdir/etc/${pkgname}.hcl" || return 1
}
-md5sums="615a01f957bbefa3f09b83e960186474 vault-0.4.0.tar.gz
+md5sums="2b66a73bf906c56b6e97a89c31ce4bf4 vault-0.4.0.tar.gz
2148a788620484be07e1e24feb1cbd34 vault.confd
1f7802f479024809856e3be2e44a1b19 vault.hcl
ca400b34773b25367acc85a950c3c887 vault.initd"
-sha256sums="1e85fc0c6acf8c459b70b318a3cb66307dfec2710f7bbdd78b787088d0a012f4 vault-0.4.0.tar.gz
+sha256sums="695b15cf7d6d4508be7805600fbb28d2012fbb459a1500b867b693c1c9d23912 vault-0.4.0.tar.gz
f197536bc5bf4531072c0a5cb17627bf01abd188b0cc2005e0ff1768e6143d32 vault.confd
cacbd75cbaccf1034cd21d3015797cf0c1c1ce9c7e7ef7c1e4db4b54b92fe696 vault.hcl
8274a9c735906980a734a8a720232d8816bfbeb8294d4c96baac2e9885abf6a2 vault.initd"
-sha512sums="be42f7e4421671a86a27dcc62a7694720c5834319d8279057e4601cc247846825a2b31fdcda4387c0f6b7854981c97d10182ee5157a2bd108dbed5a2a3242c02 vault-0.4.0.tar.gz
+sha512sums="b4433e5a37ce696622caeef18b8b508daac1f8c0a58ddd23804b80d36e4ef99764b4ac9360b64384bf26a74b61e6f9dcd82887aa4f62db8682f28556676e6593 vault-0.4.0.tar.gz
6f3f30e5c9d9dd5117f18fce0e669f0cd752a6be4910405d6b394f15273372731ee887a5ba4c700293e5b8bc2bf40fd69d4337156f77b03549d2dc2c0a666bec vault.confd
8c064aa5dcca84822c1fa85e9d0ff520df46f794b2e9c689a9b4f81f74279387b3aebc08b3ca26cf786c2fcf1a330e765bf5a511074c24f87e5346672346ba1c vault.hcl
34993256eb1700ef0738e24227af7732ea81f9e096b34b5f6a282fce364e9c92319c2fc219083eec0185927dde89d565dfcc0d0507bcdbebd3e003027760d447 vault.initd"