diff options
Diffstat (limited to 'dev-util/sysdig')
-rw-r--r-- | dev-util/sysdig/Manifest | 1 | ||||
-rw-r--r-- | dev-util/sysdig/sysdig-0.27.1-r100.ebuild | 74 |
2 files changed, 75 insertions, 0 deletions
diff --git a/dev-util/sysdig/Manifest b/dev-util/sysdig/Manifest index 1c9cd51862fa..f83c836c0555 100644 --- a/dev-util/sysdig/Manifest +++ b/dev-util/sysdig/Manifest @@ -1,5 +1,6 @@ DIST sysdig-0.27.0.tar.gz 933094 BLAKE2B e412bd2a35a62b580344a49e2deee85764710f91327cd63b42913dc361ee96943ffe51b90ee745c420454f0a4be455606d486a91ab3e103d7e396f04dc3f1ff4 SHA512 102150cc641165a6c18ce71e3c6148dc10700f614fec7e1909c29172e3cce02dfa16af56aabdcd420499d0aa89f90fee8f26d92a250b0a521d1b9d416c6a678f DIST sysdig-0.27.1.tar.gz 936415 BLAKE2B f4c15e3a2d4b974c5eafc8374f927dd82f123c05cc1976d04b08e77e1a7c0ff53f37c4e2c0022b7073fcc936310daf76ca3c3611141799ae4f51991bc6f3a0a3 SHA512 690f012c7db0a75ec2eb78fae17aae0f422aa1db0d4c2b15c4a09153fd2f60bd3c00d62238976fdcff2a906d87b2e34b81d02c0c78ad2684a1d6016a9988eb08 EBUILD sysdig-0.27.0.ebuild 1446 BLAKE2B 8cacc86c38675a24c5b8d7e6402259ee6cf88035e08967bdfa43c24025be755cc326674d10189a3dbbd4331380b3b9f911375aa98507db8da708c4f93e6668f9 SHA512 2b2bec125737f8c5741b76c83844af1694c5753a2c9e10724d0e6483e2bc985162cbe85b0f724d2f49478e3b279df6e1de67235beabb7d6fb0051d077e9c775d +EBUILD sysdig-0.27.1-r100.ebuild 1650 BLAKE2B a6d874a99691c641a59577c19d63f9bb4cfe1ab38811d26c9f04381017e67ed95cf1facfccb0e3ee6348f9bd4f1dd29879eb7e6489dae8d223b9a9b82f89ffb4 SHA512 c5c961dfda69ea006a1d6731fb29d380ea6d8282e5609cfe1786cde572f56a87fbc155e1e889a09bab8245642c3598eabaf23b23cb126adf3d40b84bed2f01b7 EBUILD sysdig-0.27.1.ebuild 1446 BLAKE2B 8cacc86c38675a24c5b8d7e6402259ee6cf88035e08967bdfa43c24025be755cc326674d10189a3dbbd4331380b3b9f911375aa98507db8da708c4f93e6668f9 SHA512 2b2bec125737f8c5741b76c83844af1694c5753a2c9e10724d0e6483e2bc985162cbe85b0f724d2f49478e3b279df6e1de67235beabb7d6fb0051d077e9c775d MISC metadata.xml 507 BLAKE2B 4e19c0d3370019c80eda625ae812a4485139ab8a83285946ebc6ef62abad280beaefaaac29d7a57e14b5ca5448bd9d1c23a8cf6a4f783149633dd09e7ae1465c SHA512 d218731de7acfbbfa3c3043b2d942c00b7f5aff1a020b6dca2019f202be3a5390f44337e04691a0d4641e661f7581f703db5fda3d2a116c0d63fb7d9da25ed06 diff --git a/dev-util/sysdig/sysdig-0.27.1-r100.ebuild b/dev-util/sysdig/sysdig-0.27.1-r100.ebuild new file mode 100644 index 000000000000..d564a5f4f305 --- /dev/null +++ b/dev-util/sysdig/sysdig-0.27.1-r100.ebuild @@ -0,0 +1,74 @@ +# Copyright 1999-2020 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=7 + +LUA_COMPAT=( luajit ) +# Documentation says this might be needed but since the unmigrated ebuilds +# did not enforce it, nor does this one. +#LUA_REQ_USE="-lua52compat" + +inherit bash-completion-r1 cmake lua-single + +DESCRIPTION="A system exploration and troubleshooting tool" +HOMEPAGE="https://sysdig.com/" +SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz" + +LICENSE="Apache-2.0" +SLOT="0" +KEYWORDS="~amd64 ~x86" +IUSE="libressl +modules test" +REQUIRED_USE="${LUA_REQUIRED_USE}" +RESTRICT="!test? ( test )" + +RDEPEND="${LUA_DEPS} + app-misc/jq:0= + dev-cpp/tbb:0= + >=dev-libs/jsoncpp-0.6_pre:0= + dev-libs/libb64:0= + dev-libs/protobuf:0= + net-dns/c-ares:0= + net-libs/grpc:0= + sys-libs/ncurses:0= + sys-libs/zlib:0= + libressl? ( dev-libs/libressl:0= ) + !libressl? ( dev-libs/openssl:0= ) + net-misc/curl:0=" +DEPEND="${RDEPEND} + virtual/os-headers + test? ( dev-cpp/gtest )" +PDEPEND=" + modules? ( >=dev-util/sysdig-kmod-${PV} )" + +src_prepare() { + sed -i -e 's:-ggdb::' CMakeLists.txt || die + + cmake_src_prepare +} + +src_configure() { + local mycmakeargs=( + -DCREATE_TEST_TARGETS=$(usex test) + + # done in dev-util/sysdig-kmod + -DBUILD_DRIVER=OFF + # libscap examples are not installed or really useful + -DBUILD_LIBSCAP_EXAMPLES=OFF + + # unbundle the deps + -DUSE_BUNDLED_DEPS=OFF + ) + + cmake_src_configure +} + +src_install() { + cmake_src_install + + # remove sources + rm -r "${ED}"/usr/src || die + + # move bashcomp to the proper location + dobashcomp "${ED}"/usr/etc/bash_completion.d/sysdig || die + rm -r "${ED}"/usr/etc || die +} |