From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id F260915808A for ; Mon, 04 Aug 2025 22:17:48 +0000 (UTC) Received: from lists.gentoo.org (bobolink.gentoo.org [140.211.166.189]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) (Authenticated sender: relay-lists.gentoo.org@gentoo.org) by smtp.gentoo.org (Postfix) with ESMTPSA id DA184340AB3 for ; Mon, 04 Aug 2025 22:17:48 +0000 (UTC) Received: from bobolink.gentoo.org (localhost [127.0.0.1]) by bobolink.gentoo.org (Postfix) with ESMTP id 3FBE81104DB; Mon, 04 Aug 2025 22:17:45 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519) (No client certificate requested) by bobolink.gentoo.org (Postfix) with ESMTPS id 36D0A1104DB for ; Mon, 04 Aug 2025 22:17:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange x25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id B75F4340836 for ; Mon, 04 Aug 2025 22:17:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 1616032B9 for ; Mon, 04 Aug 2025 22:17:43 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1754345757.badf6730994c0bb755b7fe23f040f17c6b09b1d5.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-debug/sysdig/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-debug/sysdig/Manifest dev-debug/sysdig/sysdig-0.39.0-r1.ebuild X-VCS-Directories: dev-debug/sysdig/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: badf6730994c0bb755b7fe23f040f17c6b09b1d5 X-VCS-Branch: master Date: Mon, 04 Aug 2025 22:17:43 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: d6c280e1-b7c9-4b1d-bd9d-79cc408f6cfa X-Archives-Hash: 31c88327eae84760f333587745aaaf50 commit: badf6730994c0bb755b7fe23f040f17c6b09b1d5 Author: Holger Hoffstätte applied-asynchrony com> AuthorDate: Mon Aug 4 08:21:50 2025 +0000 Commit: Sam James gentoo org> CommitDate: Mon Aug 4 22:15:57 2025 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=badf6730 dev-debug/sysdig: clean up old Signed-off-by: Holger Hoffstätte applied-asynchrony.com> Part-of: https://github.com/gentoo/gentoo/pull/43311 Signed-off-by: Sam James gentoo.org> dev-debug/sysdig/Manifest | 2 - dev-debug/sysdig/sysdig-0.39.0-r1.ebuild | 169 ------------------------------- 2 files changed, 171 deletions(-) diff --git a/dev-debug/sysdig/Manifest b/dev-debug/sysdig/Manifest index a716f469365f..8c80b43fae88 100644 --- a/dev-debug/sysdig/Manifest +++ b/dev-debug/sysdig/Manifest @@ -1,4 +1,2 @@ -DIST falcosecurity-libs-0.19.0.tar.gz 4499949 BLAKE2B 4d165f3b023183abf527a2243f601ca7e6929e882ab854901ff98c3441b6bee61f9bb5d3af8974953423fa46d3968872b7f9dbfb1d81d6ad78202442e5f8d9b7 SHA512 5b011c804b07bf2f3eb6a6d7e8c9ef4e54bcc8d74116020e887465aba3dec737bdf8fc854778a8230f7e23e87da29423c6320a8054873eb5c9c957ce40ef3825 DIST falcosecurity-libs-0.20.0.tar.gz 4545190 BLAKE2B 93a074ab6451c16c7ad58498ac580f0476339e7dee65112e56142307f79966c43b69c71234a784aff03f47ec2e37e838e797beb4b36e9c105db88cf32cad135e SHA512 b5ef481bda92a29b7b409baee25dabd0b766e4bbcac762740635f99b36cd823a6d98f541817fd03b1a86a1385d3fe24888b33b84dc3486cd9f8d00e5384eb705 -DIST sysdig-0.39.0.tar.gz 85742724 BLAKE2B 7e6414b3b87bd4cc43ede8c28f99ebd385a63b0efd711d6648b832d64d518bbfe7ddb2bff469232933413a2807d4df66775c8d57072d9e80aeffb5b2dd5690fd SHA512 d43c816d4c29cc283d3247ac0ac3591b8adea7a08194a80b4e530f0c45730a824d16eda7b07bb70e4658cbae0f851fbb67ec880eedf33477bf5bfc911d8a7936 DIST sysdig-0.40.1.tar.gz 68296332 BLAKE2B 17ed9154d1e955dc18700ab764f0fce11461bea9b6970e8661761269d4f0bbb786ddd8a4cc4c806121a52d0d486080fc231f2447dc69d26d41fa582c1dabda41 SHA512 a50372192ea8708d19ede0550659a2f7ea6b535b419d649ae9b52e32f9c71576f0a3e3ab85dcc8d23f792dff078f15eca1435a1e402e3d98aba7eefc1920989e diff --git a/dev-debug/sysdig/sysdig-0.39.0-r1.ebuild b/dev-debug/sysdig/sysdig-0.39.0-r1.ebuild deleted file mode 100644 index 8eee2040822c..000000000000 --- a/dev-debug/sysdig/sysdig-0.39.0-r1.ebuild +++ /dev/null @@ -1,169 +0,0 @@ -# Copyright 1999-2025 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=8 - -LLVM_COMPAT=( {15..19} ) -LLVM_OPTIONAL=1 - -LUA_COMPAT=( luajit ) - -inherit bash-completion-r1 cmake flag-o-matic linux-info llvm-r1 lua-single - -DESCRIPTION="A system exploration and troubleshooting tool" -HOMEPAGE="https://sysdig.com/" - -# The version of falcosecurity-libs required by sysdig as source tree -LIBS_VERSION="0.19.0" -LIBS="falcosecurity-libs-${LIBS_VERSION}" - -SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz - https://github.com/falcosecurity/libs/archive/${LIBS_VERSION}.tar.gz -> ${LIBS}.tar.gz" - -# The driver version as found in cmake/modules/driver.cmake or alternatively -# as git tag on the $LIBS_VERSION of falcosecurity-libs. -DRIVER_VERSION="7.3.0+driver" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~x86" -IUSE="bpf +modules" -REQUIRED_USE="${LUA_REQUIRED_USE}" - -RDEPEND="${LUA_DEPS} - dev-cpp/abseil-cpp:= - dev-cpp/tbb:= - dev-cpp/yaml-cpp:= - dev-libs/jsoncpp:= - dev-libs/libb64:= - bpf? ( >=dev-libs/libbpf-1.1:= ) - dev-libs/protobuf:= - dev-libs/re2:= - dev-libs/uthash - net-libs/grpc:= - net-misc/curl - sys-libs/ncurses:= - sys-libs/zlib:= - virtual/libelf:=" - -DEPEND="${RDEPEND} - dev-cpp/nlohmann_json - dev-cpp/valijson - bpf? ( $(llvm_gen_dep ' - llvm-core/clang:${LLVM_SLOT}= - llvm-core/llvm:${LLVM_SLOT}=[llvm_targets_BPF(+)] - ') - ) - virtual/os-headers" - -BDEPEND="bpf? ( dev-util/bpftool )" - -# pin the driver to the falcosecurity-libs version -PDEPEND="modules? ( =dev-debug/scap-driver-${LIBS_VERSION}* )" - -PATCHES=( - "${FILESDIR}/0.38.1-scap-loader.patch" -) - -pkg_pretend() { - if use bpf; then - local CONFIG_CHECK=" - ~BPF - ~BPF_EVENTS - ~BPF_JIT - ~BPF_SYSCALL - ~FTRACE_SYSCALLS - ~HAVE_EBPF_JIT - " - check_extra_config - fi -} - -pkg_setup() { - use bpf && llvm-r1_pkg_setup -} - -src_prepare() { - # do not build with debugging info - sed -i -e 's/-ggdb//g' CMakeLists.txt "${WORKDIR}"/libs-${LIBS_VERSION}/cmake/modules/CompilerFlags.cmake || die - - # fix the driver version - sed -i -e 's/0.0.0-local/${DRIVER_VERSION}/g' cmake/modules/driver.cmake || die - - cmake_src_prepare -} - -src_configure() { - # known problems with strict aliasing: - # https://github.com/falcosecurity/libs/issues/1964 - append-flags -fno-strict-aliasing - - local mycmakeargs=( - # do not build the kernel driver - -DBUILD_DRIVER=OFF - - # libscap examples are not installed or really useful - -DBUILD_LIBSCAP_EXAMPLES=OFF - - # do not build internal libs as shared - -DBUILD_SHARED_LIBS=OFF - - # build BPF probe depending on USE - -DBUILD_SYSDIG_MODERN_BPF:BOOL=$(usex bpf) - - # set driver version to prevent downloading (don't ask..) - -DDRIVER_SOURCE_DIR="${WORKDIR}"/libs-${LIBS_VERSION}/driver - -DDRIVER_VERSION=${DRIVER_VERSION} - - # point sysdig to the libs tree - -DFALCOSECURITY_LIBS_SOURCE_DIR="${WORKDIR}"/libs-${LIBS_VERSION} - - # explicitly set sysdig version - required for some reason - -DSYSDIG_VERSION=${PV} - - # do not use bundled dependencies for sysdig - -DUSE_BUNDLED_DEPS=OFF - - # do not use bundled dependencies for falcosecurity-libs - -DUSE_BUNDLED_B64=OFF - -DUSE_BUNDLED_JSONCPP=OFF - -DUSE_BUNDLED_RE2=OFF - -DUSE_BUNDLED_TBB=OFF - -DUSE_BUNDLED_VALIJSON=OFF - - # set 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 - - # remove libscap/libsinsp headers & libs (see #938187) - rm -r "${ED}"/usr/include/sysdig || die - rm -r "${ED}"/usr/$(get_libdir) || die - - # move bashcomp to the proper location - dobashcomp "${ED}"/usr/etc/bash_completion.d/sysdig || die - rm -r "${ED}"/usr/etc || die -} - -pkg_postinst() { - if use bpf; then - elog - elog "You have enabled the 'modern BPF' probe." - elog "This eBPF-based event source is an alternative to the traditional" - elog "scap kernel module." - elog - elog "To use it, start sysdig/csysdig with '--modern-bpf'." - elog - fi -}