1 |
commit: 5130c609a7ffd9bae66ffc4f5b189794fd2b1eac |
2 |
Author: Michał Górny <mgorny <AT> gentoo <DOT> org> |
3 |
AuthorDate: Sat Oct 3 14:54:50 2020 +0000 |
4 |
Commit: Michał Górny <mgorny <AT> gentoo <DOT> org> |
5 |
CommitDate: Sat Oct 3 17:00:39 2020 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5130c609 |
7 |
|
8 |
dev-util/sysdig: Bump to 0.27.1 |
9 |
|
10 |
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org> |
11 |
|
12 |
dev-util/sysdig/Manifest | 1 + |
13 |
dev-util/sysdig/sysdig-0.27.1.ebuild | 69 ++++++++++++++++++++++++++++++++++++ |
14 |
2 files changed, 70 insertions(+) |
15 |
|
16 |
diff --git a/dev-util/sysdig/Manifest b/dev-util/sysdig/Manifest |
17 |
index 3581d465663..2e5405a0486 100644 |
18 |
--- a/dev-util/sysdig/Manifest |
19 |
+++ b/dev-util/sysdig/Manifest |
20 |
@@ -1 +1,2 @@ |
21 |
DIST sysdig-0.27.0.tar.gz 933094 BLAKE2B e412bd2a35a62b580344a49e2deee85764710f91327cd63b42913dc361ee96943ffe51b90ee745c420454f0a4be455606d486a91ab3e103d7e396f04dc3f1ff4 SHA512 102150cc641165a6c18ce71e3c6148dc10700f614fec7e1909c29172e3cce02dfa16af56aabdcd420499d0aa89f90fee8f26d92a250b0a521d1b9d416c6a678f |
22 |
+DIST sysdig-0.27.1.tar.gz 936415 BLAKE2B f4c15e3a2d4b974c5eafc8374f927dd82f123c05cc1976d04b08e77e1a7c0ff53f37c4e2c0022b7073fcc936310daf76ca3c3611141799ae4f51991bc6f3a0a3 SHA512 690f012c7db0a75ec2eb78fae17aae0f422aa1db0d4c2b15c4a09153fd2f60bd3c00d62238976fdcff2a906d87b2e34b81d02c0c78ad2684a1d6016a9988eb08 |
23 |
|
24 |
diff --git a/dev-util/sysdig/sysdig-0.27.1.ebuild b/dev-util/sysdig/sysdig-0.27.1.ebuild |
25 |
new file mode 100644 |
26 |
index 00000000000..55a20f694f4 |
27 |
--- /dev/null |
28 |
+++ b/dev-util/sysdig/sysdig-0.27.1.ebuild |
29 |
@@ -0,0 +1,69 @@ |
30 |
+# Copyright 1999-2020 Gentoo Authors |
31 |
+# Distributed under the terms of the GNU General Public License v2 |
32 |
+ |
33 |
+EAPI=7 |
34 |
+ |
35 |
+inherit bash-completion-r1 cmake |
36 |
+ |
37 |
+DESCRIPTION="A system exploration and troubleshooting tool" |
38 |
+HOMEPAGE="https://sysdig.com/" |
39 |
+SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz" |
40 |
+ |
41 |
+LICENSE="Apache-2.0" |
42 |
+SLOT="0" |
43 |
+KEYWORDS="~amd64 ~x86" |
44 |
+IUSE="libressl +modules test" |
45 |
+RESTRICT="!test? ( test )" |
46 |
+ |
47 |
+RDEPEND=" |
48 |
+ app-misc/jq:0= |
49 |
+ dev-cpp/tbb:0= |
50 |
+ dev-lang/luajit:2= |
51 |
+ >=dev-libs/jsoncpp-0.6_pre:0= |
52 |
+ dev-libs/libb64:0= |
53 |
+ dev-libs/protobuf:0= |
54 |
+ net-dns/c-ares:0= |
55 |
+ net-libs/grpc:0= |
56 |
+ sys-libs/ncurses:0= |
57 |
+ sys-libs/zlib:0= |
58 |
+ libressl? ( dev-libs/libressl:0= ) |
59 |
+ !libressl? ( dev-libs/openssl:0= ) |
60 |
+ net-misc/curl:0=" |
61 |
+DEPEND="${RDEPEND} |
62 |
+ virtual/os-headers |
63 |
+ test? ( dev-cpp/gtest )" |
64 |
+PDEPEND=" |
65 |
+ modules? ( >=dev-util/sysdig-kmod-${PV} )" |
66 |
+ |
67 |
+src_prepare() { |
68 |
+ sed -i -e 's:-ggdb::' CMakeLists.txt || die |
69 |
+ |
70 |
+ cmake_src_prepare |
71 |
+} |
72 |
+ |
73 |
+src_configure() { |
74 |
+ local mycmakeargs=( |
75 |
+ -DCREATE_TEST_TARGETS=$(usex test) |
76 |
+ |
77 |
+ # done in dev-util/sysdig-kmod |
78 |
+ -DBUILD_DRIVER=OFF |
79 |
+ # libscap examples are not installed or really useful |
80 |
+ -DBUILD_LIBSCAP_EXAMPLES=OFF |
81 |
+ |
82 |
+ # unbundle the deps |
83 |
+ -DUSE_BUNDLED_DEPS=OFF |
84 |
+ ) |
85 |
+ |
86 |
+ cmake_src_configure |
87 |
+} |
88 |
+ |
89 |
+src_install() { |
90 |
+ cmake_src_install |
91 |
+ |
92 |
+ # remove sources |
93 |
+ rm -r "${ED}"/usr/src || die |
94 |
+ |
95 |
+ # move bashcomp to the proper location |
96 |
+ dobashcomp "${ED}"/usr/etc/bash_completion.d/sysdig || die |
97 |
+ rm -r "${ED}"/usr/etc || die |
98 |
+} |