public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Michał Górny" <mgorny@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig/
Date: Wed, 15 Aug 2018 07:29:46 +0000 (UTC)	[thread overview]
Message-ID: <1534318180.3364ae034aaff51269c685f12fba2fe070806653.mgorny@gentoo> (raw)

commit:     3364ae034aaff51269c685f12fba2fe070806653
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Wed Aug 15 06:37:59 2018 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Wed Aug 15 07:29:40 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3364ae03

dev-util/sysdig: Bump to 0.23.1 (bugfixes)

 dev-util/sysdig/Manifest             |  1 +
 dev-util/sysdig/sysdig-0.23.1.ebuild | 92 ++++++++++++++++++++++++++++++++++++
 2 files changed, 93 insertions(+)

diff --git a/dev-util/sysdig/Manifest b/dev-util/sysdig/Manifest
index 5bbbfcbc4c4..7db6b474b36 100644
--- a/dev-util/sysdig/Manifest
+++ b/dev-util/sysdig/Manifest
@@ -1,2 +1,3 @@
 DIST sysdig-0.22.1.tar.gz 825171 BLAKE2B aa4836ed0be30fb3d8318b151c3f60586daaea15974558e7d81ba2da6d9c511bedc67fe8bc518697b6a268ea93bd112f64ae5772ef75c10d8b57d06e1468ff13 SHA512 e9f5ca594dc31832b4ea365a624208f5319add1480cfe9fb3d0e960757229fbe6ce46b906a390a667147ae1a7c0a31fd7ffeb9a1a0b376376530d4f60f397453
 DIST sysdig-0.23.0.tar.gz 829716 BLAKE2B d507d28ef606e4ccd96fec1fa735bf305ceb2b2d0292b872309d877c7492def92b7305866316977f0e12325f3b8ae180a1633c8d969b1761eb2197b5250f4d43 SHA512 e6ad3f5bba1ad7307a7e0769b1a9a0c20659fff5bcc06b741cb9ce23428d4de38b5acf32a37d10bb1b41e839cc3a86b89075bde577c3f200e9fa5b4bad33a77d
+DIST sysdig-0.23.1.tar.gz 830420 BLAKE2B 31a8c4cd8b570a308c81b4df53494cff2619d05724e509634671968025ebee0e46c5e59a7c877e6d9f1f1eba86a8a27a0cd9c5b66e75723ec8eec66c6782d4c0 SHA512 059a564a5d31381efae4bc50d2b83f83a1d051f1cfb9fa6bfb75a341305149073a6eb3b9a3ce4da12fa293e75b71f8b30c9021ac8d4c4a2f59a40e35a5ffd482

diff --git a/dev-util/sysdig/sysdig-0.23.1.ebuild b/dev-util/sysdig/sysdig-0.23.1.ebuild
new file mode 100644
index 00000000000..e366e662630
--- /dev/null
+++ b/dev-util/sysdig/sysdig-0.23.1.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI="6"
+
+: ${CMAKE_MAKEFILE_GENERATOR:=ninja}
+MODULES_OPTIONAL_USE=modules
+inherit linux-mod bash-completion-r1 cmake-utils
+
+DESCRIPTION="A system exploration and troubleshooting tool"
+HOMEPAGE="https://www.sysdig.org/"
+SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="GPL-2"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl +modules"
+
+RDEPEND="
+	app-misc/jq:0=
+	dev-lang/luajit:2=
+	>=dev-libs/jsoncpp-0.6_pre:0=
+	dev-libs/libb64: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}
+	app-arch/xz-utils
+	virtual/os-headers"
+
+# needed for the kernel module
+CONFIG_CHECK="HAVE_SYSCALL_TRACEPOINTS ~TRACEPOINTS"
+
+pkg_pretend() {
+	linux-mod_pkg_setup
+}
+
+pkg_setup() {
+	linux-mod_pkg_setup
+}
+
+src_prepare() {
+	sed -i -e 's:-ggdb::' CMakeLists.txt || die
+
+	cmake-utils_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		# we will use linux-mod for that
+		-DBUILD_DRIVER=OFF
+		# libscap examples are not installed or really useful
+		-DBUILD_LIBSCAP_EXAMPLES=OFF
+
+		# unbundle the deps
+		-DUSE_BUNDLED_DEPS=OFF
+	)
+
+	cmake-utils_src_configure
+
+	# setup linux-mod ugliness
+	MODULE_NAMES="sysdig-probe(extra:${S}/driver:)"
+	BUILD_PARAMS='KERNELDIR="${KERNEL_DIR}"'
+	BUILD_TARGETS="all"
+
+	if use modules; then
+		cmake-utils_src_make configure_driver
+
+		cp "${BUILD_DIR}"/driver/Makefile.dkms driver/Makefile || die
+	fi
+}
+
+src_compile() {
+	cmake-utils_src_compile
+
+	linux-mod_src_compile
+}
+
+src_install() {
+	cmake-utils_src_install
+
+	linux-mod_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
+}


             reply	other threads:[~2018-08-15  7:29 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2018-08-15  7:29 Michał Górny [this message]
  -- strict thread matches above, loose matches on Subject: below --
2023-08-21 19:57 [gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig/ Sam James
2023-08-21 19:57 Sam James
2023-07-02 15:34 Sam James
2023-07-02 14:36 Sam James
2023-04-29  6:44 Sam James
2023-01-04  6:30 Arthur Zamarin
2023-01-03 18:28 Sam James
2022-08-23  5:34 Sam James
2022-03-09 15:11 Sam James
2022-03-09 15:11 Sam James
2021-12-15 16:12 Michał Górny
2021-05-02 17:56 Mikle Kolyada
2020-10-03 17:00 Michał Górny
2020-09-18  9:38 Michał Górny
2020-08-11 13:43 Michał Górny
2020-05-05  7:15 Michał Górny
2020-05-04  9:37 Michał Górny
2020-04-03 14:12 Michał Górny
2020-03-19 19:51 Michał Górny
2019-12-26 11:27 Michał Górny
2019-09-08  6:43 Michał Górny
2019-08-22  6:49 Michał Górny
2019-08-20 12:06 Michał Górny
2019-08-07  5:43 Michał Górny
2019-05-29  6:25 Michał Górny
2019-03-11 21:44 Michał Górny
2018-12-22  8:35 Michał Górny
2018-10-19  9:57 Michał Górny
2018-10-06  7:11 Michał Górny
2018-10-05  6:41 Michał Górny
2018-09-06 21:22 Michał Górny
2018-08-09 20:40 Michał Górny
2018-08-09 20:40 Michał Górny
2018-08-01  7:27 Michał Górny
2018-07-14  8:28 Michał Górny
2018-05-27  9:03 Michał Górny
2018-03-30 16:45 Michał Górny
2018-03-26 16:14 Michał Górny
2018-01-19 14:08 Michał Górny
2017-11-11  8:28 Michał Górny
2017-10-05 15:48 Michał Górny
2017-09-23 14:18 Michał Górny
2017-08-14  6:07 Michał Górny
2017-08-14  6:07 Michał Górny
2017-07-25  7:58 Michał Górny
2017-07-25  7:58 Michał Górny
2017-06-30  6:18 Michał Górny
2017-05-08 16:07 Michał Górny
2017-04-26 14:04 Michał Górny
2017-03-03 16:21 Thomas Deutschmann
2017-01-26 21:17 Michał Górny
2016-12-21 21:01 Michał Górny
2016-12-21 21:01 Michał Górny
2016-11-15 14:32 Michał Górny
2016-11-15 14:32 Michał Górny
2016-11-15 14:32 Michał Górny
2016-11-11  9:43 Michał Górny
2016-06-23 12:48 Michał Górny
2016-06-17  9:05 Michał Górny
2016-04-16 14:54 Michał Górny
2016-04-16 14:54 Michał Górny
2016-01-16  9:58 Michał Górny
2015-12-12 15:13 Michał Górny
2015-10-29 20:49 Michał Górny
2015-09-28 12:12 Justin Lecher
2015-09-28 11:10 Michał Górny
2015-09-28 11:10 Michał Górny

Reply instructions:

You may reply publicly to this message via plain-text email
using any one of the following methods:

* Save the following mbox file, import it into your mail client,
  and reply-to-all from there: mbox

  Avoid top-posting and favor interleaved quoting:
  https://en.wikipedia.org/wiki/Posting_style#Interleaved_style

* Reply using the --to, --cc, and --in-reply-to
  switches of git-send-email(1):

  git send-email \
    --in-reply-to=1534318180.3364ae034aaff51269c685f12fba2fe070806653.mgorny@gentoo \
    --to=mgorny@gentoo.org \
    --cc=gentoo-commits@lists.gentoo.org \
    --cc=gentoo-dev@lists.gentoo.org \
    /path/to/YOUR_REPLY

  https://kernel.org/pub/software/scm/git/docs/git-send-email.html

* If your mail client supports setting the In-Reply-To header
  via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox