[arch-commits] Commit in cni-plugins/repos/community-x86_64 (PKGBUILD PKGBUILD)

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


    Date: Wednesday, May 13, 2020 @ 21:35:14
  Author: foxboron
Revision: 627786

archrelease: copy trunk to community-x86_64

Added:
  cni-plugins/repos/community-x86_64/PKGBUILD
    (from rev 627785, cni-plugins/trunk/PKGBUILD)
Deleted:
  cni-plugins/repos/community-x86_64/PKGBUILD

----------+
 PKGBUILD |   61 ++++++++++++++++++++++++++++++++-----------------------------
 1 file changed, 32 insertions(+), 29 deletions(-)

Deleted: PKGBUILD
===================================================================
--- PKGBUILD	2020-05-13 21:35:04 UTC (rev 627785)
+++ PKGBUILD	2020-05-13 21:35:14 UTC (rev 627786)
@@ -1,29 +0,0 @@
-# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
-# Maintainer: Morten Linderud <foxboron at archlinux.org>
-
-pkgname=cni-plugins
-pkgver=0.8.5
-pkgrel=1
-pkgdesc='Some standard networking plugins, maintained by the CNI team'
-arch=(x86_64)
-url="https://github.com/containernetworking/plugins"
-license=(Apache)
-depends=(glibc)
-makedepends=(go-pie)
-source=($pkgname-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz)
-sha512sums=('e404ef69da189e2cc3e77ae1054fbea5232086066f2963d1ec824f63c02aede020ad8600d821ec47ae695043bd2c4a176d9e02b9a059024ff3a2fbeee9cb797a')
-
-build() {
-  cd plugins-$pkgver
-  export GOFLAGS="-trimpath"
-  export CGO_LDFLAGS="${LDFLAGS}"
-  ./build_linux.sh
-}
-
-package() {
-  cd plugins-$pkgver/bin
-  for bin in *; do
-    install -Dm755 $bin "$pkgdir/usr/lib/cni/$bin"
-  done
-  install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
-}

Copied: cni-plugins/repos/community-x86_64/PKGBUILD (from rev 627785, cni-plugins/trunk/PKGBUILD)
===================================================================
--- PKGBUILD	                        (rev 0)
+++ PKGBUILD	2020-05-13 21:35:14 UTC (rev 627786)
@@ -0,0 +1,32 @@
+# Maintainer: Bartłomiej Piotrowski <bpiotrowski at archlinux.org>
+# Maintainer: Morten Linderud <foxboron at archlinux.org>
+
+pkgname=cni-plugins
+pkgver=0.8.6
+pkgrel=1
+pkgdesc='Some standard networking plugins, maintained by the CNI team'
+arch=(x86_64)
+url="https://github.com/containernetworking/plugins"
+license=(Apache)
+depends=(glibc)
+makedepends=(go)
+source=($pkgname-$pkgver.tar.gz::$url/archive/v${pkgver}.tar.gz)
+sha512sums=('8815de8b375c737c3a1951b0a7ef5786209fdcf723aa1bc7c2dab7e1bbdee4933a7237f41bdee4208828b457bc79ec69ff68db060c52bab13863f42b042480c8')
+
+build() {
+  cd plugins-$pkgver
+  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
+}
+
+package() {
+  cd plugins-$pkgver/bin
+  for bin in *; do
+    install -Dm755 $bin "$pkgdir/usr/lib/cni/$bin"
+  done
+  install -Dm644 ../LICENSE "$pkgdir/usr/share/licenses/$pkgname/LICENSE"
+}



More information about the arch-commits mailing list