View | Details | Raw Unified | Return to bug 163399
Collapse All | Expand All

(-)/usr/home/zinn/ports/mongodb/Makefile (-6 / +15 lines)
Lines 6-12 Link Here
6
#
6
#
7
7
8
PORTNAME=	mongodb
8
PORTNAME=	mongodb
9
PORTVERSION=	1.8.3
9
PORTVERSION=	2.0.2
10
CATEGORIES=	databases net
10
CATEGORIES=	databases net
11
MASTER_SITES=	http://downloads.mongodb.org/src/
11
MASTER_SITES=	http://downloads.mongodb.org/src/
12
DISTNAME=	${PORTNAME}-src-r${PORTVERSION}
12
DISTNAME=	${PORTNAME}-src-r${PORTVERSION}
Lines 15-33 Link Here
15
COMMENT=	A NOSQL distributed document-oriented database
15
COMMENT=	A NOSQL distributed document-oriented database
16
16
17
LIB_DEPENDS=	boost_system:${PORTSDIR}/devel/boost-libs \
17
LIB_DEPENDS=	boost_system:${PORTSDIR}/devel/boost-libs \
18
		js:${PORTSDIR}/lang/spidermonkey \
18
		execinfo.1:${PORTSDIR}/devel/libexecinfo \
19
		pcre:${PORTSDIR}/devel/pcre \
20
		nspr4:${PORTSDIR}/devel/nspr \
19
		nspr4:${PORTSDIR}/devel/nspr \
21
		execinfo.1:${PORTSDIR}/devel/libexecinfo
20
		pcre:${PORTSDIR}/devel/pcre \
21
		snappy:${PORTSDIR}/archivers/snappy
22
22
23
ONLY_FOR_ARCHS=	i386 amd64
23
ONLY_FOR_ARCHS=	i386 amd64
24
ONLY_FOR_ARCHS_REASON=	"not yet ported to anything other than i386 and amd64"
24
ONLY_FOR_ARCHS_REASON=	"not yet ported to anything other than i386 and amd64"
25
25
26
OPTIONS=	DEVEL "Install development files (library and headers)" off
26
OPTIONS=	DEVEL "Install development files (library and headers)" off \
27
		V8 "Use v8 instead of spider monkey for javascript" off
27
28
28
USE_SCONS=	yes
29
USE_SCONS=	yes
29
SCONS_TARGET=	all
30
SCONS_TARGET=	all
30
SCONS_ARGS=	--prefix=${PREFIX} --cxx=${CXX} --cpp=${CPP}
31
SCONS_ARGS=	--prefix=${PREFIX} --cxx=${CXX} --cpp=${CPP} --use-system-all
31
32
32
USERS=	mongodb
33
USERS=	mongodb
33
GROUPS=	mongodb
34
GROUPS=	mongodb
Lines 43-48 Link Here
43
PLIST_SUB+=	DEVEL="@comment "
44
PLIST_SUB+=	DEVEL="@comment "
44
.endif
45
.endif
45
46
47
.if defined(WITH_V8)
48
SCONS_ARGS+=	--usev8
49
LIB_DEPENDS+=	v8:${PORTSDIR}/lang/v8
50
.else
51
SCONS_ARGS+=	--usesm
52
LIB_DEPENDS+=	js:${PORTSDIR}/lang/spidermonkey
53
.endif
54
46
post-install:
55
post-install:
47
	@if [ ! -f ${PREFIX}/etc/mongodb.conf ]; then \
56
	@if [ ! -f ${PREFIX}/etc/mongodb.conf ]; then \
48
		${TOUCH} ${PREFIX}/etc/mongodb.conf ; \
57
		${TOUCH} ${PREFIX}/etc/mongodb.conf ; \
(-)/usr/home/zinn/ports/mongodb/distinfo (-2 / +2 lines)
Lines 1-2 Link Here
1
SHA256 (mongodb-src-r1.8.3.tar.gz) = ee121c9698a48b819f1c5b5ba10a98d565bd732d527743f1475f54f697dd63e2
1
SHA256 (mongodb-src-r2.0.2.tar.gz) = e4a498c435532470e8aa7ea1d0119558e0f061c7574659e0ebc0e29cbee2ac8f
2
SIZE (mongodb-src-r1.8.3.tar.gz) = 1726144
2
SIZE (mongodb-src-r2.0.2.tar.gz) = 2956087
(-)/usr/home/zinn/ports/mongodb/files/patch-SConstruct (-5 / +17 lines)
Lines 1-6 Link Here
1
--- SConstruct.orig	2011-04-06 04:40:13.000000000 +0000
1
--- SConstruct.orig	2011-12-16 18:02:27.000000000 +0100
2
+++ SConstruct	2011-10-04 19:16:33.000000000 +0000
2
+++ SConstruct	2011-12-17 04:39:19.000000000 +0100
3
@@ -679,7 +679,10 @@
3
@@ -702,7 +702,10 @@
4
 
4
 
5
     #make scons colorgcc friendly
5
     #make scons colorgcc friendly
6
     env['ENV']['HOME'] = os.environ['HOME']
6
     env['ENV']['HOME'] = os.environ['HOME']
Lines 12-18 Link Here
12
 
12
 
13
     if linux and has_option( "sharedclient" ):
13
     if linux and has_option( "sharedclient" ):
14
         env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " )
14
         env.Append( LINKFLAGS=" -Wl,--as-needed -Wl,-zdefs " )
15
@@ -1473,7 +1476,7 @@
15
@@ -785,8 +788,9 @@
16
     options_topass["nix"] = nix
17
     
18
     if has_option( "use-system-" + shortName ) or has_option( "use-system-all" ):
19
-        print( "using system version of: " + shortName )
20
-        myModule.configureSystem( env , fileLists , options_topass )
21
+        if not (shortName == 'sm' and usev8):
22
+            print( "using system version of: " + shortName )
23
+            myModule.configureSystem( env , fileLists , options_topass )
24
     else:
25
         myModule.configure( env , fileLists , options_topass )
26
 
27
@@ -1446,7 +1450,7 @@
16
     fullInstallName = installDir + "/bin/" + name
28
     fullInstallName = installDir + "/bin/" + name
17
 
29
 
18
     allBinaries += [ name ]
30
     allBinaries += [ name ]
Lines 20-23 Link Here
20
+    if (solaris or linux or freebsd) and (not has_option("nostrip")):
32
+    if (solaris or linux or freebsd) and (not has_option("nostrip")):
21
         e.AddPostAction( inst, e.Action( 'strip ' + fullInstallName ) )
33
         e.AddPostAction( inst, e.Action( 'strip ' + fullInstallName ) )
22
 
34
 
23
     if linux and len( COMMAND_LINE_TARGETS ) == 1 and str( COMMAND_LINE_TARGETS[0] ) == "s3dist":
35
     if not has_option( "no-glibc-check" ) and linux and len( COMMAND_LINE_TARGETS ) == 1 and str( COMMAND_LINE_TARGETS[0] ) == "s3dist":
(-)/usr/home/zinn/ports/mongodb/pkg-plist (-11 / +28 lines)
Lines 11-16 Link Here
11
bin/mongos
11
bin/mongos
12
bin/mongosniff
12
bin/mongosniff
13
bin/mongostat
13
bin/mongostat
14
bin/mongotop
14
%%DEVEL%%lib/libmongoclient.a
15
%%DEVEL%%lib/libmongoclient.a
15
%%DEVEL%%include/mongo/bson/bson-inl.h
16
%%DEVEL%%include/mongo/bson/bson-inl.h
16
%%DEVEL%%include/mongo/bson/bson.h
17
%%DEVEL%%include/mongo/bson/bson.h
Lines 43-52 Link Here
43
%%DEVEL%%include/mongo/client/undef_macros.h
44
%%DEVEL%%include/mongo/client/undef_macros.h
44
%%DEVEL%%include/mongo/db/background.h
45
%%DEVEL%%include/mongo/db/background.h
45
%%DEVEL%%include/mongo/db/btree.h
46
%%DEVEL%%include/mongo/db/btree.h
47
%%DEVEL%%include/mongo/db/btreebuilder.h
46
%%DEVEL%%include/mongo/db/client.h
48
%%DEVEL%%include/mongo/db/client.h
47
%%DEVEL%%include/mongo/db/clientcursor.h
49
%%DEVEL%%include/mongo/db/clientcursor.h
50
%%DEVEL%%include/mongo/db/cloner.h
48
%%DEVEL%%include/mongo/db/cmdline.h
51
%%DEVEL%%include/mongo/db/cmdline.h
49
%%DEVEL%%include/mongo/db/commands.h
52
%%DEVEL%%include/mongo/db/commands.h
53
%%DEVEL%%include/mongo/db/compact.h
50
%%DEVEL%%include/mongo/db/concurrency.h
54
%%DEVEL%%include/mongo/db/concurrency.h
51
%%DEVEL%%include/mongo/db/curop-inl.h
55
%%DEVEL%%include/mongo/db/curop-inl.h
52
%%DEVEL%%include/mongo/db/curop.h
56
%%DEVEL%%include/mongo/db/curop.h
Lines 74-79 Link Here
74
%%DEVEL%%include/mongo/db/jsobj.h
78
%%DEVEL%%include/mongo/db/jsobj.h
75
%%DEVEL%%include/mongo/db/jsobjmanipulator.h
79
%%DEVEL%%include/mongo/db/jsobjmanipulator.h
76
%%DEVEL%%include/mongo/db/json.h
80
%%DEVEL%%include/mongo/db/json.h
81
%%DEVEL%%include/mongo/db/key.h
77
%%DEVEL%%include/mongo/db/lasterror.h
82
%%DEVEL%%include/mongo/db/lasterror.h
78
%%DEVEL%%include/mongo/db/matcher.h
83
%%DEVEL%%include/mongo/db/matcher.h
79
%%DEVEL%%include/mongo/db/minilex.h
84
%%DEVEL%%include/mongo/db/minilex.h
Lines 85-94 Link Here
85
%%DEVEL%%include/mongo/db/nonce.h
90
%%DEVEL%%include/mongo/db/nonce.h
86
%%DEVEL%%include/mongo/db/oplog.h
91
%%DEVEL%%include/mongo/db/oplog.h
87
%%DEVEL%%include/mongo/db/oplogreader.h
92
%%DEVEL%%include/mongo/db/oplogreader.h
93
%%DEVEL%%include/mongo/db/ops/delete.h
94
%%DEVEL%%include/mongo/db/ops/query.h
95
%%DEVEL%%include/mongo/db/ops/update.h
88
%%DEVEL%%include/mongo/db/pdfile.h
96
%%DEVEL%%include/mongo/db/pdfile.h
89
%%DEVEL%%include/mongo/db/projection.h
97
%%DEVEL%%include/mongo/db/projection.h
90
%%DEVEL%%include/mongo/db/query.h
91
%%DEVEL%%include/mongo/db/queryoptimizer.h
98
%%DEVEL%%include/mongo/db/queryoptimizer.h
99
%%DEVEL%%include/mongo/db/querypattern.h
100
%%DEVEL%%include/mongo/db/queryutil-inl.h
92
%%DEVEL%%include/mongo/db/queryutil.h
101
%%DEVEL%%include/mongo/db/queryutil.h
93
%%DEVEL%%include/mongo/db/repl/connections.h
102
%%DEVEL%%include/mongo/db/repl/connections.h
94
%%DEVEL%%include/mongo/db/repl/health.h
103
%%DEVEL%%include/mongo/db/repl/health.h
Lines 100-118 Link Here
100
%%DEVEL%%include/mongo/db/repl/rs_optime.h
109
%%DEVEL%%include/mongo/db/repl/rs_optime.h
101
%%DEVEL%%include/mongo/db/repl.h
110
%%DEVEL%%include/mongo/db/repl.h
102
%%DEVEL%%include/mongo/db/repl_block.h
111
%%DEVEL%%include/mongo/db/repl_block.h
103
%%DEVEL%%include/mongo/db/replpair.h
112
%%DEVEL%%include/mongo/db/replutil.h
104
%%DEVEL%%include/mongo/db/resource.h
113
%%DEVEL%%include/mongo/db/resource.h
105
%%DEVEL%%include/mongo/db/restapi.h
114
%%DEVEL%%include/mongo/db/restapi.h
106
%%DEVEL%%include/mongo/db/scanandorder.h
115
%%DEVEL%%include/mongo/db/scanandorder.h
107
%%DEVEL%%include/mongo/db/security.h
116
%%DEVEL%%include/mongo/db/security.h
108
%%DEVEL%%include/mongo/db/security_key.h
117
%%DEVEL%%include/mongo/db/security_common.h
109
%%DEVEL%%include/mongo/db/stats/counters.h
118
%%DEVEL%%include/mongo/db/stats/counters.h
110
%%DEVEL%%include/mongo/db/stats/fine_clock.h
119
%%DEVEL%%include/mongo/db/stats/fine_clock.h
111
%%DEVEL%%include/mongo/db/stats/service_stats.h
120
%%DEVEL%%include/mongo/db/stats/service_stats.h
112
%%DEVEL%%include/mongo/db/stats/snapshots.h
121
%%DEVEL%%include/mongo/db/stats/snapshots.h
113
%%DEVEL%%include/mongo/db/stats/top.h
122
%%DEVEL%%include/mongo/db/stats/top.h
114
%%DEVEL%%include/mongo/db/taskqueue.h
123
%%DEVEL%%include/mongo/db/taskqueue.h
115
%%DEVEL%%include/mongo/db/update.h
116
%%DEVEL%%include/mongo/pch.h
124
%%DEVEL%%include/mongo/pch.h
117
%%DEVEL%%include/mongo/s/balance.h
125
%%DEVEL%%include/mongo/s/balance.h
118
%%DEVEL%%include/mongo/s/balancer_policy.h
126
%%DEVEL%%include/mongo/s/balancer_policy.h
Lines 124-129 Link Here
124
%%DEVEL%%include/mongo/s/d_logic.h
132
%%DEVEL%%include/mongo/s/d_logic.h
125
%%DEVEL%%include/mongo/s/d_writeback.h
133
%%DEVEL%%include/mongo/s/d_writeback.h
126
%%DEVEL%%include/mongo/s/grid.h
134
%%DEVEL%%include/mongo/s/grid.h
135
%%DEVEL%%include/mongo/s/mr_shard.h
127
%%DEVEL%%include/mongo/s/request.h
136
%%DEVEL%%include/mongo/s/request.h
128
%%DEVEL%%include/mongo/s/server.h
137
%%DEVEL%%include/mongo/s/server.h
129
%%DEVEL%%include/mongo/s/shard.h
138
%%DEVEL%%include/mongo/s/shard.h
Lines 140-145 Link Here
140
%%DEVEL%%include/mongo/scripting/v8_db.h
149
%%DEVEL%%include/mongo/scripting/v8_db.h
141
%%DEVEL%%include/mongo/scripting/v8_utils.h
150
%%DEVEL%%include/mongo/scripting/v8_utils.h
142
%%DEVEL%%include/mongo/scripting/v8_wrapper.h
151
%%DEVEL%%include/mongo/scripting/v8_wrapper.h
152
%%DEVEL%%include/mongo/server.h
143
%%DEVEL%%include/mongo/targetver.h
153
%%DEVEL%%include/mongo/targetver.h
144
%%DEVEL%%include/mongo/util/admin_access.h
154
%%DEVEL%%include/mongo/util/admin_access.h
145
%%DEVEL%%include/mongo/util/alignedbuilder.h
155
%%DEVEL%%include/mongo/util/alignedbuilder.h
Lines 148-154 Link Here
148
%%DEVEL%%include/mongo/util/assert_util.h
158
%%DEVEL%%include/mongo/util/assert_util.h
149
%%DEVEL%%include/mongo/util/background.h
159
%%DEVEL%%include/mongo/util/background.h
150
%%DEVEL%%include/mongo/util/base64.h
160
%%DEVEL%%include/mongo/util/base64.h
161
%%DEVEL%%include/mongo/util/bson_util.h
151
%%DEVEL%%include/mongo/util/bufreader.h
162
%%DEVEL%%include/mongo/util/bufreader.h
163
%%DEVEL%%include/mongo/util/checksum.h
164
%%DEVEL%%include/mongo/util/compress.h
152
%%DEVEL%%include/mongo/util/concurrency/list.h
165
%%DEVEL%%include/mongo/util/concurrency/list.h
153
%%DEVEL%%include/mongo/util/concurrency/msg.h
166
%%DEVEL%%include/mongo/util/concurrency/msg.h
154
%%DEVEL%%include/mongo/util/concurrency/mutex.h
167
%%DEVEL%%include/mongo/util/concurrency/mutex.h
Lines 170-191 Link Here
170
%%DEVEL%%include/mongo/util/heapcheck.h
183
%%DEVEL%%include/mongo/util/heapcheck.h
171
%%DEVEL%%include/mongo/util/hex.h
184
%%DEVEL%%include/mongo/util/hex.h
172
%%DEVEL%%include/mongo/util/histogram.h
185
%%DEVEL%%include/mongo/util/histogram.h
173
%%DEVEL%%include/mongo/util/hostandport.h
174
%%DEVEL%%include/mongo/util/httpclient.h
175
%%DEVEL%%include/mongo/util/log.h
186
%%DEVEL%%include/mongo/util/log.h
176
%%DEVEL%%include/mongo/util/logfile.h
187
%%DEVEL%%include/mongo/util/logfile.h
177
%%DEVEL%%include/mongo/util/md5.h
178
%%DEVEL%%include/mongo/util/lruishmap.h
188
%%DEVEL%%include/mongo/util/lruishmap.h
189
%%DEVEL%%include/mongo/util/md5.h
179
%%DEVEL%%include/mongo/util/md5.hpp
190
%%DEVEL%%include/mongo/util/md5.hpp
180
%%DEVEL%%include/mongo/util/message.h
181
%%DEVEL%%include/mongo/util/message_server.h
182
%%DEVEL%%include/mongo/util/miniwebserver.h
183
%%DEVEL%%include/mongo/util/mmap.h
191
%%DEVEL%%include/mongo/util/mmap.h
184
%%DEVEL%%include/mongo/util/mongoutils/checksum.h
192
%%DEVEL%%include/mongo/util/mongoutils/checksum.h
185
%%DEVEL%%include/mongo/util/mongoutils/hash.h
193
%%DEVEL%%include/mongo/util/mongoutils/hash.h
186
%%DEVEL%%include/mongo/util/mongoutils/html.h
194
%%DEVEL%%include/mongo/util/mongoutils/html.h
187
%%DEVEL%%include/mongo/util/mongoutils/str.h
195
%%DEVEL%%include/mongo/util/mongoutils/str.h
188
%%DEVEL%%include/mongo/util/moveablebuffer.h
196
%%DEVEL%%include/mongo/util/moveablebuffer.h
197
%%DEVEL%%include/mongo/util/net/hostandport.h
198
%%DEVEL%%include/mongo/util/net/httpclient.h
199
%%DEVEL%%include/mongo/util/net/listen.h
200
%%DEVEL%%include/mongo/util/net/message.h
201
%%DEVEL%%include/mongo/util/net/message_port.h
202
%%DEVEL%%include/mongo/util/net/message_server.h
203
%%DEVEL%%include/mongo/util/net/miniwebserver.h
204
%%DEVEL%%include/mongo/util/net/sock.h
189
%%DEVEL%%include/mongo/util/ntservice.h
205
%%DEVEL%%include/mongo/util/ntservice.h
190
%%DEVEL%%include/mongo/util/optime.h
206
%%DEVEL%%include/mongo/util/optime.h
191
%%DEVEL%%include/mongo/util/password.h
207
%%DEVEL%%include/mongo/util/password.h
Lines 194-200 Link Here
194
%%DEVEL%%include/mongo/util/queue.h
210
%%DEVEL%%include/mongo/util/queue.h
195
%%DEVEL%%include/mongo/util/ramlog.h
211
%%DEVEL%%include/mongo/util/ramlog.h
196
%%DEVEL%%include/mongo/util/signal_handlers.h
212
%%DEVEL%%include/mongo/util/signal_handlers.h
197
%%DEVEL%%include/mongo/util/sock.h
198
%%DEVEL%%include/mongo/util/stringutils.h
213
%%DEVEL%%include/mongo/util/stringutils.h
199
%%DEVEL%%include/mongo/util/text.h
214
%%DEVEL%%include/mongo/util/text.h
200
%%DEVEL%%include/mongo/util/time_support.h
215
%%DEVEL%%include/mongo/util/time_support.h
Lines 205-210 Link Here
205
%%DEVEL%%@dirrm include/mongo/bson/util
220
%%DEVEL%%@dirrm include/mongo/bson/util
206
%%DEVEL%%@dirrm include/mongo/bson
221
%%DEVEL%%@dirrm include/mongo/bson
207
%%DEVEL%%@dirrm include/mongo/client
222
%%DEVEL%%@dirrm include/mongo/client
223
%%DEVEL%%@dirrm include/mongo/db/ops
208
%%DEVEL%%@dirrm include/mongo/db/repl
224
%%DEVEL%%@dirrm include/mongo/db/repl
209
%%DEVEL%%@dirrm include/mongo/db/stats
225
%%DEVEL%%@dirrm include/mongo/db/stats
210
%%DEVEL%%@dirrm include/mongo/db
226
%%DEVEL%%@dirrm include/mongo/db
Lines 212-216 Link Here
212
%%DEVEL%%@dirrm include/mongo/scripting
228
%%DEVEL%%@dirrm include/mongo/scripting
213
%%DEVEL%%@dirrm include/mongo/util/concurrency
229
%%DEVEL%%@dirrm include/mongo/util/concurrency
214
%%DEVEL%%@dirrm include/mongo/util/mongoutils
230
%%DEVEL%%@dirrm include/mongo/util/mongoutils
231
%%DEVEL%%@dirrm include/mongo/util/net
215
%%DEVEL%%@dirrm include/mongo/util
232
%%DEVEL%%@dirrm include/mongo/util
216
%%DEVEL%%@dirrm include/mongo
233
%%DEVEL%%@dirrm include/mongo

Return to bug 163399