From owner-svn-ports-all@freebsd.org Wed Feb 10 14:32:12 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 BD333AA3402; Wed, 10 Feb 2016 14:32:12 +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 9736B28D; Wed, 10 Feb 2016 14:32:12 +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 u1AEWBZY072437; Wed, 10 Feb 2016 14:32:11 GMT (envelope-from koobs@FreeBSD.org) Received: (from koobs@localhost) by repo.freebsd.org (8.15.2/8.15.2/Submit) id u1AEWB7M072435; Wed, 10 Feb 2016 14:32:11 GMT (envelope-from koobs@FreeBSD.org) Message-Id: <201602101432.u1AEWB7M072435@repo.freebsd.org> X-Authentication-Warning: repo.freebsd.org: koobs set sender to koobs@FreeBSD.org using -f From: Kubilay Kocak Date: Wed, 10 Feb 2016 14:32:11 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r408633 - in head/databases: mongodb32 mongodb32-tools 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: Wed, 10 Feb 2016 14:32:12 -0000 Author: koobs Date: Wed Feb 10 14:32:11 2016 New Revision: 408633 URL: https://svnweb.freebsd.org/changeset/ports/408633 Log: databases/mongodb32{-tools}: Disable WIRETIGER on i386, Mark BROKEN on 9.x MongoDB 3.2 doesn't build on FreeBSD 9.x, and its tools fail to build for a separate reason: TLS 1.1 and 1.2 are not found in the OpenSSL version that the builder detects. Fortunately, we don't have to solve that as the primary port does not support FreeBSD 9 either. Patched to IGNORE on < FreeBSD 10. PR: 206795, 206796 Submitted by: Brendan Molloy (maintainer) MFH: 2016Q1 Modified: head/databases/mongodb32-tools/Makefile head/databases/mongodb32/Makefile Modified: head/databases/mongodb32-tools/Makefile ============================================================================== --- head/databases/mongodb32-tools/Makefile Wed Feb 10 13:48:09 2016 (r408632) +++ head/databases/mongodb32-tools/Makefile Wed Feb 10 14:32:11 2016 (r408633) @@ -4,6 +4,7 @@ PORTNAME= mongodb32-tools PORTVERSION= 3.2.1 DISTVERSIONPREFIX= r +PORTREVISION= 1 CATEGORIES= databases net MAINTAINER= brendan+freebsd@bbqsrc.net @@ -39,6 +40,13 @@ MAKE_ENV= GOPATH="${WRKSRC}/.gopath:${WR USES= localbase MY_TAGS= -tags "${USE_MY_TAGS}" +.include + +.if ${OSVERSION} < 1000000 +# Cannot be built +IGNORE= unsupported on FreeBSD 9 or older +.endif + post-patch: @cd ${WRKSRC} ; ${MKDIR} ${WRKSRC}/.gopath/src/github.com/${GH_ACCOUNT} ; \ ${LN} -sf ${WRKSRC} ${WRKSRC}/.gopath/src/github.com/${GH_ACCOUNT}/${GH_PROJECT} @@ -62,4 +70,4 @@ post-install: ${INSTALL_MAN} ${WRKSRC}/${x} ${STAGEDIR}${DOCSDIR} .endfor -.include +.include Modified: head/databases/mongodb32/Makefile ============================================================================== --- head/databases/mongodb32/Makefile Wed Feb 10 13:48:09 2016 (r408632) +++ head/databases/mongodb32/Makefile Wed Feb 10 14:32:11 2016 (r408633) @@ -4,6 +4,7 @@ PORTNAME= mongodb32 PORTVERSION= 3.2.1 DISTVERSIONPREFIX= r +PORTREVISION= 1 CATEGORIES= databases net MASTER_SITES= https://fastdl.mongodb.org/src/ \ http://fastdl.mongodb.org/src/ \ @@ -11,7 +12,7 @@ MASTER_SITES= https://fastdl.mongodb.org DISTNAME= mongodb-src-${DISTVERSIONPREFIX}${PORTVERSION} MAINTAINER= brendan+freebsd@bbqsrc.net -COMMENT= NOSQL distributed document-oriented database +COMMENT= Distributed document-oriented "NoSQL" database # mongodb is AGPLv3, C++ driver is APACHE20 LICENSE= AGPLv3 APACHE20 @@ -25,17 +26,26 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yam ONLY_FOR_ARCHS= i386 amd64 ONLY_FOR_ARCHS_REASON= "not yet ported to anything other than i386 and amd64" -OPTIONS_DEFINE= SASL SSL -OPTIONS_DEFAULT=SSL +OPTIONS_DEFINE= SASL SSL WIREDTIGER +OPTIONS_DEFAULT= SSL WIREDTIGER + +# Only supported on 64-bit +OPTIONS_EXCLUDE_i386= WIREDTIGER SASL_LIB_DEPENDS= libsasl2.so:${PORTSDIR}/security/cyrus-sasl2 -SASL_MAKE_ARGS= --use-sasl-client +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 @@ -47,6 +57,17 @@ USE_RC_SUBR= mongod ALL_TARGET= core TEST_TARGET= unittests +.include + +.if ${ARCH} == "i386" +WIREDTIGER_BUILD= off +.endif + +.if ${OSVERSION} < 1000000 +# Cannot be built +IGNORE= unsupported on FreeBSD 9 or older +.endif + post-install: .for f in mongo mongod mongoperf mongos mongosniff ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} @@ -62,4 +83,4 @@ PORTSCOUT= limitw:1,even CPE_PRODUCT= mongodb -.include +.include