commit: ba9b780bb4a83b27f932ba88d33b2e86e85ddfa1
Author: Florian Schmaus <flow <AT> gentoo <DOT> org>
AuthorDate: Sat Jan 4 16:32:08 2025 +0000
Commit: Florian Schmaus <flow <AT> gentoo <DOT> org>
CommitDate: Sat Jan 4 16:33:01 2025 +0000
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba9b780b
dev-util/lttng-ust: Revert "dev-util/lttng-ust: drop 2.12.0, 2.12.1, 2.12.9,
2.13.6"
This reverts commit ff9ecae3fa58e703790c40a4df76cb68877e0e52. Turns out,
there are quite some packages depending on lttng-ust:0/2.12.
Signed-off-by: Florian Schmaus <flow <AT> gentoo.org>
dev-util/lttng-ust/Manifest | 4 +++
dev-util/lttng-ust/lttng-ust-2.12.0.ebuild | 42 ++++++++++++++++++++++++
dev-util/lttng-ust/lttng-ust-2.12.1.ebuild | 42 ++++++++++++++++++++++++
dev-util/lttng-ust/lttng-ust-2.12.9.ebuild | 48 +++++++++++++++++++++++++++
dev-util/lttng-ust/lttng-ust-2.13.6.ebuild | 52 ++++++++++++++++++++++++++++++
5 files changed, 188 insertions(+)
diff --git a/dev-util/lttng-ust/Manifest b/dev-util/lttng-ust/Manifest
index 59f8df102ac9..9cb46eed5c4c 100644
--- a/dev-util/lttng-ust/Manifest
+++ b/dev-util/lttng-ust/Manifest
@@ -1 +1,5 @@
+DIST lttng-ust-2.12.0.tar.bz2 853127 BLAKE2B
6a6655a4aa33ec6318255d05d0e000c19fb66d4049873f091b8e19f3f9ea0c15731db70af77dbab1d597edcafcd745f1dae2670cd38759c9b54ea38b1135b590
SHA512
d69772170f57b9669b99cea372ca537777151a31b82002e1e5ec80da3ceb302c23f0f85d63a2c95c90a375b879e266aa5297e7d6444050dd40feb1253d863801
+DIST lttng-ust-2.12.1.tar.bz2 859667 BLAKE2B
474d03ac0d3c1102ef085230659545f3e12bc0847cebab598f2998741741cb98ac139812a296992614dd90ed9478040ee0567822eb20e960e0a6489836274394
SHA512
6d5116a88be601f96513535ef7dfda409780cbacaab0831dc76b86070da60d5eac719d7020f70a6821e1c6dbbfae05ddf5a431662ef5a714fc200c2216eeb80e
+DIST lttng-ust-2.12.9.tar.bz2 800795 BLAKE2B
467500f7fd0f473a5cd7af6c23e8f0f83516d57ad573f92c48354bbe1ea1d2fea08bd20d7675e7698adf2284a5069fd23d3a929bc11df0ba157a99091b543777
SHA512
5edaa6c015bccd710e7bfea136398e8bc784946c22933a011f4b31b9c13fa772c4f03d0c42543bf0d08a810922498ff1fa56d4bccd9c5b8c4b14925c849c6c9b
+DIST lttng-ust-2.13.6.tar.bz2 1351915 BLAKE2B
c350a7302e38035ef7c6727ea942907ec606c88862ae875bed0a7c833f233b4159405bcb7a41549dccf3d79491151066d593c52d9f06b95b61c345ccbace62f5
SHA512
15458f8dd0ad6fa96a9cf7569ffabadfddcaa70b822b69b39d4d7dfba3701c9489706b06f12f9d7e376147299fb3cfc6fe1213d46d510bdb7b3dc834271da55f
DIST lttng-ust-2.13.8.tar.bz2 1358168 BLAKE2B
f4f623c9c1a37395312270803c7e845ba76d6075c10cc6bdcfdd6f35d0cb6db9c303a9fb8c33a50e201c84fd772ed60611bfce9e962e27c4d5820b6ef0ac2d66
SHA512
f61f7e1633051a4d515ba28d4945b96a84eab8a8143ef698bbb6857cbaad1acbe238041e43f04d9818bac43f59023be3f3c2154ecf75f180d8233c9d7f65c555
diff --git a/dev-util/lttng-ust/lttng-ust-2.12.0.ebuild
b/dev-util/lttng-ust/lttng-ust-2.12.0.ebuild
new file mode 100644
index 000000000000..687858e63cf2
--- /dev/null
+++ b/dev-util/lttng-ust/lttng-ust-2.12.0.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+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"
+
+LICENSE="GPL-2"
+SLOT="0/${MY_SLOT}"
+KEYWORDS="amd64 arm arm64 ~hppa ppc ppc64 sparc x86"
+IUSE="examples numa"
+
+DEPEND="
+ dev-libs/userspace-rcu:=
+ numa? ( sys-process/numactl )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+ default
+ if ! use examples; then
+ sed -i -e '/SUBDIRS/s:examples::' doc/Makefile.am || die
+ fi
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable numa)
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/dev-util/lttng-ust/lttng-ust-2.12.1.ebuild
b/dev-util/lttng-ust/lttng-ust-2.12.1.ebuild
new file mode 100644
index 000000000000..7990a6a9c15b
--- /dev/null
+++ b/dev-util/lttng-ust/lttng-ust-2.12.1.ebuild
@@ -0,0 +1,42 @@
+# Copyright 1999-2021 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit autotools
+
+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"
+
+LICENSE="GPL-2"
+SLOT="0/${MY_SLOT}"
+KEYWORDS="~alpha amd64 ~arm ~arm64 ~hppa ~ppc ~ppc64 ~riscv ~sparc x86"
+IUSE="examples numa"
+
+DEPEND="
+ dev-libs/userspace-rcu:=
+ numa? ( sys-process/numactl )"
+RDEPEND="${DEPEND}"
+
+S="${WORKDIR}"/${MY_P}
+
+src_prepare() {
+ default
+ if ! use examples; then
+ sed -i -e '/SUBDIRS/s:examples::' doc/Makefile.am || die
+ fi
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable numa)
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/dev-util/lttng-ust/lttng-ust-2.12.9.ebuild
b/dev-util/lttng-ust/lttng-ust-2.12.9.ebuild
new file mode 100644
index 000000000000..2c87b95758a9
--- /dev/null
+++ b/dev-util/lttng-ust/lttng-ust-2.12.9.ebuild
@@ -0,0 +1,48 @@
+# Copyright 1999-2024 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit autotools
+
+MY_P="${P/_rc/-rc}"
+MY_SLOT="$(ver_cut 1-2)"
+
+DESCRIPTION="Linux Trace Toolkit - UST library"
+HOMEPAGE="https://lttng.org
+ https://github.com/lttng/lttng-ust/"
+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 ~ppc ~ppc64 ~riscv ~sparc ~x86"
+IUSE="examples numa"
+
+DEPEND="
+ dev-libs/userspace-rcu:=
+ numa? ( sys-process/numactl )
+"
+RDEPEND="
+ ${DEPEND}
+"
+
+src_prepare() {
+ default
+
+ if ! use examples ; then
+ sed -i -e '/SUBDIRS/s:examples::' doc/Makefile.am || die
+ fi
+
+ eautoreconf
+}
+
+src_configure() {
+ econf $(use_enable numa)
+}
+
+src_install() {
+ default
+
+ find "${ED}" -name '*.la' -delete || die
+}
diff --git a/dev-util/lttng-ust/lttng-ust-2.13.6.ebuild
b/dev-util/lttng-ust/lttng-ust-2.13.6.ebuild
new file mode 100644
index 000000000000..f8f4552e1834
--- /dev/null
+++ b/dev-util/lttng-ust/lttng-ust-2.13.6.ebuild
@@ -0,0 +1,52 @@
+# Copyright 1999-2023 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
+
+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 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="
+ 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_configure() {
+ local myeconfargs=(
+ $(use_enable examples)
+ $(use_enable numa)
+ )
+
+ econf "${myeconfargs[@]}"
+}
+
+src_install() {
+ default
+ find "${ED}" -name '*.la' -delete || die
+}