public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2021-10-29 11:54 Jason A. Donenfeld
  0 siblings, 0 replies; 30+ messages in thread
From: Jason A. Donenfeld @ 2021-10-29 11:54 UTC (permalink / raw
  To: gentoo-commits

commit:     bd569b9a6ef8d9e1e34a97116999e2345a16408b
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 11:53:31 2021 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 11:54:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bd569b9a

net-libs/xdp-tools: add version 0.0.3

A bit rough around the edges, given the bespoke build system of
xdp-tools is a little bit immature, and there's a bit of weirdness
around installing BPF ELF objects. But hopefully this is a solid start.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 net-libs/xdp-tools/Manifest               |  1 +
 net-libs/xdp-tools/metadata.xml           | 14 +++++++++
 net-libs/xdp-tools/xdp-tools-0.0.3.ebuild | 52 +++++++++++++++++++++++++++++++
 3 files changed, 67 insertions(+)

diff --git a/net-libs/xdp-tools/Manifest b/net-libs/xdp-tools/Manifest
new file mode 100644
index 00000000000..1ce4a87a70a
--- /dev/null
+++ b/net-libs/xdp-tools/Manifest
@@ -0,0 +1 @@
+DIST xdp-tools-0.0.3.tar.gz 381386 BLAKE2B 1160d9a7cc2b6cf7b49e7223acdbeba72046c00ec710c21140da0607cac1e8a1231992a8967b2f8f2a964da593dfe0af08b28abbc3b13818ddafebbc2c3961a7 SHA512 c2a4278db41af020cf42b1139c93786a49ad2a071b2002177ac39e8d6b74203d251bd7823399d9e156c969d2ae741b0ecd4178edf446fe5c7270e53295458fce

diff --git a/net-libs/xdp-tools/metadata.xml b/net-libs/xdp-tools/metadata.xml
new file mode 100644
index 00000000000..51fa02b96ae
--- /dev/null
+++ b/net-libs/xdp-tools/metadata.xml
@@ -0,0 +1,14 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
+<pkgmetadata>
+  <maintainer type="person">
+    <email>Jason@zx2c4.com</email>
+    <name>Jason A. Donenfeld</name>
+  </maintainer>
+  <upstream>
+    <remote-id type="github">xdp-project/xdp-tools</remote-id>
+  </upstream>
+  <use>
+    <flag name="tools">Install various helper tools rather than just libxdp.</flag>
+  </use>
+</pkgmetadata>

diff --git a/net-libs/xdp-tools/xdp-tools-0.0.3.ebuild b/net-libs/xdp-tools/xdp-tools-0.0.3.ebuild
new file mode 100644
index 00000000000..0966087d398
--- /dev/null
+++ b/net-libs/xdp-tools/xdp-tools-0.0.3.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="The libxdp library and various tools for use with XDP"
+HOMEPAGE="https://github.com/xdp-project/xdp-tools"
+SRC_URI="https://github.com/xdp-project/${PN}/releases/download/v${PV}/${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1 BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+
+IUSE="+doc +tools static-libs"
+
+DEPEND="dev-libs/libbpf
+	sys-libs/zlib
+	net-libs/libpcap
+	virtual/libelf"
+RDEPEND="${DEPEND}"
+BDEPEND=">=sys-devel/clang-10.0.0
+	doc? ( app-editors/emacs )"
+
+# Not prebuilt -- we build them -- but they're not ordinary ELF objects either.
+QA_PREBUILT="usr/lib/bpf/*.o"
+
+MAKEOPTS+=" V=1"
+
+src_prepare() {
+	# A form of this kludge is upstream but hasn't yet been released:
+	sed -i 's/install -m 0755 \$(SHARED_LIBS)/cp -fpR \$(SHARED_LIBS)/' lib/libxdp/Makefile || die
+	default
+}
+
+src_configure() {
+	export PRODUCTION=1
+	export DYNAMIC_LIBXDP=1
+	export FORCE_EMACS=$(usex doc 1 0)
+	default
+	{
+		echo "PREFIX := ${EPREFIX}/usr"
+		echo "LIBDIR := \$(PREFIX)/$(get_libdir)"
+		echo "BPF_OBJECT_DIR := \$(PREFIX)/lib/bpf"
+	} >> config.mk
+}
+
+src_install() {
+	default
+	use static-libs || rm -f "${D}/${EPREFIX}/usr/$(get_libdir)/libxdp.a"
+	use tools || rm -f "${D}/${EPREFIX}/usr/"{sbin,bin}/*
+	dostrip -x /usr/lib/bpf
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2021-10-29 12:01 Jason A. Donenfeld
  0 siblings, 0 replies; 30+ messages in thread
From: Jason A. Donenfeld @ 2021-10-29 12:01 UTC (permalink / raw
  To: gentoo-commits

commit:     93fc1739ba1faa265e42081e6f01865122b10681
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 12:01:03 2021 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 12:01:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93fc1739

net-libs/xdp-tools: use proper gentoo email in metadata

Why did the template default to this one?

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 net-libs/xdp-tools/metadata.xml | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xdp-tools/metadata.xml b/net-libs/xdp-tools/metadata.xml
index 51fa02b96ae..878714e4162 100644
--- a/net-libs/xdp-tools/metadata.xml
+++ b/net-libs/xdp-tools/metadata.xml
@@ -2,7 +2,7 @@
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
   <maintainer type="person">
-    <email>Jason@zx2c4.com</email>
+    <email>zx2c4@gentoo.org</email>
     <name>Jason A. Donenfeld</name>
   </maintainer>
   <upstream>


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2021-10-29 12:10 Jason A. Donenfeld
  0 siblings, 0 replies; 30+ messages in thread
From: Jason A. Donenfeld @ 2021-10-29 12:10 UTC (permalink / raw
  To: gentoo-commits

commit:     0413d2b898a1af51702744e6df3c7293b7971177
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 12:09:44 2021 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 12:10:09 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0413d2b8

net-libs/xdp-tools: bump to 1.2.0

Github shows both "releases" (unmaintained) and "tags" (maintained).
Choose the latter and bump this package.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 net-libs/xdp-tools/Manifest                                    |  2 +-
 .../{xdp-tools-0.0.3.ebuild => xdp-tools-1.2.0.ebuild}         | 10 +++-------
 2 files changed, 4 insertions(+), 8 deletions(-)

diff --git a/net-libs/xdp-tools/Manifest b/net-libs/xdp-tools/Manifest
index 1ce4a87a70a..5ecf7cd4b23 100644
--- a/net-libs/xdp-tools/Manifest
+++ b/net-libs/xdp-tools/Manifest
@@ -1 +1 @@
-DIST xdp-tools-0.0.3.tar.gz 381386 BLAKE2B 1160d9a7cc2b6cf7b49e7223acdbeba72046c00ec710c21140da0607cac1e8a1231992a8967b2f8f2a964da593dfe0af08b28abbc3b13818ddafebbc2c3961a7 SHA512 c2a4278db41af020cf42b1139c93786a49ad2a071b2002177ac39e8d6b74203d251bd7823399d9e156c969d2ae741b0ecd4178edf446fe5c7270e53295458fce
+DIST xdp-tools-1.2.0.tar.gz 233676 BLAKE2B 488bd24c5b0c25cb90cc434c0d7cecaf0cf2818d949008fabf4a1245f773e1a1e7a6520c4155df5a6364b0cc8ce2ae49b7b428209b762ecd11f9d6adc10cc57b SHA512 484e5aed6d695665e9e7edec8033b6034281fb215c758a8a8600b5b2215c7decb538efbafa4204306497197a329c3ad7c51beb33717fbe0296a345a1aca8c0a9

diff --git a/net-libs/xdp-tools/xdp-tools-0.0.3.ebuild b/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild
similarity index 79%
rename from net-libs/xdp-tools/xdp-tools-0.0.3.ebuild
rename to net-libs/xdp-tools/xdp-tools-1.2.0.ebuild
index 0966087d398..c3baff158c9 100644
--- a/net-libs/xdp-tools/xdp-tools-0.0.3.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild
@@ -5,7 +5,7 @@ EAPI=8
 
 DESCRIPTION="The libxdp library and various tools for use with XDP"
 HOMEPAGE="https://github.com/xdp-project/xdp-tools"
-SRC_URI="https://github.com/xdp-project/${PN}/releases/download/v${PV}/${P}.tar.gz"
+SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
 
 LICENSE="GPL-2 LGPL-2.1 BSD-2"
 SLOT="0"
@@ -26,16 +26,11 @@ QA_PREBUILT="usr/lib/bpf/*.o"
 
 MAKEOPTS+=" V=1"
 
-src_prepare() {
-	# A form of this kludge is upstream but hasn't yet been released:
-	sed -i 's/install -m 0755 \$(SHARED_LIBS)/cp -fpR \$(SHARED_LIBS)/' lib/libxdp/Makefile || die
-	default
-}
-
 src_configure() {
 	export PRODUCTION=1
 	export DYNAMIC_LIBXDP=1
 	export FORCE_EMACS=$(usex doc 1 0)
+	export FORCE_SYSTEM_LIBBPF=1
 	default
 	{
 		echo "PREFIX := ${EPREFIX}/usr"
@@ -46,6 +41,7 @@ src_configure() {
 
 src_install() {
 	default
+	rm -rf "${D}/${EPREFIX}/usr/share/xdp-tools"
 	use static-libs || rm -f "${D}/${EPREFIX}/usr/$(get_libdir)/libxdp.a"
 	use tools || rm -f "${D}/${EPREFIX}/usr/"{sbin,bin}/*
 	dostrip -x /usr/lib/bpf


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2021-10-29 12:18 Jason A. Donenfeld
  0 siblings, 0 replies; 30+ messages in thread
From: Jason A. Donenfeld @ 2021-10-29 12:18 UTC (permalink / raw
  To: gentoo-commits

commit:     6d99df4f1157e23c300ad18f50512e718d8795c3
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 12:15:52 2021 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 12:18:03 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6d99df4f

net-libs/xdp-tools: incorporate suggestions from QA

Thanks sam@.

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.2.0.ebuild | 10 +++++-----
 1 file changed, 5 insertions(+), 5 deletions(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild b/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild
index c3baff158c9..d4fa6749732 100644
--- a/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild
@@ -11,9 +11,9 @@ LICENSE="GPL-2 LGPL-2.1 BSD-2"
 SLOT="0"
 KEYWORDS="~amd64 ~x86"
 
-IUSE="+doc +tools static-libs"
+IUSE="+doc +tools"
 
-DEPEND="dev-libs/libbpf
+DEPEND="dev-libs/libbpf:=
 	sys-libs/zlib
 	net-libs/libpcap
 	virtual/libelf"
@@ -41,8 +41,8 @@ src_configure() {
 
 src_install() {
 	default
-	rm -rf "${D}/${EPREFIX}/usr/share/xdp-tools"
-	use static-libs || rm -f "${D}/${EPREFIX}/usr/$(get_libdir)/libxdp.a"
-	use tools || rm -f "${D}/${EPREFIX}/usr/"{sbin,bin}/*
+	rm -r "${ED}/usr/share/xdp-tools" || die
+	rm "${ED}/usr/$(get_libdir)/libxdp.a" || die
+	use tools || { rm "${ED}/usr/sbin"/* || die; }
 	dostrip -x /usr/lib/bpf
 }


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2021-10-29 12:26 Jason A. Donenfeld
  0 siblings, 0 replies; 30+ messages in thread
From: Jason A. Donenfeld @ 2021-10-29 12:26 UTC (permalink / raw
  To: gentoo-commits

commit:     fcada308100f6567488516556f1942558cbbabf7
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Fri Oct 29 12:25:43 2021 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Fri Oct 29 12:25:59 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fcada308

net-libs/xdp-tools: forbid use of emacs if -doc

Package-Manager: Portage-3.0.28, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.2.0.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild b/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild
index d4fa6749732..1c7f80eb7c0 100644
--- a/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild
@@ -30,6 +30,7 @@ src_configure() {
 	export PRODUCTION=1
 	export DYNAMIC_LIBXDP=1
 	export FORCE_EMACS=$(usex doc 1 0)
+	use doc || export EMACS=false
 	export FORCE_SYSTEM_LIBBPF=1
 	default
 	{


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2021-12-27 17:37 Arthur Zamarin
  0 siblings, 0 replies; 30+ messages in thread
From: Arthur Zamarin @ 2021-12-27 17:37 UTC (permalink / raw
  To: gentoo-commits

commit:     5ba1ff83b9a7c3a8d51260db78acd63d84e00547
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 27 17:36:52 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 27 17:36:52 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ba1ff83

net-libs/xdp-tools: Keyword 1.2.0 arm, #821133

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild b/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild
index 1c7f80eb7c0d..3aa124b5203c 100644
--- a/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild
@@ -9,7 +9,7 @@ SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz ->
 
 LICENSE="GPL-2 LGPL-2.1 BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~x86"
 
 IUSE="+doc +tools"
 


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2021-12-27 17:38 Arthur Zamarin
  0 siblings, 0 replies; 30+ messages in thread
From: Arthur Zamarin @ 2021-12-27 17:38 UTC (permalink / raw
  To: gentoo-commits

commit:     bf936dc20ccdf561786752328e35210636a43c5c
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Dec 27 17:38:17 2021 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Dec 27 17:38:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf936dc2

net-libs/xdp-tools: Keyword 1.2.0 arm64, #821133

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.2.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild b/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild
index 3aa124b5203c..f15f1f30f4f4 100644
--- a/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild
@@ -9,7 +9,7 @@ SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz ->
 
 LICENSE="GPL-2 LGPL-2.1 BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 
 IUSE="+doc +tools"
 


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2022-02-05 23:59 Jason A. Donenfeld
  0 siblings, 0 replies; 30+ messages in thread
From: Jason A. Donenfeld @ 2022-02-05 23:59 UTC (permalink / raw
  To: gentoo-commits

commit:     2ebba702392e863393740e6cf00b77dd3ebdfb1d
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Sat Feb  5 23:47:25 2022 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Sat Feb  5 23:49:44 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2ebba702

net-libs/xdp-tools: bump to 1.2.2

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 net-libs/xdp-tools/Manifest                        |  2 +-
 ...p-tools-1.2.0.ebuild => xdp-tools-1.2.2.ebuild} | 23 +++++++++++-----------
 2 files changed, 13 insertions(+), 12 deletions(-)

diff --git a/net-libs/xdp-tools/Manifest b/net-libs/xdp-tools/Manifest
index 5ecf7cd4b235..ea4cbad8d43e 100644
--- a/net-libs/xdp-tools/Manifest
+++ b/net-libs/xdp-tools/Manifest
@@ -1 +1 @@
-DIST xdp-tools-1.2.0.tar.gz 233676 BLAKE2B 488bd24c5b0c25cb90cc434c0d7cecaf0cf2818d949008fabf4a1245f773e1a1e7a6520c4155df5a6364b0cc8ce2ae49b7b428209b762ecd11f9d6adc10cc57b SHA512 484e5aed6d695665e9e7edec8033b6034281fb215c758a8a8600b5b2215c7decb538efbafa4204306497197a329c3ad7c51beb33717fbe0296a345a1aca8c0a9
+DIST xdp-tools-1.2.2.tar.gz 250875 BLAKE2B dc390587caa1702148a47203a53703d3d9f7e65d7503e8f8307cbec60d5b52f6c150fdc51f257463e22eaa2e897eb68f20ba7a8d7f7bc0fac47cbaf8072fd5cf SHA512 ec2fe34f820e324af044968c62440ba40cae46012c6e39d23cffc392ff190675d8a43240049b2c0467db391073469045aaa3d559cfb8a48d86fb2305fb9f45ad

diff --git a/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild b/net-libs/xdp-tools/xdp-tools-1.2.2.ebuild
similarity index 71%
rename from net-libs/xdp-tools/xdp-tools-1.2.0.ebuild
rename to net-libs/xdp-tools/xdp-tools-1.2.2.ebuild
index f15f1f30f4f4..91e600e4adc3 100644
--- a/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.2.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021 Gentoo Authors
+# Copyright 2021-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,15 +11,14 @@ LICENSE="GPL-2 LGPL-2.1 BSD-2"
 SLOT="0"
 KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 
-IUSE="+doc +tools"
+IUSE="+tools"
 
 DEPEND="dev-libs/libbpf:=
 	sys-libs/zlib
 	net-libs/libpcap
 	virtual/libelf"
 RDEPEND="${DEPEND}"
-BDEPEND=">=sys-devel/clang-10.0.0
-	doc? ( app-editors/emacs )"
+BDEPEND=">=sys-devel/clang-10.0.0"
 
 # Not prebuilt -- we build them -- but they're not ordinary ELF objects either.
 QA_PREBUILT="usr/lib/bpf/*.o"
@@ -29,21 +28,23 @@ MAKEOPTS+=" V=1"
 src_configure() {
 	export PRODUCTION=1
 	export DYNAMIC_LIBXDP=1
-	export FORCE_EMACS=$(usex doc 1 0)
-	use doc || export EMACS=false
 	export FORCE_SYSTEM_LIBBPF=1
 	default
-	{
-		echo "PREFIX := ${EPREFIX}/usr"
-		echo "LIBDIR := \$(PREFIX)/$(get_libdir)"
-		echo "BPF_OBJECT_DIR := \$(PREFIX)/lib/bpf"
-	} >> config.mk
 }
 
 src_install() {
+	export PREFIX="${EPREFIX}/usr"
+	export LIBDIR="${PREFIX}/$(get_libdir)"
+	export BPF_OBJECT_DIR="${PREFIX}/lib/bpf"
 	default
+
+	# To remove the scripts/testing files that are installed.
 	rm -r "${ED}/usr/share/xdp-tools" || die
+	# We can't control static archive generation yet.
 	rm "${ED}/usr/$(get_libdir)/libxdp.a" || die
+
 	use tools || { rm "${ED}/usr/sbin"/* || die; }
+
+	# These are ELF objects but BPF ones.
 	dostrip -x /usr/lib/bpf
 }


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2022-04-05  0:21 Jason A. Donenfeld
  0 siblings, 0 replies; 30+ messages in thread
From: Jason A. Donenfeld @ 2022-04-05  0:21 UTC (permalink / raw
  To: gentoo-commits

commit:     741d8a988d5a203c8cd03421356d1c966a47b349
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Mon Apr  4 23:31:35 2022 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Tue Apr  5 00:21:48 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=741d8a98

net-libs/xdp-tools: bump to 1.2.3

Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 net-libs/xdp-tools/Manifest                                           | 2 +-
 net-libs/xdp-tools/{xdp-tools-1.2.2.ebuild => xdp-tools-1.2.3.ebuild} | 0
 2 files changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xdp-tools/Manifest b/net-libs/xdp-tools/Manifest
index ea4cbad8d43e..9336fa35d31d 100644
--- a/net-libs/xdp-tools/Manifest
+++ b/net-libs/xdp-tools/Manifest
@@ -1 +1 @@
-DIST xdp-tools-1.2.2.tar.gz 250875 BLAKE2B dc390587caa1702148a47203a53703d3d9f7e65d7503e8f8307cbec60d5b52f6c150fdc51f257463e22eaa2e897eb68f20ba7a8d7f7bc0fac47cbaf8072fd5cf SHA512 ec2fe34f820e324af044968c62440ba40cae46012c6e39d23cffc392ff190675d8a43240049b2c0467db391073469045aaa3d559cfb8a48d86fb2305fb9f45ad
+DIST xdp-tools-1.2.3.tar.gz 252515 BLAKE2B 26c1bfd5b6c3457794801db64d020b8d6eb254661a0a44fa89dde6a1ff7c04dec1207d38a755029c8caaa955cabec70f196e37257f337cf484b8e3525261119e SHA512 588cda7010592f34ac600993ea528b76be4a8786c1b4e4599c92c5683a80848a11ae90db825f56b67adec60bd8c684bb4ced21dc1bc1b750cbd5d0704d67390d

diff --git a/net-libs/xdp-tools/xdp-tools-1.2.2.ebuild b/net-libs/xdp-tools/xdp-tools-1.2.3.ebuild
similarity index 100%
rename from net-libs/xdp-tools/xdp-tools-1.2.2.ebuild
rename to net-libs/xdp-tools/xdp-tools-1.2.3.ebuild


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2022-04-07 16:25 Jason A. Donenfeld
  0 siblings, 0 replies; 30+ messages in thread
From: Jason A. Donenfeld @ 2022-04-07 16:25 UTC (permalink / raw
  To: gentoo-commits

commit:     3b3589a62ce52a3c212a8396aa316abfb5dd5975
Author:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
AuthorDate: Thu Apr  7 16:25:12 2022 +0000
Commit:     Jason A. Donenfeld <zx2c4 <AT> gentoo <DOT> org>
CommitDate: Thu Apr  7 16:25:12 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3b3589a6

net-libs/xdp-tools: prevent broken test from running

The test suite wasn't meant to be run in this context, so just nop it
out of src_test().

Closes: https://bugs.gentoo.org/837080
Package-Manager: Portage-3.0.30, Repoman-3.0.3
Signed-off-by: Jason A. Donenfeld <zx2c4 <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.2.3.ebuild | 2 ++
 1 file changed, 2 insertions(+)

diff --git a/net-libs/xdp-tools/xdp-tools-1.2.3.ebuild b/net-libs/xdp-tools/xdp-tools-1.2.3.ebuild
index 91e600e4adc3..0dd14f1dc39b 100644
--- a/net-libs/xdp-tools/xdp-tools-1.2.3.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.2.3.ebuild
@@ -48,3 +48,5 @@ src_install() {
 	# These are ELF objects but BPF ones.
 	dostrip -x /usr/lib/bpf
 }
+
+src_test() { :; }


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2023-03-05 14:38 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2023-03-05 14:38 UTC (permalink / raw
  To: gentoo-commits

commit:     9ab962ab16855ce94236098f802219a5fab279a0
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  5 14:34:11 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar  5 14:36:34 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9ab962ab

net-libs/xdp-tools: add bpftool dep

Closes: https://bugs.gentoo.org/899684
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.3.1.ebuild | 18 ++++++++++--------
 1 file changed, 10 insertions(+), 8 deletions(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild b/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild
index fdc4068a030e..e4761fe80cbc 100644
--- a/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild
@@ -9,16 +9,18 @@ SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz ->
 
 LICENSE="GPL-2 LGPL-2.1 BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
-
+KEYWORDS="~amd64 ~x86"
 IUSE="+tools"
 
-DEPEND="dev-libs/libbpf:=
-	sys-libs/zlib
+DEPEND="
+	dev-libs/libbpf:=
+	dev-util/bpftool
 	net-libs/libpcap
-	virtual/libelf"
+	sys-libs/zlib
+	virtual/libelf
+"
 RDEPEND="${DEPEND}"
-BDEPEND=">=sys-devel/clang-10.0.0"
+BDEPEND=">=sys-devel/clang-11.0.0"
 
 # Not prebuilt -- we build them -- but they're not ordinary ELF objects either.
 QA_PREBUILT="usr/lib/bpf/*.o"
@@ -37,6 +39,8 @@ src_configure() {
 	default
 }
 
+src_test() { :; }
+
 src_install() {
 	export PREFIX="${EPREFIX}/usr"
 	export LIBDIR="${PREFIX}/$(get_libdir)"
@@ -53,5 +57,3 @@ src_install() {
 	# These are ELF objects but BPF ones.
 	dostrip -x /usr/lib/bpf
 }
-
-src_test() { :; }


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2023-03-05 14:38 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2023-03-05 14:38 UTC (permalink / raw
  To: gentoo-commits

commit:     8623eed52d39d90a4340cc60dd61c8e04183af1b
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  5 14:35:24 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar  5 14:36:35 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8623eed5

net-libs/xdp-tools: needs grep[pcre] for -P in configure

Closes: https://bugs.gentoo.org/899686
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.3.1.ebuild | 5 ++++-
 1 file changed, 4 insertions(+), 1 deletion(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild b/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild
index e4761fe80cbc..99a0ac49879d 100644
--- a/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild
@@ -20,7 +20,10 @@ DEPEND="
 	virtual/libelf
 "
 RDEPEND="${DEPEND}"
-BDEPEND=">=sys-devel/clang-11.0.0"
+BDEPEND="
+	sys-apps/grep[pcre]
+	>=sys-devel/clang-11.0.0
+"
 
 # Not prebuilt -- we build them -- but they're not ordinary ELF objects either.
 QA_PREBUILT="usr/lib/bpf/*.o"


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2023-03-05 14:38 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2023-03-05 14:38 UTC (permalink / raw
  To: gentoo-commits

commit:     fa369e7cae03f9e3668ae3e44cfaab8168784fee
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  5 14:37:50 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Mar  5 14:38:15 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa369e7c

net-libs/xdp-tools: restore 1.2.8

Needed because bpftool isn't keyworded everywhere. Rescued from
8eea55ff639c63ce54f5feba1d3300e40d4814b9.

Bug: https://bugs.gentoo.org/899684
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/xdp-tools/Manifest               |  1 +
 net-libs/xdp-tools/xdp-tools-1.2.8.ebuild | 52 +++++++++++++++++++++++++++++++
 2 files changed, 53 insertions(+)

diff --git a/net-libs/xdp-tools/Manifest b/net-libs/xdp-tools/Manifest
index 2fda18e4cc09..7cba3df6937e 100644
--- a/net-libs/xdp-tools/Manifest
+++ b/net-libs/xdp-tools/Manifest
@@ -1 +1,2 @@
+DIST xdp-tools-1.2.8.tar.gz 253786 BLAKE2B f745085b73da5193c3cdaf60c20dfa5de62f3d83487413c87b4c3d07b755dcf91cfbeb4ba970b4e04eef74b4cec4238057f4462074f49b7139d7652cb0f22998 SHA512 6ada9e433fcbefd13cebdffe93c3ce9159e9e09f1498d1615918ca6ecc4f11f03fcd9096980e8ceb7de126d4d8b953fa64917e777d54b5a3dfd1a9556de81626
 DIST xdp-tools-1.3.1.tar.gz 330516 BLAKE2B 89a61f47ba26efe6d0630d971e913e034d111d05c896e5af1bb28e6cb4e94133e6ecd827a10ee12a935ae2e6856f04556ac564ded1bcc65182766d656f8d0c5f SHA512 9dd434095a043158d14fb6829fa632fc4a0714dc0b6e08c219dfb55cb9f34005300db750115e08bd54210e90142bd499904616da077b8aa827e4de28c31be637

diff --git a/net-libs/xdp-tools/xdp-tools-1.2.8.ebuild b/net-libs/xdp-tools/xdp-tools-1.2.8.ebuild
new file mode 100644
index 000000000000..e881553d3eed
--- /dev/null
+++ b/net-libs/xdp-tools/xdp-tools-1.2.8.ebuild
@@ -0,0 +1,52 @@
+# Copyright 2021-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+DESCRIPTION="The libxdp library and various tools for use with XDP"
+HOMEPAGE="https://github.com/xdp-project/xdp-tools"
+SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1 BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+
+IUSE="+tools"
+
+DEPEND="dev-libs/libbpf:=
+	sys-libs/zlib
+	net-libs/libpcap
+	virtual/libelf"
+RDEPEND="${DEPEND}"
+BDEPEND=">=sys-devel/clang-10.0.0"
+
+# Not prebuilt -- we build them -- but they're not ordinary ELF objects either.
+QA_PREBUILT="usr/lib/bpf/*.o"
+
+MAKEOPTS+=" V=1"
+
+src_configure() {
+	export PRODUCTION=1
+	export DYNAMIC_LIBXDP=1
+	export FORCE_SYSTEM_LIBBPF=1
+	default
+}
+
+src_install() {
+	export PREFIX="${EPREFIX}/usr"
+	export LIBDIR="${PREFIX}/$(get_libdir)"
+	export BPF_OBJECT_DIR="${PREFIX}/lib/bpf"
+	default
+
+	# To remove the scripts/testing files that are installed.
+	rm -r "${ED}/usr/share/xdp-tools" || die
+	# We can't control static archive generation yet.
+	rm "${ED}/usr/$(get_libdir)/libxdp.a" || die
+
+	use tools || { rm "${ED}/usr/sbin"/* || die; }
+
+	# These are ELF objects but BPF ones.
+	dostrip -x /usr/lib/bpf
+}
+
+src_test() { :; }


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2023-03-06 12:52 Arthur Zamarin
  0 siblings, 0 replies; 30+ messages in thread
From: Arthur Zamarin @ 2023-03-06 12:52 UTC (permalink / raw
  To: gentoo-commits

commit:     7fd088001879dbb68a6ae3d51b7903488bd818d5
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  6 12:51:04 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Mar  6 12:51:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7fd08800

net-libs/xdp-tools: Keyword 1.3.1 arm, #899688

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild b/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild
index 99a0ac49879d..a5ed57f06a08 100644
--- a/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild
@@ -9,7 +9,7 @@ SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz ->
 
 LICENSE="GPL-2 LGPL-2.1 BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~x86"
+KEYWORDS="~amd64 ~arm ~x86"
 IUSE="+tools"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2023-03-06 13:44 Arthur Zamarin
  0 siblings, 0 replies; 30+ messages in thread
From: Arthur Zamarin @ 2023-03-06 13:44 UTC (permalink / raw
  To: gentoo-commits

commit:     0359b8d7ee8947182fb2e3eb23f8870d5f7e286a
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Mon Mar  6 13:44:04 2023 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Mon Mar  6 13:44:04 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=0359b8d7

net-libs/xdp-tools: Keyword 1.3.1 arm64, #899688

Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.3.1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild b/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild
index a5ed57f06a08..79e00d6eee96 100644
--- a/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild
@@ -9,7 +9,7 @@ SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz ->
 
 LICENSE="GPL-2 LGPL-2.1 BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~x86"
 IUSE="+tools"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2023-03-06 21:32 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2023-03-06 21:32 UTC (permalink / raw
  To: gentoo-commits

commit:     358434363326de24d0560133386f2359521a519d
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Mon Mar  6 15:16:51 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Mar  6 21:30:33 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=35843436

net-libs/xdp-tools: properly configure PREFIX/LIBDIR/BPF_OBJECT_DIR

The helper objects were installed correctly, but libxdp had the
wrong search path compiled in; this broke xdp-loader.

Closes: https://bugs.gentoo.org/899910
Bug: https://github.com/xdp-project/xdp-tools/issues/303

Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Closes: https://github.com/gentoo/gentoo/pull/29959
Signed-off-by: Sam James <sam <AT> gentoo.org>

 .../xdp-tools/{xdp-tools-1.3.1.ebuild => xdp-tools-1.3.1-r1.ebuild} | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild b/net-libs/xdp-tools/xdp-tools-1.3.1-r1.ebuild
similarity index 100%
rename from net-libs/xdp-tools/xdp-tools-1.3.1.ebuild
rename to net-libs/xdp-tools/xdp-tools-1.3.1-r1.ebuild
index 79e00d6eee96..95efd4e44792 100644
--- a/net-libs/xdp-tools/xdp-tools-1.3.1.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.3.1-r1.ebuild
@@ -36,6 +36,9 @@ PATCHES=(
 )
 
 src_configure() {
+	export PREFIX="${EPREFIX}/usr"
+	export LIBDIR="${PREFIX}/$(get_libdir)"
+	export BPF_OBJECT_DIR="${PREFIX}/lib/bpf"
 	export PRODUCTION=1
 	export DYNAMIC_LIBXDP=1
 	export FORCE_SYSTEM_LIBBPF=1
@@ -45,9 +48,6 @@ src_configure() {
 src_test() { :; }
 
 src_install() {
-	export PREFIX="${EPREFIX}/usr"
-	export LIBDIR="${PREFIX}/$(get_libdir)"
-	export BPF_OBJECT_DIR="${PREFIX}/lib/bpf"
 	default
 
 	# To remove the scripts/testing files that are installed.


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2023-08-12 21:07 Marek Szuba
  0 siblings, 0 replies; 30+ messages in thread
From: Marek Szuba @ 2023-08-12 21:07 UTC (permalink / raw
  To: gentoo-commits

commit:     5ef4c0b27ad6a9035505b059dd740ad200b45175
Author:     Marek Szuba <marecki <AT> gentoo <DOT> org>
AuthorDate: Sat Aug 12 20:48:06 2023 +0000
Commit:     Marek Szuba <marecki <AT> gentoo <DOT> org>
CommitDate: Sat Aug 12 21:07:07 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5ef4c0b2

net-libs/xdp-tools: keyword 1.4.0 for ~riscv

Signed-off-by: Marek Szuba <marecki <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.4.0.ebuild b/net-libs/xdp-tools/xdp-tools-1.4.0.ebuild
index 9df2ff21f8ae..144070547dbc 100644
--- a/net-libs/xdp-tools/xdp-tools-1.4.0.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.4.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz ->
 
 LICENSE="GPL-2 LGPL-2.1 BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
 IUSE="+tools"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2023-08-27 20:30 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2023-08-27 20:30 UTC (permalink / raw
  To: gentoo-commits

commit:     bac41ff9df35552899581a2e4c5bd0f57bc8b00a
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Sun Aug 27 20:01:32 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sun Aug 27 20:27:46 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bac41ff9

net-libx/xdp-tools: add proxy maintainer

Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Closes: https://github.com/gentoo/gentoo/pull/32479
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/xdp-tools/metadata.xml | 8 ++++++++
 1 file changed, 8 insertions(+)

diff --git a/net-libs/xdp-tools/metadata.xml b/net-libs/xdp-tools/metadata.xml
index 878714e41628..790067f24136 100644
--- a/net-libs/xdp-tools/metadata.xml
+++ b/net-libs/xdp-tools/metadata.xml
@@ -1,6 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
+  <maintainer type="person" proxied="yes">
+    <email>holger@applied-asynchrony.com</email>
+    <name>Holger Hoffstätte</name>
+  </maintainer>
+  <maintainer type="project" proxied="proxy">
+    <email>proxy-maint@gentoo.org</email>
+    <name>Proxy Maintainers</name>
+  </maintainer>
   <maintainer type="person">
     <email>zx2c4@gentoo.org</email>
     <name>Jason A. Donenfeld</name>


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2023-10-06 18:08 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2023-10-06 18:08 UTC (permalink / raw
  To: gentoo-commits

commit:     f11e2629ded0e14c871bb36253ddcdc8b52947e8
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Oct  6 18:08:29 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Oct  6 18:08:29 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f11e2629

net-libs/xdp-tools: Stabilize 1.4.0 amd64, #911998

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.4.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.4.0.ebuild b/net-libs/xdp-tools/xdp-tools-1.4.0.ebuild
index 144070547dbc..1e5a994e83ad 100644
--- a/net-libs/xdp-tools/xdp-tools-1.4.0.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.4.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz ->
 
 LICENSE="GPL-2 LGPL-2.1 BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
 IUSE="+tools"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2023-11-22 12:02 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2023-11-22 12:02 UTC (permalink / raw
  To: gentoo-commits

commit:     36b6b67f771d5ec4373578e1599c013b7e679b24
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Thu Nov  2 11:17:12 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Nov 22 12:02:14 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=36b6b67f

net-libs/xdp-tools: force use of ld.bfd

lld needs special care for embeddings in object files and this is not (yet)
supported by upstream, so just force ld.bfd instead of creating more
complications.

Bug: https://bugs.gentoo.org/916591
Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.4.1.ebuild | 13 +++++++++----
 1 file changed, 9 insertions(+), 4 deletions(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.4.1.ebuild b/net-libs/xdp-tools/xdp-tools-1.4.1.ebuild
index 5fd0485f706d..520357d07664 100644
--- a/net-libs/xdp-tools/xdp-tools-1.4.1.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.4.1.ebuild
@@ -45,8 +45,16 @@ src_prepare() {
 }
 
 src_configure() {
+	# filter LTO: #861587
+	filter-lto
+
+	# filter LDFLAGS some more: #916591
+	filter-ldflags -Wl,--{icf,lto}*
+
+	# force ld.bfd: #916591
+	tc-ld-force-bfd
+
 	export CC="$(tc-getCC)"
-	export LD="$(tc-getLD)"
 	export PREFIX="${EPREFIX}/usr"
 	export LIBDIR="${PREFIX}/$(get_libdir)"
 	export BPF_OBJECT_DIR="${PREFIX}/lib/bpf"
@@ -54,9 +62,6 @@ src_configure() {
 	export DYNAMIC_LIBXDP=1
 	export FORCE_SYSTEM_LIBBPF=1
 
-	# bug 861587
-	filter-lto
-
 	default
 }
 


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2023-12-24 23:07 Conrad Kostecki
  0 siblings, 0 replies; 30+ messages in thread
From: Conrad Kostecki @ 2023-12-24 23:07 UTC (permalink / raw
  To: gentoo-commits

commit:     f71335c3e956d53dae1d7bd826442dd6b840f4bc
Author:     Michael Mair-Keimberger <mmk <AT> levelnine <DOT> at>
AuthorDate: Sun Dec 17 14:28:59 2023 +0000
Commit:     Conrad Kostecki <conikost <AT> gentoo <DOT> org>
CommitDate: Sun Dec 24 23:04:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f71335c3

net-libs/xdp-tools: add missing toolchain-funcs inherit

Signed-off-by: Michael Mair-Keimberger <mmk <AT> levelnine.at>
Closes: https://github.com/gentoo/gentoo/pull/34328
Signed-off-by: Conrad Kostecki <conikost <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.4.0.ebuild    | 2 +-
 net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.4.0.ebuild b/net-libs/xdp-tools/xdp-tools-1.4.0.ebuild
index 400e2aa0f19e..fb70b301ec4d 100644
--- a/net-libs/xdp-tools/xdp-tools-1.4.0.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.4.0.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit flag-o-matic
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="The libxdp library and various tools for use with XDP"
 HOMEPAGE="https://github.com/xdp-project/xdp-tools"

diff --git a/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild b/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild
index a56fcf10ba5b..755f827fedfb 100644
--- a/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild
@@ -3,7 +3,7 @@
 
 EAPI=8
 
-inherit flag-o-matic
+inherit flag-o-matic toolchain-funcs
 
 DESCRIPTION="The libxdp library and various tools for use with XDP"
 HOMEPAGE="https://github.com/xdp-project/xdp-tools"


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2023-12-27 15:47 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2023-12-27 15:47 UTC (permalink / raw
  To: gentoo-commits

commit:     b923be7a4099bd8a50ca0991fe3c88f7966eab7d
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Wed Dec 27 15:47:40 2023 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed Dec 27 15:47:40 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b923be7a

net-libs/xdp-tools: Stabilize 1.4.1-r1 amd64, #920750

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild b/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild
index 755f827fedfb..b4259fe438a4 100644
--- a/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz ->
 
 LICENSE="GPL-2 LGPL-2.1 BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
 IUSE="+tools"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2024-02-19  7:35 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2024-02-19  7:35 UTC (permalink / raw
  To: gentoo-commits

commit:     16de6191a6a9f4c417c06bfa4d18de85ab9f663f
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Mon Feb 19 07:35:39 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Mon Feb 19 07:35:39 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=16de6191

net-libs/xdp-tools: Keyword 1.4.1-r1 ppc64, #924948

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild b/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild
index b4259fe438a4..1a024daa4407 100644
--- a/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 2021-2023 Gentoo Authors
+# Copyright 2021-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz ->
 
 LICENSE="GPL-2 LGPL-2.1 BSD-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~ppc64 ~riscv ~x86"
 IUSE="+tools"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2024-03-21  2:41 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2024-03-21  2:41 UTC (permalink / raw
  To: gentoo-commits

commit:     78ced104bc8343e704d716b42a6c8a20f2e8dfb7
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Tue Jan 30 17:46:20 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Thu Mar 21 02:39:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=78ced104

net-libs/xdp-tools: add 1.4.2

Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/xdp-tools/Manifest               |  2 +-
 net-libs/xdp-tools/xdp-tools-1.4.2.ebuild | 96 +++++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+), 1 deletion(-)

diff --git a/net-libs/xdp-tools/Manifest b/net-libs/xdp-tools/Manifest
index 5f1d1649aacb..dfdf3285fdf0 100644
--- a/net-libs/xdp-tools/Manifest
+++ b/net-libs/xdp-tools/Manifest
@@ -1,2 +1,2 @@
-DIST xdp-tools-1.4.0.tar.gz 337221 BLAKE2B 008dda0fcfd403e47ab2b8c801fc0a5c4e103fb3b9869f1d1bf5af258fc646dd5a0285d3126c012c9b81805408b9669da886b9fcf2fdf33b256f74bbf898222a SHA512 c17bd6e9e6e4cf59c33f4b9ae4e3e0434863d147abf80f87b425215261b96d4574898fa09cc2b201a427a5e9d49ad64d0c70e50e3f72e3a18c6fbdf7f4cd4a3a
 DIST xdp-tools-1.4.1.tar.gz 339878 BLAKE2B 30ed245dd0da8404cf67313ea4d5f9a148507d14bd7330bdac3b03c07d1cc0b38eb1a376636551cb8ea14c8a2e77d02527da363733a1059e1c2ebaee9ac90392 SHA512 9d2ad42713aa53c10ccbde2c344bf2696524e317544f3693114b343ab74240187699c3802cfc6efa05b3e9f9bfec80fd2537799aa3ae050717bb1f6aab435996
+DIST xdp-tools-1.4.2.tar.gz 340864 BLAKE2B c5197330ff917043e03a16346823acab760db5fe903f2e039bd2c178ad34bb04d96a0d6b321fd3565256c39422f3f1f7b475970bd22ab487e30468c96e11c711 SHA512 aedf79859872523d514f18e7a6e8b7999bd1942021968dbba9a7e86cde1c193e31b328bc56d6bf2b3fbc7f266c9df8d942d90a70bbd9d514ce38d56c07cd18ca

diff --git a/net-libs/xdp-tools/xdp-tools-1.4.2.ebuild b/net-libs/xdp-tools/xdp-tools-1.4.2.ebuild
new file mode 100644
index 000000000000..6617263e054b
--- /dev/null
+++ b/net-libs/xdp-tools/xdp-tools-1.4.2.ebuild
@@ -0,0 +1,96 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="The libxdp library and various tools for use with XDP"
+HOMEPAGE="https://github.com/xdp-project/xdp-tools"
+SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1 BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+IUSE="+tools"
+
+DEPEND="
+	dev-libs/libbpf:=
+	dev-util/bpftool
+	net-libs/libpcap
+	sys-libs/zlib
+	virtual/libelf
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	sys-apps/grep[pcre]
+	>=sys-devel/clang-11.0.0
+"
+
+# Not prebuilt -- we build them -- but they're not ordinary ELF objects either.
+QA_PREBUILT="usr/lib/bpf/*.o"
+
+MAKEOPTS+=" V=1"
+
+src_prepare() {
+	# remove -Werror: #899744
+	sed -i 's/-Werror//g' lib/Makefile lib/defines.mk || die
+	sed -i '/-Werror/d' lib/common.mk lib/libxdp/Makefile \
+		lib/libxdp/tests/Makefile lib/util/Makefile || die
+
+	default
+}
+
+src_configure() {
+	# filter LTO: #861587
+	filter-lto
+
+	# filter LDFLAGS some more: #916591
+	filter-ldflags -Wl,--{icf,lto}*
+
+	# force ld.bfd: #916591
+	tc-ld-force-bfd
+
+	export CC="$(tc-getCC)"
+	export PREFIX="${EPREFIX}/usr"
+	export LIBDIR="${PREFIX}/$(get_libdir)"
+	export BPF_OBJECT_DIR="${PREFIX}/lib/bpf"
+	export PRODUCTION=1
+	export DYNAMIC_LIBXDP=1
+	export FORCE_SYSTEM_LIBBPF=1
+
+	default
+}
+
+src_test() { :; }
+
+src_install() {
+	default
+
+	# To remove the scripts/testing files that are installed.
+	rm -r "${ED}/usr/share/xdp-tools" || die
+	# We can't control static archive generation yet.
+	rm "${ED}/usr/$(get_libdir)/libxdp.a" || die
+
+	use tools || { rm "${ED}/usr/sbin"/* || die; }
+
+	# These are ELF objects but BPF ones.
+	dostrip -x /usr/lib/bpf
+}
+
+pkg_postinst() {
+	elog
+	elog "Many BPF utilities need access to a mounted bpffs virtual file system."
+	elog "Either mount it manually like this:"
+	elog
+	elog "  mount bpffs /sys/fs/bpf -t bpf -o nosuid,nodev,noexec,relatime,mode=700"
+	elog
+	elog "or add the following line to your /etc/fstab to always mount it at boot time:"
+	elog
+	elog "  bpffs  /sys/fs/bpf  bpf  nosuid,nodev,noexec,relatime,mode=700  0 0"
+	elog
+	elog "You can verify that bpffs is mounted with:"
+	elog
+	elog "  mount | grep /sys/fs/bpf"
+	elog
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2024-03-26 20:17 Ionen Wolkens
  0 siblings, 0 replies; 30+ messages in thread
From: Ionen Wolkens @ 2024-03-26 20:17 UTC (permalink / raw
  To: gentoo-commits

commit:     72eb145d17bff778b282c7170ab4c4adc4e2b0c5
Author:     Matoro Mahri <matoro_gentoo <AT> matoro <DOT> tk>
AuthorDate: Mon Mar 25 02:15:56 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Mar 26 20:17:16 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=72eb145d

net-libs/xdp-tools: Keyword 1.4.1-r1 ppc, #924948

Signed-off-by: Matoro Mahri <matoro_gentoo <AT> matoro.tk>
Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild b/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild
index bcdc5f9e9180..62df6baaace5 100644
--- a/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.4.1-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz ->
 
 LICENSE="GPL-2 LGPL-2.1 BSD-2"
 SLOT="0"
-KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 IUSE="+tools"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2024-03-26 20:17 Ionen Wolkens
  0 siblings, 0 replies; 30+ messages in thread
From: Ionen Wolkens @ 2024-03-26 20:17 UTC (permalink / raw
  To: gentoo-commits

commit:     de7384504de1af4ea9fa1d235de471599431f76b
Author:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
AuthorDate: Tue Mar 26 20:14:40 2024 +0000
Commit:     Ionen Wolkens <ionen <AT> gentoo <DOT> org>
CommitDate: Tue Mar 26 20:17:17 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=de738450

net-libs/xdp-tools: forward ~ppc to 1.4.2

This was added in the interim after the bug was made
which specified an exact version, should be no reason
not to forward.

Signed-off-by: Ionen Wolkens <ionen <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.4.2.ebuild b/net-libs/xdp-tools/xdp-tools-1.4.2.ebuild
index 6617263e054b..6861f5e2c969 100644
--- a/net-libs/xdp-tools/xdp-tools-1.4.2.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.4.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz ->
 
 LICENSE="GPL-2 LGPL-2.1 BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc64 ~riscv ~x86"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 IUSE="+tools"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2024-06-21 18:22 Sam James
  0 siblings, 0 replies; 30+ messages in thread
From: Sam James @ 2024-06-21 18:22 UTC (permalink / raw
  To: gentoo-commits

commit:     728bae645b30c14c62b21d9dbbed1f4e35bf11f7
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Jun 21 18:22:23 2024 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Jun 21 18:22:23 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=728bae64

net-libs/xdp-tools: Stabilize 1.4.2 amd64, #934600

Signed-off-by: Sam James <sam <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.4.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.4.2.ebuild b/net-libs/xdp-tools/xdp-tools-1.4.2.ebuild
index 6861f5e2c969..b447f204968c 100644
--- a/net-libs/xdp-tools/xdp-tools-1.4.2.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.4.2.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz ->
 
 LICENSE="GPL-2 LGPL-2.1 BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 IUSE="+tools"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2024-08-09 14:39 Arthur Zamarin
  0 siblings, 0 replies; 30+ messages in thread
From: Arthur Zamarin @ 2024-08-09 14:39 UTC (permalink / raw
  To: gentoo-commits

commit:     c0c1653caa0e9becdd39a7462ea00fbead847a47
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Fri Aug  9 09:37:56 2024 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Fri Aug  9 14:39:28 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c0c1653c

net-libs/xdp-tools: add 1.4.3

Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 net-libs/xdp-tools/Manifest               |  1 +
 net-libs/xdp-tools/xdp-tools-1.4.3.ebuild | 96 +++++++++++++++++++++++++++++++
 2 files changed, 97 insertions(+)

diff --git a/net-libs/xdp-tools/Manifest b/net-libs/xdp-tools/Manifest
index dfdf3285fdf0..523230544af1 100644
--- a/net-libs/xdp-tools/Manifest
+++ b/net-libs/xdp-tools/Manifest
@@ -1,2 +1,3 @@
 DIST xdp-tools-1.4.1.tar.gz 339878 BLAKE2B 30ed245dd0da8404cf67313ea4d5f9a148507d14bd7330bdac3b03c07d1cc0b38eb1a376636551cb8ea14c8a2e77d02527da363733a1059e1c2ebaee9ac90392 SHA512 9d2ad42713aa53c10ccbde2c344bf2696524e317544f3693114b343ab74240187699c3802cfc6efa05b3e9f9bfec80fd2537799aa3ae050717bb1f6aab435996
 DIST xdp-tools-1.4.2.tar.gz 340864 BLAKE2B c5197330ff917043e03a16346823acab760db5fe903f2e039bd2c178ad34bb04d96a0d6b321fd3565256c39422f3f1f7b475970bd22ab487e30468c96e11c711 SHA512 aedf79859872523d514f18e7a6e8b7999bd1942021968dbba9a7e86cde1c193e31b328bc56d6bf2b3fbc7f266c9df8d942d90a70bbd9d514ce38d56c07cd18ca
+DIST xdp-tools-1.4.3.tar.gz 339989 BLAKE2B 836eb66a2264e9d46124a009a8b3e039da23f28f83460fb3aa724c8ca4c37952979278e3041e9acca44acd68cc94423d73f381febc107c454db7da01f583ae41 SHA512 3ba176e573d02feefc1baf81570b514bc25a61d7be3256ce530128092f07b246b8731430289cdcd874f8846122a4451f0bcd06891565dd1b48beaa10b854c646

diff --git a/net-libs/xdp-tools/xdp-tools-1.4.3.ebuild b/net-libs/xdp-tools/xdp-tools-1.4.3.ebuild
new file mode 100644
index 000000000000..6861f5e2c969
--- /dev/null
+++ b/net-libs/xdp-tools/xdp-tools-1.4.3.ebuild
@@ -0,0 +1,96 @@
+# Copyright 2021-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit flag-o-matic toolchain-funcs
+
+DESCRIPTION="The libxdp library and various tools for use with XDP"
+HOMEPAGE="https://github.com/xdp-project/xdp-tools"
+SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2 LGPL-2.1 BSD-2"
+SLOT="0"
+KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+IUSE="+tools"
+
+DEPEND="
+	dev-libs/libbpf:=
+	dev-util/bpftool
+	net-libs/libpcap
+	sys-libs/zlib
+	virtual/libelf
+"
+RDEPEND="${DEPEND}"
+BDEPEND="
+	sys-apps/grep[pcre]
+	>=sys-devel/clang-11.0.0
+"
+
+# Not prebuilt -- we build them -- but they're not ordinary ELF objects either.
+QA_PREBUILT="usr/lib/bpf/*.o"
+
+MAKEOPTS+=" V=1"
+
+src_prepare() {
+	# remove -Werror: #899744
+	sed -i 's/-Werror//g' lib/Makefile lib/defines.mk || die
+	sed -i '/-Werror/d' lib/common.mk lib/libxdp/Makefile \
+		lib/libxdp/tests/Makefile lib/util/Makefile || die
+
+	default
+}
+
+src_configure() {
+	# filter LTO: #861587
+	filter-lto
+
+	# filter LDFLAGS some more: #916591
+	filter-ldflags -Wl,--{icf,lto}*
+
+	# force ld.bfd: #916591
+	tc-ld-force-bfd
+
+	export CC="$(tc-getCC)"
+	export PREFIX="${EPREFIX}/usr"
+	export LIBDIR="${PREFIX}/$(get_libdir)"
+	export BPF_OBJECT_DIR="${PREFIX}/lib/bpf"
+	export PRODUCTION=1
+	export DYNAMIC_LIBXDP=1
+	export FORCE_SYSTEM_LIBBPF=1
+
+	default
+}
+
+src_test() { :; }
+
+src_install() {
+	default
+
+	# To remove the scripts/testing files that are installed.
+	rm -r "${ED}/usr/share/xdp-tools" || die
+	# We can't control static archive generation yet.
+	rm "${ED}/usr/$(get_libdir)/libxdp.a" || die
+
+	use tools || { rm "${ED}/usr/sbin"/* || die; }
+
+	# These are ELF objects but BPF ones.
+	dostrip -x /usr/lib/bpf
+}
+
+pkg_postinst() {
+	elog
+	elog "Many BPF utilities need access to a mounted bpffs virtual file system."
+	elog "Either mount it manually like this:"
+	elog
+	elog "  mount bpffs /sys/fs/bpf -t bpf -o nosuid,nodev,noexec,relatime,mode=700"
+	elog
+	elog "or add the following line to your /etc/fstab to always mount it at boot time:"
+	elog
+	elog "  bpffs  /sys/fs/bpf  bpf  nosuid,nodev,noexec,relatime,mode=700  0 0"
+	elog
+	elog "You can verify that bpffs is mounted with:"
+	elog
+	elog "  mount | grep /sys/fs/bpf"
+	elog
+}


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2024-08-28  6:39 Joonas Niilola
  0 siblings, 0 replies; 30+ messages in thread
From: Joonas Niilola @ 2024-08-28  6:39 UTC (permalink / raw
  To: gentoo-commits

commit:     e3c303e4b35d7deba2bb9e2deb41d401c8684fa7
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 28 06:17:18 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Wed Aug 28 06:17:18 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=e3c303e4

net-libs/xdp-tools: add missing m4 bdep

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.4.3.ebuild | 1 +
 1 file changed, 1 insertion(+)

diff --git a/net-libs/xdp-tools/xdp-tools-1.4.3.ebuild b/net-libs/xdp-tools/xdp-tools-1.4.3.ebuild
index 6861f5e2c969..4a8225a808b2 100644
--- a/net-libs/xdp-tools/xdp-tools-1.4.3.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.4.3.ebuild
@@ -25,6 +25,7 @@ RDEPEND="${DEPEND}"
 BDEPEND="
 	sys-apps/grep[pcre]
 	>=sys-devel/clang-11.0.0
+	sys-devel/m4
 "
 
 # Not prebuilt -- we build them -- but they're not ordinary ELF objects either.


^ permalink raw reply related	[flat|nested] 30+ messages in thread

* [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
@ 2024-09-12  5:53 Joonas Niilola
  0 siblings, 0 replies; 30+ messages in thread
From: Joonas Niilola @ 2024-09-12  5:53 UTC (permalink / raw
  To: gentoo-commits

commit:     ec7321aad8021d9989ec9df47ce07125a0fd96a5
Author:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 12 05:52:29 2024 +0000
Commit:     Joonas Niilola <juippis <AT> gentoo <DOT> org>
CommitDate: Thu Sep 12 05:52:29 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ec7321aa

net-libs/xdp-tools: Stabilize 1.4.3 amd64, #939075

Signed-off-by: Joonas Niilola <juippis <AT> gentoo.org>

 net-libs/xdp-tools/xdp-tools-1.4.3.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/net-libs/xdp-tools/xdp-tools-1.4.3.ebuild b/net-libs/xdp-tools/xdp-tools-1.4.3.ebuild
index 4a8225a808b2..d43146befdf1 100644
--- a/net-libs/xdp-tools/xdp-tools-1.4.3.ebuild
+++ b/net-libs/xdp-tools/xdp-tools-1.4.3.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/xdp-project/${PN}/archive/refs/tags/v${PV}.tar.gz ->
 
 LICENSE="GPL-2 LGPL-2.1 BSD-2"
 SLOT="0"
-KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
+KEYWORDS="amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
 IUSE="+tools"
 
 DEPEND="


^ permalink raw reply related	[flat|nested] 30+ messages in thread

end of thread, other threads:[~2024-09-12  5:53 UTC | newest]

Thread overview: 30+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2021-10-29 12:01 [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/ Jason A. Donenfeld
  -- strict thread matches above, loose matches on Subject: below --
2024-09-12  5:53 Joonas Niilola
2024-08-28  6:39 Joonas Niilola
2024-08-09 14:39 Arthur Zamarin
2024-06-21 18:22 Sam James
2024-03-26 20:17 Ionen Wolkens
2024-03-26 20:17 Ionen Wolkens
2024-03-21  2:41 Sam James
2024-02-19  7:35 Sam James
2023-12-27 15:47 Sam James
2023-12-24 23:07 Conrad Kostecki
2023-11-22 12:02 Sam James
2023-10-06 18:08 Sam James
2023-08-27 20:30 Sam James
2023-08-12 21:07 Marek Szuba
2023-03-06 21:32 Sam James
2023-03-06 13:44 Arthur Zamarin
2023-03-06 12:52 Arthur Zamarin
2023-03-05 14:38 Sam James
2023-03-05 14:38 Sam James
2023-03-05 14:38 Sam James
2022-04-07 16:25 Jason A. Donenfeld
2022-04-05  0:21 Jason A. Donenfeld
2022-02-05 23:59 Jason A. Donenfeld
2021-12-27 17:38 Arthur Zamarin
2021-12-27 17:37 Arthur Zamarin
2021-10-29 12:26 Jason A. Donenfeld
2021-10-29 12:18 Jason A. Donenfeld
2021-10-29 12:10 Jason A. Donenfeld
2021-10-29 11:54 Jason A. Donenfeld

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox