summaryrefslogtreecommitdiff
path: root/dev-util
diff options
context:
space:
mode:
Diffstat (limited to 'dev-util')
-rw-r--r--dev-util/Manifest.gzbin68103 -> 68113 bytes
-rw-r--r--dev-util/bloaty/Manifest6
-rw-r--r--dev-util/bloaty/bloaty-1.1-r1.ebuild53
-rw-r--r--dev-util/bloaty/bloaty-1.1.ebuild3
-rw-r--r--dev-util/bloaty/bloaty-9999.ebuild20
-rw-r--r--dev-util/bloaty/files/bloaty-1.1-system-abseil.patch92
-rw-r--r--dev-util/drone-cli/Manifest2
-rw-r--r--dev-util/drone-cli/drone-cli-1.7.0.ebuild2
-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
10 files changed, 181 insertions, 11 deletions
diff --git a/dev-util/Manifest.gz b/dev-util/Manifest.gz
index 9ef09f57344f..e05120c841e2 100644
--- a/dev-util/Manifest.gz
+++ b/dev-util/Manifest.gz
Binary files differ
diff --git a/dev-util/bloaty/Manifest b/dev-util/bloaty/Manifest
index aca5a38c1db5..a4db63af1305 100644
--- a/dev-util/bloaty/Manifest
+++ b/dev-util/bloaty/Manifest
@@ -1,4 +1,6 @@
+AUX bloaty-1.1-system-abseil.patch 3195 BLAKE2B 3d948e46bfd8dbc8beab110b67792bb2982dd86b400cac374ce8e1d56cbde4ac82e41c69fa98c6a014de7853814c98a368aa3742bb8b17d497a9b2a169cb3ea1 SHA512 e55f15384c9931f1fb66908edf1f577b94b304e4531f470144b21d0d06951af7d0c97f0f51e9c3ddb28641392762c3dbcffff357bc393f57b7ed5579a887df92
DIST bloaty-1.1.tar.bz2 5363836 BLAKE2B a538cf5634ed72844bb128238a521caf375eaab34fd3cce8fdd46002bcbc6c53ba986cc7c1e4b761b1253b2f01cb557c94e1e1585507ff89bec10c891e5f5a88 SHA512 142d0dd58fc0aadce3aee6e9260c6ed792a18cf5fe260c89051d51b9357c7527ba352c3d6c9e23a3494796fba3d88314b6ed8a3a76c6c0d111d4c509cae6b216
-EBUILD bloaty-1.1.ebuild 869 BLAKE2B 73e37a8646558eab61c9f12276c78d8ede35d49e96872e8f223c827386caba5ec26027e2357782ab3391090fe08fda92b24337da6b67f4c05f6745b33c81fd52 SHA512 016d0b54bf01ab03dc5e1695dd943b9ddb0b5e89a1c8f78e4300525af0dabfb382bf8da646d0c981487641fe9692226debcf7a4f739d2cdaf747c06ddc60cc7f
-EBUILD bloaty-9999.ebuild 798 BLAKE2B c24d2c676dfcec75c3ee0246877eaa8bc094fb3abf8728af5096090093eaa2e94f4c685bcdb6ed03ef36bc4d70a65e1469e2b8a705792c44aca6994dbd6e0b4b SHA512 f2d7d6f6f09ca7cb021777e5aaf7530e3d69dcb967fe952d4fdf6e0156dad11a75cd3fab0dead023dcc58c8fbfef3be7756a43a78f7f882357f2e3a8a22eed6d
+EBUILD bloaty-1.1-r1.ebuild 953 BLAKE2B d2f98425858fbec48fe0e2904f0f73b5818c12bb751baaf64f7c4801efaa480976f92b6cc6f8fd467a9f71f8ff5dc9ec441d7af3db940573886d6d894254657c SHA512 e43736a9b55c444456f1c6701de021f39802382832c7e4fe1ece879caa32e79bb1b75febd5892c6d0c1f4ceb6fe7880d203fc0e67c6ee8d599c3a4478db44748
+EBUILD bloaty-1.1.ebuild 918 BLAKE2B 94566b8bb558a0d512657898cfcbf04f5ea62d472341f78ec39a4551bbda4982315dd379040ded9c1e880e220791ec44d4f39e61bd1982b6d889117d0d9ed24e SHA512 22306a5ddf294ef4bba78df03e74738a4ae25b5e3d9633a62162dae59a7559cb92c8b869760bda38abbf946cfff610ce21d3b4569c43ea33c9d1c376e216b486
+EBUILD bloaty-9999.ebuild 953 BLAKE2B d2f98425858fbec48fe0e2904f0f73b5818c12bb751baaf64f7c4801efaa480976f92b6cc6f8fd467a9f71f8ff5dc9ec441d7af3db940573886d6d894254657c SHA512 e43736a9b55c444456f1c6701de021f39802382832c7e4fe1ece879caa32e79bb1b75febd5892c6d0c1f4ceb6fe7880d203fc0e67c6ee8d599c3a4478db44748
MISC metadata.xml 251 BLAKE2B c9bcdf6e1af4397778332e26ee1e1621e5e1d2fa91efae9b6e9b622d085c20fac131d0fd832a5e305c6fc860b8eed464da69e9a792d4543ac5f215fcab903dce SHA512 97c77c2ecdd499c00d5e7541e0e81bd0ea71632909b6499ccdb0853380edbf1536d87cd743560a88b87a1becb1ed59f31039b8b6510637bf8f55b9ae62add46a
diff --git a/dev-util/bloaty/bloaty-1.1-r1.ebuild b/dev-util/bloaty/bloaty-1.1-r1.ebuild
new file mode 100644
index 000000000000..e8c0b98fe27a
--- /dev/null
+++ b/dev-util/bloaty/bloaty-1.1-r1.ebuild
@@ -0,0 +1,53 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+inherit cmake
+
+DESCRIPTION="A size profiler for binaries"
+HOMEPAGE="https://github.com/google/bloaty"
+
+if [[ ${PV} == 9999 ]]; then
+ inherit git-r3
+ EGIT_REPO_URI="https://github.com/google/${PN}"
+ IUSE="test"
+ RESTRICT="!test? ( test )"
+else
+ SRC_URI="https://github.com/google/${PN}/releases/download/v${PV}/${P}.tar.bz2"
+ KEYWORDS="~amd64 ~arm64"
+fi
+
+LICENSE="Apache-2.0"
+SLOT="0"
+
+BDEPEND="
+ virtual/pkgconfig
+"
+DEPEND="
+ dev-cpp/abseil-cpp:=
+ dev-libs/capstone:=
+ dev-libs/protobuf:=
+ dev-libs/re2:=
+"
+RDEPEND="${DEPEND}"
+
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.1-system-abseil.patch
+)
+
+src_configure() {
+ local mycmakeargs=(
+ -DBLOATY_ENABLE_CMAKETARGETS=OFF
+ -DBUILD_SHARED_LIBS=OFF
+ )
+
+ if [[ ${PV} == 9999 ]]; then
+ mycmakeargs+=(
+ -DBUILD_TESTING=$(usex test)
+ $(usex test -DINSTALL_GTEST=OFF "")
+ )
+ fi
+
+ cmake_src_configure
+}
diff --git a/dev-util/bloaty/bloaty-1.1.ebuild b/dev-util/bloaty/bloaty-1.1.ebuild
index d72f426425c5..60319810d1f8 100644
--- a/dev-util/bloaty/bloaty-1.1.ebuild
+++ b/dev-util/bloaty/bloaty-1.1.ebuild
@@ -32,14 +32,17 @@ RDEPEND="${DEPEND}"
src_configure() {
local mycmakeargs=(
+ -DCMAKE_CXX_STANDARD=14 # needed by protobuf
-DBLOATY_ENABLE_CMAKETARGETS=OFF
-DBUILD_SHARED_LIBS=OFF
)
+
if [[ ${PV} == 9999 ]]; then
mycmakeargs+=(
-DBUILD_TESTING=$(usex test)
$(usex test -DINSTALL_GTEST=OFF "")
)
fi
+
cmake_src_configure
}
diff --git a/dev-util/bloaty/bloaty-9999.ebuild b/dev-util/bloaty/bloaty-9999.ebuild
index 4aa412ab17d3..e8c0b98fe27a 100644
--- a/dev-util/bloaty/bloaty-9999.ebuild
+++ b/dev-util/bloaty/bloaty-9999.ebuild
@@ -1,14 +1,12 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
# Distributed under the terms of the GNU General Public License v2
-EAPI=7
+EAPI=8
inherit cmake
DESCRIPTION="A size profiler for binaries"
HOMEPAGE="https://github.com/google/bloaty"
-LICENSE="Apache-2.0"
-SLOT="0"
if [[ ${PV} == 9999 ]]; then
inherit git-r3
@@ -17,27 +15,39 @@ if [[ ${PV} == 9999 ]]; then
RESTRICT="!test? ( test )"
else
SRC_URI="https://github.com/google/${PN}/releases/download/v${PV}/${P}.tar.bz2"
- KEYWORDS="~amd64"
+ KEYWORDS="~amd64 ~arm64"
fi
+LICENSE="Apache-2.0"
+SLOT="0"
+
BDEPEND="
virtual/pkgconfig
"
DEPEND="
+ dev-cpp/abseil-cpp:=
dev-libs/capstone:=
dev-libs/protobuf:=
dev-libs/re2:=
"
RDEPEND="${DEPEND}"
+PATCHES=(
+ "${FILESDIR}"/${PN}-1.1-system-abseil.patch
+)
+
src_configure() {
local mycmakeargs=(
-DBLOATY_ENABLE_CMAKETARGETS=OFF
+ -DBUILD_SHARED_LIBS=OFF
)
+
if [[ ${PV} == 9999 ]]; then
mycmakeargs+=(
-DBUILD_TESTING=$(usex test)
+ $(usex test -DINSTALL_GTEST=OFF "")
)
fi
+
cmake_src_configure
}
diff --git a/dev-util/bloaty/files/bloaty-1.1-system-abseil.patch b/dev-util/bloaty/files/bloaty-1.1-system-abseil.patch
new file mode 100644
index 000000000000..40a1d2df97ba
--- /dev/null
+++ b/dev-util/bloaty/files/bloaty-1.1-system-abseil.patch
@@ -0,0 +1,92 @@
+https://src.fedoraproject.org/rpms/bloaty/blob/rawhide/f/bloaty-1.1-absl.patch
+https://github.com/google/bloaty/pull/347
+
+diff -up ./CMakeLists.txt.1 ./CMakeLists.txt
+--- ./CMakeLists.txt.1 2020-05-24 00:36:23.000000000 -0400
++++ ./CMakeLists.txt 2020-12-19 12:32:29.021943521 -0500
+@@ -2,7 +2,8 @@ cmake_minimum_required(VERSION 3.5)
+ cmake_policy(SET CMP0048 NEW)
+ project (Bloaty VERSION 1.0)
+ project (Bloaty VERSION 1.1)
+-set(CMAKE_CXX_STANDARD 11)
++set(CMAKE_CXX_STANDARD 17)
++set(CMAKE_POSITION_INDEPENDENT_CODE ON)
+
+ # Options we define for users.
+ option(BLOATY_ENABLE_ASAN "Enable address sanitizer." OFF)
+@@ -36,6 +37,8 @@ else(${PKG_CONFIG_FOUND})
+ endif(${PKG_CONFIG_FOUND})
+ endif(UNIX)
+
++find_package(absl)
++
+ # Set default build type.
+ if(NOT CMAKE_BUILD_TYPE)
+ message(STATUS "Setting build type to 'RelWithDebInfo' as none was specified.")
+@@ -89,11 +92,10 @@ endif(UNIX)
+
+ include_directories(.)
+ include_directories(src)
+-include_directories(third_party/abseil-cpp)
+ include_directories("${CMAKE_CURRENT_BINARY_DIR}/src")
+
+ # Baseline build flags.
+-set(CMAKE_CXX_FLAGS "-std=c++11 -W -Wall -Wno-sign-compare")
++set(CMAKE_CXX_FLAGS "-W -Wall -Wno-sign-compare")
+ set(CMAKE_CXX_FLAGS_DEBUG "-g1")
+ set(CMAKE_CXX_FLAGS_RELEASE "-O2")
+ set(CMAKE_CXX_FLAGS_RELWITHDEBINFO "-O2 -g1")
+@@ -149,7 +151,7 @@ endif(${PROTOC_FOUND})
+ file(COPY ${CMAKE_CURRENT_SOURCE_DIR}/src/bloaty_package.bloaty
+ DESTINATION ${CMAKE_CURRENT_BINARY_DIR})
+
+-add_library(libbloaty
++add_library(libbloaty STATIC
+ src/bloaty.cc
+ src/demangle.cc
+ src/disassemble.cc
+@@ -159,6 +161,13 @@ add_library(libbloaty
+ src/macho.cc
+ src/range_map.cc
+ src/webassembly.cc
++)
++
++if (absl_FOUND)
++ target_link_libraries(libbloaty PUBLIC absl::base absl::strings absl::numeric)
++else()
++ include_directories(third_party/abseil-cpp)
++ target_sources(libbloaty
+ # Until Abseil has a proper CMake build system
+ third_party/abseil-cpp/absl/base/internal/raw_logging.cc # Grrrr...
+ third_party/abseil-cpp/absl/base/internal/throw_delegate.cc
+@@ -179,7 +188,8 @@ add_library(libbloaty
+ third_party/abseil-cpp/absl/types/bad_optional_access.cc
+ # One source file, no special build system needed.
+ third_party/demumble/third_party/libcxxabi/cxa_demangle.cpp
+- )
++ )
++endif()
+
+ if(UNIX)
+ set(LIBBLOATY_LIBS libbloaty)
+@@ -249,9 +259,8 @@ else()
+ enable_testing()
+
+ if(BUILD_TESTING)
+- add_subdirectory(third_party/googletest)
+- include_directories(third_party/googletest/googletest/include)
+- include_directories(third_party/googletest/googlemock/include)
++ find_package(GTest)
++ pkg_search_module(GMock gmock)
+
+ set(TEST_TARGETS
+ bloaty_test
+@@ -261,7 +270,7 @@ else()
+
+ foreach(target ${TEST_TARGETS})
+ add_executable(${target} tests/${target}.cc)
+- target_link_libraries(${target} "${LIBBLOATY_LIBS}" gtest_main gmock "${CMAKE_THREAD_LIBS_INIT}")
++ target_link_libraries(${target} "${LIBBLOATY_LIBS}" GTest::Main GTest::GTest ${GMock_LIBRARIES} "${CMAKE_THREAD_LIBS_INIT}")
+ endforeach(target)
+
+ add_executable(fuzz_test tests/fuzz_target.cc tests/fuzz_driver.cc)
diff --git a/dev-util/drone-cli/Manifest b/dev-util/drone-cli/Manifest
index dc948c2931d1..196299f24182 100644
--- a/dev-util/drone-cli/Manifest
+++ b/dev-util/drone-cli/Manifest
@@ -1,4 +1,4 @@
DIST drone-cli-1.7.0-deps.tar.xz 48810472 BLAKE2B 540ff9887344ada33cb851b333ddf505504266109e04017a1bfc8fa0d2c6b4c65f45d4afc286f5b635d523d35b6b2c5fb2b94dbd1cd88bed3f44b009af68787a SHA512 1d8112db3460af58cd88c931fb1759c86affc43582103c4c60ef6d6314c3e35a26d21c1f757661851bd5f0b3e292c328265ec7ae166c305fd1718f8f39fde48b
DIST drone-cli-1.7.0.tar.gz 59347 BLAKE2B b8c0e3b9beea5dfca6abe705470012238ec6cfc0a88ff5145bac98697c9904aed332bda4c9ccffd5287f3e20954a11b36b2a4f22a96ec62101a2e608a120c691 SHA512 d7345d05a15f7ac8f3fc8406652b5303f6139baca49bef9f1c5ed69a61bce44a5154d20ffd9451fbb4d27deb3a3fbeba3ce8bac6370e6b050d8c066648fb2ad0
-EBUILD drone-cli-1.7.0.ebuild 583 BLAKE2B 8cdb0c666ddedc6b6f6a07a71837f696608c5dfa62d2bd8c78ee91ad7004c2e4d60dfa3a9bcf8bc6f205ec392eabc229d5f9bd825f4b6dd7af85c802f8569753 SHA512 ae62f2ec70f5d9fea9ccc4e6be2ab21194ee5755936056e911bac742cfd78828d66106a528041be17bf9e0af1a060cfabfd45fe136210334254dc674041c4dc0
+EBUILD drone-cli-1.7.0.ebuild 620 BLAKE2B 2a621f72eb6ea132b0f2eb6306c575c99105b6b141bc715882bb2ce8d96311e36df3551fbbc7cee60cb701a5b9af1afc8777947e85f3fb5f9ea0f8e1f53e5ac1 SHA512 c17bb71581ef2b64e2fdede490c963e34477ceaa3d08a9e1cbf9a67f973630870c2033802873d46fe1808715561f0286c8017c48f2af39e18a641c1d0b2d3b19
MISC metadata.xml 329 BLAKE2B a776dcbb6cd5143660d0e97649ff778445ce0ce0df09d5ef12c51392aebbb5e4f4a0f6dbb7a7b05bc26dc33ff75bfed60baba7ded7570d0514950a4d6c01c845 SHA512 75bf4e3bae846b0246736e13f99efdee4d912f729027aeb1611704c959a9888628d7688beed9c6ecbbb009a5d2cc9bbea7986337c7c42a819890a310aa8a8f73
diff --git a/dev-util/drone-cli/drone-cli-1.7.0.ebuild b/dev-util/drone-cli/drone-cli-1.7.0.ebuild
index 53c6bbee5e2a..c71e573f9e5d 100644
--- a/dev-util/drone-cli/drone-cli-1.7.0.ebuild
+++ b/dev-util/drone-cli/drone-cli-1.7.0.ebuild
@@ -14,6 +14,8 @@ LICENSE="Apache-2.0"
SLOT="0"
KEYWORDS="~amd64"
+RDEPEND="!<net-analyzer/ostinato-2"
+
RESTRICT+=" test"
src_compile() {
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
}