1 |
commit: 9c32e2ea90e5c84006607d747cbc172671085dc6 |
2 |
Author: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
3 |
AuthorDate: Mon Aug 27 23:15:42 2018 +0000 |
4 |
Commit: Michael Orlitzky <mjo <AT> gentoo <DOT> org> |
5 |
CommitDate: Mon Aug 27 23:15:42 2018 +0000 |
6 |
URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=9c32e2ea |
7 |
|
8 |
dev-php/pecl-mongodb: new version 1.5.2. |
9 |
|
10 |
Closes: https://bugs.gentoo.org/662626 |
11 |
Package-Manager: Portage-2.3.44, Repoman-2.3.9 |
12 |
|
13 |
dev-php/pecl-mongodb/Manifest | 1 + |
14 |
dev-php/pecl-mongodb/pecl-mongodb-1.5.2.ebuild | 40 ++++++++++++++++++++++++++ |
15 |
2 files changed, 41 insertions(+) |
16 |
|
17 |
diff --git a/dev-php/pecl-mongodb/Manifest b/dev-php/pecl-mongodb/Manifest |
18 |
index 4f1fb7b7f2e..d103b201f84 100644 |
19 |
--- a/dev-php/pecl-mongodb/Manifest |
20 |
+++ b/dev-php/pecl-mongodb/Manifest |
21 |
@@ -5,3 +5,4 @@ DIST mongodb-1.2.9.tgz 786049 BLAKE2B 39c1ea211fdaa116e5a25fdb17a7be8b6c375909fc |
22 |
DIST mongodb-1.3.3.tgz 925476 BLAKE2B 845abd4c7cf5dbb1fb3b04c5fc4070f0a360874ac566f1988025701258141a89afaa0e60c3d7166484fa37eda4ef08d94deeabdcc2ebe2a4f221dcf83aff20df SHA512 16c82ada278eac6996065d3c594237fbb8c1a7fe4e21828aa8af9ef98033cf6dfaf0fee90095e8116e946e620b551a6122238f85865a6c47d4d087f784cd54ea |
23 |
DIST mongodb-1.4.1.tgz 1037836 BLAKE2B eb31be94e1508a860d88d44e3e6714bea62a34eb999285a2e40082a0b66b617d380adbbf56614244eb567b8939dae223b0553d425e608d05d86cd3232441b59d SHA512 4c053917ba6e178e114a4aafcd20ec505694bd96575235485e1524f1063d17ea1c446c86b7eb70d0c25db4ae6338d71fb33aa9df647ce1c80a17f539362230b0 |
24 |
DIST mongodb-1.4.4.tgz 1043458 BLAKE2B bb159170fe6696f996a69d1a3ffbfbc66016e6f31a8c53022e836fb3c21554bd4b74f263b11c4ad78fd6e17b8ec75d551fbe65612778d3d44c9fb1c049f84e5a SHA512 fe54b169593d8cddc0318ae6e40f833796b8745a45917446ce360604bb1ceb7b3242498ac9ca6a6be1389a735c12786b0542ba29655ff42a0c96e16a4a0b68cb |
25 |
+DIST mongodb-1.5.2.tgz 1057139 BLAKE2B 59ace4f5eb172bcdd2d6aba6b4a136da4ed2abfd432a9532862464f5e0082f8bfb12cf312f1860a638ba72bb1f08a187356eedf62971ebdb84e588f7d817204d SHA512 189fb18cb36873dbbcd5803c1ccc37d5ecaf9412e76051bcebf1a492a40c13cfa518df5e45c4c57781eb79ab512c9403c54344a7593d89571a3965cd327ac15a |
26 |
|
27 |
diff --git a/dev-php/pecl-mongodb/pecl-mongodb-1.5.2.ebuild b/dev-php/pecl-mongodb/pecl-mongodb-1.5.2.ebuild |
28 |
new file mode 100644 |
29 |
index 00000000000..05c3b280e01 |
30 |
--- /dev/null |
31 |
+++ b/dev-php/pecl-mongodb/pecl-mongodb-1.5.2.ebuild |
32 |
@@ -0,0 +1,40 @@ |
33 |
+# Copyright 1999-2018 Gentoo Foundation |
34 |
+# Distributed under the terms of the GNU General Public License v2 |
35 |
+ |
36 |
+EAPI=6 |
37 |
+ |
38 |
+PHP_EXT_NAME="mongodb" |
39 |
+USE_PHP="php5-6 php7-0 php7-1 php7-2" |
40 |
+ |
41 |
+inherit php-ext-pecl-r3 |
42 |
+ |
43 |
+DESCRIPTION="MongoDB database driver for PHP" |
44 |
+ |
45 |
+LICENSE="Apache-2.0" |
46 |
+SLOT="0" |
47 |
+KEYWORDS="~amd64 ~x86" |
48 |
+IUSE="libressl sasl" |
49 |
+ |
50 |
+RDEPEND=" |
51 |
+ php_targets_php5-6? ( dev-lang/php:5.6[json,ssl,zlib] ) |
52 |
+ php_targets_php7-0? ( dev-lang/php:7.0[json,ssl,zlib] ) |
53 |
+ php_targets_php7-1? ( dev-lang/php:7.1[json,ssl,zlib] ) |
54 |
+ php_targets_php7-2? ( dev-lang/php:7.2[json,ssl,zlib] ) |
55 |
+ >=dev-libs/libbson-1.12.0 |
56 |
+ >=dev-libs/mongo-c-driver-1.12.0[sasl?,ssl] |
57 |
+ !libressl? ( dev-libs/openssl:0= ) |
58 |
+ libressl? ( dev-libs/libressl:0= ) |
59 |
+ sasl? ( dev-libs/cyrus-sasl ) |
60 |
+" |
61 |
+# pkgconfig needed if system libraries are used for bson and libmongoc |
62 |
+DEPEND="${RDEPEND} virtual/pkgconfig" |
63 |
+ |
64 |
+src_configure() { |
65 |
+ local PHP_EXT_ECONF_ARGS=( |
66 |
+ --enable-mongodb |
67 |
+ --with-libbson |
68 |
+ --with-libmongoc |
69 |
+ --with-mongodb-sasl=$(usex sasl) |
70 |
+ ) |
71 |
+ php-ext-source-r3_src_configure |
72 |
+} |