public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
From: "Sam James" <sam@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-util/sysdig/
Date: Tue, 23 Aug 2022 05:34:37 +0000 (UTC)	[thread overview]
Message-ID: <1661232859.577e733cd936ecf7c734de289cc731308a41db94.sam@gentoo> (raw)

commit:     577e733cd936ecf7c734de289cc731308a41db94
Author:     Holger Hoffstätte <holger <AT> applied-asynchrony <DOT> com>
AuthorDate: Wed Jul 20 11:57:23 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Aug 23 05:34:19 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=577e733c

dev-util/sysdig: bump to 0.29.3

Signed-off-by: Holger Hoffstätte <holger <AT> applied-asynchrony.com>
Closes: https://github.com/gentoo/gentoo/pull/26496
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-util/sysdig/Manifest             |  2 +
 dev-util/sysdig/metadata.xml         |  9 +++-
 dev-util/sysdig/sysdig-0.29.3.ebuild | 88 ++++++++++++++++++++++++++++++++++++
 3 files changed, 98 insertions(+), 1 deletion(-)

diff --git a/dev-util/sysdig/Manifest b/dev-util/sysdig/Manifest
index cc1b76c77570..9262fd7968f3 100644
--- a/dev-util/sysdig/Manifest
+++ b/dev-util/sysdig/Manifest
@@ -1 +1,3 @@
+DIST falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz 816972 BLAKE2B b47ae6a7677935500ebdab8aea7f4c49ef50b7175ec097e7213a1f041ac2b5aa642379924927ec12c84271016e9ab9d191c0c1d4ffacd6ade58b7a03c37f9221 SHA512 65e5916e5f9507fd867a5e9ba3b2670a1b73b7672a22479d3019e948a52ad74441d7e2ce1c74ebd0fdbd1ce66808efa49f285bd5180bceae9d4e6730a60787ce
 DIST sysdig-0.27.1.tar.gz 936415 BLAKE2B f4c15e3a2d4b974c5eafc8374f927dd82f123c05cc1976d04b08e77e1a7c0ff53f37c4e2c0022b7073fcc936310daf76ca3c3611141799ae4f51991bc6f3a0a3 SHA512 690f012c7db0a75ec2eb78fae17aae0f422aa1db0d4c2b15c4a09153fd2f60bd3c00d62238976fdcff2a906d87b2e34b81d02c0c78ad2684a1d6016a9988eb08
+DIST sysdig-0.29.3.tar.gz 306984 BLAKE2B 51e9a0a085fa91d65963fd33e00b139d97d22b551de8ca85e48b4af73991897378970dfde54754a970e79300f06a54bad1d9c8fdfdb44f24150d0b21077e423f SHA512 1dbe1195f245921c671ed2343325aee79fd0cde34681b9cab445135662d3ed7c84884e46b2270c0e868b5de1a3f2800b84e8bf9fcf0dfe581dd17e2e633f46d8

diff --git a/dev-util/sysdig/metadata.xml b/dev-util/sysdig/metadata.xml
index 8e4769903018..c16f8ef41665 100644
--- a/dev-util/sysdig/metadata.xml
+++ b/dev-util/sysdig/metadata.xml
@@ -1,7 +1,14 @@
 <?xml version="1.0" encoding="UTF-8"?>
 <!DOCTYPE pkgmetadata SYSTEM "https://www.gentoo.org/dtd/metadata.dtd">
 <pkgmetadata>
-	<!-- maintainer-needed -->
+	<maintainer type="person" proxied="yes">
+		<email>holger@applied-asynchrony.com</email>
+		<name>Holger Hoffstätte</name>
+	</maintainer>
+	<maintainer type="project" proxied="proxy">
+		<email>proxy-maint@gentoo.org</email>
+		<name>Proxy Maintainers</name>
+	</maintainer>
 	<use>
 		<flag name="modules">Build kernel modules needed for tracing local
 			events. Disable this only if you intend to use sysdig purely

diff --git a/dev-util/sysdig/sysdig-0.29.3.ebuild b/dev-util/sysdig/sysdig-0.29.3.ebuild
new file mode 100644
index 000000000000..2c0745f73303
--- /dev/null
+++ b/dev-util/sysdig/sysdig-0.29.3.ebuild
@@ -0,0 +1,88 @@
+# Copyright 1999-2022 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+LUA_COMPAT=( luajit )
+
+inherit bash-completion-r1 cmake lua-single
+
+DESCRIPTION="A system exploration and troubleshooting tool"
+HOMEPAGE="https://sysdig.com/"
+
+# For now we need to bump this version of falcosecurity/libs manually;
+# check the used git revision in <src>/cmake/modules/falcosecurity-libs.cmake
+LIBS_COMMIT="e5c53d648f3c4694385bbe488e7d47eaa36c229a"
+
+SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz
+	https://github.com/falcosecurity/libs/archive/${LIBS_COMMIT}.tar.gz -> falcosecurity-libs-${LIBS_COMMIT}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="+modules"
+REQUIRED_USE="${LUA_REQUIRED_USE}"
+
+RDEPEND="${LUA_DEPS}
+	app-misc/jq
+	dev-cpp/tbb:=
+	dev-cpp/yaml-cpp:=
+	dev-libs/libb64:=
+	dev-libs/openssl:=
+	dev-libs/protobuf:=
+	net-dns/c-ares:=
+	net-libs/grpc:=
+	net-misc/curl
+	sys-libs/ncurses:=
+	sys-libs/zlib:="
+
+DEPEND="${RDEPEND}
+	dev-cpp/nlohmann_json
+	dev-cpp/valijson
+	virtual/os-headers"
+
+# for now pin the driver to the same ebuild version
+PDEPEND="modules? ( =dev-util/scap-driver-${PV}* )"
+
+src_prepare() {
+	sed -i -e 's:-ggdb::' CMakeLists.txt || die
+	cmake_src_prepare
+}
+
+src_configure() {
+	local mycmakeargs=(
+		# don't build driver
+		-DBUILD_DRIVER=OFF
+
+		# libscap examples are not installed or really useful
+		-DBUILD_LIBSCAP_EXAMPLES=OFF
+
+		# point to the falcosecurity-libs tree
+		-DFALCOSECURITY_LIBS_SOURCE_DIR="${WORKDIR}"/libs-${LIBS_COMMIT}
+
+		# explicitly set version
+		-DSYSDIG_VERSION=${PV}
+
+		# unbundle the deps
+		-DUSE_BUNDLED_DEPS=OFF
+
+		# add valijson include path to prevent downloading
+		-DVALIJSON_INCLUDE="${ESYSROOT}"/usr/include
+
+		# enable chisels
+		-DWITH_CHISEL=ON
+	)
+
+	cmake_src_configure
+}
+
+src_install() {
+	cmake_src_install
+
+	# remove driver headers
+	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:[~2022-08-23  5:34 UTC|newest]

Thread overview: 68+ messages / expand[flat|nested]  mbox.gz  Atom feed  top
2022-08-23  5:34 Sam James [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-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-15  7:29 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=1661232859.577e733cd936ecf7c734de289cc731308a41db94.sam@gentoo \
    --to=sam@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