From owner-svn-ports-all@freebsd.org Sat Feb 27 14:18:17 2016 Return-Path: Delivered-To: svn-ports-all@mailman.ysv.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2001:1900:2254:206a::19:1]) by mailman.ysv.freebsd.org (Postfix) with ESMTP id BACC4AB669D; Sat, 27 Feb 2016 14:18:17 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org (repo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:0]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (Client did not present a certificate) by mx1.freebsd.org (Postfix) with ESMTPS id 91DF01FF3; Sat, 27 Feb 2016 14:18:17 +0000 (UTC) (envelope-from koobs@FreeBSD.org) Received: from repo.freebsd.org ([127.0.1.37]) by repo.freebsd.org (8.15.2/8.15.2) with ESMTP id u1REIGDn014201; Sat, 27 Feb 2016 14:18:16 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1REIGZe014199; Sat, 27 Feb 2016 14:18:16 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201602271418.u1REIGZe014199@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Sat, 27 Feb 2016 14:18:16 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r409668 - head/databases/mongodb32 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.20 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: Sat, 27 Feb 2016 14:18:17 -0000 Author: koobs Date: Sat Feb 27 14:18:16 2016 New Revision: 409668 URL: https://svnweb.freebsd.org/changeset/ports/409668 Log: databases/mongodb32: Update to 3.2.3 - Update PORTVERSION and distinfo checksum (3.2.3) [1] - Depend explicitly on Clang 3.7 - Update ONLY_FOR_ARCHS{_REASON} to exclude i386 Removes i386 support entirely, as even now I get pkg-fallout due to mozjs failing to build in some circumstances, and the maintenance burden isn't worth it given 32bit is deprecated. A future revision may conditionally check the existence of a global clang that meets the requirements of this port, but right now that requires fixing some issues in compiler.mk and I don't feel it appropriate to replicate its entire functionality to fix this port for now. PR: 207417 Reported by: [1] Submitted by: Brendan Molloy (maintainer) Modified: head/databases/mongodb32/Makefile head/databases/mongodb32/distinfo Modified: head/databases/mongodb32/Makefile ============================================================================== --- head/databases/mongodb32/Makefile Sat Feb 27 13:39:40 2016 (r409667) +++ head/databases/mongodb32/Makefile Sat Feb 27 14:18:16 2016 (r409668) @@ -2,9 +2,8 @@ # $FreeBSD$ PORTNAME= mongodb32 -PORTVERSION= 3.2.1 +PORTVERSION= 3.2.3 DISTVERSIONPREFIX= r -PORTREVISION= 1 CATEGORIES= databases net MASTER_SITES= https://fastdl.mongodb.org/src/ \ http://fastdl.mongodb.org/src/ \ @@ -18,19 +17,25 @@ COMMENT= Distributed document-oriented " LICENSE= AGPLv3 APACHE20 LICENSE_COMB= multi +# Bugs when compiled with < Clang 3.7 +# - https://jira.mongodb.org/browse/SERVER-21217 +# - https://jira.mongodb.org/browse/SERVER-22740 +BUILD_DEPENDS= ${LOCALBASE}/bin/clang37:${PORTSDIR}/lang/clang37 LIB_DEPENDS= libpcre.so:${PORTSDIR}/devel/pcre \ libsnappy.so:${PORTSDIR}/archivers/snappy TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:${PORTSDIR}/devel/py-yaml \ ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0:${PORTSDIR}/databases/pymongo -ONLY_FOR_ARCHS= i386 amd64 -ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64" +CPP= ${LOCALBASE}/bin/clang-cpp37 +CC= ${LOCALBASE}/bin/clang37 +CXX= ${LOCALBASE}/bin/clang++37 +CHOSEN_COMPILER_TYPE= clang -OPTIONS_DEFINE= SASL SSL WIREDTIGER -OPTIONS_DEFAULT= SSL WIREDTIGER +ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS_REASON= "Only supported on amd64 (i386 deprecated in v3)" -# Only supported on 64-bit -OPTIONS_EXCLUDE_i386= WIREDTIGER +OPTIONS_DEFINE= SASL SSL +OPTIONS_DEFAULT= SASL SSL SASL_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 SASL_MAKE_ARGS= --use-sasl-client @@ -38,14 +43,9 @@ SASL_MAKE_ARGS= --use-sasl-client SSL_USE= openssl=yes SSL_MAKE_ARGS= --ssl -WIREDTIGER_DESC= WiredTiger database engine support -WIREDTIGER_VARS= wiredtiger_build=on -WIREDTIGER_VARS_OFF= wiredtiger_build=off - USES= cpe execinfo python:build scons MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \ - --wiredtiger=${WIREDTIGER_BUILD} \ --use-system-pcre --use-system-snappy \ --release @@ -59,10 +59,6 @@ TEST_TARGET= unittests .include -.if ${ARCH} == "i386" -WIREDTIGER_BUILD= off -.endif - .if ${OSVERSION} < 1000000 # Cannot be built IGNORE= unsupported on FreeBSD 9 or older Modified: head/databases/mongodb32/distinfo ============================================================================== --- head/databases/mongodb32/distinfo Sat Feb 27 13:39:40 2016 (r409667) +++ head/databases/mongodb32/distinfo Sat Feb 27 14:18:16 2016 (r409668) @@ -1,2 +1,2 @@ -SHA256 (mongodb-src-r3.2.1.tar.gz) = 50431a3ba5ab68bd0bed4a157a8528ca27753a63cf101f13135255e4e9d42f15 -SIZE (mongodb-src-r3.2.1.tar.gz) = 26397562 +SHA256 (mongodb-src-r3.2.3.tar.gz) = 82030ada190095b5d95c0b59e9cf74efe9db602b49d2b8857b06f2683a5227fa +SIZE (mongodb-src-r3.2.3.tar.gz) = 29607224