154 Commits

Author SHA1 Message Date
Andreas Braun
9e9acf427c Fix wrong assignment of MONGOC_HAVE_SS_FAMILY (#1169) 2020-10-22 14:34:55 +02:00
Andreas Braun
5e750a86b2 PHPC-1533: Add first OCSP test 2020-05-19 20:21:51 +02:00
Jeremy Mikola
d97a66a545 PHPC-1313: Support Zstandard compression 2020-05-13 10:56:14 -04:00
Andreas Braun
9ac6f237b0 Update to latest libmongoc version 2020-02-28 08:20:25 +01:00
Andreas Braun
7cea21a25a PHPC-1496: Add support for compiling with libmongocrypt 2020-01-08 12:41:41 +01:00
Andreas Braun
6abb38feb7 Update to latest libmongoc version 2019-12-19 15:38:04 +01:00
Andreas Braun
5fd52869e2 PHPC-889: Validate Javascript scope on BSON decoding 2019-10-25 11:25:28 +02:00
Andreas Braun
201acd92f4 PHPC-1290: Update sharded test clusters to have multiple mongoses
This is necessary because session pinning doesn't work when connected to a single mongos node
2019-08-28 20:10:47 +02:00
Andreas Braun
ea7489bf72 PHPC-1369: Update libmongoc to latest 1.15-dev 2019-08-12 07:49:29 +02:00
Andreas Braun
5ea668e0b9 PHPC-1320: Regenerate test certificates with SHA256 signatures 2019-07-30 11:07:23 +02:00
Jeremy Mikola
d145409286 PHPC-1364: Upgrade libmongoc to 1.14.0
Per src/libmongoc/doc/installing.rst, the VERSION_CURRENT and VERSION_RELEASED files must now be generated. This requires Python and the GitPython pip module to run src/libmongoc/build/calc_release_version.py. A new libmongoc-version-current Makefile target has been added.
2019-05-01 13:42:38 -04:00
Jeremy Mikola
8dabad6016 Use sslAllowConnectionsWithoutCertificates for STANDALONE_SSL
This option was introduced in 3.0 and supersedes sslWeakCertificateValidation.
2019-02-27 20:02:19 -05:00
Jeremy Mikola
7add0373ee Remove sslAllowInvalidHostnames from STANDALONE_SSL params
sslWeakCertificateValidation is more permissive, so this may be redundant. MO's own configurations don't specify this for SSL environments.
2019-02-27 20:02:19 -05:00
Derick Rethans
5eb09774a7 PHPC-864: Add storage engines to Evergreen matrix 2019-02-14 15:35:31 -05:00
Derick Rethans
55a9c8f2c3 PHPC-1180: Renew SSL certificates 2019-02-14 15:35:31 -05:00
Derick Rethans
768882dd3a PHPC-1240: Remove nssize and smallfiles 2019-02-14 15:35:31 -05:00
Derick Rethans
f98873ba92 Don't set the dbpath 2019-02-14 15:35:31 -05:00
Derick Rethans
f08b94b282 Replace directory env variable for SSL config settings 2019-02-14 15:35:30 -05:00
Derick Rethans
c6d6a5cfcb Don't set the dbpath at all 2019-02-14 15:35:30 -05:00
Derick Rethans
cee996bc79 Add preliminary Evergreen Config 2019-02-14 15:35:30 -05:00
Peter Kokot
644a2b355c Fix AC_CHECK_FUNC macro call syntax for rand_r()
The AC_CHECK_FUNC macro has only the following form:
AC_CHECK_FUNC(function, [action-if-found], [action-if-not-found])
In most cases adding more arguments to macro call don't cause errors,
but it also doesn't have any functionality either.
2018-10-02 13:54:32 +01:00
Derick Rethans
897c3f5b4b Merge branch 'v1.5' 2018-08-30 11:45:37 +01:00
Derick Rethans
9a27390d4e PHPC-1184: Added replica set with auth 2018-08-30 11:44:07 +01:00
Chris Wright
79d0054abf PHPC-1241: OpenSSL 1.1 not found if pkg-config is not available 2018-08-21 12:03:12 +01:00
Derick Rethans
6563d28e50 PHPC-1184: Add replica set with single node 2018-08-08 17:11:51 +01:00
Derick Rethans
2263fd1434 PHPC-1184: Added sharded cluster with replica set shards 2018-08-07 12:29:48 +01:00
Peter Kokot
394eb79c3d Replace obsolete AC_TRY_LINK with AC_LINK_IFELSE
The AC_TRY_LINK macro has been made obsolete in Autoconf 2.50 in 2001.
It should be replaced with AC_LINK_IFELSE instead.

Systems should by now well support this, since PHP 5.3 required Autoconf
2.13+ (released in 1999) or newer, PHP 5.4 required Autoconf 2.59+
(released in 2003), and since PHP 7.2, Autoconf 2.64+ (released in 2008)
is required and for PHP 7.2 phpize the Autoconf 2.59+ is required.

Refs:
- https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/AC_005fACT_005fIFELSE-vs-AC_005fTRY_005fACT.html
- https://www.gnu.org/software/autoconf/manual/autoconf-2.69/html_node/Obsolete-Macros.html
2018-07-24 11:11:47 +01:00
Peter Kokot
a3d806c155 Remove unused autotools macro AC_COMPILE_CHECK_SIZEOF
The AC_COMPILE_CHECK_SIZEOF is from the GNU Autoconf Archive and was
renamed to AX_COMPILE_CHECK_SIZEOF. However this macro is not used in
current MongoDB PHP extension nor in the mongo-c-driver dependency
anymore.
2018-07-24 11:09:06 +01:00
Derick Rethans
7212d65b16 Merge branch 'v1.5' 2018-07-20 16:40:02 +01:00
Derick Rethans
923b925077 PHPC-1184: Add MongoDB 3.0 replicaset to Travis 2018-07-20 16:39:37 +01:00
Peter Kokot
0d8d7be941 Replace AC_HELP_STRING with AS_HELP_STRING
The AC_HELP_STRING has been made obsolete since Autoconf 2.58 somewhere
in 2003. The new AS_HELP_STRING macro has been since recommended to be
used and should be today supported on most systems out there. The phpize
script for PHP 7.2+ requires Autoconf 2.59 and PHP requires 2.64.

This patch has been made with the help of the autoupdate script.

Autoconf changelog:
- http://git.savannah.gnu.org/cgit/autoconf.git/tree/ChangeLog.3
2018-07-20 09:02:50 +02:00
Derick Rethans
da240406d3 PHPC-1241: OpenSSL 1.1 not found if pkg-config is not available 2018-07-17 11:11:11 +01:00
Chris Wright
d2b2bd5037 Fix build against OpenSSL 1.1 without pkg-config 2018-07-17 11:10:01 +01:00
Derick Rethans
3678fa5236 PHPC-1184: Add alternative topologies to Travis 2018-07-16 10:30:39 +01:00
Derick Rethans
ab2f578ca3 PHPC-1221: Accept "yes" and no value for non-binary PHP_ARG_WITH() options 2018-06-28 16:38:45 +01:00
Jeremy Mikola
0f07beb7c5 PHPC-1211: Update SKIPIFs for 32-bit platforms 2018-06-22 13:07:33 -04:00
Jeremy Mikola
d4c2e3346b Use common failed() function to print timing info and exit 2018-06-21 10:39:52 -04:00
Jeremy Mikola
6b5d95301f Reorder bind_ip addresses to work around SERVER-35705
This fixes an issue introduced in 0f2e38730b. Trailing colons causes mongod to incorrectly assume the legacy config file produced by MO is in YAML format. We can work around this by swapping the order of the IPv6 and IPv4 addresses.
2018-06-20 14:08:55 -04:00
Jeremy Mikola
42cde0d409 Improve error reporting in start-errors.php 2018-06-20 11:24:58 -04:00
Jeremy Mikola
eb45e41e38 Print json_decode() errors in start-servers.php 2018-06-20 11:24:31 -04:00
Jeremy Mikola
e7586dc191 Remove trailing newlines in MO configs 2018-06-20 10:23:02 -04:00
Jeremy Mikola
8b19fcbc15 Change tab indents to spaces in RS MO configs 2018-06-20 09:33:00 -04:00
Jeremy Mikola
9a83bde582 Add nssize and smallfiles to MO standalone procParams
Replica set configs already use these.
2018-06-20 09:23:58 -04:00
Jeremy Mikola
2ef765acaf Remove deprecated noprealloc option from MO procParams 2018-06-20 09:21:53 -04:00
Derick Rethans
b172a20c31 PHPC-1140: Implement Transactions specification 2018-06-19 14:47:29 +01:00
Derick Rethans
0f2e38730b Add 4.0 to Vagrant test set-up 2018-06-19 11:15:58 +01:00
Derick Rethans
ab1f151e04 PHPC-1193: Bump libmongoc to 1.11 (and add ICU check) 2018-06-07 16:40:22 +01:00
Jeremy Mikola
b9f1a1fcf8 PHPC-1198: Use PHP_MONGODB_BUNDLED_CFLAGS in bundled m4 scripts
This was missed in ce45de41fa.
2018-05-30 12:22:47 -04:00
Jeremy Mikola
73489c5463 PHPC-1174: Remove traces of bson-stdint.h
The output path for this file was left incorrect in the previous PR for PHPC-1174, but the file isn't actually even used anymore per mongodb/mongo-c-driver@abc882dec9 (CDRIVER-2473).
2018-05-24 15:57:54 -04:00
Jeremy Mikola
66bdd83c98 PHPC-1185: Restore sasl_client_done check
The check for sasl_client_done was inadvertently removed by aab92e1d3e. This ensures that we check for the symbol regardless of whether SASL was found with pgk-config or PHP_CHECK_LIBRARY.
2018-05-22 16:25:24 -04:00