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: Fri, 19 Oct 2018 09:57:43
Message-Id: 1539942645.a3f772be7dac0bf5b6071560d61b9058348c8b85.mgorny@gentoo
1 commit: a3f772be7dac0bf5b6071560d61b9058348c8b85
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Fri Oct 19 09:50:45 2018 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Fri Oct 19 09:50:45 2018 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a3f772be
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 dev-util/sysdig/sysdig-0.23.1.ebuild | 92 -----------------------------------
14 dev-util/sysdig/sysdig-0.24.0.ebuild | 94 ------------------------------------
15 3 files changed, 188 deletions(-)
16
17 diff --git a/dev-util/sysdig/Manifest b/dev-util/sysdig/Manifest
18 index 967b1b9ac73..54e6fcacdab 100644
19 --- a/dev-util/sysdig/Manifest
20 +++ b/dev-util/sysdig/Manifest
21 @@ -1,3 +1 @@
22 -DIST sysdig-0.23.1.tar.gz 830420 BLAKE2B 31a8c4cd8b570a308c81b4df53494cff2619d05724e509634671968025ebee0e46c5e59a7c877e6d9f1f1eba86a8a27a0cd9c5b66e75723ec8eec66c6782d4c0 SHA512 059a564a5d31381efae4bc50d2b83f83a1d051f1cfb9fa6bfb75a341305149073a6eb3b9a3ce4da12fa293e75b71f8b30c9021ac8d4c4a2f59a40e35a5ffd482
23 -DIST sysdig-0.24.0.tar.gz 846171 BLAKE2B fc65c6df7351e1e1f4afd168cf9eaaed8d714539822ede1ce1941ead191b0d6e9898bd1da36a78737d4662b8e47090d63978441ce01fe30f13c504a3fa09eb5c SHA512 ff8162fbd5941a7a5532e8c1d0300acdd2d7ae85044600021f12e76f3752b50c46c894ea2007d0467761927403a784b85cfc000e735004e5fdbd48c31c20071e
24 DIST sysdig-0.24.1.tar.gz 846153 BLAKE2B bc64317e02526d9729c9fb3738f2982f4b425cdb43c64f77944938186cde4ed2d8d2649984efe0055bbaed250b08bda4008272805024e1d8993e17bc93509663 SHA512 a89ce82527b47104161668e134387a04f4a6753adcd881df25410b629603b58fc8f675de6941f4911ad2da42ffbfd46b38f9cc9837c0809c559fee9a739a204a
25
26 diff --git a/dev-util/sysdig/sysdig-0.23.1.ebuild b/dev-util/sysdig/sysdig-0.23.1.ebuild
27 deleted file mode 100644
28 index e366e662630..00000000000
29 --- a/dev-util/sysdig/sysdig-0.23.1.ebuild
30 +++ /dev/null
31 @@ -1,92 +0,0 @@
32 -# Copyright 1999-2018 Gentoo Foundation
33 -# Distributed under the terms of the GNU General Public License v2
34 -
35 -EAPI="6"
36 -
37 -: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
38 -MODULES_OPTIONAL_USE=modules
39 -inherit linux-mod bash-completion-r1 cmake-utils
40 -
41 -DESCRIPTION="A system exploration and troubleshooting tool"
42 -HOMEPAGE="https://www.sysdig.org/"
43 -SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz"
44 -
45 -LICENSE="GPL-2"
46 -SLOT="0"
47 -KEYWORDS="~amd64 ~x86"
48 -IUSE="libressl +modules"
49 -
50 -RDEPEND="
51 - app-misc/jq:0=
52 - dev-lang/luajit:2=
53 - >=dev-libs/jsoncpp-0.6_pre:0=
54 - dev-libs/libb64:0=
55 - sys-libs/ncurses:0=
56 - sys-libs/zlib:0=
57 - libressl? ( dev-libs/libressl:0= )
58 - !libressl? ( dev-libs/openssl:0= )
59 - net-misc/curl:0="
60 -DEPEND="${RDEPEND}
61 - app-arch/xz-utils
62 - virtual/os-headers"
63 -
64 -# needed for the kernel module
65 -CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS"
66 -
67 -pkg_pretend() {
68 - linux-mod_pkg_setup
69 -}
70 -
71 -pkg_setup() {
72 - linux-mod_pkg_setup
73 -}
74 -
75 -src_prepare() {
76 - sed -i -e 's:-ggdb::' CMakeLists.txt || die
77 -
78 - cmake-utils_src_prepare
79 -}
80 -
81 -src_configure() {
82 - local mycmakeargs=(
83 - # we will use linux-mod for that
84 - -DBUILD_DRIVER=OFF
85 - # libscap examples are not installed or really useful
86 - -DBUILD_LIBSCAP_EXAMPLES=OFF
87 -
88 - # unbundle the deps
89 - -DUSE_BUNDLED_DEPS=OFF
90 - )
91 -
92 - cmake-utils_src_configure
93 -
94 - # setup linux-mod ugliness
95 - MODULE_NAMES="sysdig-probe(extra:${S}/driver:)"
96 - BUILD_PARAMS='KERNELDIR="${KERNEL_DIR}"'
97 - BUILD_TARGETS="all"
98 -
99 - if use modules; then
100 - cmake-utils_src_make configure_driver
101 -
102 - cp "${BUILD_DIR}"/driver/Makefile.dkms driver/Makefile || die
103 - fi
104 -}
105 -
106 -src_compile() {
107 - cmake-utils_src_compile
108 -
109 - linux-mod_src_compile
110 -}
111 -
112 -src_install() {
113 - cmake-utils_src_install
114 -
115 - linux-mod_src_install
116 -
117 - # remove sources
118 - rm -r "${ED%/}"/usr/src || die
119 -
120 - # move bashcomp to the proper location
121 - dobashcomp "${ED%/}"/usr/etc/bash_completion.d/sysdig || die
122 - rm -r "${ED%/}"/usr/etc || die
123 -}
124
125 diff --git a/dev-util/sysdig/sysdig-0.24.0.ebuild b/dev-util/sysdig/sysdig-0.24.0.ebuild
126 deleted file mode 100644
127 index 3ba452c42e3..00000000000
128 --- a/dev-util/sysdig/sysdig-0.24.0.ebuild
129 +++ /dev/null
130 @@ -1,94 +0,0 @@
131 -# Copyright 1999-2018 Gentoo Foundation
132 -# Distributed under the terms of the GNU General Public License v2
133 -
134 -EAPI="6"
135 -
136 -: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
137 -MODULES_OPTIONAL_USE=modules
138 -inherit linux-mod bash-completion-r1 cmake-utils
139 -
140 -DESCRIPTION="A system exploration and troubleshooting tool"
141 -HOMEPAGE="https://www.sysdig.org/"
142 -SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz"
143 -
144 -LICENSE="Apache-2.0
145 - modules? ( || ( MIT GPL-2 ) )"
146 -SLOT="0"
147 -KEYWORDS="~amd64 ~x86"
148 -IUSE="libressl +modules"
149 -
150 -RDEPEND="
151 - app-misc/jq:0=
152 - dev-cpp/tbb:0=
153 - dev-lang/luajit:2=
154 - >=dev-libs/jsoncpp-0.6_pre:0=
155 - dev-libs/libb64:0=
156 - sys-libs/ncurses:0=
157 - sys-libs/zlib:0=
158 - libressl? ( dev-libs/libressl:0= )
159 - !libressl? ( dev-libs/openssl:0= )
160 - net-misc/curl:0="
161 -DEPEND="${RDEPEND}
162 - app-arch/xz-utils
163 - virtual/os-headers"
164 -
165 -# needed for the kernel module
166 -CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS"
167 -
168 -pkg_pretend() {
169 - linux-mod_pkg_setup
170 -}
171 -
172 -pkg_setup() {
173 - linux-mod_pkg_setup
174 -}
175 -
176 -src_prepare() {
177 - sed -i -e 's:-ggdb::' CMakeLists.txt || die
178 -
179 - cmake-utils_src_prepare
180 -}
181 -
182 -src_configure() {
183 - local mycmakeargs=(
184 - # we will use linux-mod for that
185 - -DBUILD_DRIVER=OFF
186 - # libscap examples are not installed or really useful
187 - -DBUILD_LIBSCAP_EXAMPLES=OFF
188 -
189 - # unbundle the deps
190 - -DUSE_BUNDLED_DEPS=OFF
191 - )
192 -
193 - cmake-utils_src_configure
194 -
195 - # setup linux-mod ugliness
196 - MODULE_NAMES="sysdig-probe(extra:${S}/driver:)"
197 - BUILD_PARAMS='KERNELDIR="${KERNEL_DIR}"'
198 - BUILD_TARGETS="all"
199 -
200 - if use modules; then
201 - cmake-utils_src_make configure_driver
202 -
203 - cp "${BUILD_DIR}"/driver/Makefile.dkms driver/Makefile || die
204 - fi
205 -}
206 -
207 -src_compile() {
208 - cmake-utils_src_compile
209 -
210 - linux-mod_src_compile
211 -}
212 -
213 -src_install() {
214 - cmake-utils_src_install
215 -
216 - linux-mod_src_install
217 -
218 - # remove sources
219 - rm -r "${ED%/}"/usr/src || die
220 -
221 - # move bashcomp to the proper location
222 - dobashcomp "${ED%/}"/usr/etc/bash_completion.d/sysdig || die
223 - rm -r "${ED%/}"/usr/etc || die
224 -}