diff options
author | V3n3RiX <venerix@koprulu.sector> | 2024-09-10 12:30:41 +0100 |
---|---|---|
committer | V3n3RiX <venerix@koprulu.sector> | 2024-09-10 12:30:41 +0100 |
commit | add278b9601ff9e4af091c91c851ee46a185be8f (patch) | |
tree | 4b654beae0eec584ae1d1f3227a57607d591a0ea /dev-libs/mongo-c-driver | |
parent | d8a7472fc6314625f7d16e0427004eb448412908 (diff) |
gentoo auto-resync : 10:09:2024 - 12:30:41
Diffstat (limited to 'dev-libs/mongo-c-driver')
5 files changed, 2 insertions, 153 deletions
diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest index 0a8d4eb57b51..fe4e274cf8e5 100644 --- a/dev-libs/mongo-c-driver/Manifest +++ b/dev-libs/mongo-c-driver/Manifest @@ -1,7 +1,3 @@ -AUX mongo-c-driver-1.14.0-no-docs.patch 356 BLAKE2B 801760527a7511a0472d85ba6a6ca00d4b59306f5ec69f0f6b5d89c1858d342a7ec724c7dece3a56ea6506a794c876496e54c498d1d69ec8fb5d7869e68ee94e SHA512 e28f9099f382f7e96ce804c32d30976af4df26f2153c3dd250504b33f522f16ded73563a45f306a9439bf27e723c931df53217cc3735362120e88e4c8f3ce8aa -AUX mongo-c-driver-1.16.2-enable-tests.patch 1167 BLAKE2B 750a692000dcb2abfc38d477dfa5df091ade3ffdf6c72f7a71e0c2da17c8ec875fefa6f049a7f57cfafdcebd7fe044fb6d68582b33845debd877de4760b86e57 SHA512 fb44a8f33f7905dfa71cc5bc0a9198872f008b499af3102f289fe46b57504abbf3eb4ec337d916dac1bd0284e3e955c4a7e75db1256e5b32e628443ffc447f29 -DIST mongo-c-driver-1.18.0.tar.gz 7246954 BLAKE2B 9418ab2e132f8a8c582bcbea8c7b090e9e45e34219845d8f6b7a99d4ebfb17ef2eec2223504e9a4ab7f51ca01e904a7f3bb04bf9f8bf20c010ab9f82894a728e SHA512 c970f347689916172a957fc431b307bab3cb63367d4b39c49745c75b9fa84f0035db934c551570a4141733fc1bc6b33b118911c3b69ecdea797f19312b213606 DIST mongo-c-driver-1.24.4.tar.gz 7916661 BLAKE2B e361b52bf16eed7437428b0481d792ecf2f9cc283fdd6f23916d4a3ffb1b7d7c9ea7a7c4cf5f369e21fb6d4f564b91e07ac2ee44656855993218593dc4f1c166 SHA512 3563c061565d17a76581e188f6e184d7e41f2729812c8815afd34e03ebe6c1d25d7498a2cb1b599a09d24f6268c36473ef5113a14c7585a1532c9abf2e56e936 -EBUILD mongo-c-driver-1.18.0-r1.ebuild 2443 BLAKE2B e89a73a322969ee0f0bc59b21723b577ba933dd4886856a9eabe1aad06e2fa097348fca9342fffca7867c7dac460f5d629d7ec6b5808a0802a3d7d71322d8c35 SHA512 4fb7ee2b0f2c7e0d3a68d3537e0af3f82dc131753636a91b98f0750c9fb5aab563e62c46233f5c8c4f73a12193fa5364f1c896ae247bf7f7bfb7aebcfde0a09d -EBUILD mongo-c-driver-1.24.4.ebuild 2780 BLAKE2B 8ab5722c686df7e096ebe96b841a7d7493b212450e35b87b2acec581d9b544cd90af3da6368537136c77a6395118a3d540e158fd1fc12c970718402d4d84862a SHA512 eb6cde26a37f14d30560edc755007e9aa01c68253b9bcee8730507aff31b577c56a1ff54ec4b346cd9100530ab253363ccac35b2ae6ecb9649656cdec325ce50 +EBUILD mongo-c-driver-1.24.4.ebuild 2778 BLAKE2B a4018c0ddc04121d8684d1c21877009e6b33fdf35b20865ee2604accd47b28765b151e3e78a5a854ade9cc4c42f17d564335a41842710ad676d713c3d3a46bf6 SHA512 e3ff92096ca489c6acdd8d648a68744d7a76a9eeee07cc16c30f599456789b510779aaa3cebf8e00278b66f0848931d4738ee78fa3604e7780d248ec08c2b2a3 MISC metadata.xml 335 BLAKE2B d7b8f44f6698d86dbad1ae9fc535f6c75acb827b07d32af1ba02c94da5196f00f1c3c2d2f519ca388d586867c6b033a3c53d3e3f5856ba32efed730c34316642 SHA512 7c0bf1f1f5065e82ebb03a00b68d41888fbdf4b92c67b116e46016490fbc74c5a44ca8f8245217a7926e85f5d53bc3bcab7499d5ceaf4d4593ab9953e36fc2a1 diff --git a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.14.0-no-docs.patch b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.14.0-no-docs.patch deleted file mode 100644 index d33fba105ab0..000000000000 --- a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.14.0-no-docs.patch +++ /dev/null @@ -1,15 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 3371dae..a6edf0f 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -380,10 +380,6 @@ if (ENABLE_MONGOC) - - endif () - --install (FILES COPYING NEWS README.rst THIRD_PARTY_NOTICES -- DESTINATION ${CMAKE_INSTALL_DATADIR}/mongo-c-driver --) -- - if (ENABLE_UNINSTALL) - if (WIN32) - if (ENABLE_MONGOC) diff --git a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.16.2-enable-tests.patch b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.16.2-enable-tests.patch deleted file mode 100644 index 47cce862c8bb..000000000000 --- a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.16.2-enable-tests.patch +++ /dev/null @@ -1,35 +0,0 @@ -diff --git a/CMakeLists.txt b/CMakeLists.txt -index 1a2b7ba..26fbe9b 100644 ---- a/CMakeLists.txt -+++ b/CMakeLists.txt -@@ -161,8 +161,6 @@ if (ENABLE_BSON STREQUAL SYSTEM) - endif () - - message ("-- libbson found version \"${bson-1.0_VERSION}\"") -- message ("-- disabling test-libmongoc since using system libbson") -- SET (ENABLE_TESTS OFF) - - if (ENABLE_STATIC MATCHES "ON|AUTO") - set (MONGOC_ENABLE_STATIC ON) -@@ -174,7 +172,7 @@ if (ENABLE_BSON STREQUAL SYSTEM) - endif () - set (BSON_LIBRARIES mongo::bson_shared) - if (NOT TARGET mongo::bson_static) -- message (FATAL_ERROR "System libbson built without static library target") -+ message (STATUS "System libbson built without static library target") - endif () - set (BSON_STATIC_LIBRARIES mongo::bson_static) - endif () -diff --git a/src/libbson/tests/test-bson.c b/src/libbson/tests/test-bson.c -index c949d22..4d5a47f 100644 ---- a/src/libbson/tests/test-bson.c -+++ b/src/libbson/tests/test-bson.c -@@ -17,7 +17,7 @@ - - #include <bson/bson.h> - #include <bson/bcon.h> --#include <bson/bson-private.h> -+#include "bson/bson-private.h" - #include <fcntl.h> - #include <time.h> - diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild deleted file mode 100644 index e2bf1455e790..000000000000 --- a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild +++ /dev/null @@ -1,97 +0,0 @@ -# Copyright 1999-2023 Gentoo Authors -# Distributed under the terms of the GNU General Public License v2 - -EAPI=7 - -inherit cmake - -DESCRIPTION="Client library written in C for MongoDB" -HOMEPAGE="https://github.com/mongodb/mongo-c-driver" -SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.tar.gz" - -LICENSE="Apache-2.0" -SLOT="0" -KEYWORDS="amd64 ~arm64 ~hppa ~riscv x86" -IUSE="debug examples icu sasl ssl static-libs test" -REQUIRED_USE="test? ( static-libs )" - -# No tests on x86 because tests require dev-db/mongodb which don't support -# x86 anymore (bug #645994) -RESTRICT="x86? ( test ) - !test? ( test )" - -RDEPEND="app-arch/snappy:= - app-arch/zstd:= - >=dev-libs/libbson-${PV}[static-libs?] - sys-libs/zlib:= - icu? ( dev-libs/icu:= ) - sasl? ( dev-libs/cyrus-sasl:= ) - ssl? ( - dev-libs/openssl:0= - )" -DEPEND="${RDEPEND} - test? ( - dev-db/mongodb - dev-libs/libbson[static-libs] - )" -BDEPEND=" - dev-python/sphinx -" - -PATCHES=( - "${FILESDIR}/${PN}-1.14.0-no-docs.patch" - "${FILESDIR}/${PN}-1.16.2-enable-tests.patch" # enable tests with system libbson -) - -src_prepare() { - cmake_src_prepare - - # sphinx's -Werror - sed -i -e 's:-qEW:-qE:' build/cmake/SphinxBuild.cmake || die - - # copy private headers for tests since we don't build libbson - if use test; then - mkdir -p src/libbson/tests/bson || die - cp src/libbson/src/bson/bson-*.h src/libbson/tests/bson/ || die - fi -} - -src_configure() { - local mycmakeargs=( - -DCMAKE_SKIP_RPATH=ON # mongoc-stat insecure runpath - -DENABLE_BSON=SYSTEM - -DENABLE_EXAMPLES=OFF - -DENABLE_ICU="$(usex icu ON OFF)" - -DENABLE_MAN_PAGES=ON - -DENABLE_MONGOC=ON - -DENABLE_SNAPPY=SYSTEM - -DENABLE_ZLIB=SYSTEM - -DENABLE_SASL="$(usex sasl CYRUS OFF)" - -DENABLE_SSL="$(usex ssl OPENSSL OFF )" - -DENABLE_STATIC="$(usex static-libs ON OFF)" - -DENABLE_TESTS="$(usex test ON OFF)" - -DENABLE_TRACING="$(usex debug ON OFF)" - -DENABLE_UNINSTALL=OFF - -DENABLE_ZSTD=ON - ) - - cmake_src_configure -} - -# FEATURES="test -network-sandbox" USE="static-libs" emerge dev-libs/mongo-c-driver -src_test() { - local PORT=27099 - mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \ - --dbpath="${T}" --logpath="${T}/mongod.log" || die - MONGOC_TEST_URI="mongodb://[127.0.0.1]:${PORT}" ../mongo-c-driver-${PV}_build/src/libmongoc/test-libmongoc || die - kill $(<"${T}/mongod.lock") -} - -src_install() { - if use examples; then - docinto examples - dodoc src/libmongoc/examples/*.c - fi - - cmake_src_install -} diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.24.4.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.24.4.ebuild index c729f7abecc7..195ec1ab6c69 100644 --- a/dev-libs/mongo-c-driver/mongo-c-driver-1.24.4.ebuild +++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.24.4.ebuild @@ -11,7 +11,7 @@ SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}. LICENSE="Apache-2.0" SLOT="0" -KEYWORDS="~amd64 arm64 ~hppa ~riscv ~x86" +KEYWORDS="amd64 arm64 ~hppa ~riscv x86" IUSE="debug examples icu sasl ssl static-libs test" REQUIRED_USE="test? ( static-libs )" |