Date: Sat, 2 Mar 2019 13:10:50 +0000 (UTC) From: Kurt Jaeger <pi@FreeBSD.org> To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r494401 - in head/databases: . mongodb34 mongodb36 mongodb40 mongodb40/files Message-ID: <201903021310.x22DAo3b069484@repo.freebsd.org>
next in thread | raw e-mail | index | archive | help
Author: pi Date: Sat Mar 2 13:10:50 2019 New Revision: 494401 URL: https://svnweb.freebsd.org/changeset/ports/494401 Log: New port: databases/mongodb40 Mongo (from "humongous") is a high-performance, open source, schema-free, document-oriented database. A common name in the "NOSQL" community. WWW: https://www.mongodb.com/ PR: 234310 Reported by: Eric Madrid <eric@madrid.lol> Submitted by: Andrew Shevchuk <dev.ashevchuk@gmail.com> Reviewed by: Michael Booth <michal@wrotkowski.pl> Added: head/databases/mongodb40/ - copied from r494358, head/databases/mongodb36/ Deleted: head/databases/mongodb40/files/patch-src_mongo_util_time__support.cpp Modified: head/databases/Makefile head/databases/mongodb34/Makefile head/databases/mongodb36/Makefile head/databases/mongodb40/Makefile head/databases/mongodb40/distinfo head/databases/mongodb40/files/patch-SConstruct head/databases/mongodb40/pkg-plist Modified: head/databases/Makefile ============================================================================== --- head/databases/Makefile Sat Mar 2 12:11:28 2019 (r494400) +++ head/databases/Makefile Sat Mar 2 13:10:50 2019 (r494401) @@ -205,6 +205,7 @@ SUBDIR += mongodb34-tools SUBDIR += mongodb36 SUBDIR += mongodb36-tools + SUBDIR += mongodb40 SUBDIR += mroonga SUBDIR += mrtg-mysql-load SUBDIR += mtools-mongodb Modified: head/databases/mongodb34/Makefile ============================================================================== --- head/databases/mongodb34/Makefile Sat Mar 2 12:11:28 2019 (r494400) +++ head/databases/mongodb34/Makefile Sat Mar 2 13:10:50 2019 (r494401) @@ -27,6 +27,7 @@ TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/ ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0:databases/pymongo@${PY_FLAVOR} CONFLICTS_BUILD= mongo-cxx-driver +CONFLICTS_INSTALL= mongodb36 mongodb40 CHOSEN_COMPILER_TYPE= clang Modified: head/databases/mongodb36/Makefile ============================================================================== --- head/databases/mongodb36/Makefile Sat Mar 2 12:11:28 2019 (r494400) +++ head/databases/mongodb36/Makefile Sat Mar 2 13:10:50 2019 (r494401) @@ -28,7 +28,7 @@ LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libsnappy.so:archivers/snappy CONFLICTS_BUILD= mongo-cxx-driver -CONFLICTS_INSTALL= mongodb[32-4]* +CONFLICTS_INSTALL= mongodb34 mongodb40 USES= compiler:c++14-lang cpe python:2.7,build scons shebangfix USE_RC_SUBR= mongod Modified: head/databases/mongodb40/Makefile ============================================================================== --- head/databases/mongodb36/Makefile Sat Mar 2 01:17:42 2019 (r494358) +++ head/databases/mongodb40/Makefile Sat Mar 2 13:10:50 2019 (r494401) @@ -2,7 +2,7 @@ PORTNAME= mongodb DISTVERSIONPREFIX= r -DISTVERSION= 3.6.10 +DISTVERSION= 4.0.6 CATEGORIES= databases net MASTER_SITES= https://fastdl.mongodb.org/src/ \ http://fastdl.mongodb.org/src/ \ @@ -10,29 +10,31 @@ MASTER_SITES= https://fastdl.mongodb.org/src/ \ PKGNAMESUFFIX= ${PORTVERSION:R:S/.//} DISTNAME= mongodb-src-${DISTVERSIONPREFIX}${DISTVERSION} -MAINTAINER= dev@dudu.ro +MAINTAINER= dev.ashevchuk@gmail.com COMMENT= Distributed document-oriented "NoSQL" database # mongodb is AGPLv3, C++ driver is APACHE20 LICENSE= AGPLv3 APACHE20 LICENSE_COMB= multi -ONLY_FOR_ARCHS= amd64 aarch64 +ONLY_FOR_ARCHS= aarch64 amd64 ONLY_FOR_ARCHS_REASON= "Only supported on amd64 and aarch64 (i386 deprecated in v3)" BUILD_DEPENDS= ${PYTHON_PKGNAMEPREFIX}cheetah>=2.4.4:devel/py-cheetah@${PY_FLAVOR} \ ${PYTHON_PKGNAMEPREFIX}typing>=3.6.2:devel/py-typing@${PY_FLAVOR} \ - ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} + ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml@${PY_FLAVOR} \ + ${LOCALBASE}/bin/ar:devel/binutils LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libpcre.so:devel/pcre \ + libcurl.so:ftp/curl \ libsnappy.so:archivers/snappy -CONFLICTS_BUILD= mongo-cxx-driver -CONFLICTS_INSTALL= mongodb[32-4]* - USES= compiler:c++14-lang cpe python:2.7,build scons shebangfix USE_RC_SUBR= mongod +CONFLICTS_BUILD= mongo-cxx-driver +CONFLICTS_INSTALL= mongodb3[46] + SHEBANG_FILES= src/mongo/installer/compass/install_compass.in python_OLD_CMD= @python_interpreter@ MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \ @@ -41,7 +43,7 @@ MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \ --cxx-std=14 --libc++ \ --runtime-hardening=on \ --disable-warnings-as-errors \ - VERBOSE=on + VERBOSE=on AR=${PREFIX}/bin/ar USERS= mongodb GROUPS= mongodb @@ -74,7 +76,7 @@ PORTSCOUT= limitw:1,even CPE_PRODUCT= mongodb post-install: -.for f in mongo mongod mongoperf mongos +.for f in mongo mongod mongos ${STRIP_CMD} ${STAGEDIR}${PREFIX}/bin/${f} .endfor ${CP} ${WRKSRC}/rpm/mongod.conf ${STAGEDIR}${PREFIX}/etc/mongodb.conf.sample Modified: head/databases/mongodb40/distinfo ============================================================================== --- head/databases/mongodb36/distinfo Sat Mar 2 01:17:42 2019 (r494358) +++ head/databases/mongodb40/distinfo Sat Mar 2 13:10:50 2019 (r494401) @@ -1,3 +1,3 @@ -TIMESTAMP = 1549285807 -SHA256 (mongodb-src-r3.6.10.tar.gz) = b5972e7cbee1753e991bef54370f37e71ba5cbd6cbe32730ed8682ca02ebc110 -SIZE (mongodb-src-r3.6.10.tar.gz) = 40562421 +TIMESTAMP = 1549337164 +SHA256 (mongodb-src-r4.0.6.tar.gz) = 34165ef42c7199c438e1706fef515cbde012d6a884406d102082d39eab72c235 +SIZE (mongodb-src-r4.0.6.tar.gz) = 49511958 Modified: head/databases/mongodb40/files/patch-SConstruct ============================================================================== --- head/databases/mongodb36/files/patch-SConstruct Sat Mar 2 01:17:42 2019 (r494358) +++ head/databases/mongodb40/files/patch-SConstruct Sat Mar 2 13:10:50 2019 (r494401) @@ -30,19 +30,3 @@ + if env.TargetOSIs('linux', 'darwin', 'solaris', 'freebsd'): if not has_option("disable-warnings-as-errors"): env.Append( CCFLAGS=["-Werror"] ) - -@@ -1661,10 +1661,10 @@ if env.TargetOSIs('posix'): - env.Append( CCFLAGS=["-fprofile-arcs", "-ftest-coverage"] ) - env.Append( LINKFLAGS=["-fprofile-arcs", "-ftest-coverage"] ) - -- if optBuild: -- env.Append( CCFLAGS=["-O2"] ) -- else: -- env.Append( CCFLAGS=["-O0"] ) -+ #if optBuild: -+ # env.Append( CCFLAGS=["-O2"] ) -+ #else: -+ # env.Append( CCFLAGS=["-O0"] ) - - # Promote linker warnings into errors. We can't yet do this on OS X because its linker considers - # noall_load obsolete and warns about it. Modified: head/databases/mongodb40/pkg-plist ============================================================================== --- head/databases/mongodb36/pkg-plist Sat Mar 2 01:17:42 2019 (r494358) +++ head/databases/mongodb40/pkg-plist Sat Mar 2 13:10:50 2019 (r494401) @@ -1,6 +1,5 @@ bin/install_compass bin/mongo bin/mongod -bin/mongoperf bin/mongos @sample etc/mongodb.conf.sample
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201903021310.x22DAo3b069484>