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 03EA1158086 for ; Fri, 29 Oct 2021 12:10:17 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 42CBEE0867; Fri, 29 Oct 2021 12:10:16 +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 295ABE0867 for ; Fri, 29 Oct 2021 12:10:16 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 E2FF53430A2 for ; Fri, 29 Oct 2021 12:10:14 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 44D1E144 for ; Fri, 29 Oct 2021 12:10:13 +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: <1635509409.0413d2b898a1af51702744e6df3c7293b7971177.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-0.0.3.ebuild net-libs/xdp-tools/xdp-tools-1.2.0.ebuild X-VCS-Directories: net-libs/xdp-tools/ X-VCS-Committer: zx2c4 X-VCS-Committer-Name: Jason A. Donenfeld X-VCS-Revision: 0413d2b898a1af51702744e6df3c7293b7971177 X-VCS-Branch: master Date: Fri, 29 Oct 2021 12:10:13 +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: 9dfc0882-b1ac-4939-9b6f-34abdbbc7abd X-Archives-Hash: ab558b4f52594f059620e03ed03c8b0c commit: 0413d2b898a1af51702744e6df3c7293b7971177 Author: Jason A. Donenfeld gentoo org> AuthorDate: Fri Oct 29 12:09:44 2021 +0000 Commit: Jason A. Donenfeld gentoo 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 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