public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Arsen Arsenović" <arsen@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/systemtap/
Date: Sat, 30 Dec 2023 22:57:30 +0000 (UTC)	[thread overview]
Message-ID: <1703976985.2c884c0b0f3844729a12c3757b0cce7198d5df7d.arsen@gentoo> (raw)

commit:     2c884c0b0f3844729a12c3757b0cce7198d5df7d
Author:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 30 22:55:25 2023 +0000
Commit:     Arsen Arsenović <arsen <AT> gentoo <DOT> org>
CommitDate: Sat Dec 30 22:56:25 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2c884c0b

dev-util/systemtap: add 5.0

Closes: https://bugs.gentoo.org/919807
Signed-off-by: Arsen Arsenović <arsen <AT> gentoo.org>

 dev-util/systemtap/Manifest             |   1 +
 dev-util/systemtap/systemtap-5.0.ebuild | 128 ++++++++++++++++++++++++++++++++
 2 files changed, 129 insertions(+)

diff --git a/dev-util/systemtap/Manifest b/dev-util/systemtap/Manifest
index ebe95e31f758..e7c441bb9887 100644
--- a/dev-util/systemtap/Manifest
+++ b/dev-util/systemtap/Manifest
@@ -1,2 +1,3 @@
 DIST systemtap-4.8.tar.gz 5628003 BLAKE2B 9f5050eba29d390c907b117187f94ef088f16bb739b4971bc32ffe88b1024a4157cd4e9793a8fc1e149a5a182a28330e3b4fd9d51213bb3637d616fbb9867f6d SHA512 fdcbc48ba17b2155c1419d99147a4cfbee2e69db945bfd0e6881b71ab11165bd23ea7ce9456856ae36807fb18f9934880a6b7c44456b63833ea260038744d9f2
 DIST systemtap-4.9.tar.gz 6684228 BLAKE2B 880747bcfbaa1909ca20a6cb30eb37d9443547783489396355b642758054ae0e0bf5b495a0adf57851c7c7a6b4300e498bb8c1c8da6df83ab1d1e18877b108a7 SHA512 a2736223fee0c801c36719a0245f31ed7e2e63c30bb7d5cab631dd57e4eb10e04abf2c9b272bda2a17c207c9dd163a1eb8a3e0759eda0c781946e644625510b7
+DIST systemtap-5.0.tar.gz 6572411 BLAKE2B db962df2fdcbc5bc11259c03d78073924f03fee4434dca8686a62fcb0818dab1ca91558160dd9d67d43b709f63ffe4f0af30ab1fe6965e19155bdd4c04501a04 SHA512 dc511a05e66abcbbd8c926973962751196180f3c571d0cd2a3b158ae367c5339ad32967a680ecd03224ab5f7ed2c55be7064867e4fb1b1cd7ea1cb21b2436e4c

diff --git a/dev-util/systemtap/systemtap-5.0.ebuild b/dev-util/systemtap/systemtap-5.0.ebuild
new file mode 100644
index 000000000000..d8827e63733e
--- /dev/null
+++ b/dev-util/systemtap/systemtap-5.0.ebuild
@@ -0,0 +1,128 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{9..11} pypy3 )
+
+inherit autotools linux-info python-single-r1
+
+DESCRIPTION="A linux trace/probe tool"
+HOMEPAGE="https://www.sourceware.org/systemtap"
+SRC_URI="https://www.sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~ia64 ~loong ~mips ~ppc ~ppc64 ~riscv ~s390 ~sparc ~x86"
+IUSE="libvirt selinux sqlite +ssl test zeroconf"
+
+CDEPEND="
+	${PYTHON_DEPS}
+
+	dev-libs/boost:=
+	>=dev-libs/elfutils-0.142
+	dev-libs/json-c:=
+	sys-libs/ncurses:=
+	sys-libs/readline:=
+
+	libvirt? ( >=app-emulation/libvirt-1.0.2 )
+	selinux? ( sys-libs/libselinux )
+	sqlite? ( dev-db/sqlite:3 )
+	ssl? (
+		dev-libs/nspr
+		dev-libs/nss
+	)
+	zeroconf? ( net-dns/avahi )
+"
+DEPEND="
+	${CDEPEND}
+	app-arch/cpio
+	app-text/xmlto
+	$(python_gen_cond_dep 'dev-python/setuptools[${PYTHON_USEDEP}]')
+	>=sys-devel/gettext-0.18.2
+
+	libvirt? ( dev-libs/libxml2 )
+"
+RDEPEND="
+	${CDEPEND}
+	acct-group/stapdev
+	acct-group/stapsys
+	acct-group/stapusr
+"
+BDEPEND="test? ( dev-util/dejagnu )"
+
+CONFIG_CHECK="~KPROBES ~RELAY ~DEBUG_FS"
+ERROR_KPROBES="${PN} requires support for KProbes Instrumentation (KPROBES) - this can be enabled in 'Instrumentation Support -> Kprobes'."
+ERROR_RELAY="${PN} works with support for user space relay support (RELAY) - this can be enabled in 'General setup -> Kernel->user space relay support (formerly relayfs)'."
+ERROR_DEBUG_FS="${PN} works best with support for Debug Filesystem (DEBUG_FS) - this can be enabled in 'Kernel hacking -> Debug Filesystem'."
+
+DOCS="AUTHORS HACKING NEWS README"
+REQUIRED_USE="${PYTHON_REQUIRED_USE}"
+RESTRICT="!test? ( test )"
+PATCHES=(
+	"${FILESDIR}/${PN}-3.1-ia64.patch"
+)
+
+pkg_setup() {
+	linux-info_pkg_setup
+	python-single-r1_pkg_setup
+}
+
+src_prepare() {
+	python_fix_shebang .
+
+	sed -i \
+		-e 's|-Werror||g' \
+		configure.ac \
+		Makefile.am \
+		stapbpf/Makefile.am \
+		stapdyn/Makefile.am \
+		staprun/Makefile.am \
+		testsuite/systemtap.unprivileged/unprivileged_probes.exp \
+		testsuite/systemtap.unprivileged/unprivileged_myproc.exp \
+		testsuite/systemtap.base/stmt_rel_user.exp \
+		testsuite/systemtap.base/sdt_va_args.exp \
+		testsuite/systemtap.base/sdt_misc.exp \
+		testsuite/systemtap.base/sdt.exp \
+		scripts/kprobes_test/gen_code.py \
+		|| die "Failed to clean up sources"
+
+	default
+	eautoreconf
+}
+
+src_configure() {
+	local myeconfargs=(
+		--cache-file="${S}"/config.cache
+		--disable-docs
+		--disable-grapher
+		--disable-refdocs
+		--disable-server
+		# Our toolchain sets this for us already and adding in
+		# -D_FORTIFY_SOURCE=2 breaks builds w/ no optimisation.
+		# This option (at least as of 4.5) doesn't pass -fno* etc,
+		# it just doesn't _add_ options, which is good. If it changes
+		# to actually pass -fno-stack-protector and friends, we'll
+		# need to change course. Forcing =2 also has problems for
+		# setting it to 3.
+		# bug #794667.
+		--disable-ssp
+		--enable-pie
+		--with-python3
+		--without-java
+		--without-openssl
+		--without-python2-probes
+		--without-rpm
+		$(use_enable libvirt virt)
+		$(use_enable sqlite)
+		$(use_with zeroconf avahi)
+		$(use_with ssl nss)
+		$(use_with selinux)
+	)
+	PYTHON3="${PYTHON}" econf "${myeconfargs[@]}"
+}
+
+src_install() {
+	default
+	python_optimize
+}


             reply	other threads:[~2023-12-30 22:57 UTC|newest]

Thread overview: 79+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2023-12-30 22:57 Arsen Arsenović [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-12-31  7:16 [gentoo-commits] repo/gentoo:master commit in: dev-util/systemtap/ 罗百科
2023-11-18 16:46 Sam James
2023-08-27 17:37 Sven Wegener
2023-05-01  6:16 Arthur Zamarin
2023-05-01  3:15 Sam James
2023-05-01  2:26 Sam James
2023-04-30 23:56 Sam James
2023-04-30 23:50 Sam James
2023-04-30 23:50 Sam James
2023-04-30 16:48 Arthur Zamarin
2023-01-08  5:17 Sam James
2023-01-08  5:17 Sam James
2023-01-08  5:17 Sam James
2023-01-08  5:17 Sam James
2023-01-08  4:55 Sam James
2023-01-08  4:55 Sam James
2023-01-08  3:37 Sam James
2023-01-08  3:37 Sam James
2022-12-26  1:49 WANG Xuerui
2022-09-03 21:20 Sam James
2022-06-14  7:11 Agostino Sarubbo
2022-06-14  7:11 Agostino Sarubbo
2022-06-13 21:30 Jakov Smolić
2022-06-13 21:00 Jakov Smolić
2022-06-13 10:22 Agostino Sarubbo
2022-06-13 10:21 Agostino Sarubbo
2022-06-13  9:46 Agostino Sarubbo
2022-06-07 21:09 Sam James
2022-05-24 18:58 Sam James
2022-05-01  7:28 Sven Wegener
2021-11-04 20:07 Sam James
2021-07-21  2:22 Yixun Lan
2021-07-16 21:44 Sam James
2021-07-15 21:42 Sam James
2021-07-15 21:42 Sam James
2021-07-15 21:42 Sam James
2021-07-15 21:42 Sam James
2021-05-12 20:57 Sven Wegener
2021-05-12 20:57 Sven Wegener
2021-03-18 22:16 Sven Wegener
2021-03-12 20:51 Sven Wegener
2021-01-09 21:38 Sven Wegener
2020-09-19  9:54 Michał Górny
2020-05-23 16:21 Mike Gilbert
2020-04-19  2:35 Craig Andrews
2019-12-24 20:02 Mikle Kolyada
2019-12-23  9:31 Mikle Kolyada
2019-12-15 14:15 Agostino Sarubbo
2019-12-15 14:07 Agostino Sarubbo
2019-12-15 13:24 Sergei Trofimovich
2019-12-15 12:44 Agostino Sarubbo
2019-12-15 11:38 Agostino Sarubbo
2019-04-25  3:52 Aaron Bauman
2019-04-13  7:10 Pacho Ramos
2019-01-24 15:06 Lars Wendler
2019-01-11 13:20 Lars Wendler
2019-01-09 15:54 Jeroen Roovers
2019-01-08  9:26 Lars Wendler
2019-01-08  9:25 Lars Wendler
2019-01-08  9:25 Lars Wendler
2018-06-09 19:42 Mikle Kolyada
2018-03-15 14:39 Mikle Kolyada
2017-12-16 12:15 Jeroen Roovers
2017-12-16 11:43 Jeroen Roovers
2017-11-18 17:52 Sergei Trofimovich
2017-11-13 22:37 Sergei Trofimovich
2017-11-08 20:37 Sergei Trofimovich
2017-11-08 12:51 Tobias Klausmann
2017-11-02 21:49 Manuel Rüger
2017-11-02 21:16 Thomas Deutschmann
2017-10-30 13:27 Sven Wegener
2017-05-31 22:37 Sven Wegener
2017-02-24 10:35 Lars Wendler
2017-02-24 10:35 Lars Wendler
2017-01-26 21:50 James Le Cuirot
2015-10-20 12:23 Lars Wendler
2015-10-20 12:22 Lars Wendler
2015-10-20 12:22 Lars Wendler

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1703976985.2c884c0b0f3844729a12c3757b0cce7198d5df7d.arsen@gentoo \
    --to=arsen@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox