pkgsrc-Changes archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

CVS commit: pkgsrc/databases/php-mongodb



Module Name:    pkgsrc
Committed By:   adam
Date:           Tue Mar  5 14:26:42 UTC 2019

Modified Files:
        pkgsrc/databases/php-mongodb: Makefile distinfo
Removed Files:
        pkgsrc/databases/php-mongodb/patches: patch-config.m4

Log Message:
php-mongodb: updated to 1.5.3

MongoDB PHP Driver 1.5.0:

It supports all new features for MongoDB 2.6, including:

Aggregate can now return a cursor
Aggregation pipelines can now be explained
Possible to set maxTimeMS for commands and queries
Transparent support for the new command-based MongoDB write API
New MongoWriteBatch classes (using the new MongoDB write API)
Support for MongoDB Enterprise features (e.g. Kerberos, LDAP, X509)
Option to tune acceptable server latency for secondary reads (secondaryAcceptableLatencyMS)
With this release, some driver functionality which was previously documented as deprecated will now formally raise deprecation notices. This includes:

Instantiating the Mongo class
Calling MongoCursor::slaveOkay()
"wtimeout" and "safe" options for MongoCollection write operations
Manipulating public properties on core classes (such as $collection->w)

MongoDB PHP Driver 1.4.0:

The 1.4 series introduced fundemental changes in how connections are created to the MongoDB servers. The driver now utilizes PHP native streams, so all normal PHP stream options apply. Furthermore, 
an experimental Stream Context Support was added.

The 1.4.x series also added support for MongoDB 2.4.x.

The most important improvements however deal with the handling of replica sets, especially nodes that timeout and nodes that are unreachable for various reasons. Besides the improvements to replica 
set handling, this release addresses issues with read preferences through mongos nodes. It also adds support for SSL enabled connections as well as journal and fsync connection string options.


To generate a diff of this commit:
cvs rdiff -u -r1.3 -r1.4 pkgsrc/databases/php-mongodb/Makefile
cvs rdiff -u -r1.2 -r1.3 pkgsrc/databases/php-mongodb/distinfo
cvs rdiff -u -r1.2 -r0 pkgsrc/databases/php-mongodb/patches/patch-config.m4

Please note that diffs are not public domain; they are subject to the
copyright notices on the relevant files.

Modified files:

Index: pkgsrc/databases/php-mongodb/Makefile
diff -u pkgsrc/databases/php-mongodb/Makefile:1.3 pkgsrc/databases/php-mongodb/Makefile:1.4
--- pkgsrc/databases/php-mongodb/Makefile:1.3   Sun Jan  7 20:56:44 2018
+++ pkgsrc/databases/php-mongodb/Makefile       Tue Mar  5 14:26:42 2019
@@ -1,24 +1,23 @@
-# $NetBSD: Makefile,v 1.3 2018/01/07 20:56:44 joerg Exp $
+# $NetBSD: Makefile,v 1.4 2019/03/05 14:26:42 adam Exp $
 
-MODNAME=               mongodb
-PECL_VERSION=          1.3.4
-CATEGORIES+=           databases
+MODNAME=       mongodb
+PECL_VERSION=  1.5.3
+CATEGORIES+=   databases
 
-MAINTAINER=            bartosz.kuzma%gmail.com@localhost
-HOMEPAGE=              http://docs.mongodb.org/ecosystem/drivers/php/
-COMMENT=               MongoDB database driver
-LICENSE=               apache-2.0
+MAINTAINER=    bartosz.kuzma%gmail.com@localhost
+HOMEPAGE=      http://docs.mongodb.org/ecosystem/drivers/php/
+COMMENT=       MongoDB database driver
+LICENSE=       apache-2.0
 
+DEPENDS+=      ${PHP_PKG_PREFIX}-json>=5.3.0:../../textproc/php-json
+
+USE_TOOLS+=            pkg-config
 CONFIGURE_ARGS+=       --with-libbson
 CONFIGURE_ARGS+=       --with-libmongoc
 CONFIGURE_ARGS+=       --with-openssl-dir=${BUILDLINK_PREFIX.openssl}
-USE_TOOLS+=            pkg-config
-
-DEPENDS+=              ${PHP_PKG_PREFIX}-json>=5.3.0:../../textproc/php-json
 
 .include "../../security/openssl/buildlink3.mk"
 .include "../../databases/mongo-c-driver/buildlink3.mk"
-.include "../../devel/libbson/buildlink3.mk"
 .include "../../devel/snappy/buildlink3.mk"
 .include "../../lang/php/ext.mk"
 .include "../../mk/bsd.pkg.mk"

Index: pkgsrc/databases/php-mongodb/distinfo
diff -u pkgsrc/databases/php-mongodb/distinfo:1.2 pkgsrc/databases/php-mongodb/distinfo:1.3
--- pkgsrc/databases/php-mongodb/distinfo:1.2   Wed Dec  6 21:18:00 2017
+++ pkgsrc/databases/php-mongodb/distinfo       Tue Mar  5 14:26:42 2019
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.2 2017/12/06 21:18:00 jdolecek Exp $
+$NetBSD: distinfo,v 1.3 2019/03/05 14:26:42 adam Exp $
 
-SHA1 (php-mongodb/mongodb-1.3.4.tgz) = 261ee149dbab50818297c80507335ddd1379d23e
-RMD160 (php-mongodb/mongodb-1.3.4.tgz) = 16c40fea2457c43853c6a9524c212ab9b30e134a
-SHA512 (php-mongodb/mongodb-1.3.4.tgz) = 016d61adab4b1ca697fa8c2f3d1198d1cc12f047e28de1abf17019ff1c7ab191c75696f206ad443c953242d07391d5397ded25369d4ed59ddfea8f5346b7f408
-Size (php-mongodb/mongodb-1.3.4.tgz) = 848798 bytes
+SHA1 (php-mongodb/mongodb-1.5.3.tgz) = 48162f8182f4c757998c3f8149e750030d8cbb35
+RMD160 (php-mongodb/mongodb-1.5.3.tgz) = 6a2e8f85687c068402d72b7d85df640c5bb5b30e
+SHA512 (php-mongodb/mongodb-1.5.3.tgz) = 35704e75bd7867a436d953c00c7560c9a08a4fa8f3555d7cc00aeda34e87c6c7aa7ecc1d7f674747e34f4f8dac35d320f6317e60229528ea9782bbe669bafec0
+Size (php-mongodb/mongodb-1.5.3.tgz) = 1059580 bytes
 SHA1 (patch-config.m4) = 54a41bf20a5a0b2972920620698ecf2bb8c358dd



Home | Main Index | Thread Index | Old Index