mirror of
https://github.com/flatcar/scripts.git
synced 2025-08-12 15:36:58 +02:00
dev-util/pahole: Sync with Gentoo
It's from Gentoo commit 69ad20f8c79f48eda2e748332811ebccde382acf.
This commit is contained in:
parent
5fa6f9df13
commit
cfe19f82aa
@ -1,2 +1,4 @@
|
|||||||
DIST dwarves-1.27.tar.sign 228 BLAKE2B c15de74840aac809912b4b8bdd4c9171ba909bf6ad5d1466b33e67371455c19182e713d1a6abe134205cef909be5a5c1dcf8a24964b9e17fe1903963e7682e20 SHA512 4f46766f4d0bdd2d6b5409a62d59eb4f27473bd78aa2a9e03b44f13f740dab94e41ce565a44428f042f1b9eaf465392c136398aebc532b339db2a6d0b147fdfa
|
DIST dwarves-1.27.tar.sign 228 BLAKE2B c15de74840aac809912b4b8bdd4c9171ba909bf6ad5d1466b33e67371455c19182e713d1a6abe134205cef909be5a5c1dcf8a24964b9e17fe1903963e7682e20 SHA512 4f46766f4d0bdd2d6b5409a62d59eb4f27473bd78aa2a9e03b44f13f740dab94e41ce565a44428f042f1b9eaf465392c136398aebc532b339db2a6d0b147fdfa
|
||||||
DIST dwarves-1.27.tar.xz 2254968 BLAKE2B 0a0f8ec8bf26240e17dc3319e76e16299514d662a79b25c4c962f723127f55d185d557adba7230d23b2e2b38fc62044aaa3474a458dc3df2000260637f995121 SHA512 4eae00e2e5b636fce6c6b38f59ac561b0e613c23af1bc6e16d9e9df2b71323e090d4101dde7e5020e30c2251c364cb731c82865fd0c65c4aa417b7cc706cfe25
|
DIST dwarves-1.27.tar.xz 2254968 BLAKE2B 0a0f8ec8bf26240e17dc3319e76e16299514d662a79b25c4c962f723127f55d185d557adba7230d23b2e2b38fc62044aaa3474a458dc3df2000260637f995121 SHA512 4eae00e2e5b636fce6c6b38f59ac561b0e613c23af1bc6e16d9e9df2b71323e090d4101dde7e5020e30c2251c364cb731c82865fd0c65c4aa417b7cc706cfe25
|
||||||
|
DIST dwarves-1.29.tar.sign 228 BLAKE2B ebf58feb5a3823263ef0bd2cd1fabfd4ed196a02954b3479faca6a028168bc2198fe6bd25b8a508704762c19809047babaa2ceeaf00d14e1be49ec5208e69fd0 SHA512 1c679706b87b763771b2a83b67df952b1fa27023e4d56d558772bcccda114cd7febcbcce7ee52211c9161e7f7984197d37e6c68955312271a282af90e3e6925e
|
||||||
|
DIST dwarves-1.29.tar.xz 2341312 BLAKE2B a13738139445ed78243566d569e635600bbf9515c77bccde856ac41537541ad4f5c432913fd6becfa959b7a912a9d483b9d77d7aa597f7f5e96495bd70bfb7e2 SHA512 02f1922d8db46e60b4aedb4e37da34eaf28d6ee86d8c202c9eaaf31f8acc931dc2ec8c715fd62e1adef676022f366b45f3ac843d93e9b1e7865323bb0a92ca24
|
||||||
|
73
sdk_container/src/third_party/portage-stable/dev-util/pahole/pahole-1.29.ebuild
vendored
Normal file
73
sdk_container/src/third_party/portage-stable/dev-util/pahole/pahole-1.29.ebuild
vendored
Normal file
@ -0,0 +1,73 @@
|
|||||||
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
|
EAPI=8
|
||||||
|
|
||||||
|
PYTHON_COMPAT=( python3_{10..13} )
|
||||||
|
inherit cmake python-single-r1
|
||||||
|
|
||||||
|
MY_PN=dwarves
|
||||||
|
MY_P=${MY_PN}-${PV%%_p*}
|
||||||
|
|
||||||
|
DESCRIPTION="pahole (Poke-a-Hole) and other DWARF utilities"
|
||||||
|
HOMEPAGE="https://git.kernel.org/cgit/devel/pahole/pahole.git/"
|
||||||
|
|
||||||
|
if [[ ${PV} == 9999 ]] ; then
|
||||||
|
EGIT_REPO_URI="https://git.kernel.org/pub/scm/devel/pahole/pahole.git"
|
||||||
|
inherit git-r3
|
||||||
|
else
|
||||||
|
VERIFY_SIG_OPENPGP_KEY_PATH=/usr/share/openpgp-keys/arnaldocarvalhodemelo.asc
|
||||||
|
inherit verify-sig
|
||||||
|
SRC_URI="http://fedorapeople.org/~acme/${MY_PN}/${MY_P}.tar.xz
|
||||||
|
verify-sig? ( http://fedorapeople.org/~acme/${MY_PN}/${MY_P}.tar.sign )"
|
||||||
|
if [[ ${PV} == *_p* ]] ; then
|
||||||
|
# Patch rollups from git format-patch. Sometimes there are important
|
||||||
|
# fixes in git which haven't been released (and no release in sight).
|
||||||
|
# Patch rollups are a bit better for understanding where changes have
|
||||||
|
# come from for users.
|
||||||
|
SRC_URI+=" https://dev.gentoo.org/~sam/distfiles/${CATEGORY}/${PN}/${P}-patches.tar.xz"
|
||||||
|
fi
|
||||||
|
S="${WORKDIR}"/${MY_P}
|
||||||
|
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-arnaldocarvalhodemelo )"
|
||||||
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
|
fi
|
||||||
|
|
||||||
|
LICENSE="GPL-2" # only
|
||||||
|
SLOT="0"
|
||||||
|
IUSE="debug"
|
||||||
|
REQUIRED_USE="${PYTHON_REQUIRED_USE}"
|
||||||
|
|
||||||
|
RDEPEND="${PYTHON_DEPS}
|
||||||
|
>=dev-libs/elfutils-0.178
|
||||||
|
sys-libs/zlib"
|
||||||
|
DEPEND="${RDEPEND}"
|
||||||
|
|
||||||
|
DOCS=( README README.ctracer NEWS )
|
||||||
|
|
||||||
|
PATCHES=(
|
||||||
|
"${FILESDIR}/${PN}-1.10-python-import.patch"
|
||||||
|
)
|
||||||
|
|
||||||
|
src_unpack() {
|
||||||
|
if [[ ${PV} == 9999 ]] ; then
|
||||||
|
git-r3_src_unpack
|
||||||
|
return
|
||||||
|
fi
|
||||||
|
|
||||||
|
# Upstream sign the decompressed .tar
|
||||||
|
if use verify-sig; then
|
||||||
|
einfo "Unpacking ${MY_P}.tar.xz ..."
|
||||||
|
verify-sig_verify_detached - "${DISTDIR}"/${MY_P}.tar.sign \
|
||||||
|
< <(xz -cd "${DISTDIR}"/${MY_P}.tar.xz | tee >(tar -xf -))
|
||||||
|
assert "Unpack failed"
|
||||||
|
else
|
||||||
|
default
|
||||||
|
fi
|
||||||
|
}
|
||||||
|
|
||||||
|
src_prepare() {
|
||||||
|
[[ -d "${WORKDIR}"/${P}-patches ]] && PATCHES+=( "${WORKDIR}"/${P}-patches )
|
||||||
|
|
||||||
|
cmake_src_prepare
|
||||||
|
python_fix_shebang ostra/ostra-cg ostra/python/ostra.py
|
||||||
|
}
|
@ -1,4 +1,4 @@
|
|||||||
# Copyright 1999-2024 Gentoo Authors
|
# Copyright 1999-2025 Gentoo Authors
|
||||||
# Distributed under the terms of the GNU General Public License v2
|
# Distributed under the terms of the GNU General Public License v2
|
||||||
|
|
||||||
EAPI=8
|
EAPI=8
|
||||||
@ -29,7 +29,7 @@ else
|
|||||||
fi
|
fi
|
||||||
S="${WORKDIR}"/${MY_P}
|
S="${WORKDIR}"/${MY_P}
|
||||||
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-arnaldocarvalhodemelo )"
|
BDEPEND="verify-sig? ( sec-keys/openpgp-keys-arnaldocarvalhodemelo )"
|
||||||
KEYWORDS="~amd64 ~arm ~arm64 ~loong ~ppc ~ppc64 ~riscv ~x86"
|
KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
|
||||||
fi
|
fi
|
||||||
|
|
||||||
LICENSE="GPL-2" # only
|
LICENSE="GPL-2" # only
|
||||||
@ -45,7 +45,7 @@ DEPEND="${RDEPEND}"
|
|||||||
DOCS=( README README.ctracer NEWS )
|
DOCS=( README README.ctracer NEWS )
|
||||||
|
|
||||||
PATCHES=(
|
PATCHES=(
|
||||||
"${FILESDIR}"/${PN}-1.10-python-import.patch
|
"${FILESDIR}/${PN}-1.10-python-import.patch"
|
||||||
)
|
)
|
||||||
|
|
||||||
src_unpack() {
|
src_unpack() {
|
||||||
@ -71,8 +71,3 @@ src_prepare() {
|
|||||||
cmake_src_prepare
|
cmake_src_prepare
|
||||||
python_fix_shebang ostra/ostra-cg ostra/python/ostra.py
|
python_fix_shebang ostra/ostra-cg ostra/python/ostra.py
|
||||||
}
|
}
|
||||||
|
|
||||||
src_configure() {
|
|
||||||
local mycmakeargs=( "-D__LIB=$(get_libdir)" )
|
|
||||||
cmake_src_configure
|
|
||||||
}
|
|
||||||
|
Loading…
Reference in New Issue
Block a user