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, 11 Mar 2019 21:44:37
Message-Id: 1552340663.1a5bcf2cf792182314a901a6ee36f47195b6ecbd.mgorny@gentoo
1 commit: 1a5bcf2cf792182314a901a6ee36f47195b6ecbd
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Mon Mar 11 21:34:55 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Mon Mar 11 21:44:23 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1a5bcf2c
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 | 1 -
13 dev-util/sysdig/sysdig-0.24.1.ebuild | 94 ------------------------------------
14 2 files changed, 95 deletions(-)
15
16 diff --git a/dev-util/sysdig/Manifest b/dev-util/sysdig/Manifest
17 index 8d656233e54..5aa2f3d474b 100644
18 --- a/dev-util/sysdig/Manifest
19 +++ b/dev-util/sysdig/Manifest
20 @@ -1,2 +1 @@
21 -DIST sysdig-0.24.1.tar.gz 846153 BLAKE2B bc64317e02526d9729c9fb3738f2982f4b425cdb43c64f77944938186cde4ed2d8d2649984efe0055bbaed250b08bda4008272805024e1d8993e17bc93509663 SHA512 a89ce82527b47104161668e134387a04f4a6753adcd881df25410b629603b58fc8f675de6941f4911ad2da42ffbfd46b38f9cc9837c0809c559fee9a739a204a
22 DIST sysdig-0.24.2.tar.gz 855317 BLAKE2B d394ac3bd7e405664da2b45d8cfd5d3433e20266a9489f63b7d4c3bb955a60640d13bb33e6dd2057b16b6ce0617afab88cad2ceab58aa50f6b43a64f6a50f45b SHA512 10ec381144733abc2c386f6570d4245ac2c1eec64d0f56800963acbd9cc38eece504f836f1ab0e24224ff44233945c8273b72efc77d7eadce98d7c4fc378740b
23
24 diff --git a/dev-util/sysdig/sysdig-0.24.1.ebuild b/dev-util/sysdig/sysdig-0.24.1.ebuild
25 deleted file mode 100644
26 index 3ba452c42e3..00000000000
27 --- a/dev-util/sysdig/sysdig-0.24.1.ebuild
28 +++ /dev/null
29 @@ -1,94 +0,0 @@
30 -# Copyright 1999-2018 Gentoo Foundation
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI="6"
34 -
35 -: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
36 -MODULES_OPTIONAL_USE=modules
37 -inherit linux-mod bash-completion-r1 cmake-utils
38 -
39 -DESCRIPTION="A system exploration and troubleshooting tool"
40 -HOMEPAGE="https://www.sysdig.org/"
41 -SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz"
42 -
43 -LICENSE="Apache-2.0
44 - modules? ( || ( MIT GPL-2 ) )"
45 -SLOT="0"
46 -KEYWORDS="~amd64 ~x86"
47 -IUSE="libressl +modules"
48 -
49 -RDEPEND="
50 - app-misc/jq:0=
51 - dev-cpp/tbb: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 -}