Date: Wednesday, March 9, 2022 @ 20:32:38 Author: foxboron Revision: 1145702
archrelease: copy trunk to community-x86_64 Added: cni-plugins/repos/community-x86_64/PKGBUILD (from rev 1145701, cni-plugins/trunk/PKGBUILD) Deleted: cni-plugins/repos/community-x86_64/PKGBUILD ----------+ PKGBUILD | 82 ++++++++++++++++++++++++++++++------------------------------- 1 file changed, 41 insertions(+), 41 deletions(-) Deleted: PKGBUILD =================================================================== --- PKGBUILD 2022-03-09 20:32:32 UTC (rev 1145701) +++ PKGBUILD 2022-03-09 20:32:38 UTC (rev 1145702) @@ -1,41 +0,0 @@ -# Maintainer: Morten Linderud <foxbo...@archlinux.org> -# Maintainer: David Runge <dv...@archlinux.org> -# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> - -pkgname=cni-plugins -pkgver=1.1.0 -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) -provides=(container-network-stack) -# unable to build with LTO: https://github.com/containernetworking/plugins/issues/706 -options=(!lto) -source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz) -sha512sums=('43cfcb0225cbc85cc75205cefac75f852fccce1a71b0384fe1f989e64c37508fc3b87cbc05c6dac679aea8950c3cd4d328a616fa79b52474561c624164da0206') -b2sums=('852397c56bcb71a228f0d8b513a0ddd061de1d9b158e3afe53701bd66c0eb0e7bb9d9e6e590dd446e7ea0428f47e6a4f62a430b68a7abc9a7b49f38b32a440ca') - -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 - install -vDm755 bin/* -t "$pkgdir/usr/lib/cni/" - # some applications would build their own versions of CNI plugins in - # /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/" - 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/" -} Copied: cni-plugins/repos/community-x86_64/PKGBUILD (from rev 1145701, cni-plugins/trunk/PKGBUILD) =================================================================== --- PKGBUILD (rev 0) +++ PKGBUILD 2022-03-09 20:32:38 UTC (rev 1145702) @@ -0,0 +1,41 @@ +# Maintainer: Morten Linderud <foxbo...@archlinux.org> +# Maintainer: David Runge <dv...@archlinux.org> +# Contributor: Bartłomiej Piotrowski <bpiotrow...@archlinux.org> + +pkgname=cni-plugins +pkgver=1.1.1 +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) +provides=(container-network-stack) +# unable to build with LTO: https://github.com/containernetworking/plugins/issues/706 +options=(!lto) +source=($pkgname-$pkgver.tar.gz::$url/archive/v$pkgver.tar.gz) +sha512sums=('03da31caee5f9595abf65d4a551984b995bc18c5e97409549f08997c5a6a2b41a8950144f8a5b4f810cb401ddbe312232d2be76ec977acf8108eb490786b1817') +b2sums=('2fd70260995e423d2b4ac3a8d2135074baffe5d36177d5e1e5a9ce146f6d2ecfeb3b843de62e43f863085ff965be4160cf5f4cae892d3c59070ef390409ef3c9') + +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 + install -vDm755 bin/* -t "$pkgdir/usr/lib/cni/" + # some applications would build their own versions of CNI plugins in + # /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/" + 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/" +}