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

Morten Linderud foxboron at archlinux.org
Wed May 13 21:35:04 UTC 2020


    Date: Wednesday, May 13, 2020 @ 21:35:04
  Author: foxboron
Revision: 627785

upgpkg: cni-plugins 0.8.6-1

Modified:
  cni-plugins/trunk/PKGBUILD

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

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-13 21:25:53 UTC (rev 627784)
+++ PKGBUILD	2020-05-13 21:35:04 UTC (rev 627785)
@@ -2,7 +2,7 @@
 # Maintainer: Morten Linderud <foxboron at archlinux.org>
 
 pkgname=cni-plugins
-pkgver=0.8.5
+pkgver=0.8.6
 pkgrel=1
 pkgdesc='Some standard networking plugins, maintained by the CNI team'
 arch=(x86_64)
@@ -9,14 +9,17 @@
 url="https://github.com/containernetworking/plugins"
 license=(Apache)
 depends=(glibc)
-makedepends=(go-pie)
+makedepends=(go)
 source=($pkgname-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz)
-sha512sums=('e404ef69da189e2cc3e77ae1054fbea5232086066f2963d1ec824f63c02aede020ad8600d821ec47ae695043bd2c4a176d9e02b9a059024ff3a2fbeee9cb797a')
+sha512sums=('8815de8b375c737c3a1951b0a7ef5786209fdcf723aa1bc7c2dab7e1bbdee4933a7237f41bdee4208828b457bc79ec69ff68db060c52bab13863f42b042480c8')
 
 build() {
   cd plugins-$pkgver
-  export GOFLAGS="-trimpath"
+  export GOFLAGS="-buildmode=pie -trimpath -mod=readonly -modcacherw"
   export CGO_LDFLAGS="${LDFLAGS}"
+  export CGO_CFLAGS="${CFLAGS}"
+  export CGO_CPPFLAGS="${CPPFLAGS}"
+  export CGO_CXXFLAGS="${CXXFLAGS}"
   ./build_linux.sh
 }
 


More information about the arch-commits mailing list