summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorYixun Lan <dlan@gentoo.org>2019-10-22 09:55:49 +0000
committerYixun Lan <dlan@gentoo.org>2019-10-22 09:55:49 +0000
commit12d9748ac4771408b1c10121ec80ac70f15ff287 (patch)
tree9c6327206383b2570e3a031788b84cc857b09f02 /dev-util/lttng-modules
parentdev-util/lttng-tools: version bump, 2.11.0 (diff)
downloadgentoo-12d9748ac4771408b1c10121ec80ac70f15ff287.tar.gz
gentoo-12d9748ac4771408b1c10121ec80ac70f15ff287.tar.bz2
gentoo-12d9748ac4771408b1c10121ec80ac70f15ff287.zip
dev-util/lttng-modules: version bump, 2.11.0
Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Yixun Lan <dlan@gentoo.org>
Diffstat (limited to 'dev-util/lttng-modules')
-rw-r--r--dev-util/lttng-modules/Manifest1
-rw-r--r--dev-util/lttng-modules/lttng-modules-2.11.0.ebuild49
2 files changed, 50 insertions, 0 deletions
diff --git a/dev-util/lttng-modules/Manifest b/dev-util/lttng-modules/Manifest
index a2a3abfc9189..45c894c6a1bb 100644
--- a/dev-util/lttng-modules/Manifest
+++ b/dev-util/lttng-modules/Manifest
@@ -1,4 +1,5 @@
DIST lttng-modules-2.10.6.tar.bz2 302285 BLAKE2B 3a6ca46ce87d5d846f65f250a10951b1c72d305a817bd147d4e0c1896aafd2c81745253f2cd19069e0e59a46724009c4f0591926daaff43c9885019bbbc4bc8d SHA512 1bc5246f1d93201f2bce62e64d3773de70ad3aad9eb5b9bbe141dfba19e7a03f65ef738c1985f1de557c81383e1be2ce8af474c1f7593f63f4256b3fde5dd9b6
+DIST lttng-modules-2.11.0.tar.bz2 315192 BLAKE2B a56d2847ab48760a1fa41545a69b5c855723c71dda488b3af9555cab6b3744db98fdb7650bca74c88a36549dfefbf40c8e75390557cce5e43ace5615bfe7430a SHA512 549f78bc192bdf4e39a912d45a6918519c5c29bdda3bee0b4f7172c6c2d83c887b669dd8e17a8a5d0c17b5dde57aa6eb5087dfac3a103ccf1e5017be2d038379
DIST lttng-modules-2.6.4.tar.bz2 295609 BLAKE2B dcc0d46c57b53abaf65f499a889d6fa32d062f47b589450d5d8d65f7a50b9870340ea8670fa69c8eaf86239c86a1f299db8378a562e3afc2b00d3a582dde9eae SHA512 ec93456829b04964d0c9befd1071e220bc047e3bf57978bf9e6a666d0be418c5825873746604e0758cd8fcd47f70f4471e0b190ad87f53b79d7efa94febeef03
DIST lttng-modules-2.7.1.tar.bz2 297555 BLAKE2B 910720692b8801efd0335963fe8fc504bc9cd08ad772be1418c63f5c3f8aaf8c25aa7d49e0503bd355da64a9441302f14eb0b1a58fc8e76e0c2770b1c4ecb256 SHA512 77609c7b7bc0a8315dd4c635c1be2d84cc1a946438323b362bd25cfcd97f2cf9655aefdbca8b96fceb61db7b733219251d2f9f2e1a46c7534c5d1c622c03b744
DIST lttng-modules-2.7.4.tar.bz2 302329 BLAKE2B 32526361d3814ff834b3dc152833f610f64189a573e171102b45ef730b5ade57e382f70bbce1a5b5462c7e18e04ac1157f404f2cae260e29a69aceff0a8ed956 SHA512 bdec56c59f282be9a7d191f7799db5b66577f231f92e8fffbc1dad059706fe07c4dd288e74b516e8f6c13cc0da8a54f5e5dd913ae39639489b8eb1507ede08a8
diff --git a/dev-util/lttng-modules/lttng-modules-2.11.0.ebuild b/dev-util/lttng-modules/lttng-modules-2.11.0.ebuild
new file mode 100644
index 000000000000..a3fb417feffc
--- /dev/null
+++ b/dev-util/lttng-modules/lttng-modules-2.11.0.ebuild
@@ -0,0 +1,49 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+inherit linux-mod
+
+MY_P="${P/_rc/-rc}"
+MY_SLOT="$(ver_cut 1-2)"
+
+DESCRIPTION="LTTng Kernel Tracer Modules"
+HOMEPAGE="http://lttng.org"
+SRC_URI="http://lttng.org/files/${PN}/${MY_P}.tar.bz2"
+
+LICENSE="GPL-2"
+SLOT="0/${MY_SLOT}"
+KEYWORDS="~amd64 ~x86"
+IUSE=""
+
+BUILD_TARGETS="default"
+
+CONFIG_CHECK="MODULES KALLSYMS HIGH_RES_TIMERS TRACEPOINTS
+ ~HAVE_SYSCALL_TRACEPOINTS ~PERF_EVENTS ~EVENT_TRACING ~KPROBES KRETPROBES"
+
+MODULE_NAMES="true"
+
+S="${WORKDIR}/${MY_P}"
+
+pkg_pretend() {
+ if kernel_is lt 2 6 27; then
+ eerror "${PN} require Linux kernel >= 2.6.27"
+ die "Please update your kernel!"
+ fi
+}
+
+src_compile() {
+ BUILD_FIXES="KERNELDIR=$KERNEL_DIR" linux-mod_src_compile
+}
+
+src_install() {
+ for i in $(find "${S}" -name "*.ko" -print); do
+ local val=${i##${S}/}
+ local modules+="${val%%.ko}(misc:) "
+ done
+ MODULE_NAMES=${modules}
+
+ linux-mod_src_install
+ dodoc ChangeLog README.md TODO
+}