diff options
author | William Hubbs <williamh@gentoo.org> | 2020-08-31 10:48:53 -0500 |
---|---|---|
committer | William Hubbs <williamh@gentoo.org> | 2020-08-31 10:48:53 -0500 |
commit | 4176b5bfce4922591d4a56452841b341739783e8 (patch) | |
tree | 87c1d9251c8bad46d683e25eaddb866091c63d98 /net-misc/cni-plugins | |
parent | sci-libs/cartopy: Fix missing USE dependency (diff) | |
download | gentoo-4176b5bfce4922591d4a56452841b341739783e8.tar.gz gentoo-4176b5bfce4922591d4a56452841b341739783e8.tar.bz2 gentoo-4176b5bfce4922591d4a56452841b341739783e8.zip |
net-misc/cni-plugins: 0.8.7 bump
Signed-off-by: William Hubbs <williamh@gentoo.org>
Diffstat (limited to 'net-misc/cni-plugins')
-rw-r--r-- | net-misc/cni-plugins/Manifest | 1 | ||||
-rw-r--r-- | net-misc/cni-plugins/cni-plugins-0.8.7.ebuild | 31 |
2 files changed, 32 insertions, 0 deletions
diff --git a/net-misc/cni-plugins/Manifest b/net-misc/cni-plugins/Manifest index 2c85b158fa81..759325c90a59 100644 --- a/net-misc/cni-plugins/Manifest +++ b/net-misc/cni-plugins/Manifest @@ -1 +1,2 @@ DIST cni-plugins-0.8.6.tar.gz 1993056 BLAKE2B 89276e0f7fdbc782b30ff675abcb0f92f210771bb772269210416e17d6da443fe732774d9af8ae66f69847c8b48ee4dc6485f51e2156814cfd7e3ca8b455428f SHA512 8815de8b375c737c3a1951b0a7ef5786209fdcf723aa1bc7c2dab7e1bbdee4933a7237f41bdee4208828b457bc79ec69ff68db060c52bab13863f42b042480c8 +DIST cni-plugins-0.8.7.tar.gz 1965945 BLAKE2B 592b1f126547363877c657e03d69fcb25874e6d472d731861a1a03e3933901bd618a5097f3d91f6ca7fbedce29a0ff0076a65be1a528a2584a7dcb5940a4b010 SHA512 1b11b080b1f54a8a792b1048573d7d882603b76929f0c9343eeb2e010f97700c0deea4489faeb493a1aeac12557b6847b26784c378d0430c47de6bdaca6aa70f diff --git a/net-misc/cni-plugins/cni-plugins-0.8.7.ebuild b/net-misc/cni-plugins/cni-plugins-0.8.7.ebuild new file mode 100644 index 000000000000..838f8dc46a57 --- /dev/null +++ b/net-misc/cni-plugins/cni-plugins-0.8.7.ebuild @@ -0,0 +1,31 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 +inherit go-module linux-info + +DESCRIPTION="Standard networking plugins for container networking" +HOMEPAGE="https://github.com/containernetworking/plugins" +SRC_URI="https://github.com/containernetworking/plugins/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~arm64" +IUSE="hardened" + +CONFIG_CHECK="~BRIDGE_VLAN_FILTERING" +S="${WORKDIR}/plugins-${PV}" + +src_compile() { + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" ./build_linux.sh || die +} + +src_install() { + exeinto /opt/cni/bin + doexe bin/* + dodoc README.md + local i + for i in plugins/{meta/{bandwidth,firewall,flannel,portmap,sbr,tuning},main/{bridge,host-device,ipvlan,loopback,macvlan,ptp,vlan},ipam/{dhcp,host-local,static},sample}; do + newdoc README.md ${i##*/}.README.md + done +} |