1 |
commit: c7d67d46add60fadacb3c43e40358c3762c135bb |
2 |
Author: Yixun Lan <dlan <AT> gentoo <DOT> org> |
3 |
AuthorDate: Tue Mar 30 14:56:13 2021 +0000 |
4 |
Commit: Yixun Lan <dlan <AT> gentoo <DOT> org> |
5 |
CommitDate: Tue Mar 30 15:11:37 2021 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c7d67d46 |
7 |
|
8 |
dev-util/lttng-modules: version bump 2.12.5, 2.11.8 |
9 |
|
10 |
Closes: https://bugs.gentoo.org/778740 |
11 |
Package-Manager: Portage-3.0.17, Repoman-3.0.2 |
12 |
Signed-off-by: Yixun Lan <dlan <AT> gentoo.org> |
13 |
|
14 |
dev-util/lttng-modules/Manifest | 2 + |
15 |
dev-util/lttng-modules/lttng-modules-2.11.8.ebuild | 49 ++++++++++++++++++++++ |
16 |
dev-util/lttng-modules/lttng-modules-2.12.5.ebuild | 49 ++++++++++++++++++++++ |
17 |
3 files changed, 100 insertions(+) |
18 |
|
19 |
diff --git a/dev-util/lttng-modules/Manifest b/dev-util/lttng-modules/Manifest |
20 |
index 91735d14635..96ca5a11aca 100644 |
21 |
--- a/dev-util/lttng-modules/Manifest |
22 |
+++ b/dev-util/lttng-modules/Manifest |
23 |
@@ -1,3 +1,5 @@ |
24 |
DIST lttng-modules-2.10.12.tar.bz2 306825 BLAKE2B 9f71f3102094e905bdbfc7d17888452d940f035e7c1dcaf70c004c927c976a029f9272809bf89e37cba2b62375a51cbbdcf9664b364cc14339ed58e0c5c9681f SHA512 f0f39af2308eb557ba344dc38285dd2199b54a53f92c06fad756ed853ce76c1b75e41d04b9259fc97962d9473e93132871c0e5168ca45f80cfb474d73aff2963 |
25 |
DIST lttng-modules-2.11.0.tar.bz2 315192 BLAKE2B a56d2847ab48760a1fa41545a69b5c855723c71dda488b3af9555cab6b3744db98fdb7650bca74c88a36549dfefbf40c8e75390557cce5e43ace5615bfe7430a SHA512 549f78bc192bdf4e39a912d45a6918519c5c29bdda3bee0b4f7172c6c2d83c887b669dd8e17a8a5d0c17b5dde57aa6eb5087dfac3a103ccf1e5017be2d038379 |
26 |
+DIST lttng-modules-2.11.8.tar.bz2 316947 BLAKE2B 61dc2abe8d61242b5157fcc93d8b6cb26684ee5c20c03f7fafa7ebfbb8498f8e8b46ce498f5666bd367a8f3115b780ba3bec8fd599eb17cdbb5475793372a90e SHA512 d83fb3e6e6786ee7bc4d9a377fdbd90331e7ab72e5dd12c21f6a61d0451b2157965e2d49dfaf2e7be7eb89d7196da0f4668bc468c97a640a524aa19cbabc7831 |
27 |
+DIST lttng-modules-2.12.5.tar.bz2 317002 BLAKE2B 9f42f8641dca7ce55e7445495c747ce340919458a23b4d471998fe2a28dd26bc7dfa5edbccf0b11877176091dee0c4d63fdda919c03afc8dad3fcfb7e9529c33 SHA512 81524dac513384852555a6f5619dc10286a2f7d4e3032ee9ca33705e830ee3bc3dc8c96b89a9c09dd5df2bf29944e3e566d1ac1a6cd6be83718af9836e043991 |
28 |
DIST lttng-modules-2.7.1.tar.bz2 297555 BLAKE2B 910720692b8801efd0335963fe8fc504bc9cd08ad772be1418c63f5c3f8aaf8c25aa7d49e0503bd355da64a9441302f14eb0b1a58fc8e76e0c2770b1c4ecb256 SHA512 77609c7b7bc0a8315dd4c635c1be2d84cc1a946438323b362bd25cfcd97f2cf9655aefdbca8b96fceb61db7b733219251d2f9f2e1a46c7534c5d1c622c03b744 |
29 |
|
30 |
diff --git a/dev-util/lttng-modules/lttng-modules-2.11.8.ebuild b/dev-util/lttng-modules/lttng-modules-2.11.8.ebuild |
31 |
new file mode 100644 |
32 |
index 00000000000..6431bfccfcc |
33 |
--- /dev/null |
34 |
+++ b/dev-util/lttng-modules/lttng-modules-2.11.8.ebuild |
35 |
@@ -0,0 +1,49 @@ |
36 |
+# Copyright 1999-2021 Gentoo Authors |
37 |
+# Distributed under the terms of the GNU General Public License v2 |
38 |
+ |
39 |
+EAPI=7 |
40 |
+ |
41 |
+inherit linux-mod |
42 |
+ |
43 |
+MY_P="${P/_rc/-rc}" |
44 |
+MY_SLOT="$(ver_cut 1-2)" |
45 |
+ |
46 |
+DESCRIPTION="LTTng Kernel Tracer Modules" |
47 |
+HOMEPAGE="https://lttng.org" |
48 |
+SRC_URI="https://lttng.org/files/${PN}/${MY_P}.tar.bz2" |
49 |
+ |
50 |
+LICENSE="GPL-2" |
51 |
+SLOT="0/${MY_SLOT}" |
52 |
+KEYWORDS="~amd64 ~x86" |
53 |
+IUSE="" |
54 |
+ |
55 |
+BUILD_TARGETS="default" |
56 |
+ |
57 |
+CONFIG_CHECK="MODULES KALLSYMS HIGH_RES_TIMERS TRACEPOINTS |
58 |
+ ~HAVE_SYSCALL_TRACEPOINTS ~PERF_EVENTS ~EVENT_TRACING ~KPROBES KRETPROBES" |
59 |
+ |
60 |
+MODULE_NAMES="true" |
61 |
+ |
62 |
+S="${WORKDIR}/${MY_P}" |
63 |
+ |
64 |
+pkg_pretend() { |
65 |
+ if kernel_is lt 2 6 27; then |
66 |
+ eerror "${PN} require Linux kernel >= 2.6.27" |
67 |
+ die "Please update your kernel!" |
68 |
+ fi |
69 |
+} |
70 |
+ |
71 |
+src_compile() { |
72 |
+ BUILD_FIXES="KERNELDIR=$KERNEL_DIR" linux-mod_src_compile |
73 |
+} |
74 |
+ |
75 |
+src_install() { |
76 |
+ for i in $(find "${S}" -name "*.ko" -print); do |
77 |
+ local val=${i##${S}/} |
78 |
+ local modules+="${val%%.ko}(misc:) " |
79 |
+ done |
80 |
+ MODULE_NAMES=${modules} |
81 |
+ |
82 |
+ linux-mod_src_install |
83 |
+ dodoc ChangeLog README.md TODO |
84 |
+} |
85 |
|
86 |
diff --git a/dev-util/lttng-modules/lttng-modules-2.12.5.ebuild b/dev-util/lttng-modules/lttng-modules-2.12.5.ebuild |
87 |
new file mode 100644 |
88 |
index 00000000000..2936f980647 |
89 |
--- /dev/null |
90 |
+++ b/dev-util/lttng-modules/lttng-modules-2.12.5.ebuild |
91 |
@@ -0,0 +1,49 @@ |
92 |
+# Copyright 1999-2021 Gentoo Authors |
93 |
+# Distributed under the terms of the GNU General Public License v2 |
94 |
+ |
95 |
+EAPI=7 |
96 |
+ |
97 |
+inherit linux-mod |
98 |
+ |
99 |
+MY_P="${P/_rc/-rc}" |
100 |
+MY_SLOT="$(ver_cut 1-2)" |
101 |
+ |
102 |
+DESCRIPTION="LTTng Kernel Tracer Modules" |
103 |
+HOMEPAGE="https://lttng.org" |
104 |
+SRC_URI="https://lttng.org/files/${PN}/${MY_P}.tar.bz2" |
105 |
+ |
106 |
+LICENSE="GPL-2" |
107 |
+SLOT="0/${MY_SLOT}" |
108 |
+KEYWORDS="~amd64 ~x86" |
109 |
+IUSE="" |
110 |
+ |
111 |
+BUILD_TARGETS="default" |
112 |
+ |
113 |
+CONFIG_CHECK="MODULES KALLSYMS HIGH_RES_TIMERS TRACEPOINTS |
114 |
+ ~HAVE_SYSCALL_TRACEPOINTS ~PERF_EVENTS ~EVENT_TRACING ~KPROBES KRETPROBES" |
115 |
+ |
116 |
+MODULE_NAMES="true" |
117 |
+ |
118 |
+S="${WORKDIR}/${MY_P}" |
119 |
+ |
120 |
+pkg_pretend() { |
121 |
+ if kernel_is lt 3 0; then |
122 |
+ eerror "${PN} require Linux kernel >= 3.0" |
123 |
+ die "Please update your kernel!" |
124 |
+ fi |
125 |
+} |
126 |
+ |
127 |
+src_compile() { |
128 |
+ BUILD_FIXES="KERNELDIR=$KERNEL_DIR" linux-mod_src_compile |
129 |
+} |
130 |
+ |
131 |
+src_install() { |
132 |
+ for i in $(find "${S}" -name "*.ko" -print); do |
133 |
+ local val=${i##${S}/} |
134 |
+ local modules+="${val%%.ko}(misc:) " |
135 |
+ done |
136 |
+ MODULE_NAMES=${modules} |
137 |
+ |
138 |
+ linux-mod_src_install |
139 |
+ dodoc ChangeLog README.md TODO |
140 |
+} |