From: "Patrice Clement" <monsieurp@gentoo.org>
To: gentoo-commits@lists.gentoo.org
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/
Date: Thu, 7 Dec 2017 17:34:20 +0000 (UTC) [thread overview]
Message-ID: <1512667986.3a2946cb04fefc024f1a4b416185150903812377.monsieurp@gentoo> (raw)
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")
+}
next reply other threads:[~2017-12-07 17:34 UTC|newest]
Thread overview: 41+ messages / expand[flat|nested] mbox.gz Atom feed top
2017-12-07 17:34 Patrice Clement [this message]
-- strict thread matches above, loose matches on Subject: below --
2024-09-10 6:17 [gentoo-commits] repo/gentoo:master commit in: dev-libs/mongo-c-driver/ 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-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
2016-06-26 0:09 Anthony G. Basile
2015-09-17 11:56 Alexys Jacob
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1512667986.3a2946cb04fefc024f1a4b416185150903812377.monsieurp@gentoo \
--to=monsieurp@gentoo.org \
--cc=gentoo-commits@lists.gentoo.org \
--cc=gentoo-dev@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox