Official 10gen C++ Driver for MongoDB. Static library only, libmongoclient.a Builds with base gcc. It is possible (trivial) to modify the SConstruct file to enable a clang build, however due to a current issue with clang and mongodb server clang support will be added at a future date. Requires: scons and devel/boost-libs Please note, if you are installing the server from ports, the include headers in the client "overlap" (include headers are installed by server port but not actually used by the server. Despite scons target=all in the server port, it does not seem to install client library.). This port assumes that the user "also" installed devel/boost-libs in ${PREFIX}, which is used to set the --extrapath argument for scons, otherwise scons will not be able to locate the boost libraries and fail. A typical user will have everything installed in /usr/local and there will not be an issue. Thank you Fix: Patch attached with submission follows:
Responsible Changed From-To: freebsd-ports-bugs->wxs I'll take it.
This port has some problems that should be fixed before it can be committed. First, it is using what appears to be a distfile which changes with each new release. This is bad because it means at the next update it will fail to fetch as the size and hash have changed. Please pick a distfile which doesn't change. I've tried to get 2.4.5, 2.2.5 and 2.2.3 to build, all of which fail. The 2.2 series fails for me complaining that: g++ -o build/mongo/client/dbclient_rs.o -c -D_SCONS -DMONGO_EXPOSE_MACROS -Ibuild -Isrc -Ibuild/mongo -Isrc/mongo -I/usr/local/include -I/usr/local src/mongo/client/dbclient_rs.cpp In file included from /usr/local/include/boost/filesystem/path.hpp:24, from src/mongo/util/paths.h:26, from src/mongo/db/client.h:38, from src/mongo/db/curop.h:23, from src/mongo/db/curop-inl.h:1, from src/mongo/db/instance.h:23, from src/mongo/db/dbmessage.h:25, from src/mongo/client/dbclient_rs.cpp:27: /usr/local/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3 The 2.4 build fails to find a processinfo_freebsd.cpp and fails. Can you please send an updated shar that fetches a specific version and builds cleanly? I'll be happy to provide full logs of the failed builds if you would like. -- WXS
Hi Wesley, it's true that port was made awhile ago.. needs updating. I'll get a fresh version working, the 2.4 release supports ssl and better authentication anyway, so it's good to use the new stuff. Thanks, Waitman On Sat, 6 Jul 2013 14:59:15 -0400, Wesley Shields <wxs@FreeBSD.org> wrote: > >This port has some problems that should be fixed before it can be >committed. > >First, it is using what appears to be a distfile which changes with each >new release. This is bad because it means at the next update it will >fail to fetch as the size and hash have changed. Please pick a distfile >which doesn't change. > >I've tried to get 2.4.5, 2.2.5 and 2.2.3 to build, all of which fail. > >The 2.2 series fails for me complaining that: > >g++ -o build/mongo/client/dbclient_rs.o -c -D_SCONS -DMONGO_EXPOSE_MACROS -Ibuild -Isrc -Ibuild/mongo -Isrc/mongo -I/usr/local/include -I/usr/local src/mongo/client/dbclient_rs.cpp >In file included from /usr/local/include/boost/filesystem/path.hpp:24, > from src/mongo/util/paths.h:26, > from src/mongo/db/client.h:38, > from src/mongo/db/curop.h:23, > from src/mongo/db/curop-inl.h:1, > from src/mongo/db/instance.h:23, > from src/mongo/db/dbmessage.h:25, > from src/mongo/client/dbclient_rs.cpp:27: >/usr/local/include/boost/filesystem/config.hpp:16:5: error: #error Compiling Filesystem version 3 file with BOOST_FILESYSTEM_VERSION defined != 3 > >The 2.4 build fails to find a processinfo_freebsd.cpp and fails. > >Can you please send an updated shar that fetches a specific version and >builds cleanly? I'll be happy to provide full logs of the failed builds >if you would like. > >-- WXS > -- Waitman Gobble San Jose California USA +1.5108307875
On Sat, 6 Jul 2013 14:59:15 -0400, Wesley Shields <wxs@FreeBSD.org> wrote: > >The 2.4 build fails to find a processinfo_freebsd.cpp and fails. > >Can you please send an updated shar that fetches a specific version and >builds cleanly? I'll be happy to provide full logs of the failed builds >if you would like. > >-- WXS > Hi, Attached is an updated shar for the latest 2.4 mongo-cxx-driver.. the files are on GH so it won't break the port when they update. (As you mentioned, their file naming scheme is not friendly to 'ports', ) I ripped out the SCONS build and replaced with a regular Makefile. The best part, This has been tested to build with base gcc and clang, *should* work gcc46, etc. The SCONS build always uses g++. Added link in pkg-descr to examples on GH, which have been modified to work with FreeBSD version of mongo-cxx-driver library. Also using the 'new' traditional Makefile I implemented 'install', the original SCONS version seems to build OK but doesn't actually install anything anywhere. Caveats: the boost libraries need to be installed in PREFIX. (same prefix as this port). otherwise the build script won't find them. The port Makefile checks that boost is installed and should pull it in if it's not. The issue is if you try 'port test', which installs to /tmp, it fails because boost is not installed in /tmp. I don't see any boost config variables in ports/Mk/* , otherwise if you think this is a problem there would need to be an environment variable set or something for Boost install location. I think most people will install boost to their favorite PREFIX and that PREFIX will be the same PREFIX as they use to install mongo-cxx-client. (comments?) .. Also this port uses sasl2 from ports (Makefile checks/installs). In the SCONS build version it's 'semi-optional', there's not really a switch or option, but seems like it only builds the sasl2 related stuff if sasl2 can be found on the system (ie, installed). There are two compile steps that use python2. I use PYTHON_CMD in repo Makefile, this seems to be set in port Makefile when USE_PYTHON is set. Let me know if this causes an issue. It would probably be good to wipe out those two python requirements from the build process..., but at the moment the code base has not been altered, and I presume that would need some alterations to make it work without python. Thanks Waitman Gobble San Jose California USA +1.5108307875 shar: # This is a shell archive. Save it in a file, remove anything before # this line, and then unpack it by entering "sh file". Note, it may # create directories; files and directories will be owned by you and # have default permissions. # # This archive contains: # # mongo-cxx-driver # mongo-cxx-driver/pkg-descr # mongo-cxx-driver/Makefile # mongo-cxx-driver/distinfo # mongo-cxx-driver/pkg-plist # echo c - mongo-cxx-driver mkdir -p mongo-cxx-driver > /dev/null 2>&1 echo x - mongo-cxx-driver/pkg-descr sed 's/^X//' >mongo-cxx-driver/pkg-descr << 'c4446dae8e4d6852ec038ac15b1a70df' XOfficial Mongo C++ Driver X XMongo (from "humongous") is a high-performance, open source, Xschema-free, document-oriented database. A common name in the X"NOSQL" community. X XWWW: http://www.mongodb.org/ XWWW: https://github.com/waitman/mongo-cxx-driver-examples c4446dae8e4d6852ec038ac15b1a70df echo x - mongo-cxx-driver/Makefile sed 's/^X//' >mongo-cxx-driver/Makefile << 'f4afbfe98c3285685e82518a0868368b' X# Created by: "Waitman Gobble" <uzimac@da3m0n8t3r.com> X# $FreeBSD$ X# New ports collection makefile for: mongo-cxx-driver X# Date created: 26 January 2013 X XPORTNAME= mongo-cxx-driver XPORTVERSION= 2.4 XCATEGORIES= devel XMASTER_SITES= GH X XMAINTAINER= waitman@waitman.net XCOMMENT= C++ 2.4 Driver for MongoDB X XLICENSE= AL2 XLICENSE_FILE= ${WRKSRC}/LICENSE.txt X XLIB_DEPENDS= boost_system:${PORTSDIR}/devel/boost-libs \ X sasl2:${PORTSDIR)/security/cyrus-sasl2 X XUSE_GITHUB= yes XGH_ACCOUNT= waitman XGH_TAGNAME= ${GH_COMMIT} XGH_COMMIT= 41691d5 X XUSE_PYTHON= yes X X.include <bsd.port.mk> f4afbfe98c3285685e82518a0868368b echo x - mongo-cxx-driver/distinfo sed 's/^X//' >mongo-cxx-driver/distinfo << 'c62f4745c7973ac10b1b1e04a048b76d' XSHA256 (mongo-cxx-driver-2.4.tar.gz) = b3dd6aac4c7bc19fe4239bac7796fc2d5f9e940047057088cc5e2bd02747e8cd XSIZE (mongo-cxx-driver-2.4.tar.gz) = 611523 c62f4745c7973ac10b1b1e04a048b76d echo x - mongo-cxx-driver/pkg-plist sed 's/^X//' >mongo-cxx-driver/pkg-plist << 'ac60910d8a8ab620c653a27c2af94bf6' Xinclude/mongo/base/error_codes.h Xinclude/mongo/base/configuration_variable_manager.h Xinclude/mongo/base/counter.h Xinclude/mongo/base/disallow_copying.h Xinclude/mongo/base/global_initializer.h Xinclude/mongo/base/global_initializer_registerer.h Xinclude/mongo/base/init.h Xinclude/mongo/base/initializer.h Xinclude/mongo/base/initializer_context.h Xinclude/mongo/base/initializer_dependency_graph.h Xinclude/mongo/base/initializer_function.h Xinclude/mongo/base/make_string_vector.h Xinclude/mongo/base/owned_pointer_map.h Xinclude/mongo/base/owned_pointer_vector.h Xinclude/mongo/base/parse_number.h Xinclude/mongo/base/status.h Xinclude/mongo/base/string_data-inl.h Xinclude/mongo/base/string_data.h Xinclude/mongo/bson/util/atomic_int.h Xinclude/mongo/bson/util/bson_extract.h Xinclude/mongo/bson/util/builder.h Xinclude/mongo/bson/util/misc.h Xinclude/mongo/bson/bson-inl.h Xinclude/mongo/bson/bson.h Xinclude/mongo/bson/bson_builder_base.h Xinclude/mongo/bson/bson_db.h Xinclude/mongo/bson/bson_field.h Xinclude/mongo/bson/bson_validate.h Xinclude/mongo/bson/bsonmisc.h Xinclude/mongo/bson/bsonobj.h Xinclude/mongo/bson/bsonobjbuilder.h Xinclude/mongo/bson/bsonobjiterator.h Xinclude/mongo/bson/bsontypes.h Xinclude/mongo/bson/inline_decls.h Xinclude/mongo/bson/oid.h Xinclude/mongo/bson/ordering.h Xinclude/mongo/bson/bsonelement.h Xinclude/mongo/client/authlevel.h Xinclude/mongo/client/clientOnly-private.h Xinclude/mongo/client/connpool.h Xinclude/mongo/client/dbclient.h Xinclude/mongo/client/dbclient_rs.h Xinclude/mongo/client/dbclientcursor.h Xinclude/mongo/client/dbclientinterface.h Xinclude/mongo/client/dbclientmockcursor.h Xinclude/mongo/client/distlock.h Xinclude/mongo/client/gridfs.h Xinclude/mongo/client/model.h Xinclude/mongo/client/parallel.h Xinclude/mongo/client/redef_macros.h Xinclude/mongo/client/sasl_client_authenticate.h Xinclude/mongo/client/sasl_client_session.h Xinclude/mongo/client/syncclusterconnection.h Xinclude/mongo/client/undef_macros.h Xinclude/mongo/client/constants.h Xinclude/mongo/db/auth/action_type.h Xinclude/mongo/db/auth/action_set.h Xinclude/mongo/db/auth/auth_external_state.h Xinclude/mongo/db/auth/auth_external_state_d.h Xinclude/mongo/db/auth/auth_external_state_mock.h Xinclude/mongo/db/auth/auth_external_state_s.h Xinclude/mongo/db/auth/auth_external_state_server_common.h Xinclude/mongo/db/auth/auth_index_d.h Xinclude/mongo/db/auth/authentication_session.h Xinclude/mongo/db/auth/authorization_manager.h Xinclude/mongo/db/auth/mongo_authentication_session.h Xinclude/mongo/db/auth/principal.h Xinclude/mongo/db/auth/principal_name.h Xinclude/mongo/db/auth/principal_set.h Xinclude/mongo/db/auth/privilege.h Xinclude/mongo/db/auth/privilege_set.h Xinclude/mongo/db/auth/security_key.h Xinclude/mongo/db/stats/counters.h Xinclude/mongo/db/stats/fine_clock.h Xinclude/mongo/db/stats/service_stats.h Xinclude/mongo/db/stats/snapshots.h Xinclude/mongo/db/stats/timer_stats.h Xinclude/mongo/db/stats/top.h Xinclude/mongo/db/repl/rs_sync.h Xinclude/mongo/db/repl/connections.h Xinclude/mongo/db/repl/health.h Xinclude/mongo/db/repl/multicmd.h Xinclude/mongo/db/repl/rs.h Xinclude/mongo/db/repl/rs_config.h Xinclude/mongo/db/repl/rs_exception.h Xinclude/mongo/db/repl/rs_member.h Xinclude/mongo/db/repl/rs_optime.h Xinclude/mongo/db/repl/bgsync.h Xinclude/mongo/db/ops/count.h Xinclude/mongo/db/ops/delete.h Xinclude/mongo/db/ops/modifier_base.h Xinclude/mongo/db/ops/query.h Xinclude/mongo/db/ops/update.h Xinclude/mongo/db/ops/update_internal.h Xinclude/mongo/db/background.h Xinclude/mongo/db/btree.h Xinclude/mongo/db/btree_stats.h Xinclude/mongo/db/btreebuilder.h Xinclude/mongo/db/btreecursor.h Xinclude/mongo/db/btreeposition.h Xinclude/mongo/db/cc_by_loc.h Xinclude/mongo/db/client.h Xinclude/mongo/db/client_basic.h Xinclude/mongo/db/clientcursor.h Xinclude/mongo/db/cloner.h Xinclude/mongo/db/cmdline.h Xinclude/mongo/db/collection.h Xinclude/mongo/db/commands.h Xinclude/mongo/db/curop-inl.h Xinclude/mongo/db/curop.h Xinclude/mongo/db/db.h Xinclude/mongo/db/cursor.h Xinclude/mongo/db/d_concurrency.h Xinclude/mongo/db/d_globals.h Xinclude/mongo/db/database.h Xinclude/mongo/db/databaseholder.h Xinclude/mongo/db/dbhelpers.h Xinclude/mongo/db/dbmessage.h Xinclude/mongo/db/dbwebserver.h Xinclude/mongo/db/diskloc.h Xinclude/mongo/db/dur.h Xinclude/mongo/db/dur_commitjob.h Xinclude/mongo/db/dur_journal.h Xinclude/mongo/db/dur_journalformat.h Xinclude/mongo/db/dur_journalimpl.h Xinclude/mongo/db/dur_recover.h Xinclude/mongo/db/dur_stats.h Xinclude/mongo/db/durop.h Xinclude/mongo/db/explain.h Xinclude/mongo/db/extsort.h Xinclude/mongo/db/field_ref.h Xinclude/mongo/db/filever.h Xinclude/mongo/db/hasher.h Xinclude/mongo/db/hashindex.h Xinclude/mongo/db/index.h Xinclude/mongo/db/index_set.h Xinclude/mongo/db/index_insertion_continuation.h Xinclude/mongo/db/index_rebuilder.h Xinclude/mongo/db/index_update.h Xinclude/mongo/db/indexkey.h Xinclude/mongo/db/initialize_server_global_state.h Xinclude/mongo/db/instance.h Xinclude/mongo/db/interrupt_status.h Xinclude/mongo/db/interrupt_status_mongod.h Xinclude/mongo/db/intervalbtreecursor.h Xinclude/mongo/db/introspect.h Xinclude/mongo/db/jsobj.h Xinclude/mongo/db/jsobjmanipulator.h Xinclude/mongo/db/json.h Xinclude/mongo/db/key.h Xinclude/mongo/db/keypattern.h Xinclude/mongo/db/kill_current_op.h Xinclude/mongo/db/lasterror.h Xinclude/mongo/db/lockstat.h Xinclude/mongo/db/lockstate.h Xinclude/mongo/db/matcher.h Xinclude/mongo/db/memconcept.h Xinclude/mongo/db/minilex.h Xinclude/mongo/db/module.h Xinclude/mongo/db/mongommf.h Xinclude/mongo/db/namespace-inl.h Xinclude/mongo/db/namespace.h Xinclude/mongo/db/namespace_details-inl.h Xinclude/mongo/db/namespace_details.h Xinclude/mongo/db/namespacestring.h Xinclude/mongo/db/oplog.h Xinclude/mongo/db/oplogreader.h Xinclude/mongo/db/pagefault.h Xinclude/mongo/db/pdfile.h Xinclude/mongo/db/pdfile_private.h Xinclude/mongo/db/pdfile_version.h Xinclude/mongo/db/prefetch.h Xinclude/mongo/db/projection.h Xinclude/mongo/db/queryoptimizer.h Xinclude/mongo/db/queryoptimizercursor.h Xinclude/mongo/db/queryoptimizercursorimpl.h Xinclude/mongo/db/queryutil.h Xinclude/mongo/db/querypattern.h Xinclude/mongo/db/record.h Xinclude/mongo/db/queryutil-inl.h Xinclude/mongo/db/repl_block.h Xinclude/mongo/db/replutil.h Xinclude/mongo/db/resource.h Xinclude/mongo/db/restapi.h Xinclude/mongo/db/scanandorder.h Xinclude/mongo/db/server_parameters.h Xinclude/mongo/db/server_parameters_inline.h Xinclude/mongo/db/sort_phase_one.h Xinclude/mongo/db/taskqueue.h Xinclude/mongo/db/ttl.h Xinclude/mongo/db/repl.h Xinclude/mongo/platform/windows_basic.h Xinclude/mongo/platform/atomic_intrinsics.h Xinclude/mongo/platform/atomic_intrinsics_gcc.h Xinclude/mongo/platform/atomic_intrinsics_win32.h Xinclude/mongo/platform/atomic_word.h Xinclude/mongo/platform/basic.h Xinclude/mongo/platform/bits.h Xinclude/mongo/platform/compiler.h Xinclude/mongo/platform/compiler_gcc.h Xinclude/mongo/platform/compiler_msvc.h Xinclude/mongo/platform/cstdint.h Xinclude/mongo/platform/float_utils.h Xinclude/mongo/platform/random.h Xinclude/mongo/platform/strtoll.h Xinclude/mongo/platform/unordered_map.h Xinclude/mongo/platform/unordered_set.h Xinclude/mongo/util/concurrency/shared_mutex_win.hpp Xinclude/mongo/util/concurrency/list.h Xinclude/mongo/util/concurrency/mapsf.h Xinclude/mongo/util/concurrency/msg.h Xinclude/mongo/util/concurrency/mutex.h Xinclude/mongo/util/concurrency/mutexdebugger.h Xinclude/mongo/util/concurrency/mvar.h Xinclude/mongo/util/concurrency/qlock.h Xinclude/mongo/util/concurrency/race.h Xinclude/mongo/util/concurrency/rwlock.h Xinclude/mongo/util/concurrency/rwlockimpl.h Xinclude/mongo/util/concurrency/simplerwlock.h Xinclude/mongo/util/concurrency/spin_lock.h Xinclude/mongo/util/concurrency/synchronization.h Xinclude/mongo/util/concurrency/task.h Xinclude/mongo/util/concurrency/thread_pool.h Xinclude/mongo/util/concurrency/threadlocal.h Xinclude/mongo/util/concurrency/value.h Xinclude/mongo/util/concurrency/ticketholder.h Xinclude/mongo/util/net/ssl_manager.h Xinclude/mongo/util/net/hostandport.h Xinclude/mongo/util/net/httpclient.h Xinclude/mongo/util/net/listen.h Xinclude/mongo/util/net/message.h Xinclude/mongo/util/net/message_port.h Xinclude/mongo/util/net/message_server.h Xinclude/mongo/util/net/miniwebserver.h Xinclude/mongo/util/net/sock.h Xinclude/mongo/util/mongoutils/checksum.h Xinclude/mongo/util/mongoutils/hash.h Xinclude/mongo/util/mongoutils/html.h Xinclude/mongo/util/mongoutils/str.h Xinclude/mongo/util/admin_access.h Xinclude/mongo/util/alignedbuilder.h Xinclude/mongo/util/allocator.h Xinclude/mongo/util/array.h Xinclude/mongo/util/assert_util.h Xinclude/mongo/util/background.h Xinclude/mongo/util/base64.h Xinclude/mongo/util/bson_util.h Xinclude/mongo/util/bufreader.h Xinclude/mongo/util/file.h Xinclude/mongo/util/checksum.h Xinclude/mongo/util/compress.h Xinclude/mongo/util/debug_util.h Xinclude/mongo/util/descriptive_stats-inl.h Xinclude/mongo/util/descriptive_stats.h Xinclude/mongo/util/elapsed_tracker.h Xinclude/mongo/util/embedded_builder.h Xinclude/mongo/util/exception_filter_win32.h Xinclude/mongo/util/exit_code.h Xinclude/mongo/util/fail_point.h Xinclude/mongo/util/fail_point_registry.h Xinclude/mongo/util/fail_point_service.h Xinclude/mongo/util/file_allocator.h Xinclude/mongo/util/goodies.h Xinclude/mongo/util/hashtab.h Xinclude/mongo/util/heapcheck.h Xinclude/mongo/util/hex.h Xinclude/mongo/util/histogram.h Xinclude/mongo/util/intrusive_counter.h Xinclude/mongo/util/log.h Xinclude/mongo/util/logfile.h Xinclude/mongo/util/lruishmap.h Xinclude/mongo/util/map_util.h Xinclude/mongo/util/md5.h Xinclude/mongo/util/mmap.h Xinclude/mongo/util/moveablebuffer.h Xinclude/mongo/util/ntservice.h Xinclude/mongo/util/optime.h Xinclude/mongo/util/password.h Xinclude/mongo/util/paths.h Xinclude/mongo/util/processinfo.h Xinclude/mongo/util/queue.h Xinclude/mongo/util/progress_meter.h Xinclude/mongo/util/ramlog.h Xinclude/mongo/util/safe_num.h Xinclude/mongo/util/scopeguard.h Xinclude/mongo/util/sequence_util.h Xinclude/mongo/util/signal_handlers.h Xinclude/mongo/util/stack_introspect.h Xinclude/mongo/util/stacktrace.h Xinclude/mongo/util/startup_test.h Xinclude/mongo/util/string_map.h Xinclude/mongo/util/string_map_internal.h Xinclude/mongo/util/text.h Xinclude/mongo/util/string_writer.h Xinclude/mongo/util/stringutils.h Xinclude/mongo/util/systeminfo.h Xinclude/mongo/util/timer-generic-inl.h Xinclude/mongo/util/timer-inl.h Xinclude/mongo/util/timer-posixclock-inl.h Xinclude/mongo/util/timer-win32-inl.h Xinclude/mongo/util/timer.h Xinclude/mongo/util/touch_pages.h Xinclude/mongo/util/trace.h Xinclude/mongo/util/unordered_fast_key_table.h Xinclude/mongo/util/unordered_fast_key_table_internal.h Xinclude/mongo/util/version.h Xinclude/mongo/util/winutil.h Xinclude/mongo/util/md5.hpp Xinclude/mongo/util/time_support.h Xinclude/mongo/third_party/murmurhash3/MurmurHash3.h Xinclude/mongo/shell/linenoise.h Xinclude/mongo/shell/linenoise_utf8.h Xinclude/mongo/shell/mk_wcwidth.h Xinclude/mongo/shell/shell_utils.h Xinclude/mongo/shell/shell_utils_extended.h Xinclude/mongo/shell/shell_utils_launcher.h Xinclude/mongo/s/chunk_diff.hpp Xinclude/mongo/s/balancer_policy.h Xinclude/mongo/s/chunk.h Xinclude/mongo/s/chunk_diff.h Xinclude/mongo/s/chunk_version.h Xinclude/mongo/s/client_info.h Xinclude/mongo/s/cluster_client_internal.h Xinclude/mongo/s/collection_manager.h Xinclude/mongo/s/config.h Xinclude/mongo/s/config_upgrade.h Xinclude/mongo/s/config_upgrade_helpers.h Xinclude/mongo/s/cursors.h Xinclude/mongo/s/d_chunk_manager.h Xinclude/mongo/s/d_logic.h Xinclude/mongo/s/d_writeback.h Xinclude/mongo/s/field_parser-inl.h Xinclude/mongo/s/field_parser.h Xinclude/mongo/s/grid.h Xinclude/mongo/s/interrupt_status_mongos.h Xinclude/mongo/s/metadata_loader.h Xinclude/mongo/s/mongo_version_range.h Xinclude/mongo/s/request.h Xinclude/mongo/s/server.h Xinclude/mongo/s/shard.h Xinclude/mongo/s/shardkey.h Xinclude/mongo/s/stale_exception.h Xinclude/mongo/s/strategy.h Xinclude/mongo/s/type_changelog.h Xinclude/mongo/s/type_chunk.h Xinclude/mongo/s/type_collection.h Xinclude/mongo/s/type_config_version.h Xinclude/mongo/s/type_database.h Xinclude/mongo/s/type_lockpings.h Xinclude/mongo/s/type_locks.h Xinclude/mongo/s/type_mongos.h Xinclude/mongo/s/type_settings.h Xinclude/mongo/s/type_shard.h Xinclude/mongo/s/type_tags.h Xinclude/mongo/s/version_manager.h Xinclude/mongo/s/balance.h Xinclude/mongo/s/writeback_listener.h Xinclude/mongo/scripting/v8_utils.h Xinclude/mongo/scripting/bson_template_evaluator.h Xinclude/mongo/scripting/engine.h Xinclude/mongo/scripting/engine_spidermonkey.h Xinclude/mongo/scripting/engine_spidermonkey_internal.h Xinclude/mongo/scripting/engine_v8.h Xinclude/mongo/scripting/v8_db.h Xinclude/mongo/scripting/v8_deadline_monitor.h Xinclude/mongo/scripting/v8_profiler.h Xinclude/mongo/scripting/bench.h Xinclude/mongo/pch.h Xinclude/mongo/server.h Xinclude/mongo/targetver.h X@dirrm include/mongo/base X@dirrm include/mongo/bson/util X@dirrm include/mongo/bson X@dirrm include/mongo/client X@dirrm include/mongo/s X@dirrm include/mongo/shell X@dirrm include/mongo/db/auth X@dirrm include/mongo/db/ops X@dirrm include/mongo/db/stats X@dirrm include/mongo/db/repl X@dirrm include/mongo/db X@dirrm include/mongo/platform X@dirrm include/mongo/util/net X@dirrm include/mongo/util/mongoutils X@dirrm include/mongo/util/concurrency X@dirrm include/mongo/util X@dirrm include/mongo/third_party/murmurhash3 X@dirrm include/mongo/third_party X@dirrm include/mongo/scripting X@dirrm include/mongo ac60910d8a8ab620c653a27c2af94bf6 exit
Author: wxs Date: Mon Jul 8 15:11:18 2013 New Revision: 322511 URL: http://svnweb.freebsd.org/changeset/ports/322511 Log: Official Mongo C++ Driver Mongo (from "humongous") is a high-performance, open source, schema-free, document-oriented database. A common name in the "NOSQL" community. PR: ports/175616 Submitted by: Waitman Gobble <uzimac@da3m0n8t3r.com> Added: head/devel/mongo-cxx-driver/ head/devel/mongo-cxx-driver/Makefile (contents, props changed) head/devel/mongo-cxx-driver/distinfo (contents, props changed) head/devel/mongo-cxx-driver/pkg-descr (contents, props changed) head/devel/mongo-cxx-driver/pkg-plist (contents, props changed) Modified: head/devel/Makefile Modified: head/devel/Makefile ============================================================================== --- head/devel/Makefile Mon Jul 8 15:09:41 2013 (r322510) +++ head/devel/Makefile Mon Jul 8 15:11:18 2013 (r322511) @@ -1246,6 +1246,7 @@ SUBDIR += mm SUBDIR += mm-common SUBDIR += mongo-c-driver + SUBDIR += mongo-cxx-driver SUBDIR += mono-addins SUBDIR += mono-tools SUBDIR += monodevelop Added: head/devel/mongo-cxx-driver/Makefile ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/mongo-cxx-driver/Makefile Mon Jul 8 15:11:18 2013 (r322511) @@ -0,0 +1,25 @@ +# Created by: "Waitman Gobble" <uzimac@da3m0n8t3r.com> +# $FreeBSD$ + +PORTNAME= mongo-cxx-driver +PORTVERSION= 2.4 +CATEGORIES= devel +MASTER_SITES= GH + +MAINTAINER= waitman@waitman.net +COMMENT= C++ 2.4 Driver for MongoDB + +LICENSE= AL2 +LICENSE_FILE= ${WRKSRC}/LICENSE.txt + +LIB_DEPENDS= boost_system:${PORTSDIR}/devel/boost-libs \ + sasl2:${PORTSDIR}/security/cyrus-sasl2 + +USE_GITHUB= yes +GH_ACCOUNT= waitman +GH_TAGNAME= ${GH_COMMIT} +GH_COMMIT= 41691d5 + +USE_PYTHON= yes + +.include <bsd.port.mk> Added: head/devel/mongo-cxx-driver/distinfo ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/mongo-cxx-driver/distinfo Mon Jul 8 15:11:18 2013 (r322511) @@ -0,0 +1,2 @@ +SHA256 (mongo-cxx-driver-2.4.tar.gz) = b3dd6aac4c7bc19fe4239bac7796fc2d5f9e940047057088cc5e2bd02747e8cd +SIZE (mongo-cxx-driver-2.4.tar.gz) = 611523 Added: head/devel/mongo-cxx-driver/pkg-descr ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/mongo-cxx-driver/pkg-descr Mon Jul 8 15:11:18 2013 (r322511) @@ -0,0 +1,8 @@ +Official Mongo C++ Driver + +Mongo (from "humongous") is a high-performance, open source, +schema-free, document-oriented database. A common name in the +"NOSQL" community. + +WWW: http://www.mongodb.org/ +WWW: https://github.com/waitman/mongo-cxx-driver-examples Added: head/devel/mongo-cxx-driver/pkg-plist ============================================================================== --- /dev/null 00:00:00 1970 (empty, because file is newly added) +++ head/devel/mongo-cxx-driver/pkg-plist Mon Jul 8 15:11:18 2013 (r322511) @@ -0,0 +1,391 @@ +include/mongo/base/error_codes.h +include/mongo/base/configuration_variable_manager.h +include/mongo/base/counter.h +include/mongo/base/disallow_copying.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/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/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/bsonmisc.h +include/mongo/bson/bsonobj.h +include/mongo/bson/bsonobjbuilder.h +include/mongo/bson/bsonobjiterator.h +include/mongo/bson/bsontypes.h +include/mongo/bson/inline_decls.h +include/mongo/bson/oid.h +include/mongo/bson/ordering.h +include/mongo/bson/bsonelement.h +include/mongo/client/authlevel.h +include/mongo/client/clientOnly-private.h +include/mongo/client/connpool.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/client/constants.h +include/mongo/db/auth/action_type.h +include/mongo/db/auth/action_set.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/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/repl/rs_sync.h +include/mongo/db/repl/connections.h +include/mongo/db/repl/health.h +include/mongo/db/repl/multicmd.h +include/mongo/db/repl/rs.h +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/bgsync.h +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/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/curop-inl.h +include/mongo/db/curop.h +include/mongo/db/db.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/dbhelpers.h +include/mongo/db/dbmessage.h +include/mongo/db/dbwebserver.h +include/mongo/db/diskloc.h +include/mongo/db/dur.h +include/mongo/db/dur_commitjob.h +include/mongo/db/dur_journal.h +include/mongo/db/dur_journalformat.h +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_set.h +include/mongo/db/index_insertion_continuation.h +include/mongo/db/index_rebuilder.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/namespace-inl.h +include/mongo/db/namespace.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/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/queryutil.h +include/mongo/db/querypattern.h +include/mongo/db/record.h +include/mongo/db/queryutil-inl.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/server_parameters.h +include/mongo/db/server_parameters_inline.h +include/mongo/db/sort_phase_one.h +include/mongo/db/taskqueue.h +include/mongo/db/ttl.h +include/mongo/db/repl.h +include/mongo/platform/windows_basic.h +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/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/random.h +include/mongo/platform/strtoll.h +include/mongo/platform/unordered_map.h +include/mongo/platform/unordered_set.h +include/mongo/util/concurrency/shared_mutex_win.hpp +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/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/value.h +include/mongo/util/concurrency/ticketholder.h +include/mongo/util/net/ssl_manager.h +include/mongo/util/net/hostandport.h +include/mongo/util/net/httpclient.h +include/mongo/util/net/listen.h +include/mongo/util/net/message.h +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/mongoutils/checksum.h +include/mongo/util/mongoutils/hash.h +include/mongo/util/mongoutils/html.h +include/mongo/util/mongoutils/str.h +include/mongo/util/admin_access.h +include/mongo/util/alignedbuilder.h +include/mongo/util/allocator.h +include/mongo/util/array.h +include/mongo/util/assert_util.h +include/mongo/util/background.h +include/mongo/util/base64.h +include/mongo/util/bson_util.h +include/mongo/util/bufreader.h +include/mongo/util/file.h +include/mongo/util/checksum.h +include/mongo/util/compress.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_allocator.h +include/mongo/util/goodies.h +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/mmap.h +include/mongo/util/moveablebuffer.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/queue.h +include/mongo/util/progress_meter.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/text.h +include/mongo/util/string_writer.h +include/mongo/util/stringutils.h +include/mongo/util/systeminfo.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/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 +include/mongo/util/md5.hpp +include/mongo/util/time_support.h +include/mongo/third_party/murmurhash3/MurmurHash3.h +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/s/chunk_diff.hpp +include/mongo/s/balancer_policy.h +include/mongo/s/chunk.h +include/mongo/s/chunk_diff.h +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_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/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/shardkey.h +include/mongo/s/stale_exception.h +include/mongo/s/strategy.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/balance.h +include/mongo/s/writeback_listener.h +include/mongo/scripting/v8_utils.h +include/mongo/scripting/bson_template_evaluator.h +include/mongo/scripting/engine.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/bench.h +include/mongo/pch.h +include/mongo/server.h +include/mongo/targetver.h +lib/libmongoclient.a +@dirrm include/mongo/base +@dirrm include/mongo/bson/util +@dirrm include/mongo/bson +@dirrm include/mongo/client +@dirrm include/mongo/s +@dirrm include/mongo/shell +@dirrm include/mongo/db/auth +@dirrm include/mongo/db/ops +@dirrm include/mongo/db/stats +@dirrm include/mongo/db/repl +@dirrm include/mongo/db +@dirrm include/mongo/platform +@dirrm include/mongo/util/net +@dirrm include/mongo/util/mongoutils +@dirrm include/mongo/util/concurrency +@dirrm include/mongo/util +@dirrm include/mongo/third_party/murmurhash3 +@dirrm include/mongo/third_party +@dirrm include/mongo/scripting +@dirrm include/mongo _______________________________________________ svn-ports-all@freebsd.org mailing list http://lists.freebsd.org/mailman/listinfo/svn-ports-all To unsubscribe, send any mail to "svn-ports-all-unsubscribe@freebsd.org"
State Changed From-To: open->closed Committed. Thanks!
Is there a chance to bring this port back? According to http://www.freshports.org/devel/mongo-cxx-driver/ it was removed earlier this month.
Reincarnated with staging support: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=195332