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:   jdolecek
Date:           Wed Dec  6 21:18:00 UTC 2017

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

Log Message:
Update php-mongodb to 1.3.4, mostly to get version which is compatible
with PHP 7.2

Changes since 1.1.8:

1.3.4   ** Bug
* [PHPC-1053] - UTCDateTime constructor reports that its single argument is required
1.3.3   ** Bug
* [PHPC-1045] - Segfault if username is not provided for SCRAM-SHA-1 authMechanism
* [PHPC-1046] - Do not specify $external as database name in tests

** Task
* [PHPC-1044] - Upgrade libbson and libmongoc to 1.8.2
1.3.2   ** Improvement
* [PHPC-1026] - Log warnings instead of throwing for unsupported BSON types
1.3.1   ** Bug
* [PHPC-1014] - config.m4 produces unterminated quoted string
1.3.0   ** Bug
* [PHPC-586] - Create regression tests for tailable cursor iteration
* [PHPC-624] - WriteResult::getUpsertedIds() only supports ObjectIDs and integers
* [PHPC-692] - Check for phongo_bson_to_zval_ex() failures in Server methods
* [PHPC-712] - Driver should validate BSON documents before insert and update
* [PHPC-875] - Allow compiling without SSL
* [PHPC-895] - Require 16-byte data length for Binary UUID subtypes 0x03 and 0x04
* [PHPC-914] - php mongodb connect 'SCRAM Failure: invalid salt length of 0 in sasl step2' exception
* [PHPC-939] - BSON classes should not assign public properties after var_dump()
* [PHPC-950] - Skip APM callbacks if subscriber HashTable is uninitialized
* [PHPC-951] - CursorId is a signed 64-bit integer
* [PHPC-964] - Ensure SASL output variables are always defined in config.m4
* [PHPC-974] - Converting JSON to BSON to PHP introduces gaps in array indexes
* [PHPC-981] - APM functions should reside in MongoDB\Driver\Monitoring namespace
* [PHPC-982] - Include null byte in key length when accessing subscriber HashTable in PHP 5
* [PHPC-983] - MongoDB\BSON\toPHP() arg info is missing type map parameter
* [PHPC-994] - Fix HAVE_SOCKLEN_T macro redefinition for Windows builds
* [PHPC-1005] - Ensure array symtable converts to object proptable in PHP 7.2
* [PHPC-1006] - Do not modify memory of Persistable::bsonSerialize() return value

** Epic
* [PHPC-909] - Spring cleaning for 1.3.0

** New Feature
* [PHPC-349] - Application Performance Monitoring (APM)
* [PHPC-382] - Allow zval_to_bson() to return the ID irrespective of ID generation
* [PHPC-471] - BulkWrite::insert() should always return the document's ID
* [PHPC-587] - CursorId should serialize to BSON as 64-bit integer
* [PHPC-772] - Parse authMechanism options in URI options array
* [PHPC-839] - Add option maxAwaitTimeMS on getMore commands
* [PHPC-926] - Implement Extended JSON spec
* [PHPC-976] - Create isDefault() method for read and write concerns
* [PHPC-985] - Implement Timestamp::getIncrement() and getTimestamp() methods
* [PHPC-988] - PHP 5.x segfault if TypeWrapper::createFromBSONType() throws exception

** Task
* [PHPC-302] - Throw exceptions for unsupported BSON types
* [PHPC-640] - Implement interfaces for userland BSON type classes
* [PHPC-765] - Connection string spec compliance
* [PHPC-892] - Upgrade libbson and libmongoc to 1.6.0
* [PHPC-907] - Remove PHONGO_API macro for exported symbols
* [PHPC-908] - Do not declare MINIT functions for each driver class
* [PHPC-910] - Reorganize BSON encoding and decoding sources
* [PHPC-911] - Prefix symbols and use static decls whenever possible
* [PHPC-915] - Document precedence of authMechanismProperties URI option over named GSSAPI options
* [PHPC-928] - Sync release files in PECL package generation script
* [PHPC-929] - Skip BSON corpus test for embedded null in code string
* [PHPC-932] - Remove reference to Manager on Cursor, Server, and WriteResult objects
* [PHPC-953] - Do not parse undocumented "database" key in URI options array
* [PHPC-957] - Use libmongoc constants for applicable URI options
* [PHPC-959] - Do not check for null return from mongoc_collection_find_with_opts()
* [PHPC-977] - Upgrade libbson and libmongoc to 1.7.0
* [PHPC-992] - Rename to[Canonical|Relaxed]JSON() to to[Canonical|Relaxed]ExtendedJSON()
* [PHPC-996] - Remove support for PHP 5.4
* [PHPC-997] - Update date/time handling code due to changes in timelib
* [PHPC-1004] - Rename ObjectID to ObjectId
* [PHPC-1007] - Upgrade libbson and libmongoc to 1.8.0
* [PHPC-1008] - Use SETUP_OPENSSL() in config.w32 if available

** Improvement
* [PHPC-579] - Throw exception for invalid BulkWrite::update() newObj argument
* [PHPC-628] - executeBulkWrite() should throw InvalidArgumentException for empty BulkWrite
* [PHPC-846] - Throw if maxStalenessSeconds URI option is out of range
* [PHPC-887] - Throw exceptions for unexpected types in URI options array
* [PHPC-904] - ReadPreference constructor should accept strings
* [PHPC-930] - Do not throw exceptions for critical and error levels in libmongoc log callback
* [PHPC-935] - Validate filter and options in Query constructor
* [PHPC-937] - Cursor::setTypeMap() and toPHP() should return early if type map is invalid
* [PHPC-941] - Introduce API for converting BSON to canonical and relaxed extended JSON
* [PHPC-942] - Use mongoc_uri_new_with_error() to improve URI error reporting
* [PHPC-944] - MONGOC_ERROR_COMMAND_INVALID_ARG should yield InvalidArgumentException
* [PHPC-1001] - Report field name for invalid UTF-8 and unsupported zval types during BSON encoding
1.2.11  ** Bug
* [PHPC-875] - Allow compiling without SSL

** Task
* [PHPC-1008] - Use SETUP_OPENSSL() in config.w32 if available
1.3.0RC1        ** Bug
* [PHPC-994] - Fix HAVE_SOCKLEN_T macro redefinition for Windows builds
* [PHPC-1005] - Ensure array symtable converts to object proptable in PHP 7.2
* [PHPC-1006] - Do not modify memory of Persistable::bsonSerialize() return value

** Task
* [PHPC-996] - Remove support for PHP 5.4
* [PHPC-997] - Update date/time handling code due to changes in timelib
* [PHPC-1004] - Rename ObjectID to ObjectId
* [PHPC-1007] - Upgrade libbson and libmongoc to 1.8.0
* [PHPC-1008] - Use SETUP_OPENSSL() in config.w32 if available

** Improvement
* [PHPC-1001] - Report field name for invalid UTF-8 and unsupported zval types during BSON encoding
1.2.10  ** Bug
* [PHPC-1005] - Ensure array symtable converts to object proptable in PHP 7.2
* [PHPC-1006] - Do not modify memory of Persistable::bsonSerialize() return value

** Task
* [PHPC-997] - Update date/time handling code due to changes in timelib
1.3.0beta1      ** Bug
* [PHPC-586] - Create regression tests for tailable cursor iteration
* [PHPC-624] - WriteResult::getUpsertedIds() only supports ObjectIDs and integers
* [PHPC-692] - Check for phongo_bson_to_zval_ex() failures in Server methods
* [PHPC-712] - Driver should validate BSON documents before insert and update
* [PHPC-875] - Allow compiling without SSL
* [PHPC-895] - Require 16-byte data length for Binary UUID subtypes 0x03 and 0x04
* [PHPC-914] - php mongodb connect 'SCRAM Failure: invalid salt length of 0 in sasl step2' exception
* [PHPC-939] - BSON classes should not assign public properties after var_dump()
* [PHPC-950] - Skip APM callbacks if subscriber HashTable is uninitialized
* [PHPC-951] - CursorId is a signed 64-bit integer
* [PHPC-964] - Ensure SASL output variables are always defined in config.m4
* [PHPC-974] - Converting JSON to BSON to PHP introduces gaps in array indexes
* [PHPC-981] - APM functions should reside in MongoDB\Driver\Monitoring namespace
* [PHPC-982] - Include null byte in key length when accessing subscriber HashTable in PHP 5
* [PHPC-983] - MongoDB\BSON\toPHP() arg info is missing type map parameter

** Epic
* [PHPC-909] - Spring cleaning for 1.3.0

** New Feature
* [PHPC-349] - Application Performance Monitoring (APM)
* [PHPC-382] - Allow zval_to_bson() to return the ID irrespective of ID generation
* [PHPC-471] - BulkWrite::insert() should always return the document's ID
* [PHPC-587] - CursorId should serialize to BSON as 64-bit integer
* [PHPC-772] - Parse authMechanism options in URI options array
* [PHPC-839] - Add option maxAwaitTimeMS on getMore commands
* [PHPC-926] - Implement Extended JSON spec
* [PHPC-976] - Create isDefault() method for read and write concerns
* [PHPC-985] - Implement Timestamp::getIncrement() and getTimestamp() methods
* [PHPC-988] - PHP 5.x segfault if TypeWrapper::createFromBSONType() throws exception

** Task
* [PHPC-302] - Throw exceptions for unsupported BSON types
* [PHPC-640] - Implement interfaces for userland BSON type classes
* [PHPC-765] - Connection string spec compliance
* [PHPC-892] - Upgrade libbson and libmongoc to 1.6.0
* [PHPC-907] - Remove PHONGO_API macro for exported symbols
* [PHPC-908] - Do not declare MINIT functions for each driver class
* [PHPC-910] - Reorganize BSON encoding and decoding sources
* [PHPC-911] - Prefix symbols and use static decls whenever possible
* [PHPC-915] - Document precedence of authMechanismProperties URI option over named GSSAPI options
* [PHPC-928] - Sync release files in PECL package generation script
* [PHPC-929] - Skip BSON corpus test for embedded null in code string
* [PHPC-932] - Remove reference to Manager on Cursor, Server, and WriteResult objects
* [PHPC-953] - Do not parse undocumented "database" key in URI options array
* [PHPC-957] - Use libmongoc constants for applicable URI options
* [PHPC-959] - Do not check for null return from mongoc_collection_find_with_opts()
* [PHPC-977] - Upgrade libbson and libmongoc to 1.7.0
* [PHPC-992] - Rename to[Canonical|Relaxed]JSON() to to[Canonical|Relaxed]ExtendedJSON()

** Improvement
* [PHPC-579] - Throw exception for invalid BulkWrite::update() newObj argument
* [PHPC-628] - executeBulkWrite() should throw InvalidArgumentException for empty BulkWrite
* [PHPC-846] - Throw if maxStalenessSeconds URI option is out of range
* [PHPC-887] - Throw exceptions for unexpected types in URI options array
* [PHPC-904] - ReadPreference constructor should accept strings
* [PHPC-930] - Do not throw exceptions for critical and error levels in libmongoc log callback
* [PHPC-935] - Validate filter and options in Query constructor
* [PHPC-937] - Cursor::setTypeMap() and toPHP() should return early if type map is invalid
* [PHPC-941] - Introduce API for converting BSON to canonical and relaxed extended JSON
* [PHPC-942] - Use mongoc_uri_new_with_error() to improve URI error reporting
* [PHPC-944] - MONGOC_ERROR_COMMAND_INVALID_ARG should yield InvalidArgumentException
1.2.9   ** Bug
* [PHPC-940] - php_phongo_free_ssl_opt() attempts to free interned strings
* [PHPC-948] - BSON encoding should throw on circular references
* [PHPC-949] - Memory leak if Serializable::bsonSerialize() returns keys with null bytes
1.2.8   ** Improvement
* [PHPC-936] - Define PHP_MONGODB_VERSION constant for Pickle compatibility
1.2.7   ** Bug
* [PHPC-500] - Resolve PHP 7 memory leaks
* [PHPC-931] - php_phongo_pclient_t is leaked during MSHUTDOWN
* [PHPC-933] - Unnecessary zend_string_release() in phongo_zval_to_bson() for PHP 7

** Task
* [PHPC-411] - Drop system.profile collection before tests
1.2.6   ** Bug
* [PHPC-901] - False slaveOk URI option should be ignored
* [PHPC-912] - Child processes should not destroy clients created by parent processes
* [PHPC-913] - Child process should not re-use mongoc_client_t objects from parent
* [PHPC-917] - localThresholdMS should default to 15 milliseconds
* [PHPC-923] - Use zend_string_release() to free class names
* [PHPC-924] - Cursor::setTypeMap() may unnecessarily convert first BSON document

** Task
* [PHPC-736] - Remove zend_str_tolower_dup() in ObjectID construction
* [PHPC-825] - Document URI options array for Manager constructor
* [PHPC-906] - Make test suite compatible with libbson/libmongoc 1.5.0 and 1.6.0
1.2.5   Fix Windows build scripts
1.2.4   ** Bug
* [PHPC-894] - BSON get_properties handlers leak during gc_possible_root() checks
* [PHPC-898] - readConcern option should not be included in getMore commands

** Task
* [PHPC-897] - Document that connections are initialized lazily
* [PHPC-899] - Remind users about BSON comparison behavior
1.2.3   ** Bug
* [PHPC-855] - Assertion failure in stream_not_found() after failed getmore operation
* [PHPC-856] - Build errors using bundled libbson and system libmongoc
* [PHPC-872] - Do not use system crypto policy for OpenSSL on Windows
* [PHPC-878] - php_json_serializable_ce missing in PHP versions before 5.5.10 and 5.4.26
* [PHPC-879] - php_date_get_immutable_ce missing in PHP versions before 5.6.8 and 5.5.24
* [PHPC-881] - Windows CA stores should be opened with read-only flag
* [PHPC-883] - BSON array keys should be disregarded during visitation
* [PHPC-884] - Public property with zero-length name ignored during BSON encoding
* [PHPC-885] - Alphabetize Regex flags when instantiating from BSON
* [PHPC-886] - Always recalculate field name length when encoding BSON
* [PHPC-891] - BSON encoding should throw if PHP keys contain null bytes

** Improvement
* [PHPC-635] - WriteResult debug handler should return objects
* [PHPC-873] - Do not allow mixing bundled and system libbson and libmongoc libraries

** Task
* [PHPC-633] - Add lines to phpinfo() output regarding support for SSL and SASL
* [PHPC-714] - Implement BSON corpus test suite
* [PHPC-890] - Add license header to source files
1.2.2   ** Bug
* [PHPC-849] - Cursor::setTypeMap() leaks current element if called during iteration
* [PHPC-851] - Segfault when ReadPreference tag sets are an immutable array
* [PHPC-852] - Do not depend on date and standard extensions in config.w32
* [PHPC-853] - config.w32 fails to generate all libmongoc and libbson version constants
* [PHPC-854] - Client persistence crashes with ZTS (e.g. Apache)
1.2.1   ** Bug
* [PHPC-848] - Fix BSON encoding of immutable arrays and documents with circular references
1.1.10  * PHPC-848: Consult ZEND_HASH_APPLY_PROTECTION() in PHP7
1.2.0   ** Bug
* [PHPC-316] - config.w32 should define MONGOC_ENABLE_SASL
* [PHPC-447] - Windows builds should generate libmongoc and libbson config and version files
* [PHPC-481] - Windows reports wrong mongoc and libbson versions
* [PHPC-520] - Document driver dependencies
* [PHPC-525] - Demonstrate non-empty $filter argument in Query constructor example
* [PHPC-530] - Document MongoDB\Driver\Server type constants
* [PHPC-554] - Rephrase unsupported/corrupt BSON messages
* [PHPC-625] - Document that persistent sockets should not be re-used after forking
* [PHPC-673] - Cursor::isDead() returns true despite cursor being alive
* [PHPC-674] - Advise users to install pkg-config for building the driver
* [PHPC-693] - Unacknowledged WriteResults have null counts
* [PHPC-728] - Wrong example on how to provide client certificate
* [PHPC-748] - CursorID is not properly expressed on 32-bit platforms
* [PHPC-756] - fromJSON() should not evaluate bson_error_t.message as boolean
* [PHPC-762] - undefined symbol: mongoc_write_concern_is_acknowledged
* [PHPC-788] - Timestamp on 32-bit platforms breaks
* [PHPC-790] - UTCDateTime constructor should truncate floats
* [PHPC-794] - BulkWrite::update() silently ignores invalid arguments
* [PHPC-801] - Empty ReadConcern and WriteConcern should serialize to BSON documents
* [PHPC-804] - Timestamp and UTCDateTime constructors should accept integers in strict types mode
* [PHPC-838] - Javascript objects are always serialized as BSON code types without scope

** Epic
* [PHPC-542] - Remove dependency on mongoc private symbols

** Improvement
* [PHPC-359] - Ensure read preference tags sets serialize as documents
* [PHPC-424] - Validate that read preference tag set is an array of documents
* [PHPC-433] - Persist topology state between requests
* [PHPC-486] - Add syntax highlighting to BSON persistence articles
* [PHPC-637] - Remind users that connection URIs should be encoded
* [PHPC-654] - Implement comparison handlers for BSON types
* [PHPC-676] - Do not allow BulkWrite objects to be executed multiple times
* [PHPC-684] - Report bypassDocumentValidation in BulkWrite debug output
* [PHPC-705] - Do not unnecessarily wrap filters in $query
* [PHPC-721] - Javascript constructor should throw if code contains null bytes
* [PHPC-724] - Regex constructor should throw if pattern or flags contain null bytes
* [PHPC-726] - Allow cross-platform serialization of Timestamp and UTCDateTime
* [PHPC-731] - Parse Timestamp argument as strings to accept large integers
* [PHPC-739] - Rename "javascript" to "code" in Javascript BSON class
* [PHPC-741] - Use consistent exceptions for BSON initialization methods
* [PHPC-742] - Regex constructor should default flags arg to empty string
* [PHPC-744] - Improve error messages for invalid Decimal128 and ObjectID strings
* [PHPC-746] - Default Manager URI to "mongodb://127.0.0.1/"
* [PHPC-754] - Remove libmongoc-priv system dependency in config.m4
* [PHPC-755] - Remove include of private mongoc-trace.h

** New Feature
* [PHPC-459] - BSON objects should implement JsonSerializable
* [PHPC-460] - BSON classes should support PHP serialization and var_export()
* [PHPC-498] - ReadPreference, ReadConcern, and WriteConcern should serialize to BSON
* [PHPC-536] - UTCDateTime constructor should default to current time and accept DateTimeInterface
* [PHPC-552] - Implement ObjectID::getTimestamp() method
* [PHPC-619] - Implement Decimal 128 type spec
* [PHPC-716] - Support new readConcern level "linearizable"
* [PHPC-729] - Implement __toString() method for Javascript and Binary
* [PHPC-730] - Implement getCode() and getScope() for Javascript
* [PHPC-734] - Support providing collation per operation
* [PHPC-752] - Allow users to set a limit on acceptable staleness
* [PHPC-757] - Implement The MongoDB Handshake Protocol
* [PHPC-786] - Support appname in URI array options

** Question
* [PHPC-723] - Blocking connect() leads to cumulative timeouts for multiple inaccessible servers

** Task
* [PHPC-313] - BSON should throw when encountering 64-bit integer on 32-bit platform
* [PHPC-416] - Document SSL options
* [PHPC-504] - Document how RP, RC, and WC are serialized to BSON
* [PHPC-533] - Remove PHONGO_API macro for exported functions
* [PHPC-584] - Remove MkDocs documentation in favor of PHP.net documentation
* [PHPC-600] - Manager::getServers() should use mongoc_client_get_server_descriptions()
* [PHPC-601] - Cursor::getServer() should not access mongoc_cursor_t.client
* [PHPC-602] - Create command cursors with mongoc_cursor_new_from_command_document()
* [PHPC-603] - Use mongoc_read_prefs_t getters instead of accessing struct fields directly
* [PHPC-604] - WriteConcern::getJournal() should use mongoc_write_concern_journal_is_set()
* [PHPC-605] - Rely on libmongoc's socket handling and SSL implementation
* [PHPC-606] - Use mongoc_server_description_t public API
* [PHPC-607] - Manager::selectServer() should use mongoc_client_select_server()
* [PHPC-609] - Ensure client URI handling uses libmongoc public API
* [PHPC-610] - Client construction should use mongoc_write_concern_is_valid()
* [PHPC-611] - WriteResult::isAcknowledged() should use mongoc_write_concern_is_acknowledged()
* [PHPC-618] - Implement SDAM Monitoring spec
* [PHPC-629] - Upgrade libbson and libmongoc to 1.4.0
* [PHPC-630] - Update bson_visitor_t for unsupported type function pointer
* [PHPC-653] - Document WriteResult, WriteConcernError, and WriteError classes
* [PHPC-659] - Update bson_visitor_t for decimal 128 type function pointer
* [PHPC-662] - Use mongoc_bulk_operation_get_hint()
* [PHPC-663] - Use mongoc_bulk_operation_get_write_concern()
* [PHPC-664] - Use mongoc_write_concern_get_w()
* [PHPC-665] - Remove private libmongoc and libbson header includes
* [PHPC-680] - BulkWrite::count() should return number of operations instead of estimated round-trips
* [PHPC-682] - Do not use mongoc_bulk_operation_t private API in BulkWrite debug handler
* [PHPC-687] - Consolidate struct definitions for PHP 5 and 7
* [PHPC-688] - Do not use mongoc_cursor_t private API in Cursor debug handler
* [PHPC-689] - Query and command execution should use mongoc_cursor_set_hint()
* [PHPC-703] - Update configure scripts for upstream SSL changes
* [PHPC-704] - Do not set "mongodb.debug" based on Manager's $driverOptions["debug"]
* [PHPC-708] - Port http://php.net/manual/en/mongo.security.php to the new docs/driver
* [PHPC-718] - Define extension dependencies
* [PHPC-751] - Document MongoDB\BSON\Decimal128
* [PHPC-758] - Disable Decimal128 for bundled libbson and libmongoc 1.4.0
* [PHPC-761] - Remove BSON_NAMESPACE constant
* [PHPC-769] - Javascript serialization, export, and dump should always include scope field
* [PHPC-777] - Document MongoDB\Driver\ReadConcern::LINEARIZABLE
* [PHPC-779] - Switch serialization from O type to C type
* [PHPC-780] - Document persistent connection behavior
* [PHPC-783] - Use mongoc_collection_find_with_opts() for Query execution
* [PHPC-789] - Remove __wakeup from BSON/* classes
* [PHPC-791] - Upgrade libbson and libmongoc to 1.5.0
* [PHPC-796] - Use flexible opts for BulkWrite update and delete
* [PHPC-799] - Create notice for all third party libraries
* [PHPC-805] - Query "partial" option is now "allowPartialResults"
* [PHPC-806] - Document Query options for mongoc_collection_find_with_opts()
* [PHPC-807] - Document "collation" option for Query and BulkWrite update/delete
* [PHPC-824] - SDAM spec update : Update the topology from each handshake
* [PHPC-826] - Document that socket paths must be URL-encoded
* [PHPC-827] - Update Max Staleness implementation
* [PHPC-829] - BSON Regex flags must be alphabetically ordered
1.1.9   * PHPC-820: Upgrade libbson and libmongoc to 1.3.6
* PHPC-820: Upgrade libbson and libmongoc to 1.3.6
1.2.0alpha3     ** Bug
* [PHPC-794] - BulkWrite::update() silently ignores invalid arguments

** Improvement
* [PHPC-424] - Validate that read preference tag set is an array of documents
* [PHPC-705] - Do not unnecessarily wrap filters in $query

** New Feature
* [PHPC-498] - ReadPreference, ReadConcern, and WriteConcern should serialize to BSON
* [PHPC-734] - Support providing collation per operation
* [PHPC-752] - Allow users to set a limit on acceptable staleness

** Task
* [PHPC-783] - Use mongoc_collection_find_with_opts() for Query execution
* [PHPC-796] - Use flexible opts for BulkWrite update and delete
1.2.0alpha2     ** Bug
* [PHPC-762] - undefined symbol: mongoc_write_concern_is_acknowledged

** Improvement
* [PHPC-433] - Persist topology state between requests
* [PHPC-726] - Allow cross-platform serialization of Timestamp and UTCDateTime
* [PHPC-731] - Parse Timestamp argument as strings to accept large integers
* [PHPC-742] - Regex constructor should default flags arg to empty string
* [PHPC-744] - Improve error messages for invalid Decimal128 and ObjectID strings

** New Feature
* [PHPC-552] - Implement ObjectID::getTimestamp() method
* [PHPC-716] - Support new readConcern level "linearizable"
* [PHPC-757] - Implement The MongoDB Handshake Protocol
* [PHPC-786] - Support appname in URI array options

** Task
* [PHPC-605] - Rely on libmongoc's socket handling and SSL implementation
* [PHPC-629] - Upgrade libbson and libmongoc to 1.4.0
* [PHPC-704] - Do not set "mongodb.debug" based on Manager's $driverOptions["debug"]
* [PHPC-761] - Remove BSON_NAMESPACE constant
* [PHPC-769] - Javascript serialization, export, and dump should always include scope field
* [PHPC-779] - Switch serialization from O type to C type
* [PHPC-789] - Remove __wakeup from BSON/* classes
1.2.0alpha1     ** Bug
* [PHPC-316] - config.w32 should define MONGOC_ENABLE_SASL
* [PHPC-447] - Windows builds should generate libmongoc and libbson config and version files
* [PHPC-481] - Windows reports wrong mongoc and libbson versions
* [PHPC-530] - Document MongoDB\Driver\Server type constants
* [PHPC-554] - Rephrase unsupported/corrupt BSON messages
* [PHPC-673] - Cursor::isDead() returns true despite cursor being alive
* [PHPC-693] - Unacknowledged WriteResults have null counts
* [PHPC-728] - Wrong example on how to provide client certificate
* [PHPC-748] - CursorID is not properly expressed on 32-bit platforms

** Improvement
* [PHPC-486] - Add syntax highlighting to BSON persistence articles
* [PHPC-684] - Report bypassDocumentValidation in BulkWrite debug output
* [PHPC-721] - Javascript constructor should throw if code contains null bytes
* [PHPC-724] - Regex constructor should throw if pattern or flags contain null bytes
* [PHPC-739] - Rename "javascript" to "code" in Javascript BSON class
* [PHPC-741] - Use consistent exceptions for BSON initialization methods
* [PHPC-746] - Default Manager URI to "mongodb://127.0.0.1/"
* [PHPC-754] - Remove libmongoc-priv system dependency in config.m4
* [PHPC-755] - Remove include of private mongoc-trace.h

** New Feature
* [PHPC-460] - BSON classes should support PHP serialization and var_export()
* [PHPC-536] - UTCDateTime constructor should default to current time and accept DateTimeInterface
* [PHPC-619] - Implement Decimal 128 type spec
* [PHPC-729] - Implement __toString() method for Javascript and Binary
* [PHPC-730] - Implement getCode() and getScope() for Javascript

** Task
* [PHPC-600] - Manager::getServers() should use mongoc_client_get_server_descriptions()
* [PHPC-601] - Cursor::getServer() should not access mongoc_cursor_t.client
* [PHPC-602] - Create command cursors with mongoc_cursor_new_from_command_document()
* [PHPC-603] - Use mongoc_read_prefs_t getters instead of accessing struct fields directly
* [PHPC-604] - WriteConcern::getJournal() should use mongoc_write_concern_journal_is_set()
* [PHPC-606] - Use mongoc_server_description_t public API
* [PHPC-607] - Manager::selectServer() should use mongoc_client_select_server()
* [PHPC-609] - Ensure client URI handling uses libmongoc public API
* [PHPC-610] - Client construction should use mongoc_write_concern_is_valid()
* [PHPC-611] - WriteResult::isAcknowledged() should use mongoc_write_concern_is_acknowledged()
* [PHPC-630] - Update bson_visitor_t for unsupported type function pointer
* [PHPC-659] - Update bson_visitor_t for decimal 128 type function pointer
* [PHPC-662] - Use mongoc_bulk_operation_get_hint()
* [PHPC-663] - Use mongoc_bulk_operation_get_write_concern()
* [PHPC-664] - Use mongoc_write_concern_get_w()
* [PHPC-665] - Remove private libmongoc and libbson header includes
* [PHPC-680] - BulkWrite::count() should return number of operations instead of estimated round-trips
* [PHPC-682] - Do not use mongoc_bulk_operation_t private API in BulkWrite debug handler
* [PHPC-687] - Consolidate struct definitions for PHP 5 and 7
* [PHPC-688] - Do not use mongoc_cursor_t private API in Cursor debug handler
* [PHPC-689] - Query and command execution should use mongoc_cursor_set_hint()
* [PHPC-703] - Update configure scripts for upstream SSL changes
* [PHPC-708] - Port http://php.net/manual/en/mongo.security.php to the new docs/driver
* [PHPC-758] - Disable Decimal128 for bundled libbson and libmongoc 1.4.0


To generate a diff of this commit:
cvs rdiff -u -r1.1 -r1.2 pkgsrc/databases/php-mongodb/Makefile \
    pkgsrc/databases/php-mongodb/distinfo
cvs rdiff -u -r1.1 -r1.2 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.1 pkgsrc/databases/php-mongodb/Makefile:1.2
--- pkgsrc/databases/php-mongodb/Makefile:1.1   Thu Aug  4 16:03:53 2016
+++ pkgsrc/databases/php-mongodb/Makefile       Wed Dec  6 21:18:00 2017
@@ -1,7 +1,7 @@
-# $NetBSD: Makefile,v 1.1 2016/08/04 16:03:53 jdolecek Exp $
+# $NetBSD: Makefile,v 1.2 2017/12/06 21:18:00 jdolecek Exp $
 
 MODNAME=               mongodb
-PECL_VERSION=          1.1.8
+PECL_VERSION=          1.3.4
 CATEGORIES+=           databases
 
 MAINTAINER=            bartosz.kuzma%gmail.com@localhost
@@ -9,7 +9,15 @@ HOMEPAGE=              http://docs.mongodb.org/ecosy
 COMMENT=               MongoDB database driver
 LICENSE=               apache-2.0
 
+CONFIGURE_ARGS+=       --with-libbson
+CONFIGURE_ARGS+=       --with-libmongoc
+CONFIGURE_ARGS+=       --with-openssl-dir=${BUILDLINK_PREFIX.openssl}
+
+DEPENDS+=              ${PHP_PKG_PREFIX}-json>=5.3.0:../../textproc/php-json
+
 .include "../../security/openssl/buildlink3.mk"
-.include "../../databases/libmongo-client/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.1 pkgsrc/databases/php-mongodb/distinfo:1.2
--- pkgsrc/databases/php-mongodb/distinfo:1.1   Thu Aug  4 16:03:53 2016
+++ pkgsrc/databases/php-mongodb/distinfo       Wed Dec  6 21:18:00 2017
@@ -1,7 +1,7 @@
-$NetBSD: distinfo,v 1.1 2016/08/04 16:03:53 jdolecek Exp $
+$NetBSD: distinfo,v 1.2 2017/12/06 21:18:00 jdolecek Exp $
 
-SHA1 (php-mongodb/mongodb-1.1.8.tgz) = eb81fe05cf6c83d92b2416adb6f5a000baaa33d6
-RMD160 (php-mongodb/mongodb-1.1.8.tgz) = 9ef3740c43f951f78deb8f85075ffda896bb5407
-SHA512 (php-mongodb/mongodb-1.1.8.tgz) = 1026b4081cd1c35f1f6fee6332c21dbe739320236377c0ed21b8d64447a9ba26464a919ceb9c16b332a64f12b834700472d6cbfb336d09d841c97ca0b402bf17
-Size (php-mongodb/mongodb-1.1.8.tgz) = 806900 bytes
-SHA1 (patch-config.m4) = cbf500e990d2b9e8eea895cb6e1e9f9a0b62022a
+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 (patch-config.m4) = 54a41bf20a5a0b2972920620698ecf2bb8c358dd

Index: pkgsrc/databases/php-mongodb/patches/patch-config.m4
diff -u pkgsrc/databases/php-mongodb/patches/patch-config.m4:1.1 pkgsrc/databases/php-mongodb/patches/patch-config.m4:1.2
--- pkgsrc/databases/php-mongodb/patches/patch-config.m4:1.1    Thu Aug  4 16:03:53 2016
+++ pkgsrc/databases/php-mongodb/patches/patch-config.m4        Wed Dec  6 21:18:00 2017
@@ -1,10 +1,28 @@
-$NetBSD: patch-config.m4,v 1.1 2016/08/04 16:03:53 jdolecek Exp $
+$NetBSD: patch-config.m4,v 1.2 2017/12/06 21:18:00 jdolecek Exp $
 
---- config.m4.orig     2016-08-04 15:57:53.000000000 +0000
+--- config.m4.orig     2017-12-01 18:41:35.000000000 +0000
 +++ config.m4
-@@ -468,11 +468,11 @@ dnl }}}
-   PHP_ADD_BUILD_DIR([$ext_builddir/src/MongoDB/])
+@@ -216,7 +216,7 @@ if test "$MONGODB" != "no"; then
+   [  --with-libmongoc           Use system libmongoc], no, no)
+ 
+   if test "$PHP_LIBBSON" != "no"; then
+-    if test "$PHP_LIBMONGOC" == "no"; then
++    if test "$PHP_LIBMONGOC" = "no"; then
+       AC_MSG_ERROR(Cannot use system libbson and bundled libmongoc)
+     fi
+ 
+@@ -254,7 +254,7 @@ if test "$MONGODB" != "no"; then
+   AC_MSG_RESULT(...)
+ 
+   if test "$PHP_LIBMONGOC" != "no"; then
+-    if test "$PHP_LIBBSON" == "no"; then
++    if test "$PHP_LIBBSON" = "no"; then
+       AC_MSG_ERROR(Cannot use system libmongoc and bundled libbson)
+     fi
+ 
+@@ -402,11 +402,11 @@ if test "$MONGODB" != "no"; then
    PHP_ADD_BUILD_DIR([$ext_builddir/src/MongoDB/Exception/])
+   PHP_ADD_BUILD_DIR([$ext_builddir/src/MongoDB/Monitoring/])
    PHP_ADD_BUILD_DIR([$ext_builddir/src/contrib/])
 -  if test "$PHP_LIBMONGOC" == "no"; then
 +  if test "$PHP_LIBMONGOC" = "no"; then
@@ -16,7 +34,7 @@ $NetBSD: patch-config.m4,v 1.1 2016/08/0
      m4_include(src/libbson/build/autotools/CheckAtomics.m4)
      m4_include(src/libbson/build/autotools/FindDependencies.m4)
      m4_include(src/libbson/build/autotools/m4/ac_compile_check_sizeof.m4)
-@@ -517,7 +517,7 @@ dnl }}}
+@@ -449,7 +449,7 @@ if test "$MONGODB" != "no"; then
      AC_SUBST(BSON_HAVE_SNPRINTF, 0)
    fi
  
@@ -25,7 +43,7 @@ $NetBSD: patch-config.m4,v 1.1 2016/08/0
      backup_srcdir=${srcdir}
      srcdir=${srcdir}/src/libmongoc/
      m4_include(src/libmongoc/build/autotools/Versions.m4)
-@@ -531,7 +531,7 @@ dnl }}}
+@@ -463,7 +463,7 @@ if test "$MONGODB" != "no"; then
      AC_OUTPUT($srcdir/src/libmongoc/src/mongoc/mongoc-config.h)
      AC_OUTPUT($srcdir/src/libmongoc/src/mongoc/mongoc-version.h)
    fi



Home | Main Index | Thread Index | Old Index