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

Eli Schwartz eschwartz at archlinux.org
Wed Feb 6 22:10:32 UTC 2019


    Date: Wednesday, February 6, 2019 @ 22:10:31
  Author: eschwartz
Revision: 429789

upgpkg: go-ipfs 0.4.18-2

golang staticlibs rebuild
Fixes CVE-2019-6486 which affects all packages relying on 'crypto/elliptic'
export GOPATH in build since prepare() is not guaranteed to run in the same makepkg session

Modified:
  go-ipfs/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2019-02-06 21:39:01 UTC (rev 429788)
+++ PKGBUILD	2019-02-06 22:10:31 UTC (rev 429789)
@@ -6,10 +6,10 @@
 
 pkgname=go-ipfs
 pkgver=0.4.18
-pkgrel=1
+pkgrel=2
 
 pkgdesc='A peer-to-peer hypermedia distribution protocol'
-url='http://ipfs.io/'
+url='https://ipfs.io/'
 arch=(x86_64)
 license=(MIT)
 
@@ -31,7 +31,8 @@
 }
 
 build() {
-  export PATH="$PATH":"$PWD"/.gopath/bin
+  export GOPATH="$PWD"/.gopath
+  export PATH="$PATH":"$GOPATH"/bin
   cd "$GOPATH"/src/github.com/ipfs/go-ipfs
 
   make IPFS_GX_USE_GLOBAL=1 build



More information about the arch-commits mailing list