Update mongodb to 2.4.7. Still BROKEN, but a bit closer to working.

This also switches the javascript backend from spidermonkey to v8, as
support for the former has already been removed in the mongodb repo.

"since it's broken go ahead and commit that" fgsch@
This commit is contained in:
joshe 2013-12-10 17:30:40 +00:00
parent 3e1200c2c2
commit d159a285f5
10 changed files with 321 additions and 95 deletions

View File

@ -1,4 +1,4 @@
# $OpenBSD: Makefile,v 1.10 2013/03/11 02:52:05 espie Exp $
# $OpenBSD: Makefile,v 1.11 2013/12/10 17:30:40 joshe Exp $
BROKEN = broken after rthreads switch
@ -7,11 +7,10 @@ ONLY_FOR_ARCHS = i386 amd64
COMMENT = scalable, high-performance document-oriented database
DISTNAME = mongodb-src-r2.0.1
DISTNAME = mongodb-src-r2.4.7
PKGNAME = ${DISTNAME:S/src-r//}
REVISION = 0
SHARED_LIBS = mongoclient 1.0
SHARED_LIBS = mongoclient 2.0
CATEGORIES = databases
@ -21,27 +20,30 @@ HOMEPAGE = http://www.mongodb.org/
PERMIT_PACKAGE_CDROM = Yes
WANTLIB = boost_filesystem-mt boost_program_options-mt boost_system-mt \
boost_thread-mt c execinfo mozjs m pcap pcre pcrecpp pthread \
stdc++
boost_thread-mt c execinfo m pcap pcre pcrecpp pthread \
stdc++ v8
MASTER_SITES = http://downloads.mongodb.org/src/
MODULES = devel/scons
MODSCONS_FLAGS = --prefix="${PREFIX}" \
--cpppath="${LOCALBASE}/include/nspr" \
--extralib="mozjs,pcrecpp" \
--usesm \
--extralib="pcrecpp" \
--usev8 \
--sharedclient \
--full
--full \
--use-system-pcre \
--use-system-boost \
--use-system-v8
MAKE_ENV += HOME="${HOME}" \
TERM="${TERM}" \
CXXFLAGS="$(CXXFLAGS) -DXULRUNNER -I${LOCALBASE}/include/js" \
CXXFLAGS="$(CXXFLAGS)" \
LIBmongoclient_VERSION="${LIBmongoclient_VERSION}"
LIB_DEPENDS = devel/boost \
devel/libexecinfo \
devel/pcre \
lang/spidermonkey
lang/libv8
pre-configure:
rm -f ${WRKSRC}/third_party/{pcre,sm}.py

View File

@ -1,5 +1,2 @@
MD5 (mongodb-src-r2.0.1.tar.gz) = y4V5B0t8l1LrOCoglKxFIw==
RMD160 (mongodb-src-r2.0.1.tar.gz) = 6YrxOYqesM4LWm6uKNyTljysRjA=
SHA1 (mongodb-src-r2.0.1.tar.gz) = zytpg14V3+FW+EGeTUpxEeHc6zI=
SHA256 (mongodb-src-r2.0.1.tar.gz) = Ssv0GGsD//q9bqNvgxKxc+oPNLkZgzZ1tfczDvBHB0k=
SIZE (mongodb-src-r2.0.1.tar.gz) = 2947927
SHA256 (mongodb-src-r2.4.7.tar.gz) = aePPaXIl76Lm5l9c/cMXQvPksuBpwn2E/HE6vgv2fKc=
SIZE (mongodb-src-r2.4.7.tar.gz) = 14157198

View File

@ -1,52 +1,33 @@
$OpenBSD: patch-SConstruct,v 1.2 2011/10/03 16:38:21 fgsch Exp $
--- SConstruct.orig Sun Sep 11 15:09:34 2011
+++ SConstruct Sun Sep 18 21:38:08 2011
@@ -670,7 +670,7 @@ if nix:
env["CXX"] = "distcc " + env["CXX"]
# -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used.
- env.Append( CPPFLAGS="-fPIC -fno-strict-aliasing -ggdb -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch" )
+ env.Append( CPPFLAGS="-fPIC -fno-strict-aliasing -pthread -Wall -Wsign-compare -Wno-unknown-pragmas -Winvalid-pch" )
# env.Append( " -Wconversion" ) TODO: this doesn't really work yet
if linux:
env.Append( CPPFLAGS=" -Werror " )
@@ -679,6 +679,7 @@ if nix:
$OpenBSD: patch-SConstruct,v 1.3 2013/12/10 17:30:41 joshe Exp $
--- SConstruct.orig Thu Oct 17 11:37:56 2013
+++ SConstruct Mon Oct 28 20:07:16 2013
@@ -702,7 +702,6 @@ if nix:
# -Winvalid-pch Warn if a precompiled header (see Precompiled Headers) is found in the search path but can't be used.
env.Append( CCFLAGS=["-fPIC",
"-fno-strict-aliasing",
- "-ggdb",
"-pthread",
"-Wall",
"-Wsign-compare",
@@ -716,6 +715,7 @@ if nix:
env.Append( CPPDEFINES="_FILE_OFFSET_BITS=64" )
env.Append( CXXFLAGS=" -Wnon-virtual-dtor " )
env.Append( CPPDEFINES=["_FILE_OFFSET_BITS=64"] )
env.Append( CXXFLAGS=["-Wnon-virtual-dtor", "-Woverloaded-virtual"] )
+ env.Append( CXXFLAGS=os.environ['CXXFLAGS'] )
env.Append( LINKFLAGS=" -fPIC -pthread -rdynamic" )
env.Append( LINKFLAGS=["-fPIC", "-pthread", "-rdynamic"] )
env.Append( LIBS=[] )
@@ -690,10 +691,10 @@ if nix:
env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " )
@@ -731,10 +731,10 @@ if nix:
env.Append( LINKFLAGS=" -fprofile-arcs -ftest-coverage " )
if debugBuild:
- env.Append( CPPFLAGS=" -O0 -fstack-protector " );
+ env.Append( CPPFLAGS=" -O0 -fstack-protector -ggdb " );
- env.Append( CCFLAGS=["-O0", "-fstack-protector"] )
+ env.Append( CCFLAGS=["-O0", "-fstack-protector", "-ggdb"] )
env['ENV']['GLIBCXX_FORCE_NEW'] = 1; # play nice with valgrind
- else:
- env.Append( CPPFLAGS=" -O3 " )
- env.Append( CCFLAGS=["-O3"] )
+ #else:
+ #env.Append( CPPFLAGS=" -O3 " )
#env.Append( CPPFLAGS=" -fprofile-generate" )
#env.Append( LINKFLAGS=" -fprofile-generate" )
# then:
@@ -1096,7 +1097,7 @@ mongos = env.Program( "mongos" , commonFiles + coreDbF
# c++ library
clientLibName = str( env.Library( "mongoclient" , allClientFiles )[0] )
if has_option( "sharedclient" ):
- sharedClientLibName = str( env.SharedLibrary( "mongoclient" , allClientFiles )[0] )
+ sharedClientLibName = str( env.SharedLibrary( "mongoclient" , allClientFiles, SHLIBSUFFIX=".so.%s" % os.environ["LIBmongoclient_VERSION"] )[0] )
env.Library( "mongotestfiles" , commonFiles + coreDbFiles + coreServerFiles + serverOnlyFiles + ["client/gridfs.cpp"])
env.Library( "mongoshellfiles" , allClientFiles + coreServerFiles )
+ #env.Append( CCFLAGS=["-O3"] )
@@ -1428,7 +1429,7 @@ def installBinary( e , name ):
fullInstallName = installDir + "/bin/" + name
allBinaries += [ name ]
- if (solaris or linux) and (not has_option("nostrip")):
+ if (solaris or linux or openbsd) and (not has_option("nostrip")):
e.AddPostAction( inst, e.Action( 'strip ' + fullInstallName ) )
if linux and len( COMMAND_LINE_TARGETS ) == 1 and str( COMMAND_LINE_TARGETS[0] ) == "s3dist":
if debugLogging:
env.Append( CPPDEFINES=["_DEBUG"] );

View File

@ -1,21 +0,0 @@
$OpenBSD: patch-db_nonce_cpp,v 1.2 2011/10/03 16:38:21 fgsch Exp $
--- db/nonce.cpp.orig Sun Sep 11 15:09:34 2011
+++ db/nonce.cpp Sun Sep 18 21:35:45 2011
@@ -42,7 +42,7 @@ namespace mongo {
massert( 10353 , "can't open dev/urandom", _devrandom->is_open() );
#elif defined(_WIN32)
srand(curTimeMicros()); // perhaps not relevant for rand_s but we might want elsewhere anyway
-#else
+#elif !defined(__openbsd__)
srandomdev();
#endif
@@ -63,6 +63,8 @@ namespace mongo {
assert( rand_s(&a) == 0 );
assert( rand_s(&b) == 0 );
n = (((unsigned long long)a)<<32) | b;
+#elif defined(__openbsd__)
+ n = arc4random();
#else
n = (((unsigned long long)random())<<32) | random();
#endif

View File

@ -0,0 +1,13 @@
$OpenBSD: patch-src_SConscript_client,v 1.1 2013/12/10 17:30:41 joshe Exp $
--- src/SConscript.client.orig Thu Oct 17 11:37:56 2013
+++ src/SConscript.client Wed Oct 30 07:45:40 2013
@@ -214,7 +214,8 @@ if buildShared:
if linux:
sharedLibEnv.AppendUnique(SHLINKFLAGS=["-Wl,--as-needed", "-Wl,-zdefs"])
- mongoClientSharedLib = sharedLibEnv.SharedLibrary('mongoclient', clientObjects)
+ mongoClientSharedLib = sharedLibEnv.SharedLibrary('mongoclient', clientObjects,
+ SHLIBSUFFIX='.so.%s' % os.environ["LIBmongoclient_VERSION"])
mongoClientSharedLibInstall = sharedLibEnv.Install(
'#/sharedclient', mongoClientSharedLib)

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_mongo_SConscript,v 1.1 2013/12/10 17:30:41 joshe Exp $
--- src/mongo/SConscript.orig Thu Oct 17 11:37:56 2013
+++ src/mongo/SConscript Wed Oct 30 07:47:28 2013
@@ -767,7 +767,7 @@ def installBinary( e, name ):
if enforce_glibc:
e.AddPostAction( name, checkGlibc )
- if (solaris or linux) and (not has_option("nostrip")):
+ if not has_option("nostrip"):
name = e.Command('stripped/%s' % name, name, Copy('$TARGET', '$SOURCE'))[0]
e.AddPostAction(name, 'strip $TARGET')

View File

@ -0,0 +1,25 @@
$OpenBSD: patch-src_mongo_platform_random_cpp,v 1.1 2013/12/10 17:30:41 joshe Exp $
--- src/mongo/platform/random.cpp.orig Thu Oct 17 11:37:56 2013
+++ src/mongo/platform/random.cpp Mon Oct 28 20:21:29 2013
@@ -138,6 +138,21 @@ namespace mongo {
return new InputStreamSecureRandom( "/dev/urandom" );
}
+#elif defined(__OpenBSD__)
+
+ class ARC4SecureRandom : public SecureRandom {
+ public:
+ int64_t nextInt64() {
+ int64_t n;
+ arc4random_buf(&n, sizeof(n));
+ return n;
+ }
+ };
+
+ SecureRandom* SecureRandom::create() {
+ return new ARC4SecureRandom();
+ }
+
#else
class SRandSecureRandom : public SecureRandom {
public:

View File

@ -0,0 +1,30 @@
$OpenBSD: patch-src_third_party_s2_base_port_h,v 1.1 2013/12/10 17:30:41 joshe Exp $
--- src/third_party/s2/base/port.h.orig Thu Oct 17 11:37:56 2013
+++ src/third_party/s2/base/port.h Mon Oct 28 20:57:58 2013
@@ -100,6 +100,14 @@ typedef uint16_t u_int16_t;
#define __LITTLE_ENDIAN LITTLE_ENDIAN
#define __BIG_ENDIAN BIG_ENDIAN
+#elif defined __OpenBSD__
+
+#include <sys/endian.h>
+/* Let's try and follow the Linux convention */
+#define __BYTE_ORDER BYTE_ORDER
+#define __LITTLE_ENDIAN LITTLE_ENDIAN
+#define __BIG_ENDIAN BIG_ENDIAN
+
#endif
#if defined __sunos__ || defined __freebsd__
@@ -134,6 +142,11 @@ typedef uint16_t u_int16_t;
#define bswap_16(x) bswap16(x)
#define bswap_32(x) bswap32(x)
#define bswap_64(x) bswap64(x)
+#elif defined __OpenBSD__
+#include <sys/endian.h>
+#define bswap_16(x) swap16(x)
+#define bswap_32(x) swap32(x)
+#define bswap_64(x) swap64(x)
#else
#include <byteswap.h>
#endif

View File

@ -0,0 +1,12 @@
$OpenBSD: patch-src_third_party_s2_hash_h,v 1.1 2013/12/10 17:30:41 joshe Exp $
--- src/third_party/s2/hash.h.orig Thu Oct 17 11:37:56 2013
+++ src/third_party/s2/hash.h Mon Oct 28 20:50:09 2013
@@ -7,7 +7,7 @@
#include "mongo/platform/unordered_set.h"
#define hash_set mongo::unordered_set
-#if defined OS_LINUX || defined OS_MACOSX || defined __sunos__ || defined __freebsd__
+#if defined OS_LINUX || defined OS_MACOSX || defined __sunos__ || defined __freebsd__ || defined __OpenBSD__
#define HASH_NAMESPACE_START namespace std { namespace tr1 {
#define HASH_NAMESPACE_END }}
#elif defined OS_WINDOWS

View File

@ -1,4 +1,4 @@
@comment $OpenBSD: PLIST,v 1.2 2011/10/03 16:38:21 fgsch Exp $
@comment $OpenBSD: PLIST,v 1.3 2013/12/10 17:30:41 joshe Exp $
@newgroup _mongodb:670
@newuser _mongodb:670:670:daemon:MongoDB Account:/nonexistent:/sbin/nologin
%%SHARED%%
@ -9,16 +9,40 @@
@bin bin/mongoexport
@bin bin/mongofiles
@bin bin/mongoimport
@bin bin/mongooplog
@bin bin/mongoperf
@bin bin/mongorestore
@bin bin/mongos
@bin bin/mongosniff
@bin bin/mongostat
@bin bin/mongotop
include/mongo/
include/mongo/base/
include/mongo/base/configuration_variable_manager.h
include/mongo/base/counter.h
include/mongo/base/disallow_copying.h
include/mongo/base/error_codes.h
include/mongo/base/global_initializer.h
include/mongo/base/global_initializer_registerer.h
include/mongo/base/init.h
include/mongo/base/initializer.h
include/mongo/base/initializer_context.h
include/mongo/base/initializer_dependency_graph.h
include/mongo/base/initializer_function.h
include/mongo/base/make_string_vector.h
include/mongo/base/owned_pointer_map.h
include/mongo/base/owned_pointer_vector.h
include/mongo/base/parse_number.h
include/mongo/base/status.h
include/mongo/base/string_data-inl.h
include/mongo/base/string_data.h
include/mongo/bson/
include/mongo/bson/bson-inl.h
include/mongo/bson/bson.h
include/mongo/bson/bson_builder_base.h
include/mongo/bson/bson_db.h
include/mongo/bson/bson_field.h
include/mongo/bson/bson_validate.h
include/mongo/bson/bsonelement.h
include/mongo/bson/bsonmisc.h
include/mongo/bson/bsonobj.h
@ -28,40 +52,70 @@ include/mongo/bson/bsontypes.h
include/mongo/bson/inline_decls.h
include/mongo/bson/oid.h
include/mongo/bson/ordering.h
include/mongo/bson/stringdata.h
include/mongo/bson/util/
include/mongo/bson/util/atomic_int.h
include/mongo/bson/util/bson_extract.h
include/mongo/bson/util/builder.h
include/mongo/bson/util/misc.h
include/mongo/client/
include/mongo/client/authlevel.h
include/mongo/client/clientOnly-private.h
include/mongo/client/connpool.h
include/mongo/client/constants.h
include/mongo/client/dbclient.h
include/mongo/client/dbclient_rs.h
include/mongo/client/dbclientcursor.h
include/mongo/client/dbclientinterface.h
include/mongo/client/dbclientmockcursor.h
include/mongo/client/distlock.h
include/mongo/client/gridfs.h
include/mongo/client/model.h
include/mongo/client/parallel.h
include/mongo/client/redef_macros.h
include/mongo/client/sasl_client_authenticate.h
include/mongo/client/sasl_client_session.h
include/mongo/client/syncclusterconnection.h
include/mongo/client/undef_macros.h
include/mongo/db/
include/mongo/db/auth/
include/mongo/db/auth/action_set.h
include/mongo/db/auth/action_type.h
include/mongo/db/auth/auth_external_state.h
include/mongo/db/auth/auth_external_state_d.h
include/mongo/db/auth/auth_external_state_mock.h
include/mongo/db/auth/auth_external_state_s.h
include/mongo/db/auth/auth_external_state_server_common.h
include/mongo/db/auth/auth_index_d.h
include/mongo/db/auth/authentication_session.h
include/mongo/db/auth/authorization_manager.h
include/mongo/db/auth/mongo_authentication_session.h
include/mongo/db/auth/principal.h
include/mongo/db/auth/principal_name.h
include/mongo/db/auth/principal_set.h
include/mongo/db/auth/privilege.h
include/mongo/db/auth/privilege_set.h
include/mongo/db/auth/security_key.h
include/mongo/db/background.h
include/mongo/db/btree.h
include/mongo/db/btree_stats.h
include/mongo/db/btreebuilder.h
include/mongo/db/btreecursor.h
include/mongo/db/btreeposition.h
include/mongo/db/cc_by_loc.h
include/mongo/db/client.h
include/mongo/db/client_basic.h
include/mongo/db/clientcursor.h
include/mongo/db/cloner.h
include/mongo/db/cmdline.h
include/mongo/db/collection.h
include/mongo/db/commands.h
include/mongo/db/compact.h
include/mongo/db/concurrency.h
include/mongo/db/curop-inl.h
include/mongo/db/curop.h
include/mongo/db/cursor.h
include/mongo/db/d_concurrency.h
include/mongo/db/d_globals.h
include/mongo/db/database.h
include/mongo/db/databaseholder.h
include/mongo/db/db.h
include/mongo/db/dbhelpers.h
include/mongo/db/dbmessage.h
@ -75,39 +129,68 @@ include/mongo/db/dur_journalimpl.h
include/mongo/db/dur_recover.h
include/mongo/db/dur_stats.h
include/mongo/db/durop.h
include/mongo/db/explain.h
include/mongo/db/extsort.h
include/mongo/db/field_ref.h
include/mongo/db/filever.h
include/mongo/db/hasher.h
include/mongo/db/hashindex.h
include/mongo/db/index.h
include/mongo/db/index_insertion_continuation.h
include/mongo/db/index_rebuilder.h
include/mongo/db/index_set.h
include/mongo/db/index_update.h
include/mongo/db/indexkey.h
include/mongo/db/initialize_server_global_state.h
include/mongo/db/instance.h
include/mongo/db/interrupt_status.h
include/mongo/db/interrupt_status_mongod.h
include/mongo/db/intervalbtreecursor.h
include/mongo/db/introspect.h
include/mongo/db/jsobj.h
include/mongo/db/jsobjmanipulator.h
include/mongo/db/json.h
include/mongo/db/key.h
include/mongo/db/keypattern.h
include/mongo/db/kill_current_op.h
include/mongo/db/lasterror.h
include/mongo/db/lockstat.h
include/mongo/db/lockstate.h
include/mongo/db/matcher.h
include/mongo/db/memconcept.h
include/mongo/db/minilex.h
include/mongo/db/module.h
include/mongo/db/mongommf.h
include/mongo/db/mongomutex.h
include/mongo/db/namespace-inl.h
include/mongo/db/namespace.h
include/mongo/db/nonce.h
include/mongo/db/namespace_details-inl.h
include/mongo/db/namespace_details.h
include/mongo/db/namespacestring.h
include/mongo/db/oplog.h
include/mongo/db/oplogreader.h
include/mongo/db/ops/
include/mongo/db/ops/count.h
include/mongo/db/ops/delete.h
include/mongo/db/ops/modifier_base.h
include/mongo/db/ops/query.h
include/mongo/db/ops/update.h
include/mongo/db/ops/update_internal.h
include/mongo/db/pagefault.h
include/mongo/db/pdfile.h
include/mongo/db/pdfile_private.h
include/mongo/db/pdfile_version.h
include/mongo/db/prefetch.h
include/mongo/db/projection.h
include/mongo/db/queryoptimizer.h
include/mongo/db/queryoptimizercursor.h
include/mongo/db/queryoptimizercursorimpl.h
include/mongo/db/querypattern.h
include/mongo/db/queryutil-inl.h
include/mongo/db/queryutil.h
include/mongo/db/record.h
include/mongo/db/repl/
include/mongo/db/repl.h
include/mongo/db/repl/bgsync.h
include/mongo/db/repl/connections.h
include/mongo/db/repl/health.h
include/mongo/db/repl/multicmd.h
@ -116,51 +199,107 @@ include/mongo/db/repl/rs_config.h
include/mongo/db/repl/rs_exception.h
include/mongo/db/repl/rs_member.h
include/mongo/db/repl/rs_optime.h
include/mongo/db/repl/rs_sync.h
include/mongo/db/repl_block.h
include/mongo/db/replutil.h
include/mongo/db/resource.h
include/mongo/db/restapi.h
include/mongo/db/scanandorder.h
include/mongo/db/security.h
include/mongo/db/security_common.h
include/mongo/db/server_parameters.h
include/mongo/db/server_parameters_inline.h
include/mongo/db/sort_phase_one.h
include/mongo/db/stats/
include/mongo/db/stats/counters.h
include/mongo/db/stats/fine_clock.h
include/mongo/db/stats/service_stats.h
include/mongo/db/stats/snapshots.h
include/mongo/db/stats/timer_stats.h
include/mongo/db/stats/top.h
include/mongo/db/taskqueue.h
include/mongo/db/ttl.h
include/mongo/pch.h
include/mongo/platform/
include/mongo/platform/atomic_intrinsics.h
include/mongo/platform/atomic_intrinsics_gcc.h
include/mongo/platform/atomic_intrinsics_win32.h
include/mongo/platform/atomic_word.h
include/mongo/platform/backtrace.h
include/mongo/platform/basic.h
include/mongo/platform/bits.h
include/mongo/platform/compiler.h
include/mongo/platform/compiler_gcc.h
include/mongo/platform/compiler_msvc.h
include/mongo/platform/cstdint.h
include/mongo/platform/float_utils.h
include/mongo/platform/posix_fadvise.h
include/mongo/platform/random.h
include/mongo/platform/strcasestr.h
include/mongo/platform/strtoll.h
include/mongo/platform/unordered_map.h
include/mongo/platform/unordered_set.h
include/mongo/platform/windows_basic.h
include/mongo/s/
include/mongo/s/balance.h
include/mongo/s/balancer_policy.h
include/mongo/s/chunk.h
include/mongo/s/client.h
include/mongo/s/chunk_diff.h
include/mongo/s/chunk_diff.hpp
include/mongo/s/chunk_version.h
include/mongo/s/client_info.h
include/mongo/s/cluster_client_internal.h
include/mongo/s/collection_manager.h
include/mongo/s/config.h
include/mongo/s/config_server_checker_service.h
include/mongo/s/config_upgrade.h
include/mongo/s/config_upgrade_helpers.h
include/mongo/s/cursors.h
include/mongo/s/d_chunk_manager.h
include/mongo/s/d_logic.h
include/mongo/s/d_writeback.h
include/mongo/s/field_parser-inl.h
include/mongo/s/field_parser.h
include/mongo/s/grid.h
include/mongo/s/mr_shard.h
include/mongo/s/interrupt_status_mongos.h
include/mongo/s/metadata_loader.h
include/mongo/s/mongo_version_range.h
include/mongo/s/request.h
include/mongo/s/server.h
include/mongo/s/shard.h
include/mongo/s/shard_version.h
include/mongo/s/shardkey.h
include/mongo/s/stats.h
include/mongo/s/stale_exception.h
include/mongo/s/strategy.h
include/mongo/s/util.h
include/mongo/s/type_changelog.h
include/mongo/s/type_chunk.h
include/mongo/s/type_collection.h
include/mongo/s/type_config_version.h
include/mongo/s/type_database.h
include/mongo/s/type_lockpings.h
include/mongo/s/type_locks.h
include/mongo/s/type_mongos.h
include/mongo/s/type_settings.h
include/mongo/s/type_shard.h
include/mongo/s/type_tags.h
include/mongo/s/version_manager.h
include/mongo/s/writeback_listener.h
include/mongo/scripting/
include/mongo/scripting/bench.h
include/mongo/scripting/bson_template_evaluator.h
include/mongo/scripting/engine.h
include/mongo/scripting/engine_java.h
include/mongo/scripting/engine_spidermonkey.h
include/mongo/scripting/engine_spidermonkey_internal.h
include/mongo/scripting/engine_v8.h
include/mongo/scripting/v8_db.h
include/mongo/scripting/v8_deadline_monitor.h
include/mongo/scripting/v8_profiler.h
include/mongo/scripting/v8_utils.h
include/mongo/scripting/v8_wrapper.h
include/mongo/server.h
include/mongo/shell/
include/mongo/shell/linenoise.h
include/mongo/shell/linenoise_utf8.h
include/mongo/shell/mk_wcwidth.h
include/mongo/shell/shell_utils.h
include/mongo/shell/shell_utils_extended.h
include/mongo/shell/shell_utils_launcher.h
include/mongo/targetver.h
include/mongo/util/
include/mongo/util/admin_access.h
@ -176,19 +315,34 @@ include/mongo/util/checksum.h
include/mongo/util/compress.h
include/mongo/util/concurrency/
include/mongo/util/concurrency/list.h
include/mongo/util/concurrency/mapsf.h
include/mongo/util/concurrency/msg.h
include/mongo/util/concurrency/mutex.h
include/mongo/util/concurrency/mutexdebugger.h
include/mongo/util/concurrency/mvar.h
include/mongo/util/concurrency/qlock.h
include/mongo/util/concurrency/race.h
include/mongo/util/concurrency/rwlock.h
include/mongo/util/concurrency/rwlockimpl.h
include/mongo/util/concurrency/shared_mutex_win.hpp
include/mongo/util/concurrency/simplerwlock.h
include/mongo/util/concurrency/spin_lock.h
include/mongo/util/concurrency/synchronization.h
include/mongo/util/concurrency/task.h
include/mongo/util/concurrency/thread_pool.h
include/mongo/util/concurrency/threadlocal.h
include/mongo/util/concurrency/ticketholder.h
include/mongo/util/concurrency/value.h
include/mongo/util/debug_util.h
include/mongo/util/descriptive_stats-inl.h
include/mongo/util/descriptive_stats.h
include/mongo/util/elapsed_tracker.h
include/mongo/util/embedded_builder.h
include/mongo/util/exception_filter_win32.h
include/mongo/util/exit_code.h
include/mongo/util/fail_point.h
include/mongo/util/fail_point_registry.h
include/mongo/util/fail_point_service.h
include/mongo/util/file.h
include/mongo/util/file_allocator.h
include/mongo/util/goodies.h
@ -196,9 +350,11 @@ include/mongo/util/hashtab.h
include/mongo/util/heapcheck.h
include/mongo/util/hex.h
include/mongo/util/histogram.h
include/mongo/util/intrusive_counter.h
include/mongo/util/log.h
include/mongo/util/logfile.h
include/mongo/util/lruishmap.h
include/mongo/util/map_util.h
include/mongo/util/md5.h
include/mongo/util/md5.hpp
include/mongo/util/mmap.h
@ -217,19 +373,38 @@ include/mongo/util/net/message_port.h
include/mongo/util/net/message_server.h
include/mongo/util/net/miniwebserver.h
include/mongo/util/net/sock.h
include/mongo/util/net/ssl_manager.h
include/mongo/util/ntservice.h
include/mongo/util/optime.h
include/mongo/util/password.h
include/mongo/util/paths.h
include/mongo/util/processinfo.h
include/mongo/util/progress_meter.h
include/mongo/util/queue.h
include/mongo/util/ramlog.h
include/mongo/util/safe_num.h
include/mongo/util/scopeguard.h
include/mongo/util/sequence_util.h
include/mongo/util/signal_handlers.h
include/mongo/util/stack_introspect.h
include/mongo/util/stacktrace.h
include/mongo/util/startup_test.h
include/mongo/util/string_map.h
include/mongo/util/string_map_internal.h
include/mongo/util/string_writer.h
include/mongo/util/stringutils.h
include/mongo/util/systeminfo.h
include/mongo/util/text.h
include/mongo/util/time_support.h
include/mongo/util/timer-generic-inl.h
include/mongo/util/timer-inl.h
include/mongo/util/timer-posixclock-inl.h
include/mongo/util/timer-win32-inl.h
include/mongo/util/timer.h
include/mongo/util/unittest.h
include/mongo/util/touch_pages.h
include/mongo/util/trace.h
include/mongo/util/unordered_fast_key_table.h
include/mongo/util/unordered_fast_key_table_internal.h
include/mongo/util/version.h
include/mongo/util/winutil.h
lib/libmongoclient.a