git: 146e6a4b49a1 - main - databases/mongodb60: update to 6.0.3
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Jan 2023 19:02:20 UTC
The branch main has been updated by ronald: URL: https://cgit.FreeBSD.org/ports/commit/?id=146e6a4b49a196747bff0edbe6fee3f21069faa8 commit 146e6a4b49a196747bff0edbe6fee3f21069faa8 Author: Ronald Klop <ronald@FreeBSD.org> AuthorDate: 2023-01-03 13:46:13 +0000 Commit: Ronald Klop <ronald@FreeBSD.org> CommitDate: 2023-01-13 19:01:46 +0000 databases/mongodb60: update to 6.0.3 - Trivial version bump. - Mark IGNORE as it fails on runtime. Upstream has an issue on this open. (See: PR #267668) - Add option NOAVX to support building for older CPUs. (Thanks to Borja Marcos) - Make portmft/portlint/portclippy even more happy. PR: 268510 Approved by: rene (mentor) Differential Revision: https://reviews.freebsd.org/D38016 --- databases/mongodb60/Makefile | 23 ++++++++++++++--------- databases/mongodb60/distinfo | 6 +++--- 2 files changed, 17 insertions(+), 12 deletions(-) diff --git a/databases/mongodb60/Makefile b/databases/mongodb60/Makefile index 386b9b494474..0aae4b5ca928 100644 --- a/databases/mongodb60/Makefile +++ b/databases/mongodb60/Makefile @@ -1,6 +1,6 @@ PORTNAME= mongodb DISTVERSIONPREFIX= r -DISTVERSION= 6.0.2 +DISTVERSION= 6.0.3 CATEGORIES= databases net PKGNAMESUFFIX= ${DISTVERSION:R:S/.//} @@ -14,6 +14,7 @@ LICENSE_NAME_SSPLv1= Server Side Public License Version 1 LICENSE_FILE_SSPLv1= ${WRKSRC}/LICENSE-Community.txt LICENSE_PERMS_SSPLv1= dist-mirror dist-sell pkg-mirror pkg-sell auto-accept +#IGNORE= segmentation fault at runtime: https://bugs.freebsd.org/bugzilla/show_bug.cgi?id=267668 ONLY_FOR_ARCHS= aarch64 amd64 powerpc64le ONLY_FOR_ARCHS_REASON= only ported to amd64, aarch64, and powerpc64le on FreeBSD; upstream supports arm64, ppc64le, s390x, and x86-64 @@ -28,10 +29,10 @@ BUILD_DEPENDS+= autoconf2.13:devel/autoconf2.13 \ LIB_DEPENDS= libboost_system.so:devel/boost-libs \ libcurl.so:ftp/curl \ libicuuc.so:devel/icu \ - libunwind.so:devel/libunwind \ libpcre.so:devel/pcre \ libsnappy.so:archivers/snappy \ libstemmer.so:textproc/snowballstemmer \ + libunwind.so:devel/libunwind \ libyaml-cpp.so:devel/yaml-cpp \ libzstd.so:archivers/zstd @@ -64,7 +65,7 @@ MAKE_ARGS= --cxx-std=17 \ --use-system-yaml \ --use-system-zlib \ --use-system-zstd \ - -j ${MAKE_JOBS_NUMBER} \ + -j${MAKE_JOBS_NUMBER} \ AR=llvm-ar \ MONGO_VERSION=${DISTVERSION} \ VERBOSE=on @@ -74,11 +75,15 @@ CONFLICTS_INSTALL= mongodb[0-9][0-9] USERS= mongodb GROUPS= mongodb -OPTIONS_DEFINE= LTO SASL SSL -OPTIONS_DEFAULT= LTO SASL SSL +OPTIONS_DEFINE= LTO SASL SSL NOAVX +OPTIONS_DEFAULT= LTO SASL SSL + +NOAVX_DESC= "Disable AVX instructions on amd64 (Sandybridge+)" LTO_MAKE_ARGS= --lto=on +NOAVX_MAKE_ARGS= --experimental-optimization="-sandybridge" + SASL_LIB_DEPENDS= libsasl2.so:security/cyrus-sasl2 SASL_MAKE_ARGS= --use-sasl-client @@ -100,11 +105,11 @@ PORTSCOUT= limit:^6\.0\. CPE_PRODUCT= mongodb .if ${ARCH} == amd64 -MOZJS_ARCH=x86_64 +MOZJS_ARCH= x86_64 .elif ${ARCH} == powerpc64le -MOZJS_ARCH=ppc64le +MOZJS_ARCH= ppc64le .elif ${ARCH} == aarch64 -MOZJS_ARCH=${ARCH} +MOZJS_ARCH= ${ARCH} .endif post-patch: @@ -119,7 +124,7 @@ post-patch: ${RM} -rf ${WRKSRC}/src/third_party/zstandard do-configure: - # Replacement of ${WRKSRC}/src/third_party/mozjs/get-sources.sh +# Replacement of ${WRKSRC}/src/third_party/mozjs/get-sources.sh ${LN} -sF ${WRKDIR}/spidermonkey-${MOZJS_TAG} ${WRKSRC}/src/third_party/mozjs/mozilla-release cd ${WRKSRC}/src/third_party/mozjs/mozilla-release/js/src && ${LOCALBASE}/bin/autoconf2.13 cd ${WRKSRC}/src/third_party/mozjs && PYTHON3="${PYTHON_CMD}" ${SH} ./gen-config.sh ${MOZJS_ARCH} freebsd diff --git a/databases/mongodb60/distinfo b/databases/mongodb60/distinfo index 46ef7a384f74..00139cfa525a 100644 --- a/databases/mongodb60/distinfo +++ b/databases/mongodb60/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1664434467 -SHA256 (mongodb-mongo-r6.0.2_GH0.tar.gz) = 4a89b1bfe6e85f7b39fa65576d99d5d87bf6edf4742d3e732f69882e442c6e46 -SIZE (mongodb-mongo-r6.0.2_GH0.tar.gz) = 90500172 +TIMESTAMP = 1672748600 +SHA256 (mongodb-mongo-r6.0.3_GH0.tar.gz) = 6cec3ab219a4b1a89038a03c838ee15b43e69324b8714953ea7db2342d2c1222 +SIZE (mongodb-mongo-r6.0.3_GH0.tar.gz) = 90532858 SHA256 (mongodb-forks-spidermonkey-82aac6af18abcd5bf188afbc821779ccb0ca0902_GH0.tar.gz) = a365bf54ef4e4fd6a136cf6afa9c620ba0c8982402473b9bfac38928a688a9e0 SIZE (mongodb-forks-spidermonkey-82aac6af18abcd5bf188afbc821779ccb0ca0902_GH0.tar.gz) = 141291901