Package Details: flannel-cni-plugin 1.2.0-1

Git Clone URL: https://aur.archlinux.org/flannel-cni-plugin.git (read-only, click to copy)
Package Base: flannel-cni-plugin
Description: Flannel cni plugin, maintained by flannel-io
Upstream URL: https://github.com/flannel-io/cni-plugin
Licenses: Apache
Submitter: cinatic
Maintainer: cinatic
Last Packager: cinatic
Votes: 0
Popularity: 0.000000
First Submitted: 2021-09-03 20:34 (UTC)
Last Updated: 2023-07-28 12:00 (UTC)

Dependencies (2)

Required by (0)

Sources (1)

Latest Comments

cinatic commented on 2021-11-10 11:53 (UTC)

@f1x thanks

f1x commented on 2021-11-09 13:20 (UTC)

Hi, this does not build.

I applied these changes to make it work for now:

diff --git a/PKGBUILD b/PKGBUILD
index b2ec041..9f2410c 100644
--- a/PKGBUILD
+++ b/PKGBUILD
@@ -1,7 +1,7 @@
 # Maintainer: Florijan Hamzic <florijanh@gmail.com>

 pkgname=flannel-cni-plugin
-pkgver=1.1
+pkgver=1.0.0
 pkgrel=2
 pkgdesc='Flannel cni plugin, maintained by flannel-io'
 arch=(x86_64)
@@ -11,8 +11,8 @@ depends=(glibc)
 makedepends=(go)
 options=('emptydirs')
 source=($pkgname-$pkgver.tar.gz::$url/archive/refs/tags/v$pkgver.tar.gz)
-sha512sums=('cfd966568095f82ff5af5d49f40f723454f70df5ee1c30dd27210afd2b71f7de4cd52c5e3fe9a8187885e8ae59065d6f87358a68a7a78e2379a0d13f899bb7d0')
-b2sums=('22b87abbbfa56c9dac4e9023d5c7ad905ddc59ebd8994c3faf902f591f682a8181ddc7f6356b81d4e5a5153cc9d06e62bd17a46f1f866c51cabe73c681d0dbe7')
+sha512sums=('4b75cfe2af334b974093e520657a92f69e2d20b43319d8425d7f024aef0ed5b923908a55fe146a561a5e3e83be9fda218e4317b29d9e58c2f414402c58f0fea6')
+b2sums=('785bc80a097a9e8cf1fd98f3bd53d68828f150b3caff14c7a59071656989add536bfd01028efc86a5751a069363d06e46bfba6a8d0baf3bd27f3539271df88b5')

 build() {
   cd cni-plugin-$pkgver
@@ -24,10 +24,11 @@ build() {

 package() {
   cd cni-plugin-$pkgver
-  install -vDm755 bin/* -t "$pkgdir/usr/lib/cni/"
+  mv dist/flannel-amd64 dist/flannel
+  install -vDm755 dist/flannel -t "$pkgdir/usr/lib/cni"

   # Some CNI stuff would build their binaries into /usr/lib/cni with the
   # old approach. This is unfortunate so we'll just symlink each binary
   # instead.
-  install -vDm755 bin/* -t "$pkgdir/opt/cni/bin/"
+  install -vDm755 dist/flannel -t "$pkgdir/opt/cni/bin"
 }