commit:     b8191e4decc5b9c54df3d8b9c9e2d036fe7ce8e0
Author:     orbea <orbea <AT> riseup <DOT> net>
AuthorDate: Sat Jul  2 23:52:58 2022 +0000
Commit:     Quentin Retornaz <gentoo <AT> retornaz <DOT> com>
CommitDate: Sun Jul  3 17:47:00 2022 +0000
URL:        https://gitweb.gentoo.org/repo/proj/libressl.git/commit/?id=b8191e4d

dev-libs/mongo-c-driver: Remove package

Works with libressl-3.5.x and mongo-c-driver-1.18.0::gentoo.

Signed-off-by: orbea <orbea <AT> riseup.net>
Signed-off-by: Quentin Retornaz <gentoo <AT> retornaz.com>

 dev-libs/mongo-c-driver/Manifest                   |  1 -
 .../files/mongo-c-driver-1.11.0-enable-tests.patch | 25 -------
 .../files/mongo-c-driver-1.12.0-libressl.patch     | 15 ----
 dev-libs/mongo-c-driver/metadata.xml               | 11 ---
 .../mongo-c-driver/mongo-c-driver-1.12.0.ebuild    | 85 ----------------------
 5 files changed, 137 deletions(-)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
deleted file mode 100644
index d9468d1..0000000
--- a/dev-libs/mongo-c-driver/Manifest
+++ /dev/null
@@ -1 +0,0 @@
-DIST mongo-c-driver-1.12.0.tar.gz 5708175 BLAKE2B 
113db7ec95f8e9b65433fc20def7224ee8d54c9ddb14cfc68ccf7ccb1995808f4c4c372806e85e1c8bb8b8541bb8b8b5236fd06d7605b78a4bbcee6560642bec
 SHA512 
e4688da8a94fc499893b6001fc444b97fc05c89672fd9700bf30c6af7f1bbb02b1a658aa74470e0e5d5e72bc28a5753aa7dcda14dba7e75fbce0b4bb94b7373f

diff --git 
a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.11.0-enable-tests.patch 
b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.11.0-enable-tests.patch
deleted file mode 100644
index 67fafaf..0000000
--- a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.11.0-enable-tests.patch
+++ /dev/null
@@ -1,25 +0,0 @@
-diff --git a/CMakeLists.txt b/CMakeLists.txt
-index 860e4ea..7d646b1 100644
---- a/CMakeLists.txt
-+++ b/CMakeLists.txt
-@@ -110,7 +110,6 @@ if (ENABLE_BSON STREQUAL SYSTEM)
-       message ("--   libbson include path \"${BSON_INCLUDE_DIRS}\"")
-       message ("--   libbson libraries \"${BSON_LIBRARIES}\"")
-       message ("--   disabling test-libmongoc since using system libbson")
--      SET (ENABLE_TESTS OFF)
- 
-       if (ENABLE_STATIC MATCHES "ON|AUTO")
-          find_package (libbson-static-1.0
-diff --git a/src/libbson/tests/test-bson.c b/src/libbson/tests/test-bson.c
-index 51514ed..accb251 100644
---- a/src/libbson/tests/test-bson.c
-+++ b/src/libbson/tests/test-bson.c
-@@ -18,7 +18,7 @@
- #include <bson.h>
- #include <bcon.h>
- #define BSON_INSIDE
--#include <bson-private.h>
-+#include "bson-private.h"
- #undef BSON_INSIDE
- #include <fcntl.h>
- #include <time.h>

diff --git a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.12.0-libressl.patch 
b/dev-libs/mongo-c-driver/files/mongo-c-driver-1.12.0-libressl.patch
deleted file mode 100644
index e61bffa..0000000
--- a/dev-libs/mongo-c-driver/files/mongo-c-driver-1.12.0-libressl.patch
+++ /dev/null
@@ -1,15 +0,0 @@
-diff --git a/src/libmongoc/CMakeLists.txt b/src/libmongoc/CMakeLists.txt
-index d09d706..5d84225 100644
---- a/src/libmongoc/CMakeLists.txt
-+++ b/src/libmongoc/CMakeLists.txt
-@@ -109,7 +109,9 @@ if (NOT ENABLE_SSL STREQUAL OFF)
-       if (LIBRESSL_FOUND)
-          message ("--   Found ${LIBRESSL_LIBRARIES}")
-          set (SSL_LIBRARIES ${LIBRESSL_LIBRARIES})
--         include_directories ("${LIBRESSL_INCLUDE_DIRS}")
-+         if (${LIBRESSL_INCLUDE_DIRS})
-+           include_directories ("${LIBRESSL_INCLUDE_DIRS}")
-+         endif ()
-          link_directories ("${LIBRESSL_LIBRARY_DIRS}")
-          set (LIBRESSL 1)
-       else ()

diff --git a/dev-libs/mongo-c-driver/metadata.xml 
b/dev-libs/mongo-c-driver/metadata.xml
deleted file mode 100644
index a833260..0000000
--- a/dev-libs/mongo-c-driver/metadata.xml
+++ /dev/null
@@ -1,11 +0,0 @@
-<?xml version="1.0" encoding="UTF-8"?>
-<!DOCTYPE pkgmetadata SYSTEM "http://www.gentoo.org/dtd/metadata.dtd";>
-<pkgmetadata>
-       <maintainer type="person">
-               <email>[email protected]</email>
-               <name>Alexys Jacob</name>
-       </maintainer>
-       <upstream>
-               <remote-id type="github">mongodb/mongo-c-driver</remote-id>
-       </upstream>
-</pkgmetadata>

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild 
b/dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild
deleted file mode 100644
index 79e2754..0000000
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild
+++ /dev/null
@@ -1,85 +0,0 @@
-# Copyright 1999-2021 Gentoo Authors
-# Distributed under the terms of the GNU General Public License v2
-
-EAPI=6
-
-inherit cmake-utils
-
-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/archive/${PV}.tar.gz -> 
${P}.tar.gz"
-
-LICENSE="Apache-2.0"
-SLOT="0"
-KEYWORDS="~amd64 ~hppa ~s390 ~x86"
-IUSE="debug examples sasl ssl static-libs test"
-REQUIRED_USE="test? ( static-libs )"
-
-RDEPEND="app-arch/snappy:=
-       >=dev-libs/libbson-${PV}
-       dev-python/sphinx
-       sys-libs/zlib:=
-       sasl? ( dev-libs/cyrus-sasl:= )
-       ssl? ( dev-libs/openssl:0= )"
-DEPEND="${RDEPEND}
-       test? (
-               dev-db/mongodb
-               dev-libs/libbson[static-libs]
-       )"
-
-# No tests on x86 because tests require dev-db/mongodb which don't support
-# x86 anymore (bug #645994)
-RESTRICT="!test? ( test ) x86? ( test )"
-
-PATCHES=(
-       "${FILESDIR}/${PN}-1.11.0-enable-tests.patch" # enable tests without 
libbson
-       "${FILESDIR}/${PN}-1.12.0-libressl.patch" # Bug 662654
-)
-
-src_prepare() {
-       cmake-utils_src_prepare
-
-       # copy private headers for tests since we don't build libbson
-       if use test; then
-               for f in bson-fnv-private.h bson-iso8601-private.h 
bson-private.h bson-thread-private.h; do
-                       cp -v src/libbson/src/bson/${f} src/libbson/tests/ || 
die
-               done
-       fi
-}
-
-src_configure() {
-       local mycmakeargs=(
-               -DCMAKE_SKIP_RPATH=ON # mongoc-stat insecure runpath
-               -DENABLE_BSON=SYSTEM
-               -DENABLE_EXAMPLES=OFF
-               -DENABLE_MAN_PAGES=ON
-               -DENABLE_MONGOC=ON
-               -DENABLE_SNAPPY=SYSTEM
-               -DENABLE_ZLIB=SYSTEM
-               -DENABLE_SASL="$(usex sasl CYRUS OFF)"
-               -DENABLE_SSL="$(usex ssl LIBRESSL OFF)"
-               -DENABLE_STATIC="$(usex static-libs ON OFF)"
-               -DENABLE_TESTS="$(usex test ON OFF)"
-               -DENABLE_TRACING="$(usex debug ON OFF)"
-       )
-
-       cmake-utils_src_configure
-}
-
-# FEATURES="test" 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-utils_src_install
-}

Reply via email to