David Runge pushed to branch main at Arch Linux / Packaging / Packages / 
cni-plugins


Commits:
e9af3c87 by David Runge at 2023-12-05T00:00:19+01:00
upgpkg: 1.4.0-1

- - - - -


2 changed files:

- + .SRCINFO
- PKGBUILD


Changes:

=====================================
.SRCINFO
=====================================
@@ -0,0 +1,17 @@
+pkgbase = cni-plugins
+       pkgdesc = Some standard networking plugins, maintained by the CNI team
+       pkgver = 1.4.0
+       pkgrel = 1
+       url = https://github.com/containernetworking/plugins
+       arch = x86_64
+       license = Apache-2.0
+       makedepends = go
+       depends = glibc
+       provides = container-network-stack=1
+       options = !lto
+       options = emptydirs
+       source = 
https://github.com/containernetworking/plugins/archive/v1.4.0/plugins-v1.4.0.tar.gz
+       sha512sums = 
d812663fb58cfa2bfe35dd70940586d47f11feddd35a86ea7639197b022f9c0e0f487679e2e968eebf1f80b8b1d9cfbd0fe99d80590ae60a8128fa393d713e0b
+       b2sums = 
5d492591daa15176a19639005245c53d0f552a7c61e79fda917eee90cd460420ec0f55b520e24fa058df4d67feb4955770b611f61658de6bc219d1b882d44f46
+
+pkgname = cni-plugins


=====================================
PKGBUILD
=====================================
@@ -4,12 +4,12 @@
 
 _name=plugins
 pkgname=cni-plugins
-pkgver=1.3.0
+pkgver=1.4.0
 pkgrel=1
 pkgdesc='Some standard networking plugins, maintained by the CNI team'
 arch=(x86_64)
 url="https://github.com/containernetworking/plugins";
-license=(Apache)
+license=(Apache-2.0)
 depends=(glibc)
 makedepends=(go)
 provides=(container-network-stack=1)
@@ -18,8 +18,8 @@ options=(
   emptydirs  # NOTE: we need /etc/cni/net.d/ for configs
 )
 source=($url/archive/v$pkgver/$_name-v$pkgver.tar.gz)
-sha512sums=('87e186b3cd64f66280f5b2293dcdd1fc22cb8f51a248124fb622adc48a893348419ba4c29c4769dede4d9e60f2e9fea5d4198f10badb4ecd20a1551e0b344e10')
-b2sums=('c5599f1d8ac3bffb802877ae8c49024a9dea1940923316e534397a8dc7e467f6fe3ceef514a41522611a8f06c4f4ba0788105081e68a4712e2eefade33226c7b')
+sha512sums=('d812663fb58cfa2bfe35dd70940586d47f11feddd35a86ea7639197b022f9c0e0f487679e2e968eebf1f80b8b1d9cfbd0fe99d80590ae60a8128fa393d713e0b')
+b2sums=('5d492591daa15176a19639005245c53d0f552a7c61e79fda917eee90cd460420ec0f55b520e24fa058df4d67feb4955770b611f61658de6bc219d1b882d44f46')
 
 prepare() {
   mkdir -vp $_name-$pkgver/bin
@@ -59,6 +59,7 @@ package() {
   # /opt/cni/bin if they are not found (as non-symlink files), so we have to
   # install them twice... ;_;
   install -vDm755 bin/* -t "$pkgdir/opt/cni/bin/"
+  strip "$pkgdir/opt/cni/bin/"*
   install -vdm755 "$pkgdir/etc/cni/net.d/"
   install -vDm644 LICENSE -t "$pkgdir/usr/share/licenses/$pkgname/"
   install -vDm644 plugins/ipam/dhcp/systemd/* -t 
"$pkgdir/usr/lib/systemd/system/"



View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/cni-plugins/-/commit/e9af3c879da16c1f4152597861c4e9a2dd1a486e

-- 
View it on GitLab: 
https://gitlab.archlinux.org/archlinux/packaging/packages/cni-plugins/-/commit/e9af3c879da16c1f4152597861c4e9a2dd1a486e
You're receiving this email because of your account on gitlab.archlinux.org.


Reply via email to