From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A059A138335 for ; Tue, 22 Oct 2019 09:58:22 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 4B679E0A7D; Tue, 22 Oct 2019 09:58:21 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 8B692E0A97 for ; Tue, 22 Oct 2019 09:58:20 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 47ACE34C1E3 for ; Tue, 22 Oct 2019 09:58:18 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id BDFD3882 for ; Tue, 22 Oct 2019 09:58:15 +0000 (UTC) From: "Yixun Lan" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Yixun Lan" Message-ID: <1571738149.12d9748ac4771408b1c10121ec80ac70f15ff287.dlan@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/lttng-modules/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-util/lttng-modules/Manifest dev-util/lttng-modules/lttng-modules-2.11.0.ebuild X-VCS-Directories: dev-util/lttng-modules/ X-VCS-Committer: dlan X-VCS-Committer-Name: Yixun Lan X-VCS-Revision: 12d9748ac4771408b1c10121ec80ac70f15ff287 X-VCS-Branch: master Date: Tue, 22 Oct 2019 09:58:15 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d0edca18-9f3a-4fdf-aa76-2572a4493e9e X-Archives-Hash: ce0ddd9ea006e8ba2e1e38d5d8dc9df8 commit: 12d9748ac4771408b1c10121ec80ac70f15ff287 Author: Yixun Lan gentoo org> AuthorDate: Tue Oct 22 09:55:49 2019 +0000 Commit: Yixun Lan gentoo org> CommitDate: Tue Oct 22 09:55:49 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=12d9748a dev-util/lttng-modules: version bump, 2.11.0 Package-Manager: Portage-2.3.77, Repoman-2.3.17 Signed-off-by: Yixun Lan gentoo.org> dev-util/lttng-modules/Manifest | 1 + dev-util/lttng-modules/lttng-modules-2.11.0.ebuild | 49 ++++++++++++++++++++++ 2 files changed, 50 insertions(+) diff --git a/dev-util/lttng-modules/Manifest b/dev-util/lttng-modules/Manifest index a2a3abfc918..45c894c6a1b 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 00000000000..a3fb417feff --- /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 +}