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 E2711138334 for ; Thu, 8 Nov 2018 15:37:05 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BB7F4E09EC; Thu, 8 Nov 2018 15:37:04 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (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 82535E09EC for ; Thu, 8 Nov 2018 15:37: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 500E6335C38 for ; Thu, 8 Nov 2018 15:37:02 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 11EDE443 for ; Thu, 8 Nov 2018 15:37:00 +0000 (UTC) From: "Manuel Rüger" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Manuel Rüger" Message-ID: <1541691354.9b9747f1b76174792cceae240e6ebda14ea710a1.mrueg@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.7.4.ebuild X-VCS-Directories: net-misc/cni-plugins/ X-VCS-Committer: mrueg X-VCS-Committer-Name: Manuel Rüger X-VCS-Revision: 9b9747f1b76174792cceae240e6ebda14ea710a1 X-VCS-Branch: master Date: Thu, 8 Nov 2018 15:37:00 +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-Archives-Salt: e5c4adbd-a9de-49f2-89bb-2e62fec56f0f X-Archives-Hash: e9d41e033179fc23c81f66186f659c63 commit: 9b9747f1b76174792cceae240e6ebda14ea710a1 Author: Manuel Rüger gentoo org> AuthorDate: Thu Nov 8 15:35:54 2018 +0000 Commit: Manuel Rüger gentoo org> CommitDate: Thu Nov 8 15:35:54 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9b9747f1 net-misc/cni-plugins: Version bump to 0.7.4 Signed-off-by: Manuel Rüger gentoo.org> Package-Manager: Portage-2.3.51, Repoman-2.3.11 net-misc/cni-plugins/Manifest | 1 + net-misc/cni-plugins/cni-plugins-0.7.4.ebuild | 36 +++++++++++++++++++++++++++ 2 files changed, 37 insertions(+) diff --git a/net-misc/cni-plugins/Manifest b/net-misc/cni-plugins/Manifest index 320a2b95d85..f17b6938bc9 100644 --- a/net-misc/cni-plugins/Manifest +++ b/net-misc/cni-plugins/Manifest @@ -1,3 +1,4 @@ DIST cni-plugins-0.7.1.tar.gz 862546 BLAKE2B 9d13c616396017e3cb54dfdd5bde2c06d2ad572e55009b883d82757c173119694a40157f28fce5818bb8bd33325f2edb0ec197ff77aa2ab08615bfc55ce2bbe8 SHA512 23d3b35c22fdc85d087922fb59c63622a9283ff11d34d1a1043c323f9b07b3837418f333d2f2ab9c6a22514351d71aeeab6a57234b14f53ba29847cffa382ea0 DIST cni-plugins-0.7.2.tar.gz 862552 BLAKE2B 6dfa8842fb86a50610d1d4b512a0d6199ac8c4981dfe609b0be544e1a37b696f15dec2431b6030a4238926685a5f0153840345093e34b1efe218c58a410dd9d5 SHA512 d73a0ffb8e5977781a3f9fa93c1615633f74dfbcfeb78eb4c877992ed30d62b782714620667f14b133348d3c253df3e4219dc7ed5f353c7ec6df6c11c25905dd DIST cni-plugins-0.7.3.tar.gz 863596 BLAKE2B 8a4eda2b4ac9b6f53fda5a83cdeab4da862f5e48ddc9ae7c08f8ffa4c65c600543fcb968fa42182051a21a7233ea4e3a613aa6ff60d0e971284703de634e90d0 SHA512 d5c9744de2075270dd2a3e87ddf183c12e9f77b2d9df954d266105285042475b2f1f068f0024671f855c3aecc1269e49d6a146dd2f7647df0208aa8a9ec5195f +DIST cni-plugins-0.7.4.tar.gz 862510 BLAKE2B 7ec9ec84614caecaca1583430552bd93606ae1f178f92cb4f7047ab47292084c5102437fbc9fdfe0ebf7043c94bb1b9fbb9d2ac0bc78abadb40da11cdd62b512 SHA512 2ffe18353b525d90679eca4950e96afcaadd7c387956ef5baaf4ce97c0550315fda63403161ab8f23df086955dc2a47da612fb8d0cdd30ccfe12649393e2242c diff --git a/net-misc/cni-plugins/cni-plugins-0.7.4.ebuild b/net-misc/cni-plugins/cni-plugins-0.7.4.ebuild new file mode 100644 index 00000000000..33c40be3cbf --- /dev/null +++ b/net-misc/cni-plugins/cni-plugins-0.7.4.ebuild @@ -0,0 +1,36 @@ +# Copyright 1999-2018 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit golang-vcs-snapshot + +KEYWORDS="~amd64" +DESCRIPTION="Standard networking plugins for container networking" +EGO_PN="github.com/containernetworking/plugins" +HOMEPAGE="https://github.com/containernetworking/plugins" +SRC_URI="https://${EGO_PN}/archive/v${PV}.tar.gz -> ${P}.tar.gz" +LICENSE="Apache-2.0" +SLOT="0" +IUSE="hardened" + +src_compile() { + pushd src || die + local i + for i in plugins/{meta/{flannel,portmap,tuning},main/{bridge,host-device,ipvlan,loopback,macvlan,ptp,vlan},ipam/{dhcp,host-local},sample}; do + CGO_LDFLAGS="$(usex hardened '-fno-PIC ' '')" GOPATH="${WORKDIR}/${P}" go install -v "${EGO_PN}/${i}" + 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/{flannel,portmap,tuning},main/{bridge,host-device,ipvlan,loopback,macvlan,ptp,vlan},ipam/{dhcp,host-local},sample}; do + newdoc README.md ${i##*/}.README.md + done + popd || die +}