diff options
author | Holger Hoffstätte <holger@applied-asynchrony.com> | 2023-03-04 16:16:10 +0100 |
---|---|---|
committer | Sam James <sam@gentoo.org> | 2023-03-05 11:19:19 +0000 |
commit | 8eea55ff639c63ce54f5feba1d3300e40d4814b9 (patch) | |
tree | fc7aa02ae489e728eedc4178dd314f374191d278 /net-libs/xdp-tools/xdp-tools-1.2.8.ebuild | |
parent | x11-drivers/xf86-video-amdgpu: sync live (diff) | |
download | gentoo-8eea55ff639c63ce54f5feba1d3300e40d4814b9.tar.gz gentoo-8eea55ff639c63ce54f5feba1d3300e40d4814b9.tar.bz2 gentoo-8eea55ff639c63ce54f5feba1d3300e40d4814b9.zip |
net-libs/xdp-tools: bump to 1.3.1 & add build fixes
- fix configure to properly detect libbpf features
- fix clang build with default-enabled stack protector
Closes: https://bugs.gentoo.org/889842
Signed-off-by: Holger Hoffstätte <holger@applied-asynchrony.com>
Closes: https://github.com/gentoo/gentoo/pull/29926
Signed-off-by: Sam James <sam@gentoo.org>
Diffstat (limited to 'net-libs/xdp-tools/xdp-tools-1.2.8.ebuild')
-rw-r--r-- | net-libs/xdp-tools/xdp-tools-1.2.8.ebuild | 52 |
1 files changed, 0 insertions, 52 deletions
diff --git a/net-libs/xdp-tools/xdp-tools-1.2.8.ebuild b/net-libs/xdp-tools/xdp-tools-1.2.8.ebuild deleted file mode 100644 index 0dd14f1dc39b..000000000000 --- a/net-libs/xdp-tools/xdp-tools-1.2.8.ebuild +++ /dev/null @@ -1,52 +0,0 @@ -# Copyright 2021-2022 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() { :; } |