From 3935c8c189a36b047b095813d45769da03c55fed Mon Sep 17 00:00:00 2001 From: Enrico Belleri Date: Fri, 15 Apr 2022 19:18:08 +0200 Subject: [PATCH 1/3] cni: update to 1.0.1. --- srcpkgs/cni/template | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/srcpkgs/cni/template b/srcpkgs/cni/template index a921f5ecd99b..85e011c19d45 100644 --- a/srcpkgs/cni/template +++ b/srcpkgs/cni/template @@ -1,6 +1,6 @@ # Template file for 'cni' pkgname=cni -version=0.8.0 +version=1.0.1 revision=1 build_style=go go_import_path="github.com/containernetworking/cni" @@ -10,4 +10,4 @@ maintainer="Cameron Nemo " license="Apache-2.0" homepage="https://github.com/containernetworking/cni" distfiles="https://github.com/containernetworking/cni/archive/v${version}.tar.gz" -checksum=df8afe3eeae3296ba33ca267041c42f13135c3a067bf2d932761bb02998247a6 +checksum=0e5376f70fb36c26935ddfb90b0da69736592ba8b577fbfb904750034c053d3b From 2c0b22efca8ae86f63bef0e90ea411ad2ddd947d Mon Sep 17 00:00:00 2001 From: Enrico Belleri Date: Fri, 15 Apr 2022 19:34:28 +0200 Subject: [PATCH 2/3] cni-plugins: update to 1.1.1. --- srcpkgs/cni-plugins/template | 5 +++-- 1 file changed, 3 insertions(+), 2 deletions(-) diff --git a/srcpkgs/cni-plugins/template b/srcpkgs/cni-plugins/template index 897bd1d1b0dd..f494e5e0e0fd 100644 --- a/srcpkgs/cni-plugins/template +++ b/srcpkgs/cni-plugins/template @@ -1,16 +1,17 @@ # Template file for 'cni-plugins' pkgname=cni-plugins -version=1.0.1 +version=1.1.1 revision=1 wrksrc="plugins-${version}" build_style=go +depends="cni>=1.0.0" go_import_path="github.com/containernetworking/plugins" short_desc="Container Network Interface (plugins)" maintainer="Cameron Nemo " license="Apache-2.0" homepage="https://github.com/containernetworking/plugins" distfiles="https://github.com/containernetworking/plugins/archive/v${version}.tar.gz" -checksum=2ba3cd9f341a7190885b60d363f6f23c6d20d975a7a0ab579dd516f8c6117619 +checksum=c86c44877c47f69cd23611e22029ab26b613f620195b76b3ec20f589367a7962 do_build() { ./build_linux.sh From 877774dd4a8ed34a17cc7f62c004e8ad56c584a4 Mon Sep 17 00:00:00 2001 From: Enrico Belleri Date: Fri, 15 Apr 2022 21:45:19 +0200 Subject: [PATCH 3/3] New package: cni-plugin-dnsname-1.3.1 --- srcpkgs/cni-plugin-dnsname/template | 25 +++++++++++++++++++++++++ 1 file changed, 25 insertions(+) create mode 100644 srcpkgs/cni-plugin-dnsname/template diff --git a/srcpkgs/cni-plugin-dnsname/template b/srcpkgs/cni-plugin-dnsname/template new file mode 100644 index 000000000000..f5da87d7e6b0 --- /dev/null +++ b/srcpkgs/cni-plugin-dnsname/template @@ -0,0 +1,25 @@ +# Template file for 'cni-plugin-dnsname' +pkgname=cni-plugin-dnsname +version=1.3.1 +revision=1 +wrksrc="dnsname-${version}" +build_style=go +depends="cni dnsmasq" +go_import_path="github.com/containers/dnsname" +go_package="${go_import_path}/plugins/meta/dnsname" +short_desc="Name resolution for containers" +maintainer="Enrico Belleri " +license="Apache-2.0" +homepage="https://github.com/containers/dnsname" +changelog="https://github.com/containers/dnsname/blob/main/RELEASE_NOTES.md" +distfiles="https://github.com/containers/dnsname/archive/v${version}.tar.gz" +checksum=a9319a1829e242b4769697650f7df63a635eda7369ba659618d49056b78bf3ce + +do_install() { + vmkdir usr/libexec/cni + for f in ${GOPATH}/bin/* ${GOPATH}/bin/**/*; do + if [ -f "$f" ] && [ -x "$f" ]; then + vcopy "$f" usr/libexec/cni + fi + done +}