Gentoo Archives: gentoo-commits

From: "Michał Górny" <mgorny@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig/
Date: Mon, 04 May 2020 09:37:15
Message-Id: 1588585016.c16bc7dae805a4fc1581bef19369addd01017e4d.mgorny@gentoo
1 commit: c16bc7dae805a4fc1581bef19369addd01017e4d
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon May 4 09:29:22 2020 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon May 4 09:36:56 2020 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c16bc7da
7
8 dev-util/sysdig: Remove old
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.26.4-r1.ebuild | 65 ------------------------
14 dev-util/sysdig/sysdig-0.26.4.ebuild | 88 ---------------------------------
15 3 files changed, 154 deletions(-)
16
17 diff --git a/dev-util/sysdig/Manifest b/dev-util/sysdig/Manifest
18 index a55a5d704af..e1493303a0b 100644
19 --- a/dev-util/sysdig/Manifest
20 +++ b/dev-util/sysdig/Manifest
21 @@ -1,2 +1 @@
22 -DIST sysdig-0.26.4.tar.gz 902181 BLAKE2B a7ac38be2f7a3d7e4f4fdec6a2fbf5305a8224ee27352da70f509139ebefd14616f84c7b8860f50d2546819a94deb1117034bceddd22128fcf25386b835274f2 SHA512 f56f5d0a522b861df4803bfdafcaf8db3fc9c0e751d06c321082757f6828a210cb86bab4550a3b35bf6412f930e44ab0f5cf709a30651c57dd7064a68e273a88
23 DIST sysdig-0.26.6.tar.gz 923918 BLAKE2B e022eba30977f5300c80a4806926d3e755b1395f05475c1fe925b86823670e397ad29e8bd18b1beaa893cb1bf83c329960c1bf9ff6faf0a5144343e88d52a4a0 SHA512 94784f0dfe46924b81d8804d950a9563cd18f4aa8b1cacd7e27e3974ecf7215223e03bdab001f408f64eb6c72f0da5082fd922d63079119427eb493c77e15795
24
25 diff --git a/dev-util/sysdig/sysdig-0.26.4-r1.ebuild b/dev-util/sysdig/sysdig-0.26.4-r1.ebuild
26 deleted file mode 100644
27 index 7ad2a993164..00000000000
28 --- a/dev-util/sysdig/sysdig-0.26.4-r1.ebuild
29 +++ /dev/null
30 @@ -1,65 +0,0 @@
31 -# Copyright 1999-2020 Gentoo Authors
32 -# Distributed under the terms of the GNU General Public License v2
33 -
34 -EAPI=7
35 -
36 -inherit bash-completion-r1 cmake
37 -
38 -DESCRIPTION="A system exploration and troubleshooting tool"
39 -HOMEPAGE="https://sysdig.com/"
40 -SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz"
41 -
42 -LICENSE="Apache-2.0"
43 -SLOT="0"
44 -KEYWORDS="~amd64 ~x86"
45 -IUSE="libressl +modules"
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 -PDEPEND="
64 - modules? ( >=dev-util/sysdig-kmod-${PV} )"
65 -
66 -src_prepare() {
67 - sed -i -e 's:-ggdb::' CMakeLists.txt || die
68 -
69 - cmake_src_prepare
70 -}
71 -
72 -src_configure() {
73 - local mycmakeargs=(
74 - # done in dev-util/sysdig-kmod
75 - -DBUILD_DRIVER=OFF
76 - # libscap examples are not installed or really useful
77 - -DBUILD_LIBSCAP_EXAMPLES=OFF
78 -
79 - # unbundle the deps
80 - -DUSE_BUNDLED_DEPS=OFF
81 - )
82 -
83 - cmake_src_configure
84 -}
85 -
86 -src_install() {
87 - cmake_src_install
88 -
89 - # remove sources
90 - rm -r "${ED}"/usr/src || die
91 -
92 - # move bashcomp to the proper location
93 - dobashcomp "${ED}"/usr/etc/bash_completion.d/sysdig || die
94 - rm -r "${ED}"/usr/etc || die
95 -}
96
97 diff --git a/dev-util/sysdig/sysdig-0.26.4.ebuild b/dev-util/sysdig/sysdig-0.26.4.ebuild
98 deleted file mode 100644
99 index 682c84607cc..00000000000
100 --- a/dev-util/sysdig/sysdig-0.26.4.ebuild
101 +++ /dev/null
102 @@ -1,88 +0,0 @@
103 -# Copyright 1999-2019 Gentoo Authors
104 -# Distributed under the terms of the GNU General Public License v2
105 -
106 -EAPI=7
107 -
108 -MODULES_OPTIONAL_USE=modules
109 -inherit linux-mod bash-completion-r1 cmake-utils
110 -
111 -DESCRIPTION="A system exploration and troubleshooting tool"
112 -HOMEPAGE="https://sysdig.com/"
113 -SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz"
114 -
115 -LICENSE="Apache-2.0
116 - modules? ( || ( MIT GPL-2 ) )"
117 -SLOT="0"
118 -KEYWORDS="~amd64 ~x86"
119 -IUSE="libressl +modules"
120 -
121 -RDEPEND="
122 - app-misc/jq:0=
123 - dev-cpp/tbb:0=
124 - dev-lang/luajit:2=
125 - >=dev-libs/jsoncpp-0.6_pre:0=
126 - dev-libs/libb64:0=
127 - dev-libs/protobuf:0=
128 - net-dns/c-ares:0=
129 - net-libs/grpc:0=
130 - sys-libs/ncurses:0=
131 - sys-libs/zlib:0=
132 - libressl? ( dev-libs/libressl:0= )
133 - !libressl? ( dev-libs/openssl:0= )
134 - net-misc/curl:0="
135 -DEPEND="${RDEPEND}
136 - app-arch/xz-utils
137 - virtual/os-headers"
138 -
139 -# needed for the kernel module
140 -CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS"
141 -
142 -pkg_pretend() {
143 - linux-mod_pkg_setup
144 -}
145 -
146 -pkg_setup() {
147 - linux-mod_pkg_setup
148 -}
149 -
150 -src_prepare() {
151 - sed -i -e 's:-ggdb::' CMakeLists.txt || die
152 -
153 - cmake-utils_src_prepare
154 -}
155 -
156 -src_configure() {
157 - local mycmakeargs=(
158 - # we will use linux-mod for that
159 - -DBUILD_DRIVER=OFF
160 - # libscap examples are not installed or really useful
161 - -DBUILD_LIBSCAP_EXAMPLES=OFF
162 -
163 - # unbundle the deps
164 - -DUSE_BUNDLED_DEPS=OFF
165 - )
166 -
167 - cmake-utils_src_configure
168 -
169 - # setup linux-mod ugliness
170 - MODULE_NAMES="sysdig-probe(extra:${BUILD_DIR}/driver/src:)"
171 - BUILD_PARAMS='KERNELDIR="${KERNEL_DIR}"'
172 - BUILD_TARGETS="all"
173 -}
174 -
175 -src_compile() {
176 - cmake-utils_src_compile
177 - linux-mod_src_compile
178 -}
179 -
180 -src_install() {
181 - cmake-utils_src_install
182 - linux-mod_src_install
183 -
184 - # remove sources
185 - rm -r "${ED}"/usr/src || die
186 -
187 - # move bashcomp to the proper location
188 - dobashcomp "${ED}"/usr/etc/bash_completion.d/sysdig || die
189 - rm -r "${ED}"/usr/etc || die
190 -}