From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 7376D158087 for ; Sat, 5 Feb 2022 23:59:47 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 236F52BC013; Sat, 5 Feb 2022 23:59:46 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id DAD342BC007 for ; Sat, 5 Feb 2022 23:59:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A1F0E342E68 for ; Sat, 5 Feb 2022 23:59:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id D76CD29 for ; Sat, 5 Feb 2022 23:59:42 +0000 (UTC) From: "Jason A. Donenfeld" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Jason A. Donenfeld" Message-ID: <1644104984.2ebba702392e863393740e6cf00b77dd3ebdfb1d.zx2c4@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: net-libs/xdp-tools/ X-VCS-Repository: repo/gentoo X-VCS-Files: net-libs/xdp-tools/Manifest net-libs/xdp-tools/xdp-tools-1.2.0.ebuild net-libs/xdp-tools/xdp-tools-1.2.2.ebuild X-VCS-Directories: net-libs/xdp-tools/ X-VCS-Committer: zx2c4 X-VCS-Committer-Name: Jason A. Donenfeld X-VCS-Revision: 2ebba702392e863393740e6cf00b77dd3ebdfb1d X-VCS-Branch: master Date: Sat, 5 Feb 2022 23:59:42 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: e01534c0-17fb-4302-a84d-e0481d706022 X-Archives-Hash: a22fce83215832b3042fb008a58e03f4 commit: 2ebba702392e863393740e6cf00b77dd3ebdfb1d Author: Jason A. Donenfeld gentoo org> AuthorDate: Sat Feb 5 23:47:25 2022 +0000 Commit: Jason A. Donenfeld gentoo 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 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 }