diff options
author | ultima <ultima@FreeBSD.org> | 2017-07-07 03:36:05 +0800 |
---|---|---|
committer | ultima <ultima@FreeBSD.org> | 2017-07-07 03:36:05 +0800 |
commit | bffeaa3e0a808836a7a4fcd1c70ed24d37fe4768 (patch) | |
tree | cfb10f724c66c9223513e8fb5832df5484866117 /databases/mongodb34 | |
parent | c93363f70e2aa7121d5b0bfd8ba9e9c3dad8559b (diff) | |
download | freebsd-ports-gnome-bffeaa3e0a808836a7a4fcd1c70ed24d37fe4768.tar.gz freebsd-ports-gnome-bffeaa3e0a808836a7a4fcd1c70ed24d37fe4768.tar.zst freebsd-ports-gnome-bffeaa3e0a808836a7a4fcd1c70ed24d37fe4768.zip |
* Updated to 3.4.5
* Sorted Makefile
* regenerated patches
PR: 220393
Submitted by: Eric Camachat <eric@camachat.org> (maintainer)
Reviewed by: lifanov (mentor)
Approved by: lifanov (mentor)
Differential Revision: https://reviews.freebsd.org/D11496
Diffstat (limited to 'databases/mongodb34')
-rw-r--r-- | databases/mongodb34/Makefile | 54 | ||||
-rw-r--r-- | databases/mongodb34/distinfo | 6 | ||||
-rw-r--r-- | databases/mongodb34/files/patch-SConstruct | 10 | ||||
-rw-r--r-- | databases/mongodb34/files/patch-src_mongo_crypto_crypto__openssl.cpp | 11 | ||||
-rw-r--r-- | databases/mongodb34/files/patch-src_mongo_util_net_ssl__manager.cpp | 11 |
5 files changed, 57 insertions, 35 deletions
diff --git a/databases/mongodb34/Makefile b/databases/mongodb34/Makefile index 581de129d39f..3a0235fc0e4c 100644 --- a/databases/mongodb34/Makefile +++ b/databases/mongodb34/Makefile @@ -2,8 +2,7 @@ PORTNAME= mongodb DISTVERSIONPREFIX= r -DISTVERSION= 3.4.4 -PORTREVISION= 1 +DISTVERSION= 3.4.5 CATEGORIES= databases net MASTER_SITES= https://fastdl.mongodb.org/src/ \ http://fastdl.mongodb.org/src/ \ @@ -18,53 +17,50 @@ COMMENT= Distributed document-oriented "NoSQL" database LICENSE= AGPLv3 APACHE20 LICENSE_COMB= multi +ONLY_FOR_ARCHS= amd64 +ONLY_FOR_ARCHS_REASON= "Only supported on amd64 (i386 deprecated in v3)" + LIB_DEPENDS= libpcre.so:devel/pcre \ libsnappy.so:archivers/snappy \ libboost_system.so:devel/boost-libs TEST_DEPENDS= ${PYTHON_PKGNAMEPREFIX}yaml>=3.11:devel/py-yaml \ ${PYTHON_PKGNAMEPREFIX}pymongo>=3.0:databases/pymongo -CHOSEN_COMPILER_TYPE= clang - -ONLY_FOR_ARCHS= amd64 -ONLY_FOR_ARCHS_REASON= "Only supported on amd64 (i386 deprecated in v3)" - CONFLICTS_BUILD= mongo-cxx-driver -OPTIONS_DEFINE= SASL SSL -OPTIONS_DEFAULT= SASL SSL - -SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 -SASL_MAKE_ARGS= --use-sasl-client -SSL_USE= yes -SSL_MAKE_ARGS= --ssl +CHOSEN_COMPILER_TYPE= clang USES= compiler:c++14-lang cpe execinfo python:build scons +USE_RC_SUBR= mongod -WITH_DEBUG=yes MAKE_ARGS= --prefix=${STAGEDIR}${PREFIX} \ --use-system-pcre --use-system-snappy \ --use-system-boost --use-system-zlib \ --cxx-std=14 --libc++ \ --runtime-hardening=on \ - --disable-warnings-as-errors \ - VERBOSE=on + --disable-warnings-as-errors \ + VERBOSE=on -USERS= mongodb -GROUPS= mongodb +WITH_DEBUG= yes -USE_RC_SUBR= mongod +USERS= mongodb +GROUPS= mongodb + +OPTIONS_DEFINE= SASL SSL +OPTIONS_DEFAULT= SASL SSL + +SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 +SASL_MAKE_ARGS= --use-sasl-client + +SSL_USES= ssl +SSL_MAKE_ARGS= --ssl ALL_TARGET= core TEST_TARGET= unittests -.include <bsd.port.options.mk> - -.if ${PORT_OPTIONS:MSSL} -USES+= ssl -.endif +PORTSCOUT= limitw:1,even -.include <bsd.port.pre.mk> +CPE_PRODUCT= mongodb post-install: .for f in mongo mongod mongoperf mongos @@ -78,8 +74,4 @@ do-test: ${PYTHON_CMD} ${BUILD_WRKSRC}/buildscripts/resmoke.py\ --suites=unittests --jobs=${MAKE_JOBS_NUMBER} -PORTSCOUT= limitw:1,even - -CPE_PRODUCT= mongodb - -.include <bsd.port.post.mk> +.include <bsd.port.mk> diff --git a/databases/mongodb34/distinfo b/databases/mongodb34/distinfo index 5eebc072bbc2..7c20bf54cd0f 100644 --- a/databases/mongodb34/distinfo +++ b/databases/mongodb34/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1493043221 -SHA256 (mongodb-src-r3.4.4.tar.gz) = 09e962bf3428474b9790bbd464cb6176817f9da6121c30e096240dbb4d51c9f6 -SIZE (mongodb-src-r3.4.4.tar.gz) = 39867133 +TIMESTAMP = 1498771362 +SHA256 (mongodb-src-r3.4.5.tar.gz) = 84806e5496a1a0a8fe9a59d6eab0acfab0e68476437e94e2772f898677bb21f0 +SIZE (mongodb-src-r3.4.5.tar.gz) = 39905053 diff --git a/databases/mongodb34/files/patch-SConstruct b/databases/mongodb34/files/patch-SConstruct index 1a065848f46a..63910bfab07b 100644 --- a/databases/mongodb34/files/patch-SConstruct +++ b/databases/mongodb34/files/patch-SConstruct @@ -1,4 +1,4 @@ ---- SConstruct.orig 2017-04-20 21:43:42 UTC +--- SConstruct.orig 2017-06-08 16:11:03 UTC +++ SConstruct @@ -929,9 +929,9 @@ if has_option('variables-help'): print env_vars.GenerateHelpText(env) @@ -70,3 +70,11 @@ context.Result(ret) return ret +@@ -2645,6 +2645,7 @@ def doConfigure(myenv): + + conf = Configure(myenv, custom_tests = { + 'CheckPThreadSetNameNP': CheckPThreadSetNameNP, ++ 'CheckBoostMinVersion': CheckBoostMinVersion, + }) + + if conf.CheckPThreadSetNameNP(): diff --git a/databases/mongodb34/files/patch-src_mongo_crypto_crypto__openssl.cpp b/databases/mongodb34/files/patch-src_mongo_crypto_crypto__openssl.cpp new file mode 100644 index 000000000000..71c551d9a9c4 --- /dev/null +++ b/databases/mongodb34/files/patch-src_mongo_crypto_crypto__openssl.cpp @@ -0,0 +1,11 @@ +--- src/mongo/crypto/crypto_openssl.cpp.orig 2017-06-08 16:11:03 UTC ++++ src/mongo/crypto/crypto_openssl.cpp +@@ -41,7 +41,7 @@ + #include <openssl/evp.h> + #include <openssl/hmac.h> + #include <openssl/sha.h> +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined (LIBRESSL_VERSION_NUMBER) + namespace { + // Copies of OpenSSL after 1.1.0 define new EVP digest routines. We must + // polyfill used definitions to interact with older OpenSSL versions. diff --git a/databases/mongodb34/files/patch-src_mongo_util_net_ssl__manager.cpp b/databases/mongodb34/files/patch-src_mongo_util_net_ssl__manager.cpp new file mode 100644 index 000000000000..05673bd55ae8 --- /dev/null +++ b/databases/mongodb34/files/patch-src_mongo_util_net_ssl__manager.cpp @@ -0,0 +1,11 @@ +--- src/mongo/util/net/ssl_manager.cpp.orig 2017-06-08 16:11:03 UTC ++++ src/mongo/util/net/ssl_manager.cpp +@@ -125,7 +125,7 @@ IMPLEMENT_ASN1_ENCODE_FUNCTIONS_const_fname(ASN1_SEQUE + #endif // MONGO_CONFIG_NEEDS_ASN1_ANY_DEFINITIONS + // clang-format on + +-#if OPENSSL_VERSION_NUMBER < 0x10100000L ++#if OPENSSL_VERSION_NUMBER < 0x10100000L || defined(LIBRESSL_VERSION_NUMBER) + // Copies of OpenSSL after 1.1.0 define new functions for interaction with + // X509 structure. We must polyfill used definitions to interact with older + // OpenSSL versions. |