commit: 7a1bec181e78b8a13d0cfdbb0645f31cbbb1aabe Author: Alfred Wingate <parona <AT> protonmail <DOT> com> AuthorDate: Sat Jul 12 18:34:07 2025 +0000 Commit: Sam James <sam <AT> gentoo <DOT> org> CommitDate: Wed Sep 10 22:47:02 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a1bec18
dev-util/lttng-ust: add 2.14.0 * Add verify-sig support Bug: https://bugs.gentoo.org/933198 Bug: https://bugs.gentoo.org/944378 Signed-off-by: Alfred Wingate <parona <AT> protonmail.com> Part-of: https://github.com/gentoo/gentoo/pull/43735 Signed-off-by: Sam James <sam <AT> gentoo.org> dev-util/lttng-ust/Manifest | 1 + dev-util/lttng-ust/lttng-ust-2.14.0.ebuild | 66 ++++++++++++++++++++++++++++++ 2 files changed, 67 insertions(+) diff --git a/dev-util/lttng-ust/Manifest b/dev-util/lttng-ust/Manifest index c19bf60a875b..727f4e90eef3 100644 --- a/dev-util/lttng-ust/Manifest +++ b/dev-util/lttng-ust/Manifest @@ -1,3 +1,4 @@ DIST lttng-ust-2.12.10.tar.bz2 801458 BLAKE2B f9dd2242e0979334c3bfaf5146af1b473245112d828021e93d747a1b1ddcc18db131f4d5f517f7c330278a986c5770f5338d15275ecc656acb1a19ad399e5047 SHA512 f5c05024fcbef6f0f634fb53c86e61b663a9859ba28c0c800e519756f68204062c1d9c930a960c35fb0c4de079e2c09b43eb556ea2fc269090736034251043c1 DIST lttng-ust-2.12.9.tar.bz2 800795 BLAKE2B 467500f7fd0f473a5cd7af6c23e8f0f83516d57ad573f92c48354bbe1ea1d2fea08bd20d7675e7698adf2284a5069fd23d3a929bc11df0ba157a99091b543777 SHA512 5edaa6c015bccd710e7bfea136398e8bc784946c22933a011f4b31b9c13fa772c4f03d0c42543bf0d08a810922498ff1fa56d4bccd9c5b8c4b14925c849c6c9b DIST lttng-ust-2.13.9.tar.bz2 1359608 BLAKE2B 2137a2cffa12d98b347f2afe249f9b50fcb0b74c2352d101a8ce076975da407d9a3451da3e559ae43d094c4c39fd3647e4cc8b6fdb19dc8f1a3abbc53ea5b36a SHA512 d2bf449e0d283ee80937aa1691c48ce1cc8beb4996a4ef79078bcc2c4584bc650746ef72e927679cd6e6e54546aced40943070d46008ac9c944b6c16e2347670 +DIST lttng-ust-2.14.0.tar.bz2 1391236 BLAKE2B 0e9f5c8c851e0a6d58e0ac193087e93f53fb487dd393ccbde0b5ad2fb1d39d0109cb42799e4479cddef0686115c744e0bf229f93bb735d29bc62cb51fad179f1 SHA512 c64250ea127de75bd2023e2a1ca376667a2dcda45322bd7d4d6a8b38c9585e740b07d1321f42b5f3da0e656e91c9231ba8e199ebe025453165025f046e926409 diff --git a/dev-util/lttng-ust/lttng-ust-2.14.0.ebuild b/dev-util/lttng-ust/lttng-ust-2.14.0.ebuild new file mode 100644 index 000000000000..32ab3ff0f6c7 --- /dev/null +++ b/dev-util/lttng-ust/lttng-ust-2.14.0.ebuild @@ -0,0 +1,66 @@ +# Copyright 1999-2025 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=8 + +# Please bump the following packages together: +# dev-util/lttng-modules +# dev-util/lttng-tools +# dev-util/lttng-ust + +PYTHON_COMPAT=( python3_{11..14} ) +inherit autotools flag-o-matic python-any-r1 + +MY_P="${P/_rc/-rc}" +MY_SLOT="$(ver_cut 1-2)" + +DESCRIPTION="Linux Trace Toolkit - UST library" +HOMEPAGE="https://lttng.org" +SRC_URI="https://lttng.org/files/${PN}/${MY_P}.tar.bz2" +S="${WORKDIR}"/${MY_P} + +LICENSE="GPL-2" +SLOT="0/${MY_SLOT}" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~loong ~mips ~ppc ~ppc64 ~riscv ~sparc ~x86" +IUSE="examples numa test" +RESTRICT="!test? ( test )" + +DEPEND=" + >=dev-libs/userspace-rcu-0.12:= + numa? ( sys-process/numactl ) +" +RDEPEND="${DEPEND}" +BDEPEND=" + ${PYTHON_DEPS} + virtual/pkgconfig + test? ( dev-lang/perl ) +" + +QA_CONFIG_IMPL_DECL_SKIP=( + pthread_get_name_np # different from pthread_getname_*, not on linux + pthread_set_name_np # different from pthread_setname_*, not on linux +) + +src_prepare() { + default + + # bug #944378 + eautoreconf +} + +src_configure() { + # bug #880357 + strip-flags + + local myeconfargs=( + $(use_enable examples) + $(use_enable numa) + ) + + econf "${myeconfargs[@]}" +} + +src_install() { + default + find "${ED}" -type f -name '*.la' -delete || die +}
