public inbox for gentoo-commits@lists.gentoo.org
 help / color / mirror / Atom feed
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2016-06-26  0:09 Anthony G. Basile
  0 siblings, 0 replies; 41+ messages in thread
From: Anthony G. Basile @ 2016-06-26  0:09 UTC (permalink / raw
  To: gentoo-commits

commit:     19239aaef7013ca1a51fd6d0b55c55c7382104c0
Author:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
AuthorDate: Sat Jun 25 23:44:09 2016 +0000
Commit:     Anthony G. Basile <blueness <AT> gentoo <DOT> org>
CommitDate: Sat Jun 25 23:44:09 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=19239aae

dev-libs/mongo-c-driver: add libressl support

Package-Manager: portage-2.2.28

 dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild   | 9 ++++++---
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild   | 9 ++++++---
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild | 9 ++++++---
 3 files changed, 18 insertions(+), 9 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
index 0bb5f3e..2b0d4ac 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,11 +13,14 @@ SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="debug examples sasl ssl static-libs test"
+IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND=">=dev-libs/libbson-0.98.0
 	sasl? ( dev-libs/cyrus-sasl )
-	ssl? ( dev-libs/openssl:= )"
+	ssl? (
+		!libressl? ( dev-libs/openssl:0= )
+		libressl? ( dev-libs/libressl:0= )
+	)"
 DEPEND="${RDEPEND}
 	test? ( dev-db/mongodb )"
 

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
index a745d2d..ab6aedf 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,11 +13,14 @@ SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="debug examples sasl ssl static-libs test"
+IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND=">=dev-libs/libbson-1.1.10
 	sasl? ( dev-libs/cyrus-sasl )
-	ssl? ( dev-libs/openssl:= )"
+	ssl? (
+		!libressl? ( dev-libs/openssl:0= )
+		libressl? ( dev-libs/libressl:0= )
+	)"
 DEPEND="${RDEPEND}
 	test? ( dev-db/mongodb )"
 

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
index 65f19c5..b5b39fd 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2016 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 # $Id$
 
@@ -13,11 +13,14 @@ SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
 LICENSE="BSD"
 SLOT="0"
 KEYWORDS="~amd64 ~hppa ~x86"
-IUSE="debug examples sasl ssl static-libs test"
+IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND=">=dev-libs/libbson-1.0
 	sasl? ( dev-libs/cyrus-sasl )
-	ssl? ( dev-libs/openssl:= )"
+	ssl? (
+		!libressl? ( dev-libs/openssl:0= )
+		libressl? ( dev-libs/libressl:0= )
+	)"
 DEPEND="${RDEPEND}
 	test? ( dev-db/mongodb )"
 


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2024-09-10  6:17 Eray Aslan
  0 siblings, 0 replies; 41+ messages in thread
From: Eray Aslan @ 2024-09-10  6:17 UTC (permalink / raw
  To: gentoo-commits

commit:     6bafac3ca841f897d20204c06a6439cd4055198e
Author:     Eray Aslan <eras <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 10 06:16:22 2024 +0000
Commit:     Eray Aslan <eras <AT> gentoo <DOT> org>
CommitDate: Tue Sep 10 06:16:22 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=6bafac3c

dev-libs/mongo-c-driver: Stabilize 1.24.4 x86, #934186

Signed-off-by: Eray Aslan <eras <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-1.24.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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 3e6c9a9d3449..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 )"
 


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2024-09-10  6:17 Eray Aslan
  0 siblings, 0 replies; 41+ messages in thread
From: Eray Aslan @ 2024-09-10  6:17 UTC (permalink / raw
  To: gentoo-commits

commit:     f97df2f4865127021b091e4809c5f8635071c80c
Author:     Eray Aslan <eras <AT> gentoo <DOT> org>
AuthorDate: Tue Sep 10 06:15:45 2024 +0000
Commit:     Eray Aslan <eras <AT> gentoo <DOT> org>
CommitDate: Tue Sep 10 06:15:45 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f97df2f4

dev-libs/mongo-c-driver: Stabilize 1.24.4 amd64, #934186

Signed-off-by: Eray Aslan <eras <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-1.24.4.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

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..3e6c9a9d3449 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 )"
 


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2024-07-28 13:07 Eray Aslan
  0 siblings, 0 replies; 41+ messages in thread
From: Eray Aslan @ 2024-07-28 13:07 UTC (permalink / raw
  To: gentoo-commits

commit:     adac76c85278426083cfa7417e4f0572c45f263a
Author:     Eray Aslan <eras <AT> gentoo <DOT> org>
AuthorDate: Sun Jul 28 07:36:33 2024 +0000
Commit:     Eray Aslan <eras <AT> gentoo <DOT> org>
CommitDate: Sun Jul 28 13:06:56 2024 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=adac76c8

dev-libs/mongo-c-driver: Stabilize 1.24.4 arm64, #934186

Signed-off-by: Eray Aslan <eras <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-1.24.4.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

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 05faec798845..c729f7abecc7 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
@@ -1,4 +1,4 @@
-# Copyright 1999-2023 Gentoo Authors
+# Copyright 1999-2024 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=8
@@ -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 )"
 


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2023-09-08 19:29 Sam James
  0 siblings, 0 replies; 41+ messages in thread
From: Sam James @ 2023-09-08 19:29 UTC (permalink / raw
  To: gentoo-commits

commit:     7dc497f5f518434196287dfa3f346880f3526846
Author:     EJ Agas <agas.ej09 <AT> gmail <DOT> com>
AuthorDate: Thu Mar 10 14:25:07 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Sep  8 19:29:11 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7dc497f5

dev-libs/mongo-c-driver: Bump to 1.24.4

Co-authored-by: EJ Agas <agas.ej09 <AT> gmail.com>
Signed-off-by: EJ Agas <agas.ej09 <AT> gmail.com>
Signed-off-by: Jaco Kroon <jaco <AT> uls.co.za>
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/mongo-c-driver/Manifest                   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.24.4.ebuild    | 96 ++++++++++++++++++++++
 2 files changed, 97 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 57f1300f64fd..2e83e1e3a78a 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -1 +1,2 @@
 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

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
new file mode 100644
index 000000000000..05faec798845
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.24.4.ebuild
@@ -0,0 +1,96 @@
+# Copyright 1999-2023 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=8
+
+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?]
+	dev-python/sphinx
+	sys-libs/zlib:=
+	icu? ( dev-libs/icu:= )
+	sasl? ( dev-libs/cyrus-sasl:= )
+	ssl? (
+		dev-libs/openssl:=
+	)"
+DEPEND="${RDEPEND}
+	test? (
+		dev-db/mongodb
+		dev-libs/libbson[static-libs]
+	)"
+
+src_prepare() {
+	cmake_src_prepare
+
+	# 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
+
+	# remove doc files
+	sed -i '/^\s*install\s*(FILES COPYING NEWS/,/^\s*)/{d}' CMakeLists.txt || die
+
+	# enable tests
+	sed -i '/message ("--   disabling test-libmongoc since using system libbson")/{d}' CMakeLists.txt || die
+	sed -i '/SET (ENABLE_TESTS OFF)/{d}' CMakeLists.txt || die
+	sed -i 's/message (FATAL_ERROR "System libbson built without static library target")/message (STATUS "System libbson built without static library target")/' CMakeLists.txt || die
+	sed -i 's#<bson/bson-private.h>#"bson/bson-private.h"#' src/libbson/tests/test-bson.c || die
+}
+
+src_configure() {
+	local mycmakeargs=(
+		-DCMAKE_SKIP_RPATH=ON # mongoc-stat insecure runpath
+		-DUSE_SYSTEM_LIBBSON=ON
+		-DENABLE_EXAMPLES=OFF
+		-DENABLE_ICU="$(usex icu ON OFF)"
+		-DENABLE_MAN_PAGES=ON
+		-DENABLE_MONGOC=ON
+		-DENABLE_SNAPPY=AUTO
+		-DENABLE_ZLIB=SYSTEM
+		-DENABLE_SASL="$(usex sasl CYRUS OFF)"
+		-DENABLE_SSL="$(usex 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
+}


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2023-07-24 12:35 Michał Górny
  0 siblings, 0 replies; 41+ messages in thread
From: Michał Górny @ 2023-07-24 12:35 UTC (permalink / raw
  To: gentoo-commits

commit:     902c162a7ed7f479e86f126c5a97921c618bf43b
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Mon Jul 24 12:30:46 2023 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Mon Jul 24 12:34:51 2023 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=902c162a

dev-libs/mongo-c-driver: Fix support for sphinx-5+

Strip -W flag that turns warnings into errors, in order to permit
building manpages with >=dev-python/sphinx-5.  I understand that it was
so hard to do this throughout the last year.

Closes: https://bugs.gentoo.org/892721
Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild | 9 +++++++--
 1 file changed, 7 insertions(+), 2 deletions(-)

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
index 752bb1e91e55..e2bf1455e790 100644
--- 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
@@ -1,4 +1,4 @@
-# Copyright 1999-2022 Gentoo Authors
+# Copyright 1999-2023 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -23,7 +23,6 @@ RESTRICT="x86? ( test )
 RDEPEND="app-arch/snappy:=
 	app-arch/zstd:=
 	>=dev-libs/libbson-${PV}[static-libs?]
-	<dev-python/sphinx-5
 	sys-libs/zlib:=
 	icu? ( dev-libs/icu:= )
 	sasl? ( dev-libs/cyrus-sasl:= )
@@ -35,6 +34,9 @@ DEPEND="${RDEPEND}
 		dev-db/mongodb
 		dev-libs/libbson[static-libs]
 	)"
+BDEPEND="
+	dev-python/sphinx
+"
 
 PATCHES=(
 	"${FILESDIR}/${PN}-1.14.0-no-docs.patch"
@@ -44,6 +46,9 @@ PATCHES=(
 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


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2022-07-09 14:44 Arthur Zamarin
  0 siblings, 0 replies; 41+ messages in thread
From: Arthur Zamarin @ 2022-07-09 14:44 UTC (permalink / raw
  To: gentoo-commits

commit:     ac5bcae60e4c8838e8b3e9568765873426842a77
Author:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul  9 14:42:52 2022 +0000
Commit:     Arthur Zamarin <arthurzam <AT> gentoo <DOT> org>
CommitDate: Sat Jul  9 14:44:05 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ac5bcae6

dev-libs/mongo-c-driver: cap to <dev-python/sphinx-5

Bug: https://bugs.gentoo.org/849023
Signed-off-by: Arthur Zamarin <arthurzam <AT> gentoo.org>

 .../{mongo-c-driver-1.18.0.ebuild => mongo-c-driver-1.18.0-r1.ebuild}   | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild
similarity index 99%
rename from dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
rename to dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild
index 2969c22a9765..752bb1e91e55 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0-r1.ebuild
@@ -23,7 +23,7 @@ RESTRICT="x86? ( test )
 RDEPEND="app-arch/snappy:=
 	app-arch/zstd:=
 	>=dev-libs/libbson-${PV}[static-libs?]
-	dev-python/sphinx
+	<dev-python/sphinx-5
 	sys-libs/zlib:=
 	icu? ( dev-libs/icu:= )
 	sasl? ( dev-libs/cyrus-sasl:= )


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2022-05-13 14:08 Jakov Smolić
  0 siblings, 0 replies; 41+ messages in thread
From: Jakov Smolić @ 2022-05-13 14:08 UTC (permalink / raw
  To: gentoo-commits

commit:     14885e0b6f399c1c4385a744761c89ae2fc73031
Author:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
AuthorDate: Fri May 13 14:08:33 2022 +0000
Commit:     Jakov Smolić <jsmolic <AT> gentoo <DOT> org>
CommitDate: Fri May 13 14:08:33 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=14885e0b

dev-libs/mongo-c-driver: Keyword 1.18.0 arm64, #729934

Signed-off-by: Jakov Smolić <jsmolic <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
index 0f8eff88589a..2969c22a9765 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.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 ~hppa ~riscv x86"
+KEYWORDS="amd64 ~arm64 ~hppa ~riscv x86"
 IUSE="debug examples icu sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2022-04-26  3:37 Sam James
  0 siblings, 0 replies; 41+ messages in thread
From: Sam James @ 2022-04-26  3:37 UTC (permalink / raw
  To: gentoo-commits

commit:     85d62d75203b7c5494c1ea34ae75e467de8d3a08
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 26 03:36:42 2022 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Tue Apr 26 03:36:42 2022 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=85d62d75

dev-libs/mongo-c-driver: drop ~s390

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
index d81423af7651..0f8eff88589a 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2021 Gentoo Authors
+# Copyright 1999-2022 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -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 ~hppa ~riscv ~s390 x86"
+KEYWORDS="amd64 ~hppa ~riscv x86"
 IUSE="debug examples icu sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2021-11-26  6:42 Sam James
  0 siblings, 0 replies; 41+ messages in thread
From: Sam James @ 2021-11-26  6:42 UTC (permalink / raw
  To: gentoo-commits

commit:     f573ea40c7dfd2ffef7260a3248627eb9c522af9
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Fri Nov 26 06:41:57 2021 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Fri Nov 26 06:41:57 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f573ea40

dev-libs/mongo-c-driver: Stabilize 1.18.0 amd64, #791508

Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
index 1a2be6118fd0..d81423af7651 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.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 ~hppa ~riscv ~s390 x86"
+KEYWORDS="amd64 ~hppa ~riscv ~s390 x86"
 IUSE="debug examples icu sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2021-10-27  6:37 Agostino Sarubbo
  0 siblings, 0 replies; 41+ messages in thread
From: Agostino Sarubbo @ 2021-10-27  6:37 UTC (permalink / raw
  To: gentoo-commits

commit:     3d879bf7dca0b525e29842d6a867bfa4976ca43c
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Wed Oct 27 06:36:30 2021 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Wed Oct 27 06:36:30 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3d879bf7

dev-libs/mongo-c-driver: x86 stable wrt bug #791508

Package-Manager: Portage-3.0.20, Repoman-3.0.3
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
index e1858e00758..1a2be6118fd 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.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 ~hppa ~riscv ~s390 ~x86"
+KEYWORDS="~amd64 ~hppa ~riscv ~s390 x86"
 IUSE="debug examples icu sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2021-07-24 16:15 Thomas Deutschmann
  0 siblings, 0 replies; 41+ messages in thread
From: Thomas Deutschmann @ 2021-07-24 16:15 UTC (permalink / raw
  To: gentoo-commits

commit:     5fe67038de11f349e0d6ab9e6bfe7920e0245226
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 24 14:23:02 2021 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Jul 24 16:15:29 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5fe67038

dev-libs/mongo-c-driver: bump to v1.18.0

Package-Manager: Portage-3.0.21, Repoman-3.0.3
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-libs/mongo-c-driver/Manifest                   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.18.0.ebuild    | 92 ++++++++++++++++++++++
 2 files changed, 93 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 4a1d6bdc1f0..51ab9f632e9 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -1,2 +1,3 @@
 DIST mongo-c-driver-1.16.2.tar.gz 6888287 BLAKE2B 40d2b73f495a8c71ca8b3c39c1b3c85b4a01ea088428967ed49f4758ef749e3288b046bde767a83aad022933f30f7307a4be65141f477bb1dcf912b4099129d6 SHA512 0930a80692f08329cad558644c25c46da64a0c8b6a9fc7412db0f547dae63bf59e9d29ee774d329c63af186eea751670bf21ccee8cf255f8bc8d5bd78c0e736a
 DIST mongo-c-driver-1.17.0.tar.gz 7092911 BLAKE2B f93de6f3ded0f22ff8af65113ed207ca6dcc8ecbaedb24b33ddf7ada93b913eae33a802245f386d75fef01bf53c2d9630e68138a5715de001b7acea7dbde05f1 SHA512 49889b9d777dc3cb151b9cbef7bc2dd1785e327ae641569281efcc040d208cb034da3a74ae1115a033cc86e5b70079dab76c3478df8f171cc083d686f7568858
+DIST mongo-c-driver-1.18.0.tar.gz 7246954 BLAKE2B 9418ab2e132f8a8c582bcbea8c7b090e9e45e34219845d8f6b7a99d4ebfb17ef2eec2223504e9a4ab7f51ca01e904a7f3bb04bf9f8bf20c010ab9f82894a728e SHA512 c970f347689916172a957fc431b307bab3cb63367d4b39c49745c75b9fa84f0035db934c551570a4141733fc1bc6b33b118911c3b69ecdea797f19312b213606

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
new file mode 100644
index 00000000000..706008e9274
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.18.0.ebuild
@@ -0,0 +1,92 @@
+# Copyright 1999-2021 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 ~hppa ~s390 ~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?]
+	dev-python/sphinx
+	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]
+	)"
+
+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
+
+	# 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
+}


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2021-05-02 15:38 Mikle Kolyada
  0 siblings, 0 replies; 41+ messages in thread
From: Mikle Kolyada @ 2021-05-02 15:38 UTC (permalink / raw
  To: gentoo-commits

commit:     48ebc66b9c93fe1488f354a2226261c6fcb8193b
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun May  2 15:34:45 2021 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun May  2 15:38:32 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=48ebc66b

dev-libs/mongo-c-driver: remove libressl support

Package-Manager: Portage-3.0.18, Repoman-3.0.2
Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild | 9 ++++-----
 dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild | 7 +++----
 2 files changed, 7 insertions(+), 9 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
index 8e3e7618734..71b6b95d347 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="amd64 ~hppa ~s390 x86"
-IUSE="debug examples icu libressl sasl ssl static-libs test"
+IUSE="debug examples icu sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 
 RDEPEND="app-arch/snappy:=
@@ -23,8 +23,7 @@ RDEPEND="app-arch/snappy:=
 	icu? ( dev-libs/icu:= )
 	sasl? ( dev-libs/cyrus-sasl:= )
 	ssl? (
-		!libressl? ( dev-libs/openssl:0= )
-		libressl? ( dev-libs/libressl:0= )
+		dev-libs/openssl:0=
 	)"
 DEPEND="${RDEPEND}
 	test? (
@@ -65,7 +64,7 @@ src_configure() {
 		-DENABLE_SNAPPY=SYSTEM
 		-DENABLE_ZLIB=SYSTEM
 		-DENABLE_SASL="$(usex sasl CYRUS OFF)"
-		-DENABLE_SSL="$(usex ssl $(usex libressl LIBRESSL OPENSSL) 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)"

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild
index f58927b7e0f..d61656b6f84 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/mongodb/mongo-c-driver/releases/download/${PV}/${P}.
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="~amd64 ~hppa ~s390 ~x86"
-IUSE="debug examples icu libressl sasl ssl static-libs test"
+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
@@ -28,8 +28,7 @@ RDEPEND="app-arch/snappy:=
 	icu? ( dev-libs/icu:= )
 	sasl? ( dev-libs/cyrus-sasl:= )
 	ssl? (
-		!libressl? ( dev-libs/openssl:0= )
-		libressl? ( dev-libs/libressl:0= )
+		dev-libs/openssl:0=
 	)"
 DEPEND="${RDEPEND}
 	test? (
@@ -64,7 +63,7 @@ src_configure() {
 		-DENABLE_SNAPPY=SYSTEM
 		-DENABLE_ZLIB=SYSTEM
 		-DENABLE_SASL="$(usex sasl CYRUS OFF)"
-		-DENABLE_SSL="$(usex ssl $(usex libressl LIBRESSL OPENSSL) 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)"


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2021-02-28 18:08 Andreas Sturmlechner
  0 siblings, 0 replies; 41+ messages in thread
From: Andreas Sturmlechner @ 2021-02-28 18:08 UTC (permalink / raw
  To: gentoo-commits

commit:     8e7e20dc8ed8c3dfb78189ee614e609a60bf12fb
Author:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
AuthorDate: Sun Feb 28 15:38:52 2021 +0000
Commit:     Andreas Sturmlechner <asturm <AT> gentoo <DOT> org>
CommitDate: Sun Feb 28 18:08:17 2021 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8e7e20dc

dev-libs/mongo-c-driver: Switch to cmake.eclass

Package-Manager: Portage-3.0.16, Repoman-3.0.2
Signed-off-by: Andreas Sturmlechner <asturm <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild | 20 ++++++++++----------
 1 file changed, 10 insertions(+), 10 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild
index 72b58f751ba..f58927b7e0f 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild
@@ -1,9 +1,9 @@
-# Copyright 1999-2020 Gentoo Authors
+# Copyright 1999-2021 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
 
-inherit cmake-utils
+inherit cmake
 
 DESCRIPTION="Client library written in C for MongoDB"
 HOMEPAGE="https://github.com/mongodb/mongo-c-driver"
@@ -15,6 +15,11 @@ KEYWORDS="~amd64 ~hppa ~s390 ~x86"
 IUSE="debug examples icu libressl 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?]
@@ -32,11 +37,6 @@ DEPEND="${RDEPEND}
 		dev-libs/libbson[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 )"
-
 PATCHES=(
 	"${FILESDIR}/${PN}-1.14.0-no-docs.patch"
 	"${FILESDIR}/${PN}-1.16.2-enable-tests.patch" # enable tests with system libbson
@@ -44,7 +44,7 @@ PATCHES=(
 )
 
 src_prepare() {
-	cmake-utils_src_prepare
+	cmake_src_prepare
 
 	# copy private headers for tests since we don't build libbson
 	if use test; then
@@ -72,7 +72,7 @@ src_configure() {
 		-DENABLE_ZSTD=ON
 	)
 
-	cmake-utils_src_configure
+	cmake_src_configure
 }
 
 # FEATURES="test -network-sandbox" USE="static-libs" emerge dev-libs/mongo-c-driver
@@ -90,5 +90,5 @@ src_install() {
 		dodoc src/libmongoc/examples/*.c
 	fi
 
-	cmake-utils_src_install
+	cmake_src_install
 }


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2020-09-01 10:47 Michał Górny
  0 siblings, 0 replies; 41+ messages in thread
From: Michał Górny @ 2020-09-01 10:47 UTC (permalink / raw
  To: gentoo-commits

commit:     1f9775ea0949d27444d5fa6496f69b523d78cb32
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Tue Sep  1 10:47:22 2020 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Tue Sep  1 10:47:31 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=1f9775ea

dev-libs/mongo-c-driver: Fix Manifest

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-libs/mongo-c-driver/Manifest | 2 --
 1 file changed, 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 8cac0c8b48f..9570420ca16 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -1,5 +1,3 @@
-DIST mongo-c-driver-0.7.1.tar.gz 108537 BLAKE2B 29d7f6680d700d15d02b3d5deefbdc27b4e0841a2ac30205ed148216d15e95fe487f4cea4decacdf573a4ce78248cfd12cba72b9dbf90065e127fa7fb56cad27 SHA512 5c6996dc47ecbe4d77971e3aa983a877e7de736bf358c467808eceba8b1a5eea342376249cdc682a034fc7ec39290d234527cec3c3732686f184281a72aec724
-DIST mongo-c-driver-0.8.1.tar.gz 124053 BLAKE2B 1c6b0d3998c6497c39fc2f6597021e84571c717e5d6f288d79d3862e7f15f131604648595ca0e12200352a7fbf40652803afd0f60a80eac657b9853a1de51173 SHA512 7b61ac4b1b154ee1f518eddb2bbc0cdafe0da8786eed4475e5703c2a735ec5a09efde59f5bfa45fb226cbce24d8c0ba0de403d8fc3e561c0e48507dfb07962b1
 DIST mongo-c-driver-0.98.2.tar.gz 5342760 BLAKE2B 399fb03464234c87dcb66647c5383c505e654238e72e86794fdbc56716590ea6637aa7bfb0d25c0fb6aae8fce6055741753ac33125cb1b475c7bfe1e198a0a1e SHA512 6e3abc31b1e0e02d3bb864882444a95aa01ec4a85ee77abdc52675a730790be7f1924f3c6ea36405ff0f2066e332302ca567bbfa35ba7b918bce81fb409600eb
 DIST mongo-c-driver-1.1.10.tar.gz 5321144 BLAKE2B d63ba4b1a256b8b29654398a53d9ca46d49faad0e0327db0d51cfc4e2a1771568341ff4e7ba6ff2ff31fb11ad8a14c452e52cabdd83da7eb1c1ceb8af7bef7d2 SHA512 10ebd1bddc0c713c0934679974fb1ed29eda1bf8e2ebbe2a1ebbcba219574092c34c4b352231ec65ffe3e350d8d701ef85debaaa9f9c10e6ab36fc3fa29f69df
 DIST mongo-c-driver-1.1.2.tar.gz 5443153 BLAKE2B f8004486baf6d2d3086e458bdb4bc8060462fd52ba700cbf05fdb9827adcbd087b61d7e0e00169cf635c8021983dc851b7f34c3e08d66efc65483fce98a85f74 SHA512 d420fc407f6a04c06a959b8971dc2643c987df5c3d82f2b13bfdf6a44e96bc377478c4d0e385abf67f21b56892c915c79675fe9ebf6efa9aab51fe452c5e6f95


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2020-08-06 14:34 Thomas Deutschmann
  0 siblings, 0 replies; 41+ messages in thread
From: Thomas Deutschmann @ 2020-08-06 14:34 UTC (permalink / raw
  To: gentoo-commits

commit:     3cab417582b0798034cd15fa0426f60cc74871fb
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Thu Aug  6 14:28:25 2020 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Thu Aug  6 14:34:40 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cab4175

dev-libs/mongo-c-driver: bump to v1.17.0

Package-Manager: Portage-3.0.1, Repoman-2.3.23
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-libs/mongo-c-driver/Manifest                   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.17.0.ebuild    | 94 ++++++++++++++++++++++
 2 files changed, 95 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 539559f914e..8cac0c8b48f 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -11,6 +11,7 @@ DIST mongo-c-driver-1.13.1.tar.gz 5740487 BLAKE2B 92184df6f15f951564a7df14d8ec52
 DIST mongo-c-driver-1.14.0.tar.gz 6573651 BLAKE2B 0b1157473554a5aa49e61cf1c85dc7b1f1917581e661a4295876d4c93e72137b4c7c04e1b7545ba7272706499dbe868a36f1c888d2d07a8176f1c4dc01f9fa5f SHA512 99ca4001341d044a8ffc02a5d7175d40f8a998bdaad15a668a7db0558fa616ec18152faeda6da7f28b34c5d2cf4b649180c9390d2229e1342b6c4f6742816994
 DIST mongo-c-driver-1.15.1.tar.gz 6699867 BLAKE2B afb75b6f50173bbe161a37a5cd3afd7d2ce3d9ab73019e2a27e2b15b0be0a54c5e3b423dda2e6d65b85ff7c1dbbd883f3a0e0ebc244a13c531d2c39297d9a5e9 SHA512 7544900809dd008da110b412acc1e5e42ea908d804fdf3bced8100e48f1695844605407c9733b285b8833b636bcaec8687df25a01c9749612c61df2325214fe5
 DIST mongo-c-driver-1.16.2.tar.gz 6888287 BLAKE2B 40d2b73f495a8c71ca8b3c39c1b3c85b4a01ea088428967ed49f4758ef749e3288b046bde767a83aad022933f30f7307a4be65141f477bb1dcf912b4099129d6 SHA512 0930a80692f08329cad558644c25c46da64a0c8b6a9fc7412db0f547dae63bf59e9d29ee774d329c63af186eea751670bf21ccee8cf255f8bc8d5bd78c0e736a
+DIST mongo-c-driver-1.17.0.tar.gz 7092911 BLAKE2B f93de6f3ded0f22ff8af65113ed207ca6dcc8ecbaedb24b33ddf7ada93b913eae33a802245f386d75fef01bf53c2d9630e68138a5715de001b7acea7dbde05f1 SHA512 49889b9d777dc3cb151b9cbef7bc2dd1785e327ae641569281efcc040d208cb034da3a74ae1115a033cc86e5b70079dab76c3478df8f171cc083d686f7568858
 DIST mongo-c-driver-1.3.5.tar.gz 5860804 BLAKE2B a55de56d285638f21caff06446e3c0c19a5b8722a2ed69fdf046c35973c9bedcc1686065e4355db28afc83c1415872eee2972a6fb3f21647d2cafce12706adc0 SHA512 23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf
 DIST mongo-c-driver-1.6.2.tar.gz 6907818 BLAKE2B 7922a50ba58d92d2954eb5c2ccb02fd3b70861bd26516fd12fe6bdf79a926799fbc3a367e1c24a57932870726aa5abc1d264215ea964a56bc318ab0f413afc60 SHA512 b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af
 DIST mongo-c-driver-1.8.2.tar.gz 7308675 BLAKE2B ca82c2824486cee78b164d1fdfcf1de062804f0f8637a36ec197efe434ae23a387ec0e6b2e4aa3e9c8bb2434a3cef48fecd17fc4b159a92ad86b8b940b17598a SHA512 af23601ba33694d80acdb890c1b85a354fda966491c4bbfb341a884bcd6314886e405efa3a09e47398adf8dbfdeb1b05ae8b022a72f04a66265bfaeddb661f76

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild
new file mode 100644
index 00000000000..72b58f751ba
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.17.0.ebuild
@@ -0,0 +1,94 @@
+# Copyright 1999-2020 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
+IUSE="debug examples icu libressl sasl ssl static-libs test"
+REQUIRED_USE="test? ( static-libs )"
+
+RDEPEND="app-arch/snappy:=
+	app-arch/zstd:=
+	>=dev-libs/libbson-${PV}[static-libs?]
+	dev-python/sphinx
+	sys-libs/zlib:=
+	icu? ( dev-libs/icu:= )
+	sasl? ( dev-libs/cyrus-sasl:= )
+	ssl? (
+		!libressl? ( dev-libs/openssl:0= )
+		libressl? ( dev-libs/libressl: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="x86? ( test )
+	!test? ( test )"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-1.14.0-no-docs.patch"
+	"${FILESDIR}/${PN}-1.16.2-enable-tests.patch" # enable tests with system libbson
+	"${FILESDIR}/${PN}-1.16.2-sphinx.patch"
+)
+
+src_prepare() {
+	cmake-utils_src_prepare
+
+	# 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 $(usex libressl LIBRESSL 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-utils_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-utils_src_install
+}


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2020-07-18 22:38 Sam James
  0 siblings, 0 replies; 41+ messages in thread
From: Sam James @ 2020-07-18 22:38 UTC (permalink / raw
  To: gentoo-commits

commit:     b14e18dab438e9aea62fbcb7075c3c7eede146b2
Author:     Sam James <sam <AT> gentoo <DOT> org>
AuthorDate: Sat Jul 18 22:36:47 2020 +0000
Commit:     Sam James <sam <AT> gentoo <DOT> org>
CommitDate: Sat Jul 18 22:38:02 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=b14e18da

dev-libs/mongo-c-driver: amd64 stable (bug #721120)

Package-Manager: Portage-2.3.103, Repoman-2.3.23
Signed-off-by: Sam James <sam <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
index e82f7086042..8e3e7618734 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.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 ~hppa ~s390 x86"
+KEYWORDS="amd64 ~hppa ~s390 x86"
 IUSE="debug examples icu libressl sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2020-05-29  7:42 Agostino Sarubbo
  0 siblings, 0 replies; 41+ messages in thread
From: Agostino Sarubbo @ 2020-05-29  7:42 UTC (permalink / raw
  To: gentoo-commits

commit:     d5efe17409a8a6d46ee692be0513872a6d84fc1d
Author:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
AuthorDate: Fri May 29 07:41:58 2020 +0000
Commit:     Agostino Sarubbo <ago <AT> gentoo <DOT> org>
CommitDate: Fri May 29 07:41:58 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=d5efe174

dev-libs/mongo-c-driver: x86 stable wrt bug #721120

Package-Manager: Portage-2.3.99, Repoman-2.3.22
RepoMan-Options: --include-arches="x86"
Signed-off-by: Agostino Sarubbo <ago <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
index e5f55ceb625..e82f7086042 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.16.2.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 ~hppa ~s390 ~x86"
+KEYWORDS="~amd64 ~hppa ~s390 x86"
 IUSE="debug examples icu libressl sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2020-02-02 22:28 Matt Turner
  0 siblings, 0 replies; 41+ messages in thread
From: Matt Turner @ 2020-02-02 22:28 UTC (permalink / raw
  To: gentoo-commits

commit:     f07dfab1350b2eb227d654d6552e892f313b5161
Author:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
AuthorDate: Sun Feb  2 21:59:04 2020 +0000
Commit:     Matt Turner <mattst88 <AT> gentoo <DOT> org>
CommitDate: Sun Feb  2 22:28:05 2020 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f07dfab1

dev-libs/mongo-c-driver: Drop ppc keywords

Signed-off-by: Matt Turner <mattst88 <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild | 2 +-
 2 files changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
index 3530dfaeb04..7cc15fd70e1 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ppc ~s390 x86"
+KEYWORDS="amd64 ~hppa ~s390 x86"
 IUSE="doc static-libs"
 
 # tests fails to build

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
index 846ae840b0f..4e6f6d780c6 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc ~s390 x86"
+KEYWORDS="amd64 ~hppa ~s390 x86"
 IUSE="doc static-libs"
 
 # tests fails to build


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2019-12-12 16:46 Michał Górny
  0 siblings, 0 replies; 41+ messages in thread
From: Michał Górny @ 2019-12-12 16:46 UTC (permalink / raw
  To: gentoo-commits

commit:     71fde338f2bdb118f383356ea01ddab28434dc89
Author:     Michał Górny <mgorny <AT> gentoo <DOT> org>
AuthorDate: Thu Dec 12 15:32:46 2019 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Thu Dec 12 16:34:18 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=71fde338

dev-libs/mongo-c-driver: [QA] Fix MissingTestRestrict

Signed-off-by: Michał Górny <mgorny <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild    | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild    | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild  | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild    | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild    | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild    | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild    | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.14.0.ebuild    | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild     | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild     | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild     | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild     | 2 +-
 13 files changed, 13 insertions(+), 13 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
index 73a6478fd07..e57a3560443 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
@@ -27,7 +27,7 @@ DOCS=( NEWS README.rst TUTORIAL.md )
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 src_prepare() {
 	# https://github.com/mongodb/mongo-c-driver/issues/54

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
index e7ca688a3cd..06580e8e4bb 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
@@ -27,7 +27,7 @@ DOCS=( NEWS README.rst TUTORIAL.md )
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 src_prepare() {
 	rm -r src/libbson || die

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
index 46adaf6e0c4..8bb38f88351 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
@@ -27,7 +27,7 @@ DOCS=( NEWS README.rst TUTORIAL.md )
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 src_prepare() {
 	rm -r src/libbson || die

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild
index e9641be05a9..7e671d96e05 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 PATCHES=(
 	"${FILESDIR}/${P}-enable-tests.patch" # enable tests without libbson

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild
index 9555f7a1f3c..ec8f0657725 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 PATCHES=(
 	"${FILESDIR}/${P}-enable-tests.patch" # enable tests without libbson

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
index 8b1af6b106f..0755827f849 100644
--- 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
@@ -32,7 +32,7 @@ DEPEND="${RDEPEND}
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 PATCHES=(
 	"${FILESDIR}/${PN}-1.11.0-enable-tests.patch" # enable tests without libbson

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild
index 78ede21f852..415dc707833 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild
@@ -33,7 +33,7 @@ DEPEND="${RDEPEND}
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 PATCHES=(
 	"${FILESDIR}/${P}-no-uninstall.patch"

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild
index 9c37da61663..e61cc887ea3 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild
@@ -33,7 +33,7 @@ DEPEND="${RDEPEND}
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 PATCHES=(
 	"${FILESDIR}/${PN}-1.13.0-enable-tests.patch" # enable tests with system libbson

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.14.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.14.0.ebuild
index eaea5a9fc5a..4ad9e86cd71 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.14.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.14.0.ebuild
@@ -33,7 +33,7 @@ DEPEND="${RDEPEND}
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 PATCHES=(
 	"${FILESDIR}/${PN}-1.13.1-drop-failing-test.patch" # one test fails

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
index e48c6b58344..dd8921b4380 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
@@ -27,7 +27,7 @@ DOCS=( NEWS README.rst )
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 src_prepare() {
 	rm -r src/libbson || die

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
index b637d1e8449..f66b7f0c74b 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
@@ -27,7 +27,7 @@ DOCS=( NEWS README.rst )
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 src_prepare() {
 	rm -r src/libbson || die

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
index beb5282faaf..1c81a8f60b9 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
@@ -25,7 +25,7 @@ DEPEND="${RDEPEND}
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 src_prepare() {
 	# remove bundled libs

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild
index 825f4a50611..ab6b5baaaf3 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild
@@ -25,7 +25,7 @@ DEPEND="${RDEPEND}
 
 # No tests on x86 because tests require dev-db/mongodb which don't support
 # x86 anymore (bug #645994)
-RESTRICT="x86? ( test )"
+RESTRICT="!test? ( test ) x86? ( test )"
 
 src_prepare() {
 	# remove bundled libs


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2019-11-15 21:57 Alexys Jacob
  0 siblings, 0 replies; 41+ messages in thread
From: Alexys Jacob @ 2019-11-15 21:57 UTC (permalink / raw
  To: gentoo-commits

commit:     925e3e95a2a374c215ee6585fa52c8e3e4f64fe0
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Sat Nov  2 22:03:22 2019 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Fri Nov 15 21:54:49 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=925e3e95

dev-libs/mongo-c-driver: bump to 1.15.1

Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
Signed-off-by: Alexys Jacob <ultrabug <AT> gentoo.org>

 dev-libs/mongo-c-driver/Manifest                   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.15.1.ebuild    | 95 ++++++++++++++++++++++
 2 files changed, 96 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 9ecf336d91e..0e15101cd2a 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -9,6 +9,7 @@ DIST mongo-c-driver-1.12.0.tar.gz 5708175 BLAKE2B 113db7ec95f8e9b65433fc20def722
 DIST mongo-c-driver-1.13.0.tar.gz 5734887 BLAKE2B ce5c78dde31edc753a6678e90889a0da7129cd1fcf1dce7222df4d25ca109b1bfbb545c755abf8e4cc39dd40dde7ba4c50dd51dcfc67c970e2b8eb278bd543fc SHA512 d2f5b04b3d2dbdeba4547ec1fe8a0da7bad5214de92fff480ef0ff7d97ea45d5e6347c11c249867d4905b1dd81b76c7cfbb9094a58df586dae881955ee246907
 DIST mongo-c-driver-1.13.1.tar.gz 5740487 BLAKE2B 92184df6f15f951564a7df14d8ec52eb0199a49af102d44c8fb7678db82a41f915c984e95f5301f533dde63139221cb6e161fa5053b9fcc33080abe1095d9c35 SHA512 454670a145a5f2272daa5ca88f2e7d7e42c9b7df62dfc29b3c4b602ef8f819a740890c40872fa47dc411cc5ef9a34b55a6feea3657a802a5be378c4dbe79f42d
 DIST mongo-c-driver-1.14.0.tar.gz 6573651 BLAKE2B 0b1157473554a5aa49e61cf1c85dc7b1f1917581e661a4295876d4c93e72137b4c7c04e1b7545ba7272706499dbe868a36f1c888d2d07a8176f1c4dc01f9fa5f SHA512 99ca4001341d044a8ffc02a5d7175d40f8a998bdaad15a668a7db0558fa616ec18152faeda6da7f28b34c5d2cf4b649180c9390d2229e1342b6c4f6742816994
+DIST mongo-c-driver-1.15.1.tar.gz 6699867 BLAKE2B afb75b6f50173bbe161a37a5cd3afd7d2ce3d9ab73019e2a27e2b15b0be0a54c5e3b423dda2e6d65b85ff7c1dbbd883f3a0e0ebc244a13c531d2c39297d9a5e9 SHA512 7544900809dd008da110b412acc1e5e42ea908d804fdf3bced8100e48f1695844605407c9733b285b8833b636bcaec8687df25a01c9749612c61df2325214fe5
 DIST mongo-c-driver-1.3.5.tar.gz 5860804 BLAKE2B a55de56d285638f21caff06446e3c0c19a5b8722a2ed69fdf046c35973c9bedcc1686065e4355db28afc83c1415872eee2972a6fb3f21647d2cafce12706adc0 SHA512 23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf
 DIST mongo-c-driver-1.6.2.tar.gz 6907818 BLAKE2B 7922a50ba58d92d2954eb5c2ccb02fd3b70861bd26516fd12fe6bdf79a926799fbc3a367e1c24a57932870726aa5abc1d264215ea964a56bc318ab0f413afc60 SHA512 b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af
 DIST mongo-c-driver-1.8.2.tar.gz 7308675 BLAKE2B ca82c2824486cee78b164d1fdfcf1de062804f0f8637a36ec197efe434ae23a387ec0e6b2e4aa3e9c8bb2434a3cef48fecd17fc4b159a92ad86b8b940b17598a SHA512 af23601ba33694d80acdb890c1b85a354fda966491c4bbfb341a884bcd6314886e405efa3a09e47398adf8dbfdeb1b05ae8b022a72f04a66265bfaeddb661f76

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.15.1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.15.1.ebuild
new file mode 100644
index 00000000000..6bded6a0a99
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.15.1.ebuild
@@ -0,0 +1,95 @@
+# Copyright 1999-2019 Gentoo Authors
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=7
+
+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/releases/download/${PV}/${P}.tar.gz -> ${P}.tar.gz"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
+IUSE="debug examples icu libressl sasl ssl static-libs test"
+REQUIRED_USE="test? ( static-libs )"
+
+RDEPEND="app-arch/snappy:=
+	app-arch/zstd:=
+	>=dev-libs/libbson-${PV}
+	dev-python/sphinx
+	sys-libs/zlib:=
+	icu? ( dev-libs/icu:= )
+	sasl? ( dev-libs/cyrus-sasl:= )
+	ssl? (
+		!libressl? ( dev-libs/openssl:0= )
+		libressl? ( dev-libs/libressl: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="x86? ( test )
+	!test? ( test )"
+
+PATCHES=(
+	"${FILESDIR}/${PN}-1.14.0-enable-tests.patch" # enable tests with system libbson
+	"${FILESDIR}/${PN}-1.14.0-no-docs.patch"
+)
+
+src_prepare() {
+	cmake-utils_src_prepare
+
+	# copy private headers for tests since we don't build libbson
+	if use test; then
+		mkdir -p src/libbson/tests/bson || die
+		for f in bson-context-private.h bson-iso8601-private.h bson-private.h; do
+			cp -v src/libbson/src/bson/${f} src/libbson/tests/bson/ || die
+		done
+	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 $(usex libressl LIBRESSL 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-utils_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-utils_src_install
+}


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2019-03-03 11:12 Mikle Kolyada
  0 siblings, 0 replies; 41+ messages in thread
From: Mikle Kolyada @ 2019-03-03 11:12 UTC (permalink / raw
  To: gentoo-commits

commit:     3c0c2da986dce8aad77b3b05f046da4d8ef1deda
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Mar  3 11:11:53 2019 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Mar  3 11:11:53 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3c0c2da9

dev-libs/mongo-c-driver: mark ~s390

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild  | 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild  | 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild    | 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild    | 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild  | 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild    | 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild    | 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.12.0.ebuild    | 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild    | 2 +-
 dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild     | 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild     | 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild     | 4 ++--
 dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild     | 4 ++--
 14 files changed, 26 insertions(+), 26 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
index a9d4a790780..3530dfaeb04 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ppc x86"
+KEYWORDS="amd64 ~hppa ppc ~s390 x86"
 IUSE="doc static-libs"
 
 # tests fails to build

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
index 495c4072b10..846ae840b0f 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc x86"
+KEYWORDS="amd64 ~hppa ~ppc ~s390 x86"
 IUSE="doc static-libs"
 
 # tests fails to build

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
index c5f0ca6a857..73a6478fd07 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND=">=dev-libs/libbson-0.98.0

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
index 2af17a8e308..e7ca688a3cd 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND=">=dev-libs/libbson-1.1.10

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
index aa9e3818623..46adaf6e0c4 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND=">=dev-libs/libbson-1.0

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild
index e2009f3e717..e9641be05a9 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.10.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> ${P}.
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild
index aaa06162f88..9555f7a1f3c 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.11.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> ${P}.
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 

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
index 06783997aca..8b1af6b106f 100644
--- 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
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> ${P}.
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild
index 33fa5771803..78ede21f852 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> ${P}.
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~hppa x86"
+KEYWORDS="amd64 ~hppa ~s390 x86"
 IUSE="debug examples icu libressl sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild
index 7e327de1bdc..9c37da61663 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.1.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> ${P}.
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
 IUSE="debug examples icu libressl sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
index 90f322d03b4..e48c6b58344 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND=">=dev-libs/libbson-1.3.5

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
index 841127cf7d9..b637d1e8449 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND=">=dev-libs/libbson-1.6.2

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
index d034808158e..beb5282faaf 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -9,7 +9,7 @@ SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 hppa x86"
+KEYWORDS="amd64 hppa ~s390 x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND="app-arch/snappy:=

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild
index 8c5b2194c35..825f4a50611 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -9,7 +9,7 @@ SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa ~s390 ~x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND="app-arch/snappy:=


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2019-01-19  3:22 Thomas Deutschmann
  0 siblings, 0 replies; 41+ messages in thread
From: Thomas Deutschmann @ 2019-01-19  3:22 UTC (permalink / raw
  To: gentoo-commits

commit:     94ce2cab54aacbe0381377f680be1eaa42b0532a
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Wed Jan  9 15:27:23 2019 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Jan 19 02:16:12 2019 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=94ce2cab

dev-libs/mongo-c-driver: disable automagic on dev-libs/icu

Closes: https://bugs.gentoo.org/666592
Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
Closes: https://github.com/gentoo/gentoo/pull/10788
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 ...mongo-c-driver-1.13.0.ebuild => mongo-c-driver-1.13.0-r1.ebuild} | 6 ++++--
 1 file changed, 4 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild
similarity index 93%
rename from dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild
rename to dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild
index 5eeca7c911d..33fa5771803 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Authors
+# Copyright 1999-2019 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -12,13 +12,14 @@ SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> ${P}.
 LICENSE="Apache-2.0"
 SLOT="0"
 KEYWORDS="amd64 ~hppa x86"
-IUSE="debug examples libressl sasl ssl static-libs test"
+IUSE="debug examples icu libressl sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 
 RDEPEND="app-arch/snappy:=
 	>=dev-libs/libbson-${PV}
 	dev-python/sphinx
 	sys-libs/zlib:=
+	icu? ( dev-libs/icu:= )
 	sasl? ( dev-libs/cyrus-sasl:= )
 	ssl? (
 		!libressl? ( dev-libs/openssl:0= )
@@ -56,6 +57,7 @@ src_configure() {
 		-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


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2018-12-23 14:29 Mikle Kolyada
  0 siblings, 0 replies; 41+ messages in thread
From: Mikle Kolyada @ 2018-12-23 14:29 UTC (permalink / raw
  To: gentoo-commits

commit:     8b1e4301b36cb4f8e7949a5780788f3f94f22270
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Dec 23 14:28:30 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Dec 23 14:28:30 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=8b1e4301

dev-libs/mongo-c-driver: amd64 stable wrt bug #668856

Signed-off-by: Mikle Kolyada <zlogene <AT> gentoo.org>
Package-Manager: Portage-2.3.51, Repoman-2.3.11

 dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild
index 1fb6ab6edaf..5eeca7c911d 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> ${P}.
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa x86"
+KEYWORDS="amd64 ~hppa x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2018-12-22 22:25 Thomas Deutschmann
  0 siblings, 0 replies; 41+ messages in thread
From: Thomas Deutschmann @ 2018-12-22 22:25 UTC (permalink / raw
  To: gentoo-commits

commit:     ba78ad462fc410f59208d2d4e5e183b657154c4a
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Dec 22 22:20:45 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Dec 22 22:20:45 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=ba78ad46

dev-libs/mongo-c-driver: x86 stable (bug #668856)

Package-Manager: Portage-2.3.52, Repoman-2.3.12
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild
index 2537001423d..1fb6ab6edaf 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.13.0.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2018 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=7
@@ -11,7 +11,7 @@ SRC_URI="https://github.com/mongodb/mongo-c-driver/archive/${PV}.tar.gz -> ${P}.
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="~amd64 ~hppa x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 REQUIRED_USE="test? ( static-libs )"
 


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2018-10-26 13:18 Thomas Deutschmann
  0 siblings, 0 replies; 41+ messages in thread
From: Thomas Deutschmann @ 2018-10-26 13:18 UTC (permalink / raw
  To: gentoo-commits

commit:     2fc14c499be9cdc5736bfde619039b5413d6a5bc
Author:     Tomas Mozes <tmozes <AT> sygic <DOT> com>
AuthorDate: Wed Oct 17 08:55:05 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Oct 26 13:17:50 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=2fc14c49

dev-libs/mongo-c-driver: drop tests on x86

Closes: https://bugs.gentoo.org/668288
Signed-off-by: Tomáš Mózes <hydrapolic <AT> gmail.com>
Package-Manager: Portage-2.3.51, Repoman-2.3.11
Signed-off-by: Thomas Deutschmann <whissi <AT> gentoo.org>

 dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild   | 6 +++++-
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild   | 6 +++++-
 dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild | 6 +++++-
 dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild    | 6 +++++-
 dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild    | 6 +++++-
 5 files changed, 25 insertions(+), 5 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
index c8cfa98b12d..c5f0ca6a857 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.98.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -25,6 +25,10 @@ DEPEND="${RDEPEND}
 
 DOCS=( NEWS README.rst TUTORIAL.md )
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
 	# https://github.com/mongodb/mongo-c-driver/issues/54
 	sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/Makefile.am \

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
index 270c3fa2549..2af17a8e308 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -25,6 +25,10 @@ DEPEND="${RDEPEND}
 
 DOCS=( NEWS README.rst TUTORIAL.md )
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
 	rm -r src/libbson || die
 	sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
index 44af34364f2..aa9e3818623 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.2-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -25,6 +25,10 @@ DEPEND="${RDEPEND}
 
 DOCS=( NEWS README.rst TUTORIAL.md )
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
 	rm -r src/libbson || die
 	sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
index 4ae9ba80014..90f322d03b4 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2016 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
@@ -25,6 +25,10 @@ DEPEND="${RDEPEND}
 
 DOCS=( NEWS README.rst )
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
 	rm -r src/libbson || die
 	sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
index 09d274361f4..841127cf7d9 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Authors
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -25,6 +25,10 @@ DEPEND="${RDEPEND}
 
 DOCS=( NEWS README.rst )
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
 	rm -r src/libbson || die
 	sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2018-04-17 22:09 Thomas Deutschmann
  0 siblings, 0 replies; 41+ messages in thread
From: Thomas Deutschmann @ 2018-04-17 22:09 UTC (permalink / raw
  To: gentoo-commits

commit:     7a59d718e062dca5925b4b2eda7539c348dd95c3
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Tue Apr 17 22:04:10 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Tue Apr 17 22:09:35 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=7a59d718

dev-libs/mongo-c-driver: x86 stable (bug #652964)

Package-Manager: Portage-2.3.30, Repoman-2.3.9

 dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
index e926293376f..495c4072b10 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~ppc ~x86"
+KEYWORDS="amd64 ~hppa ~ppc x86"
 IUSE="doc static-libs"
 
 # tests fails to build


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2018-04-16 17:21 Aaron Bauman
  0 siblings, 0 replies; 41+ messages in thread
From: Aaron Bauman @ 2018-04-16 17:21 UTC (permalink / raw
  To: gentoo-commits

commit:     276b4b0144f622ca4e2631fd8a8bcf95b577f423
Author:     Aaron Bauman <bman <AT> gentoo <DOT> org>
AuthorDate: Mon Apr 16 17:20:49 2018 +0000
Commit:     Aaron Bauman <bman <AT> gentoo <DOT> org>
CommitDate: Mon Apr 16 17:20:49 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=276b4b01

dev-libs/mongo-c-driver: amd64 stable

Bug: https://bugs.gentoo.org/652964
Package-Manager: Portage-2.3.28, Repoman-2.3.9

 dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
index 764dce23aa5..e926293376f 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
@@ -12,7 +12,7 @@ SRC_URI="https://github.com/mongodb/${PN}/tarball/v${PV/_/} -> ${P}.tar.gz"
 
 LICENSE="Apache-2.0"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~ppc ~x86"
+KEYWORDS="amd64 ~hppa ~ppc ~x86"
 IUSE="doc static-libs"
 
 # tests fails to build


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2018-04-07 11:03 Jeroen Roovers
  0 siblings, 0 replies; 41+ messages in thread
From: Jeroen Roovers @ 2018-04-07 11:03 UTC (permalink / raw
  To: gentoo-commits

commit:     f56708279dae8443bf7db2fb8e78bb6b8b5faa33
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Apr  7 11:01:49 2018 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Apr  7 11:02:59 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f5670827

dev-libs/mongo-c-driver: Stable for HPPA too.

Package-Manager: Portage-2.3.28, Repoman-2.3.9
RepoMan-Options: --ignore-arches

 dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
index 1ea4eb35a6d..d034808158e 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
@@ -9,7 +9,7 @@ SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~hppa x86"
+KEYWORDS="amd64 hppa x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND="app-arch/snappy:=


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2018-03-02 14:39 Alexys Jacob
  0 siblings, 0 replies; 41+ messages in thread
From: Alexys Jacob @ 2018-03-02 14:39 UTC (permalink / raw
  To: gentoo-commits

commit:     5cbfd3cc045c82bf71bb5ecb13506ed5a8f19a9c
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Fri Mar  2 06:34:35 2018 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Fri Mar  2 14:35:26 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=5cbfd3cc

dev-libs/mongo-c-driver: bump to 1.9.3

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-libs/mongo-c-driver/Manifest                   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.9.3.ebuild     | 84 ++++++++++++++++++++++
 2 files changed, 85 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 7538d34f794..0f187f8dd87 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -6,3 +6,4 @@ DIST mongo-c-driver-1.1.2.tar.gz 5443153 BLAKE2B f8004486baf6d2d3086e458bdb4bc80
 DIST mongo-c-driver-1.3.5.tar.gz 5860804 BLAKE2B a55de56d285638f21caff06446e3c0c19a5b8722a2ed69fdf046c35973c9bedcc1686065e4355db28afc83c1415872eee2972a6fb3f21647d2cafce12706adc0 SHA512 23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf
 DIST mongo-c-driver-1.6.2.tar.gz 6907818 BLAKE2B 7922a50ba58d92d2954eb5c2ccb02fd3b70861bd26516fd12fe6bdf79a926799fbc3a367e1c24a57932870726aa5abc1d264215ea964a56bc318ab0f413afc60 SHA512 b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af
 DIST mongo-c-driver-1.8.2.tar.gz 7308675 BLAKE2B ca82c2824486cee78b164d1fdfcf1de062804f0f8637a36ec197efe434ae23a387ec0e6b2e4aa3e9c8bb2434a3cef48fecd17fc4b159a92ad86b8b940b17598a SHA512 af23601ba33694d80acdb890c1b85a354fda966491c4bbfb341a884bcd6314886e405efa3a09e47398adf8dbfdeb1b05ae8b022a72f04a66265bfaeddb661f76
+DIST mongo-c-driver-1.9.3.tar.gz 7716783 BLAKE2B 9f5fc8cddbc1c4cf1f85016027e49d4c3bf2ebe50b1df45eda8569d48b88e174fe2c73e76f7afd4f3a36b74c5d02b826f55c610b8c4df273d8ebd4047e823edc SHA512 2c3f915c4f367f5614a904741b4b480896dd521b7039158b2f421d0d7579a45862d5099cd26b6d14cb088f9db49019538aca553c5cf72d9706ec9ab6516ff40a

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild
new file mode 100644
index 00000000000..8c5b2194c35
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.9.3.ebuild
@@ -0,0 +1,84 @@
+# Copyright 1999-2018 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A high-performance MongoDB driver for C"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver"
+SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="debug examples libressl sasl ssl static-libs test"
+
+RDEPEND="app-arch/snappy:=
+	>=dev-libs/libbson-1.8.2
+	sys-libs/zlib:=
+	sasl? ( dev-libs/cyrus-sasl )
+	ssl? (
+		!libressl? ( dev-libs/openssl:0= )
+		libressl? ( dev-libs/libressl:0= )
+	)"
+DEPEND="${RDEPEND}
+	test? ( dev-db/mongodb )"
+
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
+src_prepare() {
+	# remove bundled libs
+	rm -rv src/{libbson,zlib*} || die
+
+	# bundled headers are gone
+	sed -e '/^ac_config_files/s@src/zlib-.*/zconf.h@@g' \
+		-i configure || die
+
+	# this test fails
+	sed -e '/test_topology_install (&suite)/d' \
+		-i tests/test-libmongoc.c || die
+
+	default
+}
+
+src_configure() {
+	econf --with-libbson=system \
+		--with-snappy=system \
+		--with-zlib=system \
+		--disable-optimizations \
+		--disable-shm-counters \
+		--disable-examples \
+		--docdir="${EPREFIX}/usr/share/doc/${P}" \
+		$(use_enable sasl) \
+		$(use_enable ssl ssl $(usex libressl libressl openssl)) \
+		$(use_enable debug) \
+		$(use_enable static-libs static)
+}
+
+src_install() {
+	default_src_install
+
+	# Only install the mongoc man pages to avoid conflicts of common names
+	doman doc/man/mongoc_*.3
+
+	if ! use static-libs; then
+		find "${D}" -name '*.la' -delete || die
+	fi
+
+	if use examples; then
+		docinto examples
+		dodoc -r examples/*.c examples/aggregation examples/bulk
+	fi
+}
+
+src_test() {
+	# Avoid allocating too much disk space by using server.smallFiles = 1
+	echo -e "storage:\n    smallFiles: true" > "${T}/mongod.conf" || die
+	local PORT=27099
+	mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \
+		-f "${T}/mongod.conf" --dbpath="${T}" \
+		--logpath="${T}/mongod.log" || die
+	MONGOC_TEST_HOST="127.0.0.1:${PORT}" emake test
+	kill $(<"${T}/mongod.lock")
+}


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2018-02-10  0:32 Thomas Deutschmann
  0 siblings, 0 replies; 41+ messages in thread
From: Thomas Deutschmann @ 2018-02-10  0:32 UTC (permalink / raw
  To: gentoo-commits

commit:     fea8d58bb660d3ec36b8c04dd37f11f81b3145d1
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Sat Feb 10 00:29:53 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Sat Feb 10 00:31:47 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fea8d58b

dev-libs/mongo-c-driver: x86 stable (bug #645870)

Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
index 256c3356f43..1ea4eb35a6d 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
@@ -9,7 +9,7 @@ SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="amd64 ~hppa ~x86"
+KEYWORDS="amd64 ~hppa x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND="app-arch/snappy:=


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2018-02-09 14:15 Thomas Deutschmann
  0 siblings, 0 replies; 41+ messages in thread
From: Thomas Deutschmann @ 2018-02-09 14:15 UTC (permalink / raw
  To: gentoo-commits

commit:     18602efd3de03bd491dcf492bd3cea8f3fa0992d
Author:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
AuthorDate: Fri Feb  9 14:12:25 2018 +0000
Commit:     Thomas Deutschmann <whissi <AT> gentoo <DOT> org>
CommitDate: Fri Feb  9 14:12:25 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=18602efd

dev-libs/mongo-c-driver: Restrict tests for x86

Tests require a local mongodb instance. However, dev-db/mongodb upstream
doesn't support x86 anymore [Bug 646016] so we are restricting tests.

Bug: https://bugs.gentoo.org/646016
Closes: https://bugs.gentoo.org/645994
Package-Manager: Portage-2.3.24, Repoman-2.3.6

 dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild | 4 ++++
 1 file changed, 4 insertions(+)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
index 179b8e0a175..256c3356f43 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
@@ -23,6 +23,10 @@ RDEPEND="app-arch/snappy:=
 DEPEND="${RDEPEND}
 	test? ( dev-db/mongodb )"
 
+# No tests on x86 because tests require dev-db/mongodb which don't support
+# x86 anymore (bug #645994)
+RESTRICT="x86? ( test )"
+
 src_prepare() {
 	# remove bundled libs
 	rm -rv src/{libbson,zlib*} || die


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2018-01-28 16:08 Mikle Kolyada
  0 siblings, 0 replies; 41+ messages in thread
From: Mikle Kolyada @ 2018-01-28 16:08 UTC (permalink / raw
  To: gentoo-commits

commit:     bf62713f75b306e9d7e7d860ebb09f163f78c110
Author:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
AuthorDate: Sun Jan 28 16:04:20 2018 +0000
Commit:     Mikle Kolyada <zlogene <AT> gentoo <DOT> org>
CommitDate: Sun Jan 28 16:08:08 2018 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=bf62713f

dev-libs/mongo-c-driver: amd64 stable wrt bug #645870

Package-Manager: Portage-2.3.19, Repoman-2.3.6

 dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
index 86291cab07b..179b8e0a175 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
@@ -1,4 +1,4 @@
-# Copyright 1999-2017 Gentoo Foundation
+# Copyright 1999-2018 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=6
@@ -9,7 +9,7 @@ SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
 
 LICENSE="BSD"
 SLOT="0"
-KEYWORDS="~amd64 ~hppa ~x86"
+KEYWORDS="amd64 ~hppa ~x86"
 IUSE="debug examples libressl sasl ssl static-libs test"
 
 RDEPEND="app-arch/snappy:=


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2017-12-07 17:34 Patrice Clement
  0 siblings, 0 replies; 41+ messages in thread
From: Patrice Clement @ 2017-12-07 17:34 UTC (permalink / raw
  To: gentoo-commits

commit:     3a2946cb04fefc024f1a4b416185150903812377
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Fri Nov 24 05:57:01 2017 +0000
Commit:     Patrice Clement <monsieurp <AT> gentoo <DOT> org>
CommitDate: Thu Dec  7 17:33:06 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3a2946cb

dev-libs/mongo-c-driver: version bump to 1.8.2.

Closes: https://bugs.gentoo.org/635728
Package-Manager: Portage-2.3.16, Repoman-2.3.6

 dev-libs/mongo-c-driver/Manifest                   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.8.2.ebuild     | 80 ++++++++++++++++++++++
 2 files changed, 81 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 0f114832b4c..130390d1160 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -5,3 +5,4 @@ DIST mongo-c-driver-1.1.10.tar.gz 5321144 SHA256 19c076fcca1e7b22a731f10b757a049
 DIST mongo-c-driver-1.1.2.tar.gz 5443153 SHA256 ba97f4304883abf6d57ac96751260c4b413b871b0779c12e67136320bee5f118 SHA512 d420fc407f6a04c06a959b8971dc2643c987df5c3d82f2b13bfdf6a44e96bc377478c4d0e385abf67f21b56892c915c79675fe9ebf6efa9aab51fe452c5e6f95 WHIRLPOOL d72bdd7e449e8437bc9742e5f0330e6f6c47d40e3fc07a17d95a9967ecb2ae5961f5c7c155e2d8a12e733139ffbf30091dfa283f6f6a694e05c9c9fb7a03bd2b
 DIST mongo-c-driver-1.3.5.tar.gz 5860804 SHA256 374d37a6d6e49fbb2ed6cab0a305ced347651ec04d57808961d03afa8caa68df SHA512 23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf WHIRLPOOL 6583ba6e93e15ba025232bed1bb1964e85a90695d340d14c873fee26c0c9229d66eb1acfe53e718957210c2dbec67bfc06a1b7b95a9ed4dce0fe8cdad138ac6e
 DIST mongo-c-driver-1.6.2.tar.gz 6907818 SHA256 7ec27e9be4da2bf9e4b316374f8c29f816f0a0f019b984411777e9681e17f70e SHA512 b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af WHIRLPOOL f973aff4c7f457d6b7d61f4e015ed2bcdc1f4668506eb267e15891144a790f6cf2f4a660bb21cc70c63cd91d388cb5b2b323476d55f05243c3d5a5f8c89df37d
+DIST mongo-c-driver-1.8.2.tar.gz 7308675 BLAKE2B ca82c2824486cee78b164d1fdfcf1de062804f0f8637a36ec197efe434ae23a387ec0e6b2e4aa3e9c8bb2434a3cef48fecd17fc4b159a92ad86b8b940b17598a SHA512 af23601ba33694d80acdb890c1b85a354fda966491c4bbfb341a884bcd6314886e405efa3a09e47398adf8dbfdeb1b05ae8b022a72f04a66265bfaeddb661f76

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
new file mode 100644
index 00000000000..86291cab07b
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.8.2.ebuild
@@ -0,0 +1,80 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+DESCRIPTION="A high-performance MongoDB driver for C"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver"
+SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="debug examples libressl sasl ssl static-libs test"
+
+RDEPEND="app-arch/snappy:=
+	>=dev-libs/libbson-1.8.2
+	sys-libs/zlib:=
+	sasl? ( dev-libs/cyrus-sasl )
+	ssl? (
+		!libressl? ( dev-libs/openssl:0= )
+		libressl? ( dev-libs/libressl:0= )
+	)"
+DEPEND="${RDEPEND}
+	test? ( dev-db/mongodb )"
+
+src_prepare() {
+	# remove bundled libs
+	rm -rv src/{libbson,zlib*} || die
+
+	# bundled headers are gone
+	sed -e '/^ac_config_files/s@src/zlib-.*/zconf.h@@g' \
+		-i configure || die
+
+	# this test fails
+	sed -e '/test_topology_install (&suite)/d' \
+		-i tests/test-libmongoc.c || die
+
+	default
+}
+
+src_configure() {
+	econf --with-libbson=system \
+		--with-snappy=system \
+		--with-zlib=system \
+		--disable-optimizations \
+		--disable-shm-counters \
+		--disable-examples \
+		--docdir="${EPREFIX}/usr/share/doc/${P}" \
+		$(use_enable sasl) \
+		$(use_enable ssl ssl $(usex libressl libressl openssl)) \
+		$(use_enable debug) \
+		$(use_enable static-libs static)
+}
+
+src_install() {
+	default_src_install
+
+	# Only install the mongoc man pages to avoid conflicts of common names
+	doman doc/man/mongoc_*.3
+
+	if ! use static-libs; then
+		find "${D}" -name '*.la' -delete || die
+	fi
+
+	if use examples; then
+		docinto examples
+		dodoc -r examples/*.c examples/aggregation examples/bulk
+	fi
+}
+
+src_test() {
+	# Avoid allocating too much disk space by using server.smallFiles = 1
+	echo -e "storage:\n    smallFiles: true" > "${T}/mongod.conf" || die
+	local PORT=27099
+	mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \
+		-f "${T}/mongod.conf" --dbpath="${T}" \
+		--logpath="${T}/mongod.log" || die
+	MONGOC_TEST_HOST="127.0.0.1:${PORT}" emake test
+	kill $(<"${T}/mongod.lock")
+}


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2017-05-30 13:31 Alexys Jacob
  0 siblings, 0 replies; 41+ messages in thread
From: Alexys Jacob @ 2017-05-30 13:31 UTC (permalink / raw
  To: gentoo-commits

commit:     c3adbb83a0ef5f5854d17cf02be00037e8e899f1
Author:     Tomáš Mózes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Sat May 20 18:56:19 2017 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Tue May 30 13:30:54 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=c3adbb83

dev-libs/mongo-c-driver: fix building with libressl (bug #618988)

Closes: https://github.com/gentoo/gentoo/pull/4686

 dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
index 2c2953383bb..09d274361f4 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
@@ -44,7 +44,7 @@ src_configure() {
 		--disable-examples \
 		--docdir="${EPREFIX}/usr/share/doc/${P}" \
 		$(use_enable sasl) \
-		$(use_enable ssl ssl openssl) \
+		$(use_enable ssl ssl $(usex libressl libressl openssl)) \
 		$(use_enable debug) \
 		$(use_enable static-libs static)
 }


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2017-05-25 15:23 Mike Gilbert
  0 siblings, 0 replies; 41+ messages in thread
From: Mike Gilbert @ 2017-05-25 15:23 UTC (permalink / raw
  To: gentoo-commits

commit:     3cea5038fffa867a5371cf073788a9fec04fce55
Author:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
AuthorDate: Thu May 25 15:23:27 2017 +0000
Commit:     Mike Gilbert <floppym <AT> gentoo <DOT> org>
CommitDate: Thu May 25 15:23:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=3cea5038

dev-libs/mongo-c-driver: fix python_check_deps logic

Package-Manager: Portage-2.3.6_p1, Repoman-2.3.2_p69

 dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild | 4 +++-
 dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild | 4 +++-
 2 files changed, 6 insertions(+), 2 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
index 25e9c58a643..a9d4a790780 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
@@ -24,7 +24,9 @@ DEPEND="${PYTHON_DEPS}
 "
 
 python_check_deps() {
-	use doc && has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+	if use doc; then
+		has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+	fi
 }
 
 src_unpack() {

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
index cadb8fb4812..764dce23aa5 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
@@ -25,7 +25,9 @@ DEPEND="${PYTHON_DEPS}
 PATCHES=( "${FILESDIR}/${PV}-api-version.diff" )
 
 python_check_deps() {
-	use doc && has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+	if use doc; then
+		has_version "dev-python/sphinx[${PYTHON_USEDEP}]"
+	fi
 }
 
 src_unpack() {


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2017-05-19 10:52 Michał Górny
  0 siblings, 0 replies; 41+ messages in thread
From: Michał Górny @ 2017-05-19 10:52 UTC (permalink / raw
  To: gentoo-commits

commit:     234990c8a2077daf7b43bcff1110a5535490da40
Author:     Tomas Mozes <hydrapolic <AT> gmail <DOT> com>
AuthorDate: Thu May 18 05:22:35 2017 +0000
Commit:     Michał Górny <mgorny <AT> gentoo <DOT> org>
CommitDate: Fri May 19 10:51:07 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=234990c8

dev-libs/mongo-c-driver: bump to 1.6.2

Closes: https://github.com/gentoo/gentoo/pull/4366
Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-libs/mongo-c-driver/Manifest                   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.6.2.ebuild     | 77 ++++++++++++++++++++++
 2 files changed, 78 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 92fb979e460..0f114832b4c 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -4,3 +4,4 @@ DIST mongo-c-driver-0.98.2.tar.gz 5342760 SHA256 ac0edebd6ee55ac5c63047addc67d18
 DIST mongo-c-driver-1.1.10.tar.gz 5321144 SHA256 19c076fcca1e7b22a731f10b757a049fd94b4aee6bbd0d7b7a0bcbd454e9dee8 SHA512 10ebd1bddc0c713c0934679974fb1ed29eda1bf8e2ebbe2a1ebbcba219574092c34c4b352231ec65ffe3e350d8d701ef85debaaa9f9c10e6ab36fc3fa29f69df WHIRLPOOL ee42e78fbab15b964a04ec70c4a782bb7cd0c46275619b46d32b2c00094df90e3de4a756e6f8496fec87a596af23a403d3cf33b391309e8a044334cbaec58a06
 DIST mongo-c-driver-1.1.2.tar.gz 5443153 SHA256 ba97f4304883abf6d57ac96751260c4b413b871b0779c12e67136320bee5f118 SHA512 d420fc407f6a04c06a959b8971dc2643c987df5c3d82f2b13bfdf6a44e96bc377478c4d0e385abf67f21b56892c915c79675fe9ebf6efa9aab51fe452c5e6f95 WHIRLPOOL d72bdd7e449e8437bc9742e5f0330e6f6c47d40e3fc07a17d95a9967ecb2ae5961f5c7c155e2d8a12e733139ffbf30091dfa283f6f6a694e05c9c9fb7a03bd2b
 DIST mongo-c-driver-1.3.5.tar.gz 5860804 SHA256 374d37a6d6e49fbb2ed6cab0a305ced347651ec04d57808961d03afa8caa68df SHA512 23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf WHIRLPOOL 6583ba6e93e15ba025232bed1bb1964e85a90695d340d14c873fee26c0c9229d66eb1acfe53e718957210c2dbec67bfc06a1b7b95a9ed4dce0fe8cdad138ac6e
+DIST mongo-c-driver-1.6.2.tar.gz 6907818 SHA256 7ec27e9be4da2bf9e4b316374f8c29f816f0a0f019b984411777e9681e17f70e SHA512 b3fe08a31bc83707a4d94f8ea2742fc9b17d024d6c2f92b49cfc4fe012e58cd441c9f0fa4bae9f4205fca44b2a0d8c6d5bc32a05fc9ede9bab0011839a1394af WHIRLPOOL f973aff4c7f457d6b7d61f4e015ed2bcdc1f4668506eb267e15891144a790f6cf2f4a660bb21cc70c63cd91d388cb5b2b323476d55f05243c3d5a5f8c89df37d

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
new file mode 100644
index 00000000000..2c2953383bb
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.6.2.ebuild
@@ -0,0 +1,77 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+inherit autotools
+
+DESCRIPTION="A high-performance MongoDB driver for C"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver"
+SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="debug examples libressl sasl ssl static-libs test"
+
+RDEPEND=">=dev-libs/libbson-1.6.2
+	sasl? ( dev-libs/cyrus-sasl )
+	ssl? (
+		!libressl? ( dev-libs/openssl:0= )
+		libressl? ( dev-libs/libressl:0= )
+	)"
+DEPEND="${RDEPEND}
+	test? ( dev-db/mongodb )"
+
+DOCS=( NEWS README.rst )
+
+src_prepare() {
+	rm -r src/libbson || die
+	sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die
+
+	# https://github.com/mongodb/mongo-c-driver/issues/54
+	sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/Makefile.am \
+		tests/Makefile.am || die
+	eautoreconf
+
+	default
+}
+
+src_configure() {
+	econf --with-libbson=system \
+		--disable-optimizations \
+		--disable-shm-counters \
+		--disable-examples \
+		--docdir="${EPREFIX}/usr/share/doc/${P}" \
+		$(use_enable sasl) \
+		$(use_enable ssl ssl openssl) \
+		$(use_enable debug) \
+		$(use_enable static-libs static)
+}
+
+src_install() {
+	default_src_install
+
+	# Only install the mongoc man pages to avoid conflicts of common names
+	doman doc/man/mongoc_*.3
+
+	if ! use static-libs; then
+		find "${D}" -name '*.la' -delete || die
+	fi
+
+	if use examples; then
+		docinto examples
+		dodoc -r examples/*.c examples/aggregation examples/bulk
+	fi
+}
+
+src_test() {
+	# Avoid allocating too much disk space by using server.smallFiles = 1
+	echo -e "storage:\n    smallFiles: true" > "${T}/mongod.conf" || die
+	local PORT=27099
+	mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \
+		-f "${T}/mongod.conf" --dbpath="${T}" \
+		--logpath="${T}/mongod.log" || die
+	MONGOC_TEST_HOST="127.0.0.1:${PORT}" emake test
+	kill $(<"${T}/mongod.lock")
+}


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2017-04-22  8:34 Jeroen Roovers
  0 siblings, 0 replies; 41+ messages in thread
From: Jeroen Roovers @ 2017-04-22  8:34 UTC (permalink / raw
  To: gentoo-commits

commit:     93fa016c35ea45398acbbc88d73687125af6cd45
Author:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
AuthorDate: Sat Apr 22 08:27:44 2017 +0000
Commit:     Jeroen Roovers <jer <AT> gentoo <DOT> org>
CommitDate: Sat Apr 22 08:33:59 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=93fa016c

dev-libs/mongo-c-driver: Work around "error: storage size of ‘ai_hints’ isn’t known" (bug #564334 by Marcin Mirosław).

Package-Manager: Portage-2.3.5, Repoman-2.3.2

 dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild | 5 +++--
 dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild | 5 +++--
 2 files changed, 6 insertions(+), 4 deletions(-)

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
index 4a4f4366d13..7226e95ee5d 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.7.1-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2014 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI=5
 PYTHON_COMPAT=(python2_7)
 
-inherit multilib python-r1 toolchain-funcs
+inherit flag-o-matic multilib python-r1 toolchain-funcs
 
 DESCRIPTION="C Driver for MongoDB"
 HOMEPAGE="http://www.mongodb.org/ https://github.com/mongodb/mongo-c-driver"
@@ -35,6 +35,7 @@ src_prepare() {
 }
 
 src_compile() {
+	append-cflags -D_POSIX_C_SOURCE=200112L
 	emake
 	use doc && make -C docs/source/sphinx html
 }

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
index 17902af5511..aaf844fa1fc 100644
--- a/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-0.8.1-r1.ebuild
@@ -1,10 +1,10 @@
-# Copyright 1999-2015 Gentoo Foundation
+# Copyright 1999-2017 Gentoo Foundation
 # Distributed under the terms of the GNU General Public License v2
 
 EAPI="5"
 PYTHON_COMPAT=( python2_7 )
 
-inherit base multilib python-any-r1 toolchain-funcs
+inherit base flag-o-matic multilib python-any-r1 toolchain-funcs
 
 DESCRIPTION="C Driver for MongoDB"
 HOMEPAGE="http://www.mongodb.org/ https://github.com/mongodb/mongo-c-driver"
@@ -34,6 +34,7 @@ src_unpack() {
 }
 
 src_compile() {
+	append-cflags -D_POSIX_C_SOURCE=200112L
 	tc-export CC
 	emake
 	use doc && make -C docs/source/sphinx html


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2016-11-03 16:19 Göktürk Yüksek
  0 siblings, 0 replies; 41+ messages in thread
From: Göktürk Yüksek @ 2016-11-03 16:19 UTC (permalink / raw
  To: gentoo-commits

commit:     f84aed0777f5b947917f64715ef34949e1d2a2eb
Author:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
AuthorDate: Thu Nov  3 15:51:26 2016 +0000
Commit:     Göktürk Yüksek <gokturk <AT> gentoo <DOT> org>
CommitDate: Thu Nov  3 16:16:57 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=f84aed07

dev-libs/mongo-c-driver: remove proxied maintainer per his request

Package-Manager: portage-2.2.28

 dev-libs/mongo-c-driver/metadata.xml | 10 ----------
 1 file changed, 10 deletions(-)

diff --git a/dev-libs/mongo-c-driver/metadata.xml b/dev-libs/mongo-c-driver/metadata.xml
index fb0f183..a833260 100644
--- a/dev-libs/mongo-c-driver/metadata.xml
+++ b/dev-libs/mongo-c-driver/metadata.xml
@@ -5,16 +5,6 @@
 		<email>ultrabug@gentoo.org</email>
 		<name>Alexys Jacob</name>
 	</maintainer>
-	<maintainer type="person">
-		<email>bugs@bergstroem.nu</email>
-		<name>Johan Bergström</name>
-	</maintainer>
-	<maintainer type="project">
-		<email>proxy-maint@gentoo.org</email>
-		<name>Proxy Maintainers</name>
-	</maintainer>
-	<longdescription lang="en">
-	</longdescription>
 	<upstream>
 		<remote-id type="github">mongodb/mongo-c-driver</remote-id>
 	</upstream>


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2016-06-30 17:00 Brian Evans
  0 siblings, 0 replies; 41+ messages in thread
From: Brian Evans @ 2016-06-30 17:00 UTC (permalink / raw
  To: gentoo-commits

commit:     fa0e587e1a06c111db3b3991d402fb5a331f911c
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Thu Jun 30 16:48:13 2016 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Thu Jun 30 16:59:48 2016 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=fa0e587e

dev-libs/mongo-c-driver: Version bump

Non-maintainer commit;  ack'd by Ultrabug in #gentoo-dev

Package-Manager: portage-2.3.0

 dev-libs/mongo-c-driver/Manifest                   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.3.5.ebuild     | 76 ++++++++++++++++++++++
 2 files changed, 77 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 03a1ea3..92fb979 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -3,3 +3,4 @@ DIST mongo-c-driver-0.8.1.tar.gz 124053 SHA256 9575f05fa87fe1f7c6562b1ec9202fd4b
 DIST mongo-c-driver-0.98.2.tar.gz 5342760 SHA256 ac0edebd6ee55ac5c63047addc67d1801440586e6a9388cb3938c5bb0319afc5 SHA512 6e3abc31b1e0e02d3bb864882444a95aa01ec4a85ee77abdc52675a730790be7f1924f3c6ea36405ff0f2066e332302ca567bbfa35ba7b918bce81fb409600eb WHIRLPOOL 931a20b916778fcff0d419a73e1263b72b3293ce320254b050ed2211b56449e5e8dcd608459dcce8af98922e64a4aefc2908883f12a590d9e3e754573aed17c1
 DIST mongo-c-driver-1.1.10.tar.gz 5321144 SHA256 19c076fcca1e7b22a731f10b757a049fd94b4aee6bbd0d7b7a0bcbd454e9dee8 SHA512 10ebd1bddc0c713c0934679974fb1ed29eda1bf8e2ebbe2a1ebbcba219574092c34c4b352231ec65ffe3e350d8d701ef85debaaa9f9c10e6ab36fc3fa29f69df WHIRLPOOL ee42e78fbab15b964a04ec70c4a782bb7cd0c46275619b46d32b2c00094df90e3de4a756e6f8496fec87a596af23a403d3cf33b391309e8a044334cbaec58a06
 DIST mongo-c-driver-1.1.2.tar.gz 5443153 SHA256 ba97f4304883abf6d57ac96751260c4b413b871b0779c12e67136320bee5f118 SHA512 d420fc407f6a04c06a959b8971dc2643c987df5c3d82f2b13bfdf6a44e96bc377478c4d0e385abf67f21b56892c915c79675fe9ebf6efa9aab51fe452c5e6f95 WHIRLPOOL d72bdd7e449e8437bc9742e5f0330e6f6c47d40e3fc07a17d95a9967ecb2ae5961f5c7c155e2d8a12e733139ffbf30091dfa283f6f6a694e05c9c9fb7a03bd2b
+DIST mongo-c-driver-1.3.5.tar.gz 5860804 SHA256 374d37a6d6e49fbb2ed6cab0a305ced347651ec04d57808961d03afa8caa68df SHA512 23844ffe20580998308aa9c8409afcb87dccde874077eefc6806b705e5de5743846ba0513f3a3fe83147fc47842ab8c7438ad1de5f3f55b81586b9e19046aabf WHIRLPOOL 6583ba6e93e15ba025232bed1bb1964e85a90695d340d14c873fee26c0c9229d66eb1acfe53e718957210c2dbec67bfc06a1b7b95a9ed4dce0fe8cdad138ac6e

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
new file mode 100644
index 0000000..1d04a46
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.3.5.ebuild
@@ -0,0 +1,76 @@
+# Copyright 1999-2016 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="A high-performance MongoDB driver for C"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver"
+SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="debug examples libressl sasl ssl static-libs test"
+
+RDEPEND=">=dev-libs/libbson-1.3.5
+	sasl? ( dev-libs/cyrus-sasl )
+	ssl? (
+		!libressl? ( dev-libs/openssl:0= )
+		libressl? ( dev-libs/libressl:0= )
+	)"
+DEPEND="${RDEPEND}
+	test? ( dev-db/mongodb )"
+
+DOCS=( NEWS README.rst )
+
+src_prepare() {
+	rm -r src/libbson || die
+	sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die
+
+	# https://github.com/mongodb/mongo-c-driver/issues/54
+	sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/Makefile.am \
+		tests/Makefile.am || die
+	eautoreconf
+}
+
+src_configure() {
+	econf --with-libbson=system \
+		--disable-hardening \
+		--disable-optimizations \
+		--disable-examples \
+		--docdir="${EPREFIX}/usr/share/doc/${P}" \
+		$(use_enable sasl) \
+		$(use_enable ssl ssl openssl) \
+		$(use_enable debug) \
+		$(use_enable static-libs static)
+}
+
+src_install() {
+	default_src_install
+	if [[ -f "${D}usr/share/doc/${P}/COPYING" ]] ; then
+		rm "${D}usr/share/doc/${P}/COPYING" || die
+	fi
+	# Only install the mongoc man pages to avoid conflicts of common names
+	doman doc/man/mongoc_*.3
+
+	use static-libs || find "${D}" -name '*.la' -delete
+
+	if use examples; then
+		insinto /usr/share/${PF}/examples
+		doins -r examples/*.c examples/aggregation examples/bulk
+	fi
+}
+
+src_test() {
+	# Avoid allocating too much disk space by using server.smallFiles = 1
+	echo -e "storage:\n    smallFiles: true" > "${T}/mongod.conf"
+	local PORT=27099
+	mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \
+		-f "${T}/mongod.conf" --dbpath="${T}" \
+		--logpath="${T}/mongod.log" || die
+	MONGOC_TEST_HOST="127.0.0.1:${PORT}" emake test
+	kill `cat "${T}/mongod.lock"`
+}


^ permalink raw reply related	[flat|nested] 41+ messages in thread
* [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
@ 2015-09-17 11:56 Alexys Jacob
  0 siblings, 0 replies; 41+ messages in thread
From: Alexys Jacob @ 2015-09-17 11:56 UTC (permalink / raw
  To: gentoo-commits

commit:     efd14559f7398293d507dc366cb6df42721e3d3a
Author:     Ultrabug <ultrabug <AT> gentoo <DOT> org>
AuthorDate: Thu Sep 17 11:56:49 2015 +0000
Commit:     Alexys Jacob <ultrabug <AT> gentoo <DOT> org>
CommitDate: Thu Sep 17 11:56:49 2015 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=efd14559

dev-libs/mongo-c-driver: version bump

Package-Manager: portage-2.2.20.1

 dev-libs/mongo-c-driver/Manifest                   |  1 +
 .../mongo-c-driver/mongo-c-driver-1.1.10.ebuild    | 68 ++++++++++++++++++++++
 2 files changed, 69 insertions(+)

diff --git a/dev-libs/mongo-c-driver/Manifest b/dev-libs/mongo-c-driver/Manifest
index 7aacf26..03a1ea3 100644
--- a/dev-libs/mongo-c-driver/Manifest
+++ b/dev-libs/mongo-c-driver/Manifest
@@ -1,4 +1,5 @@
 DIST mongo-c-driver-0.7.1.tar.gz 108537 SHA256 6670b50bb4232cc617a114d1320ea97abc55f9570b4ebf53e1e6c22671ffc328 SHA512 5c6996dc47ecbe4d77971e3aa983a877e7de736bf358c467808eceba8b1a5eea342376249cdc682a034fc7ec39290d234527cec3c3732686f184281a72aec724 WHIRLPOOL c3aadbb61bd7bd295398b4510708f95c0a05383e80baba510609870aa39f5442d4bbfb6441889f605578e07e2c97d44d2e2d75b5a2ec6950a362825c6110fbd3
 DIST mongo-c-driver-0.8.1.tar.gz 124053 SHA256 9575f05fa87fe1f7c6562b1ec9202fd4b8a98950a4d65ea44c1c62fadc2b48b0 SHA512 7b61ac4b1b154ee1f518eddb2bbc0cdafe0da8786eed4475e5703c2a735ec5a09efde59f5bfa45fb226cbce24d8c0ba0de403d8fc3e561c0e48507dfb07962b1 WHIRLPOOL 1474a7b5fced35b511cedd97f558f284d70135c591bd6d671c34519f68097a1e2e6a32a6323acfa4ea3d0146529d3be79f2f91d1187ba3d01a7da6aaacaabf2d
 DIST mongo-c-driver-0.98.2.tar.gz 5342760 SHA256 ac0edebd6ee55ac5c63047addc67d1801440586e6a9388cb3938c5bb0319afc5 SHA512 6e3abc31b1e0e02d3bb864882444a95aa01ec4a85ee77abdc52675a730790be7f1924f3c6ea36405ff0f2066e332302ca567bbfa35ba7b918bce81fb409600eb WHIRLPOOL 931a20b916778fcff0d419a73e1263b72b3293ce320254b050ed2211b56449e5e8dcd608459dcce8af98922e64a4aefc2908883f12a590d9e3e754573aed17c1
+DIST mongo-c-driver-1.1.10.tar.gz 5321144 SHA256 19c076fcca1e7b22a731f10b757a049fd94b4aee6bbd0d7b7a0bcbd454e9dee8 SHA512 10ebd1bddc0c713c0934679974fb1ed29eda1bf8e2ebbe2a1ebbcba219574092c34c4b352231ec65ffe3e350d8d701ef85debaaa9f9c10e6ab36fc3fa29f69df WHIRLPOOL ee42e78fbab15b964a04ec70c4a782bb7cd0c46275619b46d32b2c00094df90e3de4a756e6f8496fec87a596af23a403d3cf33b391309e8a044334cbaec58a06
 DIST mongo-c-driver-1.1.2.tar.gz 5443153 SHA256 ba97f4304883abf6d57ac96751260c4b413b871b0779c12e67136320bee5f118 SHA512 d420fc407f6a04c06a959b8971dc2643c987df5c3d82f2b13bfdf6a44e96bc377478c4d0e385abf67f21b56892c915c79675fe9ebf6efa9aab51fe452c5e6f95 WHIRLPOOL d72bdd7e449e8437bc9742e5f0330e6f6c47d40e3fc07a17d95a9967ecb2ae5961f5c7c155e2d8a12e733139ffbf30091dfa283f6f6a694e05c9c9fb7a03bd2b

diff --git a/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
new file mode 100644
index 0000000..a745d2d
--- /dev/null
+++ b/dev-libs/mongo-c-driver/mongo-c-driver-1.1.10.ebuild
@@ -0,0 +1,68 @@
+# Copyright 1999-2015 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+# $Id$
+
+EAPI=5
+
+inherit autotools eutils
+
+DESCRIPTION="A high-performance MongoDB driver for C"
+HOMEPAGE="https://github.com/mongodb/mongo-c-driver"
+SRC_URI="https://github.com/mongodb/${PN}/releases/download/${PV}/${P}.tar.gz"
+
+LICENSE="BSD"
+SLOT="0"
+KEYWORDS="~amd64 ~hppa ~x86"
+IUSE="debug examples sasl ssl static-libs test"
+
+RDEPEND=">=dev-libs/libbson-1.1.10
+	sasl? ( dev-libs/cyrus-sasl )
+	ssl? ( dev-libs/openssl:= )"
+DEPEND="${RDEPEND}
+	test? ( dev-db/mongodb )"
+
+DOCS=( NEWS README.rst TUTORIAL.md )
+
+src_prepare() {
+	rm -r src/libbson || die
+	sed -i -e '/SUBDIRS/s:src/libbson::g' Makefile.am || die
+
+	# https://github.com/mongodb/mongo-c-driver/issues/54
+	sed -i -e "s/PTHREAD_LIBS/PTHREAD_CFLAGS/g" src/Makefile.am \
+		tests/Makefile.am || die
+	eautoreconf
+}
+
+src_configure() {
+	econf --with-libbson=system \
+		--disable-hardening \
+		--disable-optimizations \
+		--disable-examples \
+		$(use_enable sasl) \
+		$(use_enable ssl) \
+		$(use_enable debug) \
+		$(use_enable static-libs static)
+}
+
+src_install() {
+	emake DESTDIR="${D}" install
+	doman doc/*.3
+
+	use static-libs || find "${D}" -name '*.la' -delete
+
+	if use examples; then
+		insinto /usr/share/${PF}/examples
+		doins -r examples/*.c examples/aggregation examples/bulk
+	fi
+}
+
+src_test() {
+	# Avoid allocating too much disk space by using server.smallFiles = 1
+	echo -e "storage:\n    smallFiles: true" > "${T}/mongod.conf"
+	local PORT=27099
+	mongod --port ${PORT} --bind_ip 127.0.0.1 --nounixsocket --fork \
+		-f "${T}/mongod.conf" --dbpath="${T}" \
+		--logpath="${T}/mongod.log" || die
+	MONGOC_TEST_HOST="127.0.0.1:${PORT}" emake test
+	kill `cat "${T}/mongod.lock"`
+}


^ permalink raw reply related	[flat|nested] 41+ messages in thread

end of thread, other threads:[~2024-09-10  6:17 UTC | newest]

Thread overview: 41+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2016-06-26  0:09 [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/ Anthony G. Basile
  -- strict thread matches above, loose matches on Subject: below --
2024-09-10  6:17 Eray Aslan
2024-09-10  6:17 Eray Aslan
2024-07-28 13:07 Eray Aslan
2023-09-08 19:29 Sam James
2023-07-24 12:35 Michał Górny
2022-07-09 14:44 Arthur Zamarin
2022-05-13 14:08 Jakov Smolić
2022-04-26  3:37 Sam James
2021-11-26  6:42 Sam James
2021-10-27  6:37 Agostino Sarubbo
2021-07-24 16:15 Thomas Deutschmann
2021-05-02 15:38 Mikle Kolyada
2021-02-28 18:08 Andreas Sturmlechner
2020-09-01 10:47 Michał Górny
2020-08-06 14:34 Thomas Deutschmann
2020-07-18 22:38 Sam James
2020-05-29  7:42 Agostino Sarubbo
2020-02-02 22:28 Matt Turner
2019-12-12 16:46 Michał Górny
2019-11-15 21:57 Alexys Jacob
2019-03-03 11:12 Mikle Kolyada
2019-01-19  3:22 Thomas Deutschmann
2018-12-23 14:29 Mikle Kolyada
2018-12-22 22:25 Thomas Deutschmann
2018-10-26 13:18 Thomas Deutschmann
2018-04-17 22:09 Thomas Deutschmann
2018-04-16 17:21 Aaron Bauman
2018-04-07 11:03 Jeroen Roovers
2018-03-02 14:39 Alexys Jacob
2018-02-10  0:32 Thomas Deutschmann
2018-02-09 14:15 Thomas Deutschmann
2018-01-28 16:08 Mikle Kolyada
2017-12-07 17:34 Patrice Clement
2017-05-30 13:31 Alexys Jacob
2017-05-25 15:23 Mike Gilbert
2017-05-19 10:52 Michał Górny
2017-04-22  8:34 Jeroen Roovers
2016-11-03 16:19 Göktürk Yüksek
2016-06-30 17:00 Brian Evans
2015-09-17 11:56 Alexys Jacob

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox