public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "William Hubbs" <williamh@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: app-containers/cni-plugins/
Date: Sat, 24 Sep 2022 19:09:34 +0000 (UTC)	[thread overview]
Message-ID: <1664046549.1cd833040af6249eb898a51579004b994ddbb0c6.williamh@gentoo> (raw)

commit:     1cd833040af6249eb898a51579004b994ddbb0c6
Author:     William Hubbs <williamh <AT> gentoo <DOT> org>
AuthorDate: Sat Sep 24 19:07:07 2022 +0000
Commit:     William Hubbs <williamh <AT> gentoo <DOT> 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 <williamh <AT> 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
+}


             reply	other threads:[~2022-09-24 19:09 UTC|newest]

Thread overview: 13+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-09-24 19:09 William Hubbs [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-02-21 16:26 [gentoo-commits] repo/gentoo:master commit in: app-containers/cni-plugins/ William Hubbs
2023-07-25 16:12 William Hubbs
2023-08-07 23:14 Sam James
2023-08-08  2:27 Sam James
2024-06-19  0:27 William Hubbs
2024-06-19  0:31 William Hubbs
2024-12-01 19:02 Arthur Zamarin
2024-12-01 21:47 William Hubbs
2024-12-01 21:51 William Hubbs
2024-12-11 20:57 William Hubbs
2025-03-08 17:09 Sam James
2025-03-08 18:54 Arthur Zamarin

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1664046549.1cd833040af6249eb898a51579004b994ddbb0c6.williamh@gentoo \
    --to=williamh@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox