summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTomas Mozes <hydrapolic@gmail.com>2017-11-24 06:57:54 +0100
committerPatrice Clement <monsieurp@gentoo.org>2017-12-07 18:33:52 +0100
commit6465a26dce0b7380856540e8d05a844b0060f968 (patch)
treee246c86069390b294c9efadb3933735c66017b2c /dev-php
parentdev-libs/mongo-c-driver: version bump to 1.8.2. (diff)
downloadgentoo-6465a26dce0b7380856540e8d05a844b0060f968.tar.gz
gentoo-6465a26dce0b7380856540e8d05a844b0060f968.tar.bz2
gentoo-6465a26dce0b7380856540e8d05a844b0060f968.zip
dev-php/pecl-mongodb: version bump to 1.3.3.
Closes: https://bugs.gentoo.org/635724 Package-Manager: Portage-2.3.16, Repoman-2.3.6
Diffstat (limited to 'dev-php')
-rw-r--r--dev-php/pecl-mongodb/Manifest1
-rw-r--r--dev-php/pecl-mongodb/pecl-mongodb-1.3.3.ebuild39
2 files changed, 40 insertions, 0 deletions
diff --git a/dev-php/pecl-mongodb/Manifest b/dev-php/pecl-mongodb/Manifest
index 541db4704fe..7680058e304 100644
--- a/dev-php/pecl-mongodb/Manifest
+++ b/dev-php/pecl-mongodb/Manifest
@@ -2,3 +2,4 @@ DIST mongodb-1.1.10.tgz 661847 SHA256 1c779c50b5ebe25acf399d899d8df727d794588ee1
DIST mongodb-1.1.8.tgz 806900 SHA256 b93ae7dc9bd270823965f8903c9acf47fe3a0ba7a630d08e8173ff091d593ae0 SHA512 1026b4081cd1c35f1f6fee6332c21dbe739320236377c0ed21b8d64447a9ba26464a919ceb9c16b332a64f12b834700472d6cbfb336d09d841c97ca0b402bf17 WHIRLPOOL 9cd2ce71f06684a3717e1cc016684d54b877f31166cbd194dc595dc878ebdda0320210ed090ac85d2aef40c94299499feedcf52faa712cec1c14aef1ae1f25d5
DIST mongodb-1.2.11.tgz 786669 SHA256 bac347be2277dd64b1b6f414234a6057eccf2d208409ce60973107a41267df49 SHA512 19642bc156064e14c598b09a328b57c2f7c35c59268912edb88bbd1a144e5f2ea5a74860c3b9fb8552e45114cf712d7acf6f686486db328b34f0583aac8766f5 WHIRLPOOL 3c4f5db3d99d34ae30061bcdee9741062f2da0805c291ab13428a87c3ebe9a2539886bf6bf4065ce6df32709d16f359f58190e03d0b2f4ef06f6396ee7bd3b89
DIST mongodb-1.2.9.tgz 786049 SHA256 dac7f755001e454f41bd1ebf54a47754c524062d41244a75ea7ee3a9825a9d2b SHA512 7eff5cfce08f3d69bc7acdb9ab5f8f55d02dab67593e5d03402c8bb6b6611fd703e8dfda89b99e8d3de387ed58cb9eea096fe68e0c9657ec3f8b1b7f622cfe58 WHIRLPOOL a7711addba3b029d6008485a7491f7312bd0bd0faed223a647210c4c8fd559083ff8a492f126512326d27e14d5e2d54cb09998f8e5ba3feb424dc05aed91608b
+DIST mongodb-1.3.3.tgz 925476 BLAKE2B 845abd4c7cf5dbb1fb3b04c5fc4070f0a360874ac566f1988025701258141a89afaa0e60c3d7166484fa37eda4ef08d94deeabdcc2ebe2a4f221dcf83aff20df SHA512 16c82ada278eac6996065d3c594237fbb8c1a7fe4e21828aa8af9ef98033cf6dfaf0fee90095e8116e946e620b551a6122238f85865a6c47d4d087f784cd54ea
diff --git a/dev-php/pecl-mongodb/pecl-mongodb-1.3.3.ebuild b/dev-php/pecl-mongodb/pecl-mongodb-1.3.3.ebuild
new file mode 100644
index 00000000000..66ab3d11744
--- /dev/null
+++ b/dev-php/pecl-mongodb/pecl-mongodb-1.3.3.ebuild
@@ -0,0 +1,39 @@
+# Copyright 1999-2017 Gentoo Foundation
+# Distributed under the terms of the GNU General Public License v2
+
+EAPI=6
+
+PHP_EXT_NAME="mongodb"
+USE_PHP="php5-6 php7-0 php7-1"
+
+inherit php-ext-pecl-r3
+
+DESCRIPTION="MongoDB database driver for PHP"
+
+LICENSE="Apache-2.0"
+SLOT="0"
+KEYWORDS="~amd64 ~x86"
+IUSE="libressl sasl"
+
+RDEPEND="
+ php_targets_php5-6? ( dev-lang/php:5.6[json,ssl,zlib] )
+ php_targets_php7-0? ( dev-lang/php:7.0[json,ssl,zlib] )
+ php_targets_php7-1? ( dev-lang/php:7.1[json,ssl,zlib] )
+ >=dev-libs/libbson-1.8.2
+ >=dev-libs/mongo-c-driver-1.8.2[sasl?,ssl]
+ !libressl? ( dev-libs/openssl:0= )
+ libressl? ( dev-libs/libressl:0= )
+ sasl? ( dev-libs/cyrus-sasl )
+"
+# pkgconfig needed if system libraries are used for bson and libmongoc
+DEPEND="${RDEPEND} virtual/pkgconfig"
+
+src_configure() {
+ local PHP_EXT_ECONF_ARGS=(
+ --enable-mongodb
+ --with-libbson
+ --with-libmongoc
+ --with-mongodb-sasl=$(usex sasl)
+ )
+ php-ext-source-r3_src_configure
+}