summaryrefslogtreecommitdiff
path: root/dev-util/sysdig
diff options
context:
space:
mode:
authorV3n3RiX <venerix@koprulu.sector>2023-08-21 21:44:48 +0100
committerV3n3RiX <venerix@koprulu.sector>2023-08-21 21:44:48 +0100
commitd51fe7680c5270ddf8d324bbe11caab6d1e27ade (patch)
treea895b5889d79dbbb9aa52995fcac4816acfa07c1 /dev-util/sysdig
parent7d52991b5dce3a07be15d3cbbf06abb3fc08cb9c (diff)
gentoo auto-resync : 21:08:2023 - 21:44:47
Diffstat (limited to 'dev-util/sysdig')
-rw-r--r--dev-util/sysdig/Manifest2
-rw-r--r--dev-util/sysdig/sysdig-0.29.3-r2.ebuild (renamed from dev-util/sysdig/sysdig-0.29.3.ebuild)12
2 files changed, 11 insertions, 3 deletions
diff --git a/dev-util/sysdig/Manifest b/dev-util/sysdig/Manifest
index 27986b8f800b..4761db32671f 100644
--- a/dev-util/sysdig/Manifest
+++ b/dev-util/sysdig/Manifest
@@ -2,5 +2,5 @@ AUX 0.29.3-libs-gcc13.patch 1152 BLAKE2B 85ee0737eee65a83e26b47ada730062fa881e11
DIST falcosecurity-libs-e5c53d648f3c4694385bbe488e7d47eaa36c229a.tar.gz 816972 BLAKE2B b47ae6a7677935500ebdab8aea7f4c49ef50b7175ec097e7213a1f041ac2b5aa642379924927ec12c84271016e9ab9d191c0c1d4ffacd6ade58b7a03c37f9221 SHA512 65e5916e5f9507fd867a5e9ba3b2670a1b73b7672a22479d3019e948a52ad74441d7e2ce1c74ebd0fdbd1ce66808efa49f285bd5180bceae9d4e6730a60787ce
DIST sysdig-0.29.3.tar.gz 306984 BLAKE2B 51e9a0a085fa91d65963fd33e00b139d97d22b551de8ca85e48b4af73991897378970dfde54754a970e79300f06a54bad1d9c8fdfdb44f24150d0b21077e423f SHA512 1dbe1195f245921c671ed2343325aee79fd0cde34681b9cab445135662d3ed7c84884e46b2270c0e868b5de1a3f2800b84e8bf9fcf0dfe581dd17e2e633f46d8
EBUILD sysdig-0.29.3-r1.ebuild 2172 BLAKE2B 50db0bea5fc4d87eecaa2e0ece3b40af83f64a5f3b1015037a757b6f3f05be32087e60195f5587b4f68663adb0d3186c1820d831852dc914db14085e0dafae7f SHA512 cf63d040001eb2cb681093aef4ba247ed5d4c4b57e58cdb325f57d25b55e4e80f2ee4ba31910598c094a6fbac5342a5b9d8256ca94d78556b45ad563b2989a31
-EBUILD sysdig-0.29.3.ebuild 2035 BLAKE2B 21e6b40e15261ba7d428b127343942c68973bae8617c26c83eb4a2e7350e364869894a76628132db04e96c4c636e07de4e36d73f2f5c0680c70f2298dcdb537c SHA512 82e848ac5fd1048b6cd7f342cb14a9eef45247c1ac022039f93564f68a2efb28ee72324aec3f1f2e7f1fa969e1f22c69ab736fd6053b4f5299504a2da78a87bf
+EBUILD sysdig-0.29.3-r2.ebuild 2365 BLAKE2B 43dfb43bb30f213af12a7898c5bb740205e8fec867f6eb934a653553f01d98f397f1af75033b75eb24310a043de50907004bd0530aec70cc4cde023d369d8ebe SHA512 0ece7dd83f3aa567717a068f7e4fa01ca8aa8b70d48dc232dfc348b559a870fa928934efa116bca17d8d5feb70b706255b8c91019cc57f8678e16d0f47abc0f5
MISC metadata.xml 671 BLAKE2B 553dbbe2ea2a56f5a88bb0276b3f97c5d4d8d798291eaef42d5aadd842cf5cbbb770515729c9779890f9227f7cc96fc8e35457009f066cfb43993b02c7406d7a SHA512 4d0b92b271bd4ceb86db363a29cd465124ab71ec6941848cafec4ebba0232a52bf62a4128d8cbaf5a7a6c9350aef29e4a797b6a659d5d5896c077b0b5df9f73d
diff --git a/dev-util/sysdig/sysdig-0.29.3.ebuild b/dev-util/sysdig/sysdig-0.29.3-r2.ebuild
index 83dacb21b23f..d5198a4305c4 100644
--- a/dev-util/sysdig/sysdig-0.29.3.ebuild
+++ b/dev-util/sysdig/sysdig-0.29.3-r2.ebuild
@@ -19,7 +19,7 @@ SRC_URI="https://github.com/draios/sysdig/archive/${PV}.tar.gz -> ${P}.tar.gz
LICENSE="Apache-2.0"
SLOT="0"
-KEYWORDS="amd64 x86"
+KEYWORDS="~amd64 ~x86"
IUSE="+modules"
REQUIRED_USE="${LUA_REQUIRED_USE}"
@@ -45,7 +45,15 @@ DEPEND="${RDEPEND}
PDEPEND="modules? ( =dev-util/scap-driver-${PV}* )"
src_prepare() {
- sed -i -e 's:-ggdb::' CMakeLists.txt || die
+ # manually apply patch to falcosecurity-libs dependency
+ pushd "${WORKDIR}" && \
+ eapply -p0 "${FILESDIR}/${PV}-libs-gcc13.patch" && \
+ popd
+
+ # force C++14 standard for libs & main
+ sed -i -e 's:-std=c++0x:-std=c++14:' "${WORKDIR}"/libs-${LIBS_COMMIT}/cmake/modules/CompilerFlags.cmake || die
+ sed -i -e 's:-std=c++0x:-std=c++14:' -e 's:-ggdb::' CMakeLists.txt || die
+
cmake_src_prepare
}