summaryrefslogtreecommitdiff
path: root/net-libs/xdp-tools
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
committerV3n3RiX <venerix@koprulu.sector>2022-03-20 00:40:44 +0000
commit4cbcc855382a06088e2f016f62cafdbcb7e40665 (patch)
tree356496503d52354aa6d9f2d36126302fed5f3a73 /net-libs/xdp-tools
parentfcc5224904648a8e6eb528d7603154160a20022f (diff)
gentoo resync : 20.03.2022
Diffstat (limited to 'net-libs/xdp-tools')
-rw-r--r--net-libs/xdp-tools/Manifest4
-rw-r--r--net-libs/xdp-tools/xdp-tools-1.2.2.ebuild (renamed from net-libs/xdp-tools/xdp-tools-1.2.0.ebuild)23
2 files changed, 14 insertions, 13 deletions
diff --git a/net-libs/xdp-tools/Manifest b/net-libs/xdp-tools/Manifest
index c654526f043e..a41a3ebc33fe 100644
--- a/net-libs/xdp-tools/Manifest
+++ b/net-libs/xdp-tools/Manifest
@@ -1,3 +1,3 @@
-DIST xdp-tools-1.2.0.tar.gz 233676 BLAKE2B 488bd24c5b0c25cb90cc434c0d7cecaf0cf2818d949008fabf4a1245f773e1a1e7a6520c4155df5a6364b0cc8ce2ae49b7b428209b762ecd11f9d6adc10cc57b SHA512 484e5aed6d695665e9e7edec8033b6034281fb215c758a8a8600b5b2215c7decb538efbafa4204306497197a329c3ad7c51beb33717fbe0296a345a1aca8c0a9
-EBUILD xdp-tools-1.2.0.ebuild 1212 BLAKE2B 0285acf6ed3603a39145af5e0a0857522cab27f0e79f57ec1714aabf82d92d6f96d159c132b00e4c44d7e302c7993c262215c79808606da04835c95aa53dcd11 SHA512 74dcc46f7ebb4a867bf6bed1f04da606fa8c388ef4a720d9d4ad5b38d65deae0b77e89a880cdb6ab0d24ce15cbb7a5e02957a7a82553968569f36ff96b278c42
+DIST xdp-tools-1.2.2.tar.gz 250875 BLAKE2B dc390587caa1702148a47203a53703d3d9f7e65d7503e8f8307cbec60d5b52f6c150fdc51f257463e22eaa2e897eb68f20ba7a8d7f7bc0fac47cbaf8072fd5cf SHA512 ec2fe34f820e324af044968c62440ba40cae46012c6e39d23cffc392ff190675d8a43240049b2c0467db391073469045aaa3d559cfb8a48d86fb2305fb9f45ad
+EBUILD xdp-tools-1.2.2.ebuild 1242 BLAKE2B b694ec7261a8bbd2a109dba75b1241dfc1a56b6b6c32eec317efe0dc6e53cb28137d3d9aef5cc0e48b715c9a5f3ca47575480f236872d1944386003b3f10eac6 SHA512 4201fc570fe81b8bef374603d3c528aff8dcac48eec0691f083ba316ba5ced2a4e79d2c24613eee99b96952d7c084911c4416aaac97ceb89ec2d409d7402a90a
MISC metadata.xml 448 BLAKE2B 5e76000a49c2578dc872010907deab803bf25d58e5383b81f8953f3ac8549f017895c7afa39a2b8c3eb47efb66c5c322177032542cdffec41de733502da41ce4 SHA512 4010fb44ad655a9c58e3328623652d2f6c10aee934daeaaa2c5738c44b086cc2674e011e5de0b6e6a058c24131a16be679e971a692800458492cf3addbd761c2
diff --git a/net-libs/xdp-tools/xdp-tools-1.2.0.ebuild b/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
}