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: Sun, 08 Sep 2019 06:43:48
Message-Id: 1567923476.32ef071fa011048a836864b32abd4de3a82d5bdd.mgorny@gentoo
1 commit: 32ef071fa011048a836864b32abd4de3a82d5bdd
2 Author: Michał Górny <mgorny <AT> gentoo <DOT> org>
3 AuthorDate: Sun Sep 8 06:17:56 2019 +0000
4 Commit: Michał Górny <mgorny <AT> gentoo <DOT> org>
5 CommitDate: Sun Sep 8 06:17:56 2019 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=32ef071f
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.26.3.ebuild | 88 ------------------------------------
14 2 files changed, 89 deletions(-)
15
16 diff --git a/dev-util/sysdig/Manifest b/dev-util/sysdig/Manifest
17 index 1bc4bb1ee5e..47171acfdc9 100644
18 --- a/dev-util/sysdig/Manifest
19 +++ b/dev-util/sysdig/Manifest
20 @@ -1,2 +1 @@
21 -DIST sysdig-0.26.3.tar.gz 902206 BLAKE2B ec25d0441c69b8c4c4fc431d073d2f93e476ece7add98412e54ce4286bcd7e32d4b1ff89f75dd728dc66c7d77da157bed2182bad85557c0dcec09648f86abb3d SHA512 f700d1ddae687a3474a8bf6816d2fef6c69e963a269a90a8362287dee698ac9799da18f01f383368c906d294ceb046160a8b0792292a72a3b08fc614b5b69d32
22 DIST sysdig-0.26.4.tar.gz 902181 BLAKE2B a7ac38be2f7a3d7e4f4fdec6a2fbf5305a8224ee27352da70f509139ebefd14616f84c7b8860f50d2546819a94deb1117034bceddd22128fcf25386b835274f2 SHA512 f56f5d0a522b861df4803bfdafcaf8db3fc9c0e751d06c321082757f6828a210cb86bab4550a3b35bf6412f930e44ab0f5cf709a30651c57dd7064a68e273a88
23
24 diff --git a/dev-util/sysdig/sysdig-0.26.3.ebuild b/dev-util/sysdig/sysdig-0.26.3.ebuild
25 deleted file mode 100644
26 index 2d4c0de2f51..00000000000
27 --- a/dev-util/sysdig/sysdig-0.26.3.ebuild
28 +++ /dev/null
29 @@ -1,88 +0,0 @@
30 -# Copyright 1999-2019 Gentoo Authors
31 -# Distributed under the terms of the GNU General Public License v2
32 -
33 -EAPI=7
34 -
35 -MODULES_OPTIONAL_USE=modules
36 -inherit linux-mod bash-completion-r1 cmake-utils
37 -
38 -DESCRIPTION="A system exploration and troubleshooting tool"
39 -HOMEPAGE="https://www.sysdig.org/"
40 -SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz"
41 -
42 -LICENSE="Apache-2.0
43 - modules? ( || ( MIT GPL-2 ) )"
44 -SLOT="0"
45 -KEYWORDS="~amd64 ~x86"
46 -IUSE="libressl +modules"
47 -
48 -RDEPEND="
49 - app-misc/jq:0=
50 - dev-cpp/tbb:0=
51 - dev-lang/luajit:2=
52 - >=dev-libs/jsoncpp-0.6_pre:0=
53 - dev-libs/libb64:0=
54 - dev-libs/protobuf:0=
55 - net-dns/c-ares:0=
56 - net-libs/grpc:0=
57 - sys-libs/ncurses:0=
58 - sys-libs/zlib:0=
59 - libressl? ( dev-libs/libressl:0= )
60 - !libressl? ( dev-libs/openssl:0= )
61 - net-misc/curl:0="
62 -DEPEND="${RDEPEND}
63 - app-arch/xz-utils
64 - virtual/os-headers"
65 -
66 -# needed for the kernel module
67 -CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS"
68 -
69 -pkg_pretend() {
70 - linux-mod_pkg_setup
71 -}
72 -
73 -pkg_setup() {
74 - linux-mod_pkg_setup
75 -}
76 -
77 -src_prepare() {
78 - sed -i -e 's:-ggdb::' CMakeLists.txt || die
79 -
80 - cmake-utils_src_prepare
81 -}
82 -
83 -src_configure() {
84 - local mycmakeargs=(
85 - # we will use linux-mod for that
86 - -DBUILD_DRIVER=OFF
87 - # libscap examples are not installed or really useful
88 - -DBUILD_LIBSCAP_EXAMPLES=OFF
89 -
90 - # unbundle the deps
91 - -DUSE_BUNDLED_DEPS=OFF
92 - )
93 -
94 - cmake-utils_src_configure
95 -
96 - # setup linux-mod ugliness
97 - MODULE_NAMES="sysdig-probe(extra:${BUILD_DIR}/driver/src:)"
98 - BUILD_PARAMS='KERNELDIR="${KERNEL_DIR}"'
99 - BUILD_TARGETS="all"
100 -}
101 -
102 -src_compile() {
103 - cmake-utils_src_compile
104 - linux-mod_src_compile
105 -}
106 -
107 -src_install() {
108 - cmake-utils_src_install
109 - linux-mod_src_install
110 -
111 - # remove sources
112 - rm -r "${ED}"/usr/src || die
113 -
114 - # move bashcomp to the proper location
115 - dobashcomp "${ED}"/usr/etc/bash_completion.d/sysdig || die
116 - rm -r "${ED}"/usr/etc || die
117 -}