Commit Graph

172 Commits

Author SHA1 Message Date
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
Jeremy Mikola
dee8c6d25a PHPC-1185: Revert support for building with GSSAPI
libmongoc does not actually support GSSAPI (CDRIVER-2170), so we should not allow building with it. This also reverts preference for the GSS framework on macOS (PHPC-1142).
2018-05-22 16:25:24 -04:00
Jeremy Mikola
7c0ccd3e20 PHPC-1174: Upgrade bundled libmongoc to 1.10.0 2018-05-21 12:41:35 -04:00
Jeremy Mikola
ce45de41fa PHPC-1174: Bump libbson and libmongoc to 1.10.0-dev
This consolidates CFLAGS for bundled libraries, adds a new "common/" build path, and defines new constants as needed.
2018-05-18 11:45:35 -04:00
Jeremy Mikola
4d9dd87c2c Remove "build/" from autotools scripts path
GitHub's file finder filters out "build/" directories, among others, which can make it difficult to quickly access these files. Also, the "build/" directory doesn't provide much value here, since it only contains "autotools/".
2018-05-16 11:03:46 -04:00
Jeremy Mikola
746f92e948 Add CFLAGS directly instead of relying on PHP_EVAL_INCLINE 2018-05-14 18:22:23 -04:00
Jeremy Mikola
c0fc8dd783 PHPC-759: Fix pthread linking for static builds 2018-05-14 18:22:23 -04:00
Jeremy Mikola
dd36d744d9 PHPC-759: Flexible macros for adding sources, includes, and build paths 2018-05-14 17:59:01 -04:00
Jeremy Mikola
7d1de0d029 Move pthreads CFLAG/LIBS additions to AX_PTHREAD's action-if-found 2018-05-14 17:59:01 -04:00
Jeremy Mikola
c90422ce40 PHPC-1186: Consolidate libbson and libmongoc build configs 2018-05-10 11:11:30 -04:00
Jeremy Mikola
88bdd78f98 PHPC-1185: Warn for unrecognized mongodb-sasl values 2018-05-09 11:36:09 -04:00
Jeremy Mikola
aab92e1d3e PHPC-1185: Support GSSAPI via mongodb-sasl config option
While libmongoc's CheckSasl.m4 was able to detect Cyrus SASL 1.x, PHPC's config.m4 always required 2.x so we've not imported that bit.

This also prefers native GSSAPI on macOS over Cyrus SASL (PHPC-1142).
2018-05-09 11:36:09 -04:00
Derick Rethans
89e34e39f8 Merge branch 'v1.4' 2018-04-11 10:36:39 +01:00
Derick Rethans
cb81027747 PHPC-1156: Prefer Secure Transport over OpenSSL with --with-mongodb-ssl on Darwin 2018-04-11 10:36:10 +01:00
Jeremy Mikola
a71b440257 PHPC-1118: Require clang-format >= 6.0.0 2018-02-23 10:32:14 +00:00
Derick Rethans
125c99fb6a PHPC-1118: Add detection of the correct clang-format binary 2018-02-23 10:32:14 +00:00
Derick Rethans
4ccf3ae33a PHPC-1127: Remove old MO tests 2018-02-22 16:51:37 +00:00
Derick Rethans
0a5fd12e20 PHPC-1118: Implement use of clang-format 2018-02-20 17:06:55 +00:00
Derick Rethans
0002e2d37c Move crypto system profile flags below OpenSSL detection
This makes for more chronological configure output
2018-01-22 12:02:44 -05:00
Derick Rethans
c2988bb9a7 PHPC-888: Make sure you can only select "darwin" on macOS 2018-01-22 12:02:31 -05:00
Jeremy Mikola
d679bfe152 PHPC-888: Support additional TLS libraries for bundled libmongoc 2018-01-22 12:01:47 -05:00
Derick Rethans
d1563898e6 Disable tests for Int64 type that can not work on a 32-bit platform 2018-01-11 14:57:02 +00:00
Jeremy Mikola
6ca8c7fbc1 Remove redundant REPLICASET_36 mo environment 2018-01-08 10:28:56 -05:00
Jeremy Mikola
9812d6713e Upgrade VM to trusty64 and revise mo installation
This also removes unused server versions.
2018-01-08 10:28:56 -05:00
Jeremy Mikola
34e23e970f Fix whitespace 2018-01-08 10:28:56 -05:00
Derick Rethans
d981fff0d3 PHPC-1065: Enable BSON corpus tests for deprecated types 2018-01-03 10:31:52 +00:00
Jeremy Mikola
ccd938fe17 Remove traces of deprecated nohttpinterface CLI opt 2017-12-06 17:48:06 -05:00
Jeremy Mikola
324d969faf Bump 3.6.0-rc3 to 3.6.0 for Mongo Orchestration 2017-12-06 17:47:54 -05:00
Jeremy Mikola
401f46b515 Remove nohttpinterface from replicaset-dns MO configs
This option is no longer supported in 3.6 (see: #687)
2017-12-05 15:06:26 -05:00
Jeremy Mikola
d504bfea37 nohttpinterface is not supported by mongod 3.6
3.6 is the first and default release version in the MO config and specifying an unsupported command line options prevents the replicaset configuration from starting (in turn, start-servers.php fails).
2017-12-05 08:35:57 -05:00
Derick Rethans
fec7488dce PHPC-1015: Add test for DNS Initial Seedlist
We'll need to decide whether we want to always run this. Starting up a whole
replicaset for one test is a waste of resources really.
2017-12-05 10:36:20 +00:00
Derick Rethans
b3dcff2841 Fixed tests, as they need MongoDB 3.6 2017-11-23 17:47:37 +00:00
Derick Rethans
aa1eb0b8cd PHPC-1047: Add MongoDB 3.6 to test framework 2017-11-23 12:44:22 +00:00