diff options
| author | Kirill Ponomarev <krion@FreeBSD.org> | 2018-04-21 15:21:37 +0000 |
|---|---|---|
| committer | Kirill Ponomarev <krion@FreeBSD.org> | 2018-04-21 15:21:37 +0000 |
| commit | e32b6aadeffadd5b02c3b7c86bde7790f2c86a62 (patch) | |
| tree | 09fa621807159d637aaa92510c6be7a3cae15e07 /databases/mongodb36 | |
| parent | Update vim to patchlevel 1740 (diff) | |
Update to version 3.6.4
PR: 227636
Submitted by: maintainer
Diffstat (limited to 'databases/mongodb36')
| -rw-r--r-- | databases/mongodb36/Makefile | 12 | ||||
| -rw-r--r-- | databases/mongodb36/distinfo | 6 | ||||
| -rw-r--r-- | databases/mongodb36/files/patch-src_mongo_util_time__support.cpp | 11 |
3 files changed, 24 insertions, 5 deletions
diff --git a/databases/mongodb36/Makefile b/databases/mongodb36/Makefile index 5378644d71f9..93753e5f93c0 100644 --- a/databases/mongodb36/Makefile +++ b/databases/mongodb36/Makefile @@ -2,8 +2,7 @@ PORTNAME= mongodb DISTVERSIONPREFIX= r -DISTVERSION= 3.6.3 -PORTREVISION= 1 +DISTVERSION= 3.6.4 CATEGORIES= databases net MASTER_SITES= https://fastdl.mongodb.org/src/ \ http://fastdl.mongodb.org/src/ \ @@ -59,6 +58,15 @@ SASL_MAKE_ARGS= --use-sasl-client SSL_USES= ssl SSL_MAKE_ARGS= --ssl +.include <bsd.port.options.mk> + +.if ${OPSYS} != FreeBSD || ${OSVERSION} < 1101515 || \ + ${OSVERSION} >= 1200000 && ${OSVERSION} < 1200057 +SUB_LIST+= LEGACY_LIMITS="" MODERN_LIMITS="@comment " +.else +SUB_LIST+= LEGACY_LIMITS="@comment " MODERN_LIMITS="" +.endif + ALL_TARGET= core PORTSCOUT= limitw:1,even diff --git a/databases/mongodb36/distinfo b/databases/mongodb36/distinfo index 52d69684ccb6..4ee997102a2c 100644 --- a/databases/mongodb36/distinfo +++ b/databases/mongodb36/distinfo @@ -1,3 +1,3 @@ -TIMESTAMP = 1519545671 -SHA256 (mongodb-src-r3.6.3.tar.gz) = df2d5c05c569ca93eacf88b68e0feb3ff52ffbfc8ccd8736ff20d86850db207c -SIZE (mongodb-src-r3.6.3.tar.gz) = 40093607 +TIMESTAMP = 1523955505 +SHA256 (mongodb-src-r3.6.4.tar.gz) = 1a9697c3ad2f5545b5160d5e32d5f3c0f6f0a3371ceb9fa85961aec513acd7ac +SIZE (mongodb-src-r3.6.4.tar.gz) = 40159916 diff --git a/databases/mongodb36/files/patch-src_mongo_util_time__support.cpp b/databases/mongodb36/files/patch-src_mongo_util_time__support.cpp new file mode 100644 index 000000000000..503d5074a6e0 --- /dev/null +++ b/databases/mongodb36/files/patch-src_mongo_util_time__support.cpp @@ -0,0 +1,11 @@ +--- src/mongo/util/time_support.cpp.orig 2018-04-19 11:21:07 UTC ++++ src/mongo/util/time_support.cpp +@@ -933,7 +933,7 @@ private: + // Find minimum timer resolution of OS + Nanoseconds getMinimumTimerResolution() { + Nanoseconds minTimerResolution; +-#if defined(__linux__) ++#if defined(__linux__) || defined(__FreeBSD__) + struct timespec tp; + clock_getres(CLOCK_REALTIME, &tp); + minTimerResolution = Nanoseconds{tp.tv_nsec}; |
