[arch-commits] Commit in consul/trunk (PKGBUILD)
Eli Schwartz
eschwartz at archlinux.org
Wed Feb 6 21:01:13 UTC 2019
Date: Wednesday, February 6, 2019 @ 21:01:12
Author: eschwartz
Revision: 429761
upgpkg: consul 1.4.0-2
golang staticlibs rebuild
Fixes CVE-2019-6486 which affects all packages relying on 'crypto/elliptic'
Modified:
consul/trunk/PKGBUILD
----------+
PKGBUILD | 8 +++++---
1 file changed, 5 insertions(+), 3 deletions(-)
Modified: PKGBUILD
===================================================================
--- PKGBUILD 2019-02-06 20:58:02 UTC (rev 429760)
+++ PKGBUILD 2019-02-06 21:01:12 UTC (rev 429761)
@@ -3,7 +3,7 @@
pkgname=consul
pkgver=1.4.0
-pkgrel=1
+pkgrel=2
pkgdesc="A tool for service discovery, monitoring and configuration."
arch=('x86_64')
_gocli_commit='3d22a244be8aa6fb16ac24af0e195c08b7d973aa' # HEAD
@@ -35,8 +35,6 @@
'509c0b615f1a282f80004449e94ca8a51ac52cd4babfda0e670f22bcdaa5f9b2bb88189d09764333b31e8b3a449524979919fabb77886573a63c8bd582398933')
prepare() {
- export GOPATH="${srcdir}"
- export PATH="$PATH:$GOPATH/bin"
mkdir -p "src/github.com/mitchellh"
mkdir -p "src/github.com/hashicorp"
@@ -60,6 +58,8 @@
build() {
cd "${srcdir}/src/github.com/hashicorp/${pkgname}"
+ export GOPATH="${srcdir}"
+ export PATH="$PATH:$GOPATH/bin"
export GOOS='linux'
export GOARCH='amd64'
make linux
@@ -67,6 +67,8 @@
check() {
cd "${srcdir}/src/github.com/hashicorp/${pkgname}"
+ export GOPATH="${srcdir}"
+ export PATH="$PATH:$GOPATH/bin"
# weird race conditions when being run overparallelized
export GOMAXPROCS="2"
export GOOS='linux'
More information about the arch-commits
mailing list