Date: Tue, 13 Aug 2013 13:17:49 +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: r324663 - head/databases/mongodb Message-ID: <201308131317.r7DDHnKB016408@svn.freebsd.org>
next in thread | raw e-mail | index | archive | help
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 <bsd.port.options.mk> .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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201308131317.r7DDHnKB016408>