Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 7 Apr 2014 10:35:14 +0000 (UTC)
From:      Alex Dupre <ale@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r350455 - in head/databases/mongodb: . files
Message-ID:  <201404071035.s37AZEPg083797@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: ale
Date: Mon Apr  7 10:35:14 2014
New Revision: 350455
URL: http://svnweb.freebsd.org/changeset/ports/350455
QAT: https://qat.redports.org/buildarchive/r350455/

Log:
  Update to 2.4.10 release.

Added:
  head/databases/mongodb/files/patch-src_mongo_dbtests_documentsourcetests.cpp   (contents, props changed)
Modified:
  head/databases/mongodb/Makefile
  head/databases/mongodb/distinfo

Modified: head/databases/mongodb/Makefile
==============================================================================
--- head/databases/mongodb/Makefile	Mon Apr  7 10:13:16 2014	(r350454)
+++ head/databases/mongodb/Makefile	Mon Apr  7 10:35:14 2014	(r350455)
@@ -2,8 +2,7 @@
 # $FreeBSD$
 
 PORTNAME=	mongodb
-PORTVERSION=	2.4.9
-PORTREVISION=	1
+PORTVERSION=	2.4.10
 CATEGORIES=	databases net
 MASTER_SITES=	http://downloads.mongodb.org/src/
 DISTNAME=	${PORTNAME}-src-r${PORTVERSION}
@@ -18,9 +17,9 @@ LICENSE_COMB=	multi
 LIB_DEPENDS=	libexecinfo.so:${PORTSDIR}/devel/libexecinfo \
 		libpcre.so:${PORTSDIR}/devel/pcre \
 		libsnappy.so:${PORTSDIR}/archivers/snappy
-# boost 1.52 from ports make mongod segfaulting with many tests
+# boost 1.52/1.55 from ports make mongod segfaulting with many tests
 # LIB_DEPENDS+=	libboost_system.so:${PORTSDIR}/devel/boost-libs
-# SCONS_ARGS+=	--use-system-boost
+# MAKE_ARGS+=	--use-system-boost
 
 ONLY_FOR_ARCHS=	i386 amd64
 ONLY_FOR_ARCHS_REASON=	"not yet ported to anything other than i386 and amd64"
@@ -64,13 +63,12 @@ LIB_DEPENDS+=	libsasl2.so:${PORTSDIR}/se
 
 .if ${PORT_OPTIONS:MTEST}
 BUILD_DEPENDS=	pymongo>=2.5:${PORTSDIR}/databases/pymongo
-MAKE_TARGET=	all
-SMOKE_TESTS=	smokeAll smokeCppUnittests
+TEST_TARGET=	smokeAll smokeCppUnittests
 .	if ${PORT_OPTIONS:MSSL}
-SMOKE_TESTS+=	smokeSsl
+TEST_TARGET+=	smokeSsl
 .	endif
 .else
-MAKE_TARGET=	core tools
+ALL_TARGET=	core tools
 .endif
 
 .if ${OSVERSION} >= 1000024
@@ -86,8 +84,8 @@ post-patch:
 
 .if ${PORT_OPTIONS:MTEST}
 test: build-depends build
-	@cd ${BUILD_WRKSRC} && \
-		${SCONS_BIN} ${SCONS_ENV} ${MAKE_ARGS} ${SMOKE_TESTS}
+	@cd ${BUILD_WRKSRC} && ${SETENV} ${MAKE_ENV} \
+		${MAKE_CMD} ${_MAKE_JOBS} ${MAKE_ARGS} ${TEST_TARGET}
 .endif
 
 .include <bsd.port.mk>

Modified: head/databases/mongodb/distinfo
==============================================================================
--- head/databases/mongodb/distinfo	Mon Apr  7 10:13:16 2014	(r350454)
+++ head/databases/mongodb/distinfo	Mon Apr  7 10:35:14 2014	(r350455)
@@ -1,2 +1,2 @@
-SHA256 (mongodb-src-r2.4.9.tar.gz) = 40755d66419a5c9f0d9909a079b092195825773ded188ded3faf07025d02600f
-SIZE (mongodb-src-r2.4.9.tar.gz) = 14162773
+SHA256 (mongodb-src-r2.4.10.tar.gz) = 8ac8d0537e5316e842e3713870b76ea3cc18ec1234307e850046449f48a87402
+SIZE (mongodb-src-r2.4.10.tar.gz) = 14166404

Added: head/databases/mongodb/files/patch-src_mongo_dbtests_documentsourcetests.cpp
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/databases/mongodb/files/patch-src_mongo_dbtests_documentsourcetests.cpp	Mon Apr  7 10:35:14 2014	(r350455)
@@ -0,0 +1,11 @@
+--- ./src/mongo/dbtests/documentsourcetests.cpp.orig	2014-04-07 09:45:28.120368155 +0000
++++ ./src/mongo/dbtests/documentsourcetests.cpp	2014-04-07 09:45:21.592368569 +0000
+@@ -583,7 +583,7 @@
+         };
+ 
+         struct ValueCmp {
+-            bool operator()(const Value& a, const Value& b) {
++            bool operator()(const Value& a, const Value& b) const {
+                 return Value::compare( a, b ) < 0;
+             }
+         };



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201404071035.s37AZEPg083797>