public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/
Date: Wed, 21 May 2025 20:56:46 +0000 (UTC)	[thread overview]
Message-ID: <1747860869.9269f883310216effc87581fae80fc4a81d91f61.sam@gentoo> (raw)

commit:     9269f883310216effc87581fae80fc4a81d91f61
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Mon Apr 28 12:56:48 2025 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Wed May 21 20:54:29 2025 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9269f883

net-libs/xdp-tools: clean up old

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

 net-libs/xdp-tools/Manifest               |  2 -
 net-libs/xdp-tools/xdp-tools-1.4.3.ebuild | 97 ------------------------------
 net-libs/xdp-tools/xdp-tools-1.5.0.ebuild | 99 -------------------------------
 3 files changed, 198 deletions(-)

diff --git a/net-libs/xdp-tools/Manifest b/net-libs/xdp-tools/Manifest
index a8eaca0f0e3f..f0399aa5731d 100644
--- a/net-libs/xdp-tools/Manifest
+++ b/net-libs/xdp-tools/Manifest
@@ -1,4 +1,2 @@
-DIST xdp-tools-1.4.3.tar.gz 339989 BLAKE2B 836eb66a2264e9d46124a009a8b3e039da23f28f83460fb3aa724c8ca4c37952979278e3041e9acca44acd68cc94423d73f381febc107c454db7da01f583ae41 SHA512 3ba176e573d02feefc1baf81570b514bc25a61d7be3256ce530128092f07b246b8731430289cdcd874f8846122a4451f0bcd06891565dd1b48beaa10b854c646
-DIST xdp-tools-1.5.0.tar.gz 353321 BLAKE2B 41ef06c544af743a8542306af93b1d2a671e53118aa9c4230521c755868245d854ef4ed38ac47102869c18104d67808e8ede8baef45dde8811b074501fc34520 SHA512 9713280fc5d58c19f972cced614f0acdb21de0f467439af2364217ae5381963f90c9e4aba9b6de1a8fdb7fa36c1f645c42b9cd1c86a2cd60168a3b974f14c0dd
 DIST xdp-tools-1.5.3.tar.gz 354019 BLAKE2B 5eb7eede34dc502301119d7c79f0a68b0dca6a72fb99e493eb581d1f6bece72059b063326de8ea9e6f25aeeadbceb28b8ecbd6a62201688c934a9645864cb0b5 SHA512 28539a11abdbb56682b98524bbec76bd097df1f4c1f1657cca7b776217f34cc18b97de0bb3b0f191659b5d0496917b1ec03d8c496587909cd0b47b8195c2add8
 DIST xdp-tools-1.5.4.tar.gz 353692 BLAKE2B f4b3e2698fecf695ee16fce4245a1e27cddef7e17e7f48510fa395c5143bed731421a87a1a44ddad98b4943eca6c4f53cbe0617336da52de0f1567d6170d6ac2 SHA512 a43f3446638638cc66508a916d4f8a44597f9b9d09083874924a6cc53d3314eadff6b0a8cf23ac66a74bceb766f5fc6c69a88d95aee4065441ce91b66ab9a4e8

diff --git a/net-libs/xdp-tools/xdp-tools-1.4.3.ebuild b/net-libs/xdp-tools/xdp-tools-1.4.3.ebuild
deleted file mode 100644
index d986fca25e3f..000000000000
--- a/net-libs/xdp-tools/xdp-tools-1.4.3.ebuild
+++ /dev/null
@@ -1,97 +0,0 @@
-# Copyright 2021-2025 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]
-	>=llvm-core/clang-11.0.0
-	sys-devel/m4
-"
-
-# 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
-}

diff --git a/net-libs/xdp-tools/xdp-tools-1.5.0.ebuild b/net-libs/xdp-tools/xdp-tools-1.5.0.ebuild
deleted file mode 100644
index ff31e06d20bc..000000000000
--- a/net-libs/xdp-tools/xdp-tools-1.5.0.ebuild
+++ /dev/null
@@ -1,99 +0,0 @@
-# Copyright 2021-2025 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=8
-
-inherit flag-o-matic linux-info 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:=
-	net-libs/libpcap
-	sys-libs/zlib
-	virtual/libelf
-"
-RDEPEND="${DEPEND}"
-BDEPEND="
-	dev-util/bpftool
-	sys-apps/grep[pcre]
-	llvm-core/clang:*[llvm_targets_BPF]
-	sys-devel/m4
-"
-
-# Not prebuilt -- we build them -- but they're not ordinary ELF objects either.
-QA_PREBUILT="usr/lib/bpf/*.o"
-
-MAKEOPTS+=" V=1"
-
-CONFIG_CHECK="~BPF ~BPF_JIT ~BPF_SYSCALL ~HAVE_EBPF_JIT ~XDP_SOCKETS ~XDP_SOCKETS_DIAG"
-
-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
-}


             reply	other threads:[~2025-05-21 20:57 UTC|newest]

Thread overview: 59+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2025-05-21 20:56 Sam James [this message]
  -- strict thread matches above, loose matches on Subject: below --
2025-10-10  6:56 [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/ Arthur Zamarin
2025-10-03 16:30 Sam James
2025-09-26 16:15 Arthur Zamarin
2025-09-23 14:15 Sam James
2025-09-22 18:56 Sam James
2025-08-16 11:31 Arthur Zamarin
2025-08-16 11:25 Arthur Zamarin
2025-08-15 10:18 Arthur Zamarin
2025-08-15 10:18 Arthur Zamarin
2025-08-15 10:18 Arthur Zamarin
2025-05-21 20:56 Sam James
2025-04-27 18:07 Sam James
2025-04-27 18:07 Sam James
2025-04-27 18:07 Sam James
2025-04-27 18:07 Sam James
2025-03-08  6:58 Arthur Zamarin
2025-02-21 12:18 Arthur Zamarin
2025-02-19 14:36 Sam James
2025-02-15 18:21 Arthur Zamarin
2025-02-15 15:29 Sam James
2025-02-15 13:45 Sam James
2025-02-15 13:34 Arthur Zamarin
2025-02-15 13:01 Arthur Zamarin
2025-02-08  1:29 Sam James
2025-01-23 23:55 Jakov Smolić
2025-01-23 21:59 Sam James
2025-01-10  9:51 Florian Schmaus
2024-12-07  6:28 Arthur Zamarin
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 12:01 Jason A. Donenfeld
2021-10-29 11:54 Jason A. Donenfeld

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=1747860869.9269f883310216effc87581fae80fc4a81d91f61.sam@gentoo \
    --to=sam@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