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.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 6BBDA158094 for ; Sat, 24 Sep 2022 19:09:39 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id B8DA0E09DB; Sat, 24 Sep 2022 19:09:38 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9EF73E09DB for ; Sat, 24 Sep 2022 19:09:37 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 576CB340F3C for ; Sat, 24 Sep 2022 19:09:36 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id AE4E35E7 for ; Sat, 24 Sep 2022 19:09:34 +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: <1664046549.1cd833040af6249eb898a51579004b994ddbb0c6.williamh@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/cni-plugins/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-containers/cni-plugins/cni-plugins-1.1.1-r1.ebuild X-VCS-Directories: app-containers/cni-plugins/ X-VCS-Committer: williamh X-VCS-Committer-Name: William Hubbs X-VCS-Revision: 1cd833040af6249eb898a51579004b994ddbb0c6 X-VCS-Branch: master Date: Sat, 24 Sep 2022 19:09:34 +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: 6a967ba0-9cca-4a5f-9923-a9a010332ff1 X-Archives-Hash: 9c06d10570840c6adb5135309a6091bb commit: 1cd833040af6249eb898a51579004b994ddbb0c6 Author: William Hubbs gentoo org> AuthorDate: Sat Sep 24 19:07:07 2022 +0000 Commit: William Hubbs gentoo org> CommitDate: Sat Sep 24 19:09:09 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1cd83304 app-containers/cni-plugins: 1.1.1-r1 revbump to add iptables to RDEPEND Closes: https://bugs.gentoo.org/870622 Signed-off-by: William Hubbs gentoo.org> .../cni-plugins/cni-plugins-1.1.1-r1.ebuild | 37 ++++++++++++++++++++++ 1 file changed, 37 insertions(+) diff --git a/app-containers/cni-plugins/cni-plugins-1.1.1-r1.ebuild b/app-containers/cni-plugins/cni-plugins-1.1.1-r1.ebuild new file mode 100644 index 000000000000..2cd642a24d33 --- /dev/null +++ b/app-containers/cni-plugins/cni-plugins-1.1.1-r1.ebuild @@ -0,0 +1,37 @@ +# Copyright 1999-2022 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 +inherit go-module linux-info systemd + +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 ~ppc64 ~riscv" +IUSE="hardened" + +RDEPEND="net-firewall/iptables" + +CONFIG_CHECK="~BRIDGE_VLAN_FILTERING ~NETFILTER_XT_MATCH_COMMENT + ~NETFILTER_XT_MATCH_MULTIPORT" + +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 + systemd_dounit plugins/ipam/dhcp/systemd/cni-dhcp.{service,socket} + newinitd "${FILESDIR}"/cni-dhcp.initd cni-dhcp +}