From owner-svn-ports-all@FreeBSD.ORG Tue Aug 13 13:17:50 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [8.8.178.115]) (using TLSv1 with cipher ADH-AES256-SHA (256/256 bits)) (No client certificate requested) by hub.freebsd.org (Postfix) with ESMTP id 4E9ABCAD; Tue, 13 Aug 2013 13:17:50 +0000 (UTC) (envelope-from ale@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by mx1.freebsd.org (Postfix) with ESMTPS id 2D20A25F8; Tue, 13 Aug 2013 13:17:50 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.7/8.14.7) with ESMTP id r7DDHo62016411; Tue, 13 Aug 2013 13:17:50 GMT (envelope-from ale@svn.freebsd.org) Received: (from ale@localhost) by svn.freebsd.org (8.14.7/8.14.5/Submit) id r7DDHnKB016408; Tue, 13 Aug 2013 13:17:49 GMT (envelope-from ale@svn.freebsd.org) Message-Id: <201308131317.r7DDHnKB016408@svn.freebsd.org> From: Alex Dupre Date: Tue, 13 Aug 2013 13:17:49 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r324663 - head/databases/mongodb X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Tue, 13 Aug 2013 13:17:50 -0000 Author: ale Date: Tue Aug 13 13:17:49 2013 New Revision: 324663 URL: http://svnweb.freebsd.org/changeset/ports/324663 Log: Update to 2.4.5 release. Add support for SASL client authentication Build shared library. Modified: head/databases/mongodb/Makefile head/databases/mongodb/distinfo head/databases/mongodb/pkg-plist Modified: head/databases/mongodb/Makefile ============================================================================== --- head/databases/mongodb/Makefile Tue Aug 13 13:04:55 2013 (r324662) +++ head/databases/mongodb/Makefile Tue Aug 13 13:17:49 2013 (r324663) @@ -2,7 +2,7 @@ # $FreeBSD$ PORTNAME= mongodb -PORTVERSION= 2.4.4 +PORTVERSION= 2.4.5 CATEGORIES= databases net MASTER_SITES= http://downloads.mongodb.org/src/ DISTNAME= ${PORTNAME}-src-r${PORTVERSION} @@ -24,19 +24,23 @@ LIB_DEPENDS= execinfo:${PORTSDIR}/devel/ ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64" -OPTIONS_DEFINE= SM SSL TEST +OPTIONS_DEFINE= SM SSL SASL TEST OPTIONS_DEFAULT=SSL SM_DESC= Use SpiderMonkey instead of V8 for JavaScript TEST_DESC= Add support for running regression test USE_SCONS= yes -SCONS_ARGS= --prefix=${PREFIX} --cc=${CC} --cxx=${CXX} --use-system-pcre --use-system-snappy +SCONS_ARGS= --prefix=${PREFIX} --cc=${CC} --cxx=${CXX} \ + --use-system-pcre --use-system-snappy \ + --full --sharedclient USERS= mongodb GROUPS= mongodb USE_RC_SUBR= mongod +USE_LDCONFIG= yes + .include .if ${PORT_OPTIONS:MSM} @@ -52,6 +56,11 @@ USE_OPENSSL= yes SCONS_ARGS+= --ssl .endif +.if ${PORT_OPTIONS:MSASL} +SCONS_ARGS+= --use-sasl-client +LIB_DEPENDS+= sasl2:${PORTSDIR}/security/cyrus-sasl2 +.endif + .if ${PORT_OPTIONS:MTEST} BUILD_DEPENDS= pymongo>=2.5:${PORTSDIR}/databases/pymongo SCONS_TARGET= all @@ -68,6 +77,8 @@ post-patch: ${WRKSRC}/SConstruct post-install: + @${LN} -s ${PREFIX}/lib/libmongoclient.so \ + ${PREFIX}/lib/libmongoclient.so.0 @if [ ! -f ${PREFIX}/etc/mongodb.conf ]; then \ ${TOUCH} ${PREFIX}/etc/mongodb.conf ; \ fi Modified: head/databases/mongodb/distinfo ============================================================================== --- head/databases/mongodb/distinfo Tue Aug 13 13:04:55 2013 (r324662) +++ head/databases/mongodb/distinfo Tue Aug 13 13:17:49 2013 (r324663) @@ -1,2 +1,2 @@ -SHA256 (mongodb-src-r2.4.4.tar.gz) = ea3db3e730290d030853f7a22cbbc5edfbe33dd538ec67d551a7e88f6d4db240 -SIZE (mongodb-src-r2.4.4.tar.gz) = 14119330 +SHA256 (mongodb-src-r2.4.5.tar.gz) = b576cbc2c813144b8a8774a7232b78bd0b005e2e6fa7428e7fa1e426c7a28705 +SIZE (mongodb-src-r2.4.5.tar.gz) = 14128847 Modified: head/databases/mongodb/pkg-plist ============================================================================== --- head/databases/mongodb/pkg-plist Tue Aug 13 13:04:55 2013 (r324662) +++ head/databases/mongodb/pkg-plist Tue Aug 13 13:17:49 2013 (r324663) @@ -384,6 +384,8 @@ include/mongo/util/unordered_fast_key_ta include/mongo/util/version.h include/mongo/util/winutil.h lib/libmongoclient.a +lib/libmongoclient.so +lib/libmongoclient.so.0 @dirrm include/mongo/base @dirrm include/mongo/bson/util @dirrm include/mongo/bson