1 |
commit: 4176b5bfce4922591d4a56452841b341739783e8 |
2 |
Author: William Hubbs <williamh <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 31 15:48:53 2020 +0000 |
4 |
Commit: William Hubbs <williamh <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 31 15:48:53 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4176b5bf |
7 |
|
8 |
net-misc/cni-plugins: 0.8.7 bump |
9 |
|
10 |
Signed-off-by: William Hubbs <williamh <AT> gentoo.org> |
11 |
|
12 |
net-misc/cni-plugins/Manifest | 1 + |
13 |
net-misc/cni-plugins/cni-plugins-0.8.7.ebuild | 31 +++++++++++++++++++++++++++ |
14 |
2 files changed, 32 insertions(+) |
15 |
|
16 |
diff --git a/net-misc/cni-plugins/Manifest b/net-misc/cni-plugins/Manifest |
17 |
index 2c85b158fa8..759325c90a5 100644 |
18 |
--- a/net-misc/cni-plugins/Manifest |
19 |
+++ b/net-misc/cni-plugins/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST cni-plugins-0.8.6.tar.gz 1993056 BLAKE2B 89276e0f7fdbc782b30ff675abcb0f92f210771bb772269210416e17d6da443fe732774d9af8ae66f69847c8b48ee4dc6485f51e2156814cfd7e3ca8b455428f SHA512 8815de8b375c737c3a1951b0a7ef5786209fdcf723aa1bc7c2dab7e1bbdee4933a7237f41bdee4208828b457bc79ec69ff68db060c52bab13863f42b042480c8 |
22 |
+DIST cni-plugins-0.8.7.tar.gz 1965945 BLAKE2B 592b1f126547363877c657e03d69fcb25874e6d472d731861a1a03e3933901bd618a5097f3d91f6ca7fbedce29a0ff0076a65be1a528a2584a7dcb5940a4b010 SHA512 1b11b080b1f54a8a792b1048573d7d882603b76929f0c9343eeb2e010f97700c0deea4489faeb493a1aeac12557b6847b26784c378d0430c47de6bdaca6aa70f |
23 |
|
24 |
diff --git a/net-misc/cni-plugins/cni-plugins-0.8.7.ebuild b/net-misc/cni-plugins/cni-plugins-0.8.7.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..838f8dc46a5 |
27 |
--- /dev/null |
28 |
+++ b/net-misc/cni-plugins/cni-plugins-0.8.7.ebuild |
29 |
@@ -0,0 +1,31 @@ |
30 |
+# Copyright 1999-2020 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+inherit go-module linux-info |
35 |
+ |
36 |
+DESCRIPTION="Standard networking plugins for container networking" |
37 |
+HOMEPAGE="https://github.com/containernetworking/plugins" |
38 |
+SRC_URI="https://github.com/containernetworking/plugins/archive/v${PV}.tar.gz -> ${P}.tar.gz" |
39 |
+ |
40 |
+LICENSE="Apache-2.0" |
41 |
+SLOT="0" |
42 |
+KEYWORDS="~amd64 ~arm64" |
43 |
+IUSE="hardened" |
44 |
+ |
45 |
+CONFIG_CHECK="~BRIDGE_VLAN_FILTERING" |
46 |
+S="${WORKDIR}/plugins-${PV}" |
47 |
+ |
48 |
+src_compile() { |
49 |
+ CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" ./build_linux.sh || die |
50 |
+} |
51 |
+ |
52 |
+src_install() { |
53 |
+ exeinto /opt/cni/bin |
54 |
+ doexe bin/* |
55 |
+ dodoc README.md |
56 |
+ local i |
57 |
+ 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 |
58 |
+ newdoc README.md ${i##*/}.README.md |
59 |
+ done |
60 |
+} |