summaryrefslogtreecommitdiff
path: root/dev-util/systemtap
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-01-08 06:15:27 +0000
committerV3n3RiX <venerix@koprulu.sector>2023-01-08 06:15:27 +0000
commit268f9f01921ccb921b794d43092c5f29c1e96c56 (patch)
tree07329b3a8cb5d315182a2ec2b2f4a4b36374724d /dev-util/systemtap
parente3a48e635527f3e2d2254e9631f7a5758df9c3fb (diff)
gentoo auto-resync : 08:01:2023 - 06:15:27
Diffstat (limited to 'dev-util/systemtap')
-rw-r--r--dev-util/systemtap/Manifest12
-rw-r--r--dev-util/systemtap/systemtap-4.4.ebuild4
-rw-r--r--dev-util/systemtap/systemtap-4.5-r1.ebuild4
-rw-r--r--dev-util/systemtap/systemtap-4.5.ebuild4
-rw-r--r--dev-util/systemtap/systemtap-4.6.ebuild4
-rw-r--r--dev-util/systemtap/systemtap-4.7-r1.ebuild6
-rw-r--r--dev-util/systemtap/systemtap-4.8.ebuild127
7 files changed, 145 insertions, 16 deletions
diff --git a/dev-util/systemtap/Manifest b/dev-util/systemtap/Manifest
index 1abcb80aecd2..219cabf20e16 100644
--- a/dev-util/systemtap/Manifest
+++ b/dev-util/systemtap/Manifest
@@ -4,9 +4,11 @@ DIST systemtap-4.4.tar.gz 5532282 BLAKE2B bcb2f744ad09821ce63d78b3e86eb489013aed
DIST systemtap-4.5.tar.gz 5549909 BLAKE2B 3c180a49c81070cb374ae23f95f1e90cc3cf2550170363793f46584b201c2284b2ee639f395d73ed6c5b44160825b3cf128bd360b81bc243e71c98e71d779f48 SHA512 8136779a9f5cb0fbaae565eab1ab6fa307f1024dfc2c6c3845acfadff0eecc684ba89aa5d442c7b90c2c73edaab41ca07bae2bad8361f80fe8e9928b40466cd3
DIST systemtap-4.6.tar.gz 5588126 BLAKE2B 7a0b1ed201f3661d5737bbf2c8b10b8bcf708df0c9aeeb941d501f5001e13b254ff779e20ed6af72b457a9e8236f064b9d5ee6d79438f96abb09d913f5732db3 SHA512 835b45597e9de0ea17857b47d542c87d155cb5c772f8595f41845a25ff06b862cb9c4b635292c3a6c66cb5255a07eee3af7cb7861110a4a05f545a4b35f11402
DIST systemtap-4.7.tar.gz 5611495 BLAKE2B 839a824c3ef249add3edb2c9329c7bcb297d36d268d463c2913d945688845b7a6af8d811b2a533c4da8ce496cabccbdfabd080be847c754c2614f9c9efb22c61 SHA512 7d7c213dc4f7c5430f81763668da21403fbc351d1701b1096eb1ad233e3f0325e35f01dfd0a33e75f277b26fdde88c46d42dd32e32e4d4f27a45d53e2dd0f831
-EBUILD systemtap-4.4.ebuild 2885 BLAKE2B 3ab515c217ac8b58b70a2c46e44e2f3fbc55f5f3294e3b019a30048de33c9b908729dd50a13b4866923fe52ae06f33f0653f2db918f46fe214c0b613a8c569e7 SHA512 fdf5b5824f6c3ecd0cf1d926e8674bdd72288aef315803da1ac23188c93571aa525bdccf5ba09a23faed7c099990247452243ffb1b44c3b278e569dd19bac974
-EBUILD systemtap-4.5-r1.ebuild 3257 BLAKE2B 820e5ab1f3e123c2e265c89f77dd02964603641ac9b47c1de1187f130b8d4b68b039c6f44ad4e6d8792ab705570aa0982fe8d8676001abf672d4d36812505497 SHA512 5522e91b54d98aec2a304b7b26c450e48ddf50a315db51d35c09246a1f9ef4fe60b2db9d8ecec4d605e571a843b403163239f59b16f13edee0858eb75a6e72c6
-EBUILD systemtap-4.5.ebuild 2821 BLAKE2B 45cd56187b5b8da6a7e815f0953c2d826ce668f1018910501c267ab7a145c7cabe4a615643a05b4180dbbe59e679c8fb913d3235a0f1d7bd03a57f7b7ffbb00d SHA512 b19089f6c2efc45620045abe7be37963136beb5c453645be1f7f1b52ed007c733291907334843de71cbb11e4089b5935703cd0f17ff6ecf9672a40ba13649cae
-EBUILD systemtap-4.6.ebuild 3264 BLAKE2B 36768eae7877b68327662f9b125689c51ab74a44915709a58136af03031d88aad996c377dd8d8d66f14007a7b013cdb4d88339fb049ecf2a9712f276d260958e SHA512 c3ab1a88139b673e5c13e72d44b4e4dd60c296319a249e9f789bfa9b99c4e26e7d6cd0fb1eaff066c54bc45f9b03842ed4e1a7b0464b79ccb108d6ca8aaac0fc
-EBUILD systemtap-4.7-r1.ebuild 3287 BLAKE2B b6f8c1179ad6f73228def171d8a1913e2ebfc57dc6adc67b7e8d0ddaf371425ff1c520611f2456645f10a3bbe12b4d2156c355b63aadd5c4be5a405990c71579 SHA512 a49af63d3bab7b444f0b3cd43e5826eebec1c13df61e326016529a276af5a9a0da601419cf8c8439129265a5e5575e894fce6edee1a94e521fc64cf4d832c6ce
+DIST systemtap-4.8.tar.gz 5628003 BLAKE2B 9f5050eba29d390c907b117187f94ef088f16bb739b4971bc32ffe88b1024a4157cd4e9793a8fc1e149a5a182a28330e3b4fd9d51213bb3637d616fbb9867f6d SHA512 fdcbc48ba17b2155c1419d99147a4cfbee2e69db945bfd0e6881b71ab11165bd23ea7ce9456856ae36807fb18f9934880a6b7c44456b63833ea260038744d9f2
+EBUILD systemtap-4.4.ebuild 2885 BLAKE2B afc4119402093613c0f9bf203b1bd3ef89ebee3440c4974bdc5b33503fab5e327d9098fb9b481e34e336cc77da1d7bd279185a36dc5a5f786be279f80e025800 SHA512 ce515f327b4d378227bdbe2066e228489b36ba49faa55517a286c217d8eb25bb3ecae7186cbe7cf76fcba1a82bdd086c60c03d98af46dbaf669830b709aa2c97
+EBUILD systemtap-4.5-r1.ebuild 3257 BLAKE2B 7b1951cb0bbf78977836940baf2aebd893d9bccf6313776c728b0b739260a6e745200689b22a3a02ea99b1f87222edf711bc9ed6d8419516b665da9df1bfc47f SHA512 5f68f7134496ea36f4d2c3d35e74d404a6be1024921631ed12ea502287b0350a4237d862928df98a85d4fcd476a413b7f1339a4d282f2c1b8569556590321f8d
+EBUILD systemtap-4.5.ebuild 2821 BLAKE2B 71a279d9542fcea1ce4e2812189015adef3a65026fd5d97ecf939322a3dfcefd2ce15882ef39ac7a82230df935c4b1499ba67a805b00d86d7565f690c4864339 SHA512 d01b80a08d21b671bccfe4d1533886b94a0ad514f6e5da9c86f9d5900d7d9235db9d51a254eebbb5ec9096beb14ddc34cc8d75a82e707046e2f1c841d5594449
+EBUILD systemtap-4.6.ebuild 3264 BLAKE2B 8f21b747189a1a818aea0304c7b13fb0e54ea44127f510af8fad195ab70d7c0eed23c4037d6d7d4659be911a67d23f83c77d21e6e66f3db0d10e7382f81b7f3f SHA512 c25d5f4f7412518ea904b8d512060264df60ae06c5ac10b310dc2a700322c043aa2e89ce33e10cf71a6ac38de51b27ebc899e27fe5ccfd5058a7fa09079094cd
+EBUILD systemtap-4.7-r1.ebuild 3281 BLAKE2B d4a09ebd804780bb4e6b611adbf37e752d0378cdd696dceb05426dfff6f857a6141a5e47b9839a41992b748816bcb41fc50cf7f17e310828446ce17ea6ba4f37 SHA512 fc8143ea329eedc28e79e7b4f4f126fee77067d31a3a11572d56878883cbcd15146b6e7ee42976520beac4bb8c000a2ec9ff96fe563cda5e936870c71774d18b
+EBUILD systemtap-4.8.ebuild 3287 BLAKE2B a610e1309dfd2584d8b321e03a6a5875f98dbab2476e5defd355928696174cbb3444001cff78b5970c8869d7acf9f47036bed81c4c0befd2cbd1f5a7e376275f SHA512 5985d2c420f68c7aa133d4257cc0c492609e3b998fb67b22d69d0a0dafb449ef5503eba33947b5c89952ffaa0355d255eed8768f8fee671d0ecb6460a6832064
MISC metadata.xml 303 BLAKE2B 5db95d500a08d656d0221a474d297c8357712f19334f45db347e36f14a10365d65777e0d24c68f75d4855b3ee1778dca1ecf4a05b19d2dd3975acf25a12b4523 SHA512 27261bc875c881495a9b0e1fffc811dff40b763a9e6453ca47143cb8d7d867682becd7266f8d559ad8c32bb5d7de9698341055d483f3e6a68b107895aa174b77
diff --git a/dev-util/systemtap/systemtap-4.4.ebuild b/dev-util/systemtap/systemtap-4.4.ebuild
index 66c961a9af04..946c23171f14 100644
--- a/dev-util/systemtap/systemtap-4.4.ebuild
+++ b/dev-util/systemtap/systemtap-4.4.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -9,7 +9,7 @@ inherit linux-info autotools python-single-r1
DESCRIPTION="A linux trace/probe tool"
HOMEPAGE="https://www.sourceware.org/systemtap/"
-SRC_URI="https://www.sourceware.org/${PN}/ftp/releases/${P}.tar.gz"
+SRC_URI="https://www.sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
diff --git a/dev-util/systemtap/systemtap-4.5-r1.ebuild b/dev-util/systemtap/systemtap-4.5-r1.ebuild
index cb7728fb5a3e..a35be78bb4e5 100644
--- a/dev-util/systemtap/systemtap-4.5-r1.ebuild
+++ b/dev-util/systemtap/systemtap-4.5-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,7 +9,7 @@ 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/${PN}/ftp/releases/${P}.tar.gz"
+SRC_URI="https://www.sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
diff --git a/dev-util/systemtap/systemtap-4.5.ebuild b/dev-util/systemtap/systemtap-4.5.ebuild
index e7f4ac64b083..aa41697922d8 100644
--- a/dev-util/systemtap/systemtap-4.5.ebuild
+++ b/dev-util/systemtap/systemtap-4.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=7
@@ -9,7 +9,7 @@ inherit linux-info python-single-r1
DESCRIPTION="A linux trace/probe tool"
HOMEPAGE="https://www.sourceware.org/systemtap/"
-SRC_URI="https://www.sourceware.org/${PN}/ftp/releases/${P}.tar.gz"
+SRC_URI="https://www.sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
diff --git a/dev-util/systemtap/systemtap-4.6.ebuild b/dev-util/systemtap/systemtap-4.6.ebuild
index a4f2a7d2663b..1fbc7fe72cd3 100644
--- a/dev-util/systemtap/systemtap-4.6.ebuild
+++ b/dev-util/systemtap/systemtap-4.6.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,7 +9,7 @@ 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/${PN}/ftp/releases/${P}.tar.gz"
+SRC_URI="https://www.sourceware.org/ftp/${PN}/releases/${P}.tar.gz"
LICENSE="GPL-2"
SLOT="0"
diff --git a/dev-util/systemtap/systemtap-4.7-r1.ebuild b/dev-util/systemtap/systemtap-4.7-r1.ebuild
index a799c1c73759..2b6073415d25 100644
--- a/dev-util/systemtap/systemtap-4.7-r1.ebuild
+++ b/dev-util/systemtap/systemtap-4.7-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
EAPI=8
@@ -9,11 +9,11 @@ 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/${PN}/ftp/releases/${P}.tar.gz"
+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"
+KEYWORDS="~alpha amd64 arm arm64 ~ia64 ~loong ~mips ppc ppc64 ~riscv ~s390 ~sparc x86"
IUSE="libvirt selinux sqlite +ssl test zeroconf"
CDEPEND="
diff --git a/dev-util/systemtap/systemtap-4.8.ebuild b/dev-util/systemtap/systemtap-4.8.ebuild
new file mode 100644
index 000000000000..dfa3480d365b
--- /dev/null
+++ b/dev-util/systemtap/systemtap-4.8.ebuild
@@ -0,0 +1,127 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+PYTHON_COMPAT=( python3_{8..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=(
+ --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
+}