1 |
commit: c5b17d217cdfe33e2a00e842edffba97b5d5b542 |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sun Jun 2 06:32:38 2019 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sun Jun 2 06:38:16 2019 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c5b17d21 |
7 |
|
8 |
dev-util/sysdig: Drop old |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-util/sysdig/Manifest | 2 - |
13 |
.../sysdig/files/sysdig-0.24.2-kernel-5.0.0.patch | 34 -------- |
14 |
dev-util/sysdig/sysdig-0.24.2.ebuild | 99 ---------------------- |
15 |
dev-util/sysdig/sysdig-0.26.0.ebuild | 97 --------------------- |
16 |
4 files changed, 232 deletions(-) |
17 |
|
18 |
diff --git a/dev-util/sysdig/Manifest b/dev-util/sysdig/Manifest |
19 |
index 51871b43e56..8cff04f0f08 100644 |
20 |
--- a/dev-util/sysdig/Manifest |
21 |
+++ b/dev-util/sysdig/Manifest |
22 |
@@ -1,3 +1 @@ |
23 |
-DIST sysdig-0.24.2.tar.gz 855317 BLAKE2B d394ac3bd7e405664da2b45d8cfd5d3433e20266a9489f63b7d4c3bb955a60640d13bb33e6dd2057b16b6ce0617afab88cad2ceab58aa50f6b43a64f6a50f45b SHA512 10ec381144733abc2c386f6570d4245ac2c1eec64d0f56800963acbd9cc38eece504f836f1ab0e24224ff44233945c8273b72efc77d7eadce98d7c4fc378740b |
24 |
-DIST sysdig-0.26.0.tar.gz 892090 BLAKE2B ea80eacfedeca0348c86611d960c8e65eb31c4dfb2386813973d37a92cb186fd0b8b2597305c0617e59c7254b8507ed32c6f1fed37e920929e45a72fffb32cb7 SHA512 8f6ebcd0a0d14586b204b3fa90e27581082390b57d0547e531db258be341fd5e1b77c45c02018267836c867e291d842fcbd05bbe994d3e32a678a2926426e2b6 |
25 |
DIST sysdig-0.26.1.tar.gz 892441 BLAKE2B 38302458c54a10719fadaf5e5bb6d29931a262550eaf44350543e99cd33e6a90889d81f49096d2f57fcc903bc9245a1f782b438a48613f9fc9f90273c46f0f39 SHA512 817573dd2945e20094c548a481205d7ae700e8242a12c75bcab41c52330fb6f508214d71f3d3ba4ecc86576e555c8c2a0c155921d61d29a5861bbf982600f6fb |
26 |
|
27 |
diff --git a/dev-util/sysdig/files/sysdig-0.24.2-kernel-5.0.0.patch b/dev-util/sysdig/files/sysdig-0.24.2-kernel-5.0.0.patch |
28 |
deleted file mode 100644 |
29 |
index 711eb182751..00000000000 |
30 |
--- a/dev-util/sysdig/files/sysdig-0.24.2-kernel-5.0.0.patch |
31 |
+++ /dev/null |
32 |
@@ -1,34 +0,0 @@ |
33 |
-From 2c8f0263382bf64800faec5fba5cc3e005d9fb1e Mon Sep 17 00:00:00 2001 |
34 |
-From: Colin Ian King <colin.king@×××××××××.com> |
35 |
-Date: Thu, 31 Jan 2019 10:54:00 +0000 |
36 |
-Subject: [PATCH] Update for change to access_ok in Linux 5.0 |
37 |
- |
38 |
-Linux 5.0 removed the 1st argument 'type' from the access_ok macro. |
39 |
-Update the ppm_access_ok() macro to cater for this change for Linux |
40 |
-5.0 |
41 |
- |
42 |
-Bug: https://github.com/draios/sysdig/issues/1299 |
43 |
-sysdig-CLA-1.0-signed-off-by: Colin Ian King <colin.king@×××××××××.com> |
44 |
- |
45 |
-Signed-off-by: Colin Ian King <colin.king@×××××××××.com> |
46 |
---- |
47 |
- driver/ppm_events.c | 6 +++++- |
48 |
- 1 file changed, 5 insertions(+), 1 deletion(-) |
49 |
- |
50 |
-diff --git a/driver/ppm_events.c b/driver/ppm_events.c |
51 |
-index 717590888..cc3eb98d2 100644 |
52 |
---- a/driver/ppm_events.c |
53 |
-+++ b/driver/ppm_events.c |
54 |
-@@ -46,7 +46,11 @@ or GPL2.txt for full copies of the license. |
55 |
- #ifdef access_ok_noprefault |
56 |
- #define ppm_access_ok access_ok_noprefault |
57 |
- #else |
58 |
--#define ppm_access_ok access_ok |
59 |
-+#if LINUX_VERSION_CODE < KERNEL_VERSION(5, 0, 0) |
60 |
-+#define ppm_access_ok(type, addr, size) access_ok(type, addr, size) |
61 |
-+#else |
62 |
-+#define ppm_access_ok(type, addr, size) access_ok(addr, size) |
63 |
-+#endif |
64 |
- #endif |
65 |
- |
66 |
- extern bool g_tracers_enabled; |
67 |
|
68 |
diff --git a/dev-util/sysdig/sysdig-0.24.2.ebuild b/dev-util/sysdig/sysdig-0.24.2.ebuild |
69 |
deleted file mode 100644 |
70 |
index abc1676d9a6..00000000000 |
71 |
--- a/dev-util/sysdig/sysdig-0.24.2.ebuild |
72 |
+++ /dev/null |
73 |
@@ -1,99 +0,0 @@ |
74 |
-# Copyright 1999-2019 Gentoo Authors |
75 |
-# Distributed under the terms of the GNU General Public License v2 |
76 |
- |
77 |
-EAPI="6" |
78 |
- |
79 |
-: ${CMAKE_MAKEFILE_GENERATOR:=ninja} |
80 |
-MODULES_OPTIONAL_USE=modules |
81 |
-inherit linux-mod bash-completion-r1 cmake-utils |
82 |
- |
83 |
-DESCRIPTION="A system exploration and troubleshooting tool" |
84 |
-HOMEPAGE="https://www.sysdig.org/" |
85 |
-SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz" |
86 |
- |
87 |
-LICENSE="Apache-2.0 |
88 |
- modules? ( || ( MIT GPL-2 ) )" |
89 |
-SLOT="0" |
90 |
-KEYWORDS="~amd64 ~x86" |
91 |
-IUSE="libressl +modules" |
92 |
- |
93 |
-RDEPEND=" |
94 |
- app-misc/jq:0= |
95 |
- dev-cpp/tbb:0= |
96 |
- dev-lang/luajit:2= |
97 |
- >=dev-libs/jsoncpp-0.6_pre:0= |
98 |
- dev-libs/libb64:0= |
99 |
- sys-libs/ncurses:0= |
100 |
- sys-libs/zlib:0= |
101 |
- libressl? ( dev-libs/libressl:0= ) |
102 |
- !libressl? ( dev-libs/openssl:0= ) |
103 |
- net-misc/curl:0=" |
104 |
-DEPEND="${RDEPEND} |
105 |
- app-arch/xz-utils |
106 |
- virtual/os-headers" |
107 |
- |
108 |
-# needed for the kernel module |
109 |
-CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS" |
110 |
- |
111 |
-pkg_pretend() { |
112 |
- linux-mod_pkg_setup |
113 |
-} |
114 |
- |
115 |
-pkg_setup() { |
116 |
- linux-mod_pkg_setup |
117 |
-} |
118 |
- |
119 |
-src_prepare() { |
120 |
- sed -i -e 's:-ggdb::' CMakeLists.txt || die |
121 |
- |
122 |
- local PATCHES=( |
123 |
- # compatibility with kernel 5.0.0 |
124 |
- # https://bugs.gentoo.org/680084 |
125 |
- "${FILESDIR}"/sysdig-0.24.2-kernel-5.0.0.patch |
126 |
- ) |
127 |
- cmake-utils_src_prepare |
128 |
-} |
129 |
- |
130 |
-src_configure() { |
131 |
- local mycmakeargs=( |
132 |
- # we will use linux-mod for that |
133 |
- -DBUILD_DRIVER=OFF |
134 |
- # libscap examples are not installed or really useful |
135 |
- -DBUILD_LIBSCAP_EXAMPLES=OFF |
136 |
- |
137 |
- # unbundle the deps |
138 |
- -DUSE_BUNDLED_DEPS=OFF |
139 |
- ) |
140 |
- |
141 |
- cmake-utils_src_configure |
142 |
- |
143 |
- # setup linux-mod ugliness |
144 |
- MODULE_NAMES="sysdig-probe(extra:${S}/driver:)" |
145 |
- BUILD_PARAMS='KERNELDIR="${KERNEL_DIR}"' |
146 |
- BUILD_TARGETS="all" |
147 |
- |
148 |
- if use modules; then |
149 |
- cmake-utils_src_make configure_driver |
150 |
- |
151 |
- cp "${BUILD_DIR}"/driver/Makefile.dkms driver/Makefile || die |
152 |
- fi |
153 |
-} |
154 |
- |
155 |
-src_compile() { |
156 |
- cmake-utils_src_compile |
157 |
- |
158 |
- linux-mod_src_compile |
159 |
-} |
160 |
- |
161 |
-src_install() { |
162 |
- cmake-utils_src_install |
163 |
- |
164 |
- linux-mod_src_install |
165 |
- |
166 |
- # remove sources |
167 |
- rm -r "${ED%/}"/usr/src || die |
168 |
- |
169 |
- # move bashcomp to the proper location |
170 |
- dobashcomp "${ED%/}"/usr/etc/bash_completion.d/sysdig || die |
171 |
- rm -r "${ED%/}"/usr/etc || die |
172 |
-} |
173 |
|
174 |
diff --git a/dev-util/sysdig/sysdig-0.26.0.ebuild b/dev-util/sysdig/sysdig-0.26.0.ebuild |
175 |
deleted file mode 100644 |
176 |
index a6c3bad4d48..00000000000 |
177 |
--- a/dev-util/sysdig/sysdig-0.26.0.ebuild |
178 |
+++ /dev/null |
179 |
@@ -1,97 +0,0 @@ |
180 |
-# Copyright 1999-2019 Gentoo Authors |
181 |
-# Distributed under the terms of the GNU General Public License v2 |
182 |
- |
183 |
-EAPI=7 |
184 |
- |
185 |
-MODULES_OPTIONAL_USE=modules |
186 |
-inherit linux-mod bash-completion-r1 cmake-utils |
187 |
- |
188 |
-DESCRIPTION="A system exploration and troubleshooting tool" |
189 |
-HOMEPAGE="https://www.sysdig.org/" |
190 |
-SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz" |
191 |
- |
192 |
-LICENSE="Apache-2.0 |
193 |
- modules? ( || ( MIT GPL-2 ) )" |
194 |
-SLOT="0" |
195 |
-KEYWORDS="~amd64 ~x86" |
196 |
-IUSE="libressl +modules" |
197 |
- |
198 |
-RDEPEND=" |
199 |
- app-misc/jq:0= |
200 |
- dev-cpp/tbb:0= |
201 |
- dev-lang/luajit:2= |
202 |
- >=dev-libs/jsoncpp-0.6_pre:0= |
203 |
- dev-libs/libb64:0= |
204 |
- dev-libs/protobuf:0= |
205 |
- net-dns/c-ares:0= |
206 |
- net-libs/grpc:0= |
207 |
- sys-libs/ncurses:0= |
208 |
- sys-libs/zlib:0= |
209 |
- libressl? ( dev-libs/libressl:0= ) |
210 |
- !libressl? ( dev-libs/openssl:0= ) |
211 |
- net-misc/curl:0=" |
212 |
-DEPEND="${RDEPEND} |
213 |
- app-arch/xz-utils |
214 |
- virtual/os-headers" |
215 |
- |
216 |
-# needed for the kernel module |
217 |
-CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS" |
218 |
- |
219 |
-pkg_pretend() { |
220 |
- linux-mod_pkg_setup |
221 |
-} |
222 |
- |
223 |
-pkg_setup() { |
224 |
- linux-mod_pkg_setup |
225 |
-} |
226 |
- |
227 |
-src_prepare() { |
228 |
- sed -i -e 's:-ggdb::' CMakeLists.txt || die |
229 |
- |
230 |
- eapply "${FILESDIR}"/sysdig-0.26.0-build-fixes.patch |
231 |
- cmake-utils_src_prepare |
232 |
-} |
233 |
- |
234 |
-src_configure() { |
235 |
- local mycmakeargs=( |
236 |
- # we will use linux-mod for that |
237 |
- -DBUILD_DRIVER=OFF |
238 |
- # libscap examples are not installed or really useful |
239 |
- -DBUILD_LIBSCAP_EXAMPLES=OFF |
240 |
- |
241 |
- # unbundle the deps |
242 |
- -DUSE_BUNDLED_DEPS=OFF |
243 |
- ) |
244 |
- |
245 |
- cmake-utils_src_configure |
246 |
- |
247 |
- # setup linux-mod ugliness |
248 |
- MODULE_NAMES="sysdig-probe(extra:${S}/driver:)" |
249 |
- BUILD_PARAMS='KERNELDIR="${KERNEL_DIR}"' |
250 |
- BUILD_TARGETS="all" |
251 |
- |
252 |
- if use modules; then |
253 |
- cmake-utils_src_make configure_driver |
254 |
- |
255 |
- cp "${BUILD_DIR}"/driver/Makefile.dkms driver/Makefile || die |
256 |
- fi |
257 |
-} |
258 |
- |
259 |
-src_compile() { |
260 |
- cmake-utils_src_compile |
261 |
- |
262 |
- linux-mod_src_compile |
263 |
-} |
264 |
- |
265 |
-src_install() { |
266 |
- cmake-utils_src_install |
267 |
- |
268 |
- linux-mod_src_install |
269 |
- |
270 |
- # remove sources |
271 |
- rm -r "${ED}"/usr/src || die |
272 |
- |
273 |
- # move bashcomp to the proper location |
274 |
- dobashcomp "${ED}"/usr/etc/bash_completion.d/sysdig || die |
275 |
- rm -r "${ED}"/usr/etc || die |
276 |
-} |