[arch-commits] Commit in gost/trunk (PKGBUILD)

Eli Schwartz eschwartz at archlinux.org
Sun Feb 10 18:32:08 UTC 2019


    Date: Sunday, February 10, 2019 @ 18:32:07
  Author: eschwartz
Revision: 431646

upgpkg: gost 2.7.2-2

golang staticlibs rebuild
Fixes CVE-2019-6486 which affects all packages relying on 'crypto/elliptic'
move GOPATH assignment to build(), where it is used

Modified:
  gost/trunk/PKGBUILD

----------+
 PKGBUILD |    4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-10 18:31:41 UTC (rev 431645)
+++ PKGBUILD	2019-02-10 18:32:07 UTC (rev 431646)
@@ -2,7 +2,7 @@
 
 pkgname=gost
 pkgver=2.7.2
-pkgrel=1
+pkgrel=2
 pkgdesc="GO Simple Tunnel"
 arch=('x86_64')
 url="https://github.com/ginuerzh/gost"
@@ -18,10 +18,10 @@
   mkdir .gopath
   ln -sf "$PWD/gost-$pkgver/vendor" .gopath/src
   ln -s "$PWD/gost-$pkgver" .gopath/src/github.com/ginuerzh/gost
-  export GOPATH="$srcdir/.gopath"
 }
 
 build() {
+  export GOPATH="$srcdir/.gopath"
   cd gost-$pkgver/cmd/gost
   go build # -gccgoflags "$CFLAGS $LDFLAGS"
 }



More information about the arch-commits mailing list