FreeBSD Bugzilla – Attachment 120592 Details for
Bug 163399
[MAINTAINER] databases/mongodb: update to 2.0.2
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
mongodb-2.0.2.patch
mongodb-2.0.2.patch (text/plain), 9.91 KB, created by
Mirko Zinn
on 2011-12-17 07:10:09 UTC
(
hide
)
Description:
mongodb-2.0.2.patch
Filename:
MIME Type:
Creator:
Mirko Zinn
Created:
2011-12-17 07:10:09 UTC
Size:
9.91 KB
patch
obsolete
>diff -ruN --exclude=CVS /usr/home/zinn/ports/mongodb.orig/Makefile /usr/home/zinn/ports/mongodb/Makefile >--- /usr/home/zinn/ports/mongodb.orig/Makefile 2011-11-24 17:42:56.000000000 +0100 >+++ /usr/home/zinn/ports/mongodb/Makefile 2011-12-17 07:05:41.000000000 +0100 >@@ -6,7 +6,7 @@ > # > > PORTNAME= mongodb >-PORTVERSION= 1.8.3 >+PORTVERSION= 2.0.2 > CATEGORIES= databases net > MASTER_SITES= http://downloads.mongodb.org/src/ > DISTNAME= ${PORTNAME}-src-r${PORTVERSION} >@@ -15,19 +15,20 @@ > COMMENT= A NOSQL distributed document-oriented database > > LIB_DEPENDS= boost_system:${PORTSDIR}/devel/boost-libs \ >- js:${PORTSDIR}/lang/spidermonkey \ >- pcre:${PORTSDIR}/devel/pcre \ >+ execinfo.1:${PORTSDIR}/devel/libexecinfo \ > nspr4:${PORTSDIR}/devel/nspr \ >- execinfo.1:${PORTSDIR}/devel/libexecinfo >+ pcre:${PORTSDIR}/devel/pcre \ >+ snappy:${PORTSDIR}/archivers/snappy > > ONLY_FOR_ARCHS= i386 amd64 > ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64" > >-OPTIONS= DEVEL "Install development files (library and headers)" off >+OPTIONS= DEVEL "Install development files (library and headers)" off \ >+ V8 "Use v8 instead of spider monkey for javascript" off > > USE_SCONS= yes > SCONS_TARGET= all >-SCONS_ARGS= --prefix=${PREFIX} --cxx=${CXX} --cpp=${CPP} >+SCONS_ARGS= --prefix=${PREFIX} --cxx=${CXX} --cpp=${CPP} --use-system-all > > USERS= mongodb > GROUPS= mongodb >@@ -43,6 +44,14 @@ > PLIST_SUB+= DEVEL="@comment " > .endif > >+.if defined(WITH_V8) >+SCONS_ARGS+= --usev8 >+LIB_DEPENDS+= v8:${PORTSDIR}/lang/v8 >+.else >+SCONS_ARGS+= --usesm >+LIB_DEPENDS+= js:${PORTSDIR}/lang/spidermonkey >+.endif >+ > post-install: > @if [ ! -f ${PREFIX}/etc/mongodb.conf ]; then \ > ${TOUCH} ${PREFIX}/etc/mongodb.conf ; \ >diff -ruN --exclude=CVS /usr/home/zinn/ports/mongodb.orig/distinfo /usr/home/zinn/ports/mongodb/distinfo >--- /usr/home/zinn/ports/mongodb.orig/distinfo 2011-08-23 11:32:45.000000000 +0200 >+++ /usr/home/zinn/ports/mongodb/distinfo 2011-12-16 16:37:08.000000000 +0100 >@@ -1,2 +1,2 @@ >-SHA256 (mongodb-src-r1.8.3.tar.gz) = ee121c9698a48b819f1c5b5ba10a98d565bd732d527743f1475f54f697dd63e2 >-SIZE (mongodb-src-r1.8.3.tar.gz) = 1726144 >+SHA256 (mongodb-src-r2.0.2.tar.gz) = e4a498c435532470e8aa7ea1d0119558e0f061c7574659e0ebc0e29cbee2ac8f >+SIZE (mongodb-src-r2.0.2.tar.gz) = 2956087 >diff -ruN --exclude=CVS /usr/home/zinn/ports/mongodb.orig/files/patch-SConstruct /usr/home/zinn/ports/mongodb/files/patch-SConstruct >--- /usr/home/zinn/ports/mongodb.orig/files/patch-SConstruct 2011-11-24 17:42:57.000000000 +0100 >+++ /usr/home/zinn/ports/mongodb/files/patch-SConstruct 2011-12-17 04:58:09.000000000 +0100 >@@ -1,6 +1,6 @@ >---- SConstruct.orig 2011-04-06 04:40:13.000000000 +0000 >-+++ SConstruct 2011-10-04 19:16:33.000000000 +0000 >-@@ -679,7 +679,10 @@ >+--- SConstruct.orig 2011-12-16 18:02:27.000000000 +0100 >++++ SConstruct 2011-12-17 04:39:19.000000000 +0100 >+@@ -702,7 +702,10 @@ > > #make scons colorgcc friendly > env['ENV']['HOME'] = os.environ['HOME'] >@@ -12,7 +12,19 @@ > > if linux and has_option( "sharedclient" ): > env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " ) >-@@ -1473,7 +1476,7 @@ >+@@ -785,8 +788,9 @@ >+ options_topass["nix"] = nix >+ >+ if has_option( "use-system-" + shortName ) or has_option( "use-system-all" ): >+- print( "using system version of: " + shortName ) >+- myModule.configureSystem( env , fileLists , options_topass ) >++ if not (shortName == 'sm' and usev8): >++ print( "using system version of: " + shortName ) >++ myModule.configureSystem( env , fileLists , options_topass ) >+ else: >+ myModule.configure( env , fileLists , options_topass ) >+ >+@@ -1446,7 +1450,7 @@ > fullInstallName = installDir + "/bin/" + name > > allBinaries += [ name ] >@@ -20,4 +32,4 @@ > + if (solaris or linux or freebsd) 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 not has_option( "no-glibc-check" ) and linux and len( COMMAND_LINE_TARGETS ) == 1 and str( COMMAND_LINE_TARGETS[0] ) == "s3dist": >diff -ruN --exclude=CVS /usr/home/zinn/ports/mongodb.orig/pkg-plist /usr/home/zinn/ports/mongodb/pkg-plist >--- /usr/home/zinn/ports/mongodb.orig/pkg-plist 2011-04-23 15:45:27.000000000 +0200 >+++ /usr/home/zinn/ports/mongodb/pkg-plist 2011-12-16 22:07:27.000000000 +0100 >@@ -11,6 +11,7 @@ > bin/mongos > bin/mongosniff > bin/mongostat >+bin/mongotop > %%DEVEL%%lib/libmongoclient.a > %%DEVEL%%include/mongo/bson/bson-inl.h > %%DEVEL%%include/mongo/bson/bson.h >@@ -43,10 +44,13 @@ > %%DEVEL%%include/mongo/client/undef_macros.h > %%DEVEL%%include/mongo/db/background.h > %%DEVEL%%include/mongo/db/btree.h >+%%DEVEL%%include/mongo/db/btreebuilder.h > %%DEVEL%%include/mongo/db/client.h > %%DEVEL%%include/mongo/db/clientcursor.h >+%%DEVEL%%include/mongo/db/cloner.h > %%DEVEL%%include/mongo/db/cmdline.h > %%DEVEL%%include/mongo/db/commands.h >+%%DEVEL%%include/mongo/db/compact.h > %%DEVEL%%include/mongo/db/concurrency.h > %%DEVEL%%include/mongo/db/curop-inl.h > %%DEVEL%%include/mongo/db/curop.h >@@ -74,6 +78,7 @@ > %%DEVEL%%include/mongo/db/jsobj.h > %%DEVEL%%include/mongo/db/jsobjmanipulator.h > %%DEVEL%%include/mongo/db/json.h >+%%DEVEL%%include/mongo/db/key.h > %%DEVEL%%include/mongo/db/lasterror.h > %%DEVEL%%include/mongo/db/matcher.h > %%DEVEL%%include/mongo/db/minilex.h >@@ -85,10 +90,14 @@ > %%DEVEL%%include/mongo/db/nonce.h > %%DEVEL%%include/mongo/db/oplog.h > %%DEVEL%%include/mongo/db/oplogreader.h >+%%DEVEL%%include/mongo/db/ops/delete.h >+%%DEVEL%%include/mongo/db/ops/query.h >+%%DEVEL%%include/mongo/db/ops/update.h > %%DEVEL%%include/mongo/db/pdfile.h > %%DEVEL%%include/mongo/db/projection.h >-%%DEVEL%%include/mongo/db/query.h > %%DEVEL%%include/mongo/db/queryoptimizer.h >+%%DEVEL%%include/mongo/db/querypattern.h >+%%DEVEL%%include/mongo/db/queryutil-inl.h > %%DEVEL%%include/mongo/db/queryutil.h > %%DEVEL%%include/mongo/db/repl/connections.h > %%DEVEL%%include/mongo/db/repl/health.h >@@ -100,19 +109,18 @@ > %%DEVEL%%include/mongo/db/repl/rs_optime.h > %%DEVEL%%include/mongo/db/repl.h > %%DEVEL%%include/mongo/db/repl_block.h >-%%DEVEL%%include/mongo/db/replpair.h >+%%DEVEL%%include/mongo/db/replutil.h > %%DEVEL%%include/mongo/db/resource.h > %%DEVEL%%include/mongo/db/restapi.h > %%DEVEL%%include/mongo/db/scanandorder.h > %%DEVEL%%include/mongo/db/security.h >-%%DEVEL%%include/mongo/db/security_key.h >+%%DEVEL%%include/mongo/db/security_common.h > %%DEVEL%%include/mongo/db/stats/counters.h > %%DEVEL%%include/mongo/db/stats/fine_clock.h > %%DEVEL%%include/mongo/db/stats/service_stats.h > %%DEVEL%%include/mongo/db/stats/snapshots.h > %%DEVEL%%include/mongo/db/stats/top.h > %%DEVEL%%include/mongo/db/taskqueue.h >-%%DEVEL%%include/mongo/db/update.h > %%DEVEL%%include/mongo/pch.h > %%DEVEL%%include/mongo/s/balance.h > %%DEVEL%%include/mongo/s/balancer_policy.h >@@ -124,6 +132,7 @@ > %%DEVEL%%include/mongo/s/d_logic.h > %%DEVEL%%include/mongo/s/d_writeback.h > %%DEVEL%%include/mongo/s/grid.h >+%%DEVEL%%include/mongo/s/mr_shard.h > %%DEVEL%%include/mongo/s/request.h > %%DEVEL%%include/mongo/s/server.h > %%DEVEL%%include/mongo/s/shard.h >@@ -140,6 +149,7 @@ > %%DEVEL%%include/mongo/scripting/v8_db.h > %%DEVEL%%include/mongo/scripting/v8_utils.h > %%DEVEL%%include/mongo/scripting/v8_wrapper.h >+%%DEVEL%%include/mongo/server.h > %%DEVEL%%include/mongo/targetver.h > %%DEVEL%%include/mongo/util/admin_access.h > %%DEVEL%%include/mongo/util/alignedbuilder.h >@@ -148,7 +158,10 @@ > %%DEVEL%%include/mongo/util/assert_util.h > %%DEVEL%%include/mongo/util/background.h > %%DEVEL%%include/mongo/util/base64.h >+%%DEVEL%%include/mongo/util/bson_util.h > %%DEVEL%%include/mongo/util/bufreader.h >+%%DEVEL%%include/mongo/util/checksum.h >+%%DEVEL%%include/mongo/util/compress.h > %%DEVEL%%include/mongo/util/concurrency/list.h > %%DEVEL%%include/mongo/util/concurrency/msg.h > %%DEVEL%%include/mongo/util/concurrency/mutex.h >@@ -170,22 +183,25 @@ > %%DEVEL%%include/mongo/util/heapcheck.h > %%DEVEL%%include/mongo/util/hex.h > %%DEVEL%%include/mongo/util/histogram.h >-%%DEVEL%%include/mongo/util/hostandport.h >-%%DEVEL%%include/mongo/util/httpclient.h > %%DEVEL%%include/mongo/util/log.h > %%DEVEL%%include/mongo/util/logfile.h >-%%DEVEL%%include/mongo/util/md5.h > %%DEVEL%%include/mongo/util/lruishmap.h >+%%DEVEL%%include/mongo/util/md5.h > %%DEVEL%%include/mongo/util/md5.hpp >-%%DEVEL%%include/mongo/util/message.h >-%%DEVEL%%include/mongo/util/message_server.h >-%%DEVEL%%include/mongo/util/miniwebserver.h > %%DEVEL%%include/mongo/util/mmap.h > %%DEVEL%%include/mongo/util/mongoutils/checksum.h > %%DEVEL%%include/mongo/util/mongoutils/hash.h > %%DEVEL%%include/mongo/util/mongoutils/html.h > %%DEVEL%%include/mongo/util/mongoutils/str.h > %%DEVEL%%include/mongo/util/moveablebuffer.h >+%%DEVEL%%include/mongo/util/net/hostandport.h >+%%DEVEL%%include/mongo/util/net/httpclient.h >+%%DEVEL%%include/mongo/util/net/listen.h >+%%DEVEL%%include/mongo/util/net/message.h >+%%DEVEL%%include/mongo/util/net/message_port.h >+%%DEVEL%%include/mongo/util/net/message_server.h >+%%DEVEL%%include/mongo/util/net/miniwebserver.h >+%%DEVEL%%include/mongo/util/net/sock.h > %%DEVEL%%include/mongo/util/ntservice.h > %%DEVEL%%include/mongo/util/optime.h > %%DEVEL%%include/mongo/util/password.h >@@ -194,7 +210,6 @@ > %%DEVEL%%include/mongo/util/queue.h > %%DEVEL%%include/mongo/util/ramlog.h > %%DEVEL%%include/mongo/util/signal_handlers.h >-%%DEVEL%%include/mongo/util/sock.h > %%DEVEL%%include/mongo/util/stringutils.h > %%DEVEL%%include/mongo/util/text.h > %%DEVEL%%include/mongo/util/time_support.h >@@ -205,6 +220,7 @@ > %%DEVEL%%@dirrm include/mongo/bson/util > %%DEVEL%%@dirrm include/mongo/bson > %%DEVEL%%@dirrm include/mongo/client >+%%DEVEL%%@dirrm include/mongo/db/ops > %%DEVEL%%@dirrm include/mongo/db/repl > %%DEVEL%%@dirrm include/mongo/db/stats > %%DEVEL%%@dirrm include/mongo/db >@@ -212,5 +228,6 @@ > %%DEVEL%%@dirrm include/mongo/scripting > %%DEVEL%%@dirrm include/mongo/util/concurrency > %%DEVEL%%@dirrm include/mongo/util/mongoutils >+%%DEVEL%%@dirrm include/mongo/util/net > %%DEVEL%%@dirrm include/mongo/util > %%DEVEL%%@dirrm include/mongo
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 163399
: 120592