From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 8B27D138350 for ; Sun, 19 Jan 2020 19:36:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id CF60CE09EF; Sun, 19 Jan 2020 19:36:04 +0000 (UTC) Received: from smtp.gentoo.org (mail.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id ACB10E09EF for ; Sun, 19 Jan 2020 19:36:04 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B998734E255 for ; Sun, 19 Jan 2020 19:36:03 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 597EE102 for ; Sun, 19 Jan 2020 19:36:02 +0000 (UTC) From: "William Hubbs" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "William Hubbs" Message-ID: <1579462543.d6c67cab20f65088b14884b79512f577e0171b9e.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-misc/cni-plugins/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-misc/cni-plugins/Manifest net-misc/cni-plugins/cni-plugins-0.8.4.ebuild X-VCS-Directories: net-misc/cni-plugins/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: d6c67cab20f65088b14884b79512f577e0171b9e X-VCS-Branch: master Date: Sun, 19 Jan 2020 19:36:02 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ce0090aa-eecb-4182-afd1-ed240f003b3f X-Archives-Hash: c77469b4ce1a14d2e9b6a62e5cb4a763 commit: d6c67cab20f65088b14884b79512f577e0171b9e Author: William Hubbs gentoo org> AuthorDate: Sun Jan 19 19:34:47 2020 +0000 Commit: William Hubbs gentoo org> CommitDate: Sun Jan 19 19:35:43 2020 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d6c67cab net-misc/cni-plugins: 0.8.4 bump Signed-off-by: William Hubbs gentoo.org> net-misc/cni-plugins/Manifest | 1 + net-misc/cni-plugins/cni-plugins-0.8.4.ebuild | 39 +++++++++++++++++++++++++++ 2 files changed, 40 insertions(+) diff --git a/net-misc/cni-plugins/Manifest b/net-misc/cni-plugins/Manifest index 0f37333e908..c06bb485bcd 100644 --- a/net-misc/cni-plugins/Manifest +++ b/net-misc/cni-plugins/Manifest @@ -1,2 +1,3 @@ DIST cni-plugins-0.8.2.tar.gz 1997790 BLAKE2B a3c0196c589a3a77de100a87ca8d3eb952478190c78dc50bc7b65d6229ec33593fe77be4a8c5b593d9ea8bb806f9b8d04768bc52b689b006640cfa34c176a0a1 SHA512 383540232593c7ef8c28f83e660a58ae6dd2592c6d97a43c8fc1f046a3fa448911d4066ec0a6a7d7e770a1a2dceee7c31d742100b0871e07d691fe6bdffd42f9 DIST cni-plugins-0.8.3.tar.gz 2001599 BLAKE2B e087814146c53d372af5b1cc47098f0060cb1528618d9848287592c0b442856114c711ea747efca4e8a79e9ee0b4285678a6e48e07d0698f1382c1e822a49451 SHA512 054479a73ddbfbdb2986ac202ae2da7a69ae7bb693a250885f950a26973c60be3053d4e95ca24cf5eb67c104b9af8231f859e22c01a066ce3a206a186fc55a6d +DIST cni-plugins-0.8.4.tar.gz 2002863 BLAKE2B afc0229256f04b5079ff4f30fca422e7e72dc46b01a988b38647bbed767ad4c8362c99eca84ade86a52ffbd3aadda60ae1b14974436eab862d4c9ed356320b2b SHA512 1a66a9d2cc3bad17201426905ed8349fa0c260ffef423338bc93c4ff191c4d38e6b9228ca3b5c44b148c854379f741f2dbd88ac9937dc1599f95f4df8b6f4346 diff --git a/net-misc/cni-plugins/cni-plugins-0.8.4.ebuild b/net-misc/cni-plugins/cni-plugins-0.8.4.ebuild new file mode 100644 index 00000000000..82ab7c1b97f --- /dev/null +++ b/net-misc/cni-plugins/cni-plugins-0.8.4.ebuild @@ -0,0 +1,39 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +inherit linux-info golang-vcs-snapshot + +DESCRIPTION="Standard networking plugins for container networking" +HOMEPAGE="https://github.com/containernetworking/plugins" +EGO_PN="github.com/containernetworking/plugins" +SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64" +IUSE="hardened" + +CONFIG_CHECK="~BRIDGE_VLAN_FILTERING" + +src_compile() { + pushd src || die + 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 + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" GOPATH="${WORKDIR}/${P}" go install -v "${EGO_PN}/${i}" || die + done + popd || die +} + +src_install() { + exeinto /opt/cni/bin + doexe bin/* + pushd src/${EGO_PN} || die + 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 + popd || die +}