diff options
Diffstat (limited to 'net-libs/xdp-tools')
-rw-r--r-- | net-libs/xdp-tools/Manifest | 2 | ||||
-rw-r--r-- | net-libs/xdp-tools/xdp-tools-1.2.0.ebuild (renamed from net-libs/xdp-tools/xdp-tools-0.0.3.ebuild) | 10 |
2 files changed, 4 insertions, 8 deletions
diff --git a/net-libs/xdp-tools/Manifest b/net-libs/xdp-tools/Manifest index 1ce4a87a70a7..5ecf7cd4b235 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 index 0966087d398a..c3baff158c9e 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 |