54 Commits

Author SHA1 Message Date
Ronald Klop
152fe2669f
databases/mongodb70: 7.0.20
Changes:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/#7.0.20---apr-29--2025

Announcement:
https://www.mongodb.com/community/forums/t/mongodb-7-0-20-is-released/321461?u=r_k

- refactored do-configure to use HAS_CONFIGURE which properly passes CONFIGURE_ENV
- updates spidermonkey to MozJS 128.8-ESR
- needs cbindgen now
- pet portclippy and portfmt (moved vars around)
- replaced multiple paths with MOZJS_WRKSRC
- removed a mozjs patch which is in upstream now
2025-05-17 11:51:15 +02:00
Guido Falsi
0119f8dcd8 textproc/snowballstemmer: chase shlib version bump 2025-05-10 12:15:24 +02:00
Ronald Klop
f4ecfe9f6b
databases/mongodb70: 7.0.19
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.19---apr-14--2025

"This release contains security or reliability improvements. These release notes will be updated when more information is available."

Security:	details not known yet
2025-04-28 13:31:14 +02:00
Ronald Klop
5608831146
databases/mongodb70: 7.0.18
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.18---mar-19--2025
2025-04-22 12:02:52 +02:00
Ronald Klop
817b4bbc14
databases/mongodb70: update to 7.0.17
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.17---feb-21--2025
https://www.mongodb.com/community/forums/t/mongodb-7-0-17-rc1-is-released/313042?u=r_k

- updated spidermonkey
- made check on spidermonkey revision more vebose to ease upgrades
2025-04-18 05:09:52 +02:00
Ronald Klop
98de9ddd99
databases/mongodb80: update to 8.0.5
Changes:
https://www.mongodb.com/docs/manual/release-notes/8.0/#8.0.5---feb-20--2025
https://www.mongodb.com/community/forums/t/mongodb-8-0-5-rc1-is-released/312357?u=r_k

- spidermonkey updated to 115.19.0esr (from esr115.7)
- be more verbose in pre-configure check so I don't need to lookup the new revision
2025-04-16 19:41:23 +02:00
Ronald Klop
5ceff01406
databases/mongodb70: add flavor for RPI-compatible version
The default flavor is the upstream supported version. For older
ARM CPUs we have an -armv80a flavor now. MongoDB is known to be used by
net-mgmt/unifi* users on this hardware. MongoDB 6.0 is planned to go out
of support in July 2025 [1], so this is preparation to make MongoDB 7.0
the default dependency for Unifi.

[1] https://www.mongodb.com/legal/support-policy/lifecycles
2025-02-18 10:00:27 +01:00
Ronald Klop
193f8fc2b4
databases/mongodb[78]0: use internal pcre2 code
Fails to build with future update of PCRE2 10.45-RC1.

PR:	283694
Reported by:	diizzy@ (Daniel Engberg)
2025-01-21 09:55:01 +01:00
Ronald Klop
3ab18c284b
databases/mongodb[67]0: forgot to commit a patch
Fixes:	38836ff12d "databases/mongodb60: fix build with llvm19"
Fixes:	895b2a5c0485 "databases/mongodb70: fix build with llvm19"
2024-12-24 10:24:53 +01:00
Ronald Klop
895b2a5c04
databases/mongodb70: fix build with llvm19
Build with clang from base.
Uses 2 public patches. Documentation is in the patches themselves.
2024-12-22 18:23:16 +01:00
Ronald Klop
f90c566136
databases/mongodb70: 7.0.16
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#patch-releases
2024-12-22 18:23:15 +01:00
Ronald Klop
2a81eb4e43
databases/mongodb[67]0: remove unused patch for get-sources.sh
The file is not used. We fetch the mozjs source via the ports Makefile.
This brings mongodb60 and mongodb70 more in line with mongodb80.
2024-11-25 22:22:43 +01:00
Ronald Klop
addb8dafff
databases/mongodb80: patch is not necessary anymore
The same flag was set upstream in

branch v7.0: (a few days after I committed the patch)
7a0dcfa565

master (which became 8.0):
ad8a74f578
2024-11-25 21:39:38 +01:00
Ronald Klop
693539a504
databases/mongodb70: update to 7.0.15
changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.15---oct-24--2024

Security:	CVE-2024-10921
2024-11-23 22:26:30 +01:00
Ronald Klop
f806050016
databases/mongodb[78]0: fix build with NOAVX enabled
Thanks to Yuri and Borja who helped creating patches and tested.

PR:	282471
2024-11-13 21:32:04 +01:00
Ronald Klop
a3bd39f874
databases/mongodb[78]0: NOAVX is broken
Disable NOAVX as default until further investigation.

ld.lld: error: undefined symbol: mozilla::sse_private::avx2_enabled
>>> referenced by SSE.h:324 (src/third_party/mozjs/include/mozilla/SSE.h:324)
>>>               extract/mozglue/misc/SIMD.o:(mozilla::SupportsAVX2()) in archive build/opt/third_party/mozjs/libmozjs.a
>>> referenced by SSE.h:324 (src/third_party/mozjs/include/mozilla/SSE.h:324)
>>>               extract/mozglue/misc/SIMD.o:(mozilla::SIMD::memchr8(char const*, char, unsigned long)) in archive build/opt/third_party/mozjs/libmozjs.a
>>> referenced by SSE.h:324 (src/third_party/mozjs/include/mozilla/SSE.h:324)
>>>               extract/mozglue/misc/SIMD.o:(mozilla::SIMD::memchr16(char16_t const*, char16_t, unsigned long)) in archive build/opt/third_party/mozjs/libmozjs.a
>>> referenced 1 more times

ld.lld: error: undefined symbol: mozilla::SIMD::memchr8AVX2(char const*, char, unsigned long)
>>> referenced by SIMD.cpp:463 (src/third_party/mozjs/extract/mozglue/misc/SIMD.cpp:463)
>>>               extract/mozglue/misc/SIMD.o:(mozilla::SIMD::memchr8(char const*, char, unsigned long)) in archive build/opt/third_party/mozjs/libmozjs.a

ld.lld: error: undefined symbol: mozilla::SIMD::memchr16AVX2(char16_t const*, char16_t, unsigned long)
>>> referenced by SIMD.cpp:476 (src/third_party/mozjs/extract/mozglue/misc/SIMD.cpp:476)
>>>               extract/mozglue/misc/SIMD.o:(mozilla::SIMD::memchr16(char16_t const*, char16_t, unsigned long)) in archive build/opt/third_party/mozjs/libmozjs.a

ld.lld: error: undefined symbol: mozilla::SIMD::memchr64AVX2(unsigned long const*, unsigned long, unsigned long)
>>> referenced by SIMD.cpp:484 (src/third_party/mozjs/extract/mozglue/misc/SIMD.cpp:484)
>>>               extract/mozglue/misc/SIMD.o:(mozilla::SIMD::memchr64(unsigned long const*, unsigned long, unsigned long)) in archive build/opt/third_party/mozjs/libmozjs.a
c++: error: linker command failed with exit code 1 (use -v to see invocation)

PR:	282471
2024-11-02 21:01:52 +01:00
Ronald Klop
2dbe4cb866
databases/mongodb[78]0: fix NOAVX option
bump portrevision as it did build but generated broken executables
piggyback a small portlint pacifier

PR:	282471
2024-11-02 08:55:54 +01:00
Ronald Klop
812019cddd
databases/mongodb70: unbreak on 15 + llvm 19.1.2
stick to <= llvm18 on FreeBSD 15

fixes:
In file included from src/third_party/mozjs/platform/x86_64/freebsd/build/Unified_cpp_js_src4.cpp:20:
In file included from src/third_party/mozjs/extract/js/src/jsapi.cpp:42:
In file included from src/third_party/mozjs/extract/js/src/gc/PublicIterators.h:17:
In file included from src/third_party/mozjs/extract/js/src/gc/Zone.h:33:
In file included from src/third_party/mozjs/extract/js/src/vm/JSScript.h:41:
In file included from src/third_party/mozjs/extract/js/src/vm/SharedImmutableStringsCache.h:22:
src/third_party/mozjs/extract/js/src/threading/ExclusiveData.h:113:29: error: reference to non-static member function must be called
  113 |       : lock_(std::move(rhs.lock)), value_(std::move(rhs.value_)) {
      |                         ~~~~^~~~
1 error generated.
2024-10-31 08:31:04 +01:00
Ronald Klop
adc0330691
databases/mongodb70: update to 7.0.14
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.14---aug-26--2024

NB: 7.0.13 was tagged, but never released.

Sync with improvements in mongodb80:
from commit b44fe228ca :
Removed SSL from OPTIONS. It was inherited from the first versions
of databases/mongodb, long before I became maintainer.
Currently disabling the SSL option does not disable ssl as ssl is
auto-detected and disabling ssl needs explicit --ssl=off which is
not implemented in the port. I never had a request for this in years
so I decided to just remove the option and have ssl enabled always.

from commit 5d8274d264 :
Also found some manual pages in the src tree.

from commit f2c9ba7c53 :
- add pre-configure check if downloaded mozjs version matches
get-sources.sh.
- change comment to how the upstream project names the open source
variant.
2024-09-03 09:23:46 +02:00
Ronald Klop
8b702c041f
databases/mongodb70: add do-test and update to 7.0.12
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.12---jun-28--2024

The port has had situations in which the code compiled, but the
executables did not work. Try to catch this early with make test.

- new mozjs version
- autoconf is unused now
- pet portclippy, portfmt, portlint
- pkg-message: use default mongo portnr instead of portnr used by unifi.
2024-07-07 12:50:08 +02:00
Po-Chuan Hsieh
1a80ec7c22
devel/py-pyyaml: Move devel/py-yaml to devel/py-pyyaml
- Bump PORTREVISION of dependent ports for dependency change
2024-07-07 16:05:33 +08:00
Jason E. Hale
ad593a9d4d */*: Add ${PY_SETUPTOOLS} to BUILD_DEPENDS
Fix build when setuptools is removed from RUN_DEPENDS in
Mk/Uses/python.mk.

PR:		270510
Approved by:	portmgr (blanket)
2024-06-29 01:02:34 -04:00
Ronald Klop
d95f05681d
databases/mongodb*: document replacement of mongo CLI shell
MongoDB 6.0 and up do not include the 'mongo' CLI shell anymore.
Point users to a replacement.

+ use canonical WWW
2024-06-25 11:41:01 +02:00
Ronald Klop
59d4b59e53
databases/mongodb70: upgrade to 7.0.11
changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.11---may-23--2024

Version 7.0.10 was tagged but never got release notes on the site.

trivial version bump
2024-05-26 21:14:20 +02:00
Daniel Engberg
de08bd77dd
databases/mongodb70: Convert post-patch to EXTRACT_AFTER_ARGS
Saves I/O by not extracting bundled deps

PR:	278769
2024-05-20 20:24:02 +02:00
Ronald Klop
fe16603f4f
databases/mongodb70: enable non-AVX CPUs by default
Similar to the change in mongodb50.
People use these CPUs with MongoDB.

PR:	277990
2024-05-16 12:46:58 +02:00
Ronald Klop
1d4118f21d
databases/mongodb70: update to 7.0.9
changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.9---apr-26--2024
2024-05-03 10:28:44 +02:00
Ronald Klop
902d91b3a6
databases/mongodb70: upgrade to 7.0.8
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.8---april-3--2024
2024-04-08 09:57:16 +02:00
Ronald Klop
3ea142636d
databases/mongodb70: update to 7.0.7
changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.7---mar-18--2024
2024-03-22 20:11:52 +01:00
Ronald Klop
a153805da2
databases/mongodb70: update to 7.0.6
changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.6---feb-28--2024

Security:       CVE-2024-1351 Improper Certificate Validation
2024-03-20 21:05:44 +01:00
Wen Heping
3a57a3175c databases/mongodb70: Fix build with python-3.11
PR:		275494
Approved by:	portmgr(blanket, fix build)
2024-02-20 09:21:43 +00:00
Ronald Klop
6b0e06a288
databases/mongodb70: update to 7.0.5
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.5---jan-5--2024

- version bump
- poudriere stage-qa: ok (aarch64)
2024-01-25 09:43:46 +01:00
Ronald Klop
3fa3d57a3a
databases/mongodb70: update to 7.0.4
changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.4---nov-13--2023

version bump
poudriere stage-qa: ok (on aarch64)
2023-12-01 16:21:14 +01:00
Ronald Klop
8c8c68e7db
databases/mongodb70: update to 7.0.3
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.3---nov-9--2023

version bump
poudriere stage-qa: ok
2023-11-14 23:10:24 +01:00
Ronald Klop
b895b4ead1
databases/mongodb70: disable LTO for now
This was the error:
Checking if linker supports -flto... yes
lto compilation currently only works with the --linker=gold
See /wrkdirs/usr/ports/databases/mongodb70/work/mongo-r7.0.2/build/scons/config.log for details
*** Error code 1

See logs for the full error:
https://pkg-status.freebsd.org/beefy18/data/main-amd64-default/pecb3f8a4918b_s8818f0f112/logs/mongodb70-7.0.2.log
2023-10-06 21:47:31 +02:00
Ronald Klop
a3646dd6a8
databases/mongodb70: update to 7.0.2
Changes:
https://www.mongodb.com/docs/manual/release-notes/7.0/#7.0.2---sep-29--2023

version bump
poudriere stage-qa: ok
2023-10-03 09:38:08 +02:00
Ronald Klop
cf8320b0d6
databases/mongodb70: update to 7.0.1
changes: https://www.mongodb.com/docs/manual/release-notes/7.0-changelog/#7.0.1-changelog

version bump
poudriere stage-qa: ok
2023-08-31 15:37:19 +02:00
Ronald Klop
32bbdaf1f4
databases/mongodb70: update to 7.0.0 release
Changes: https://www.mongodb.com/docs/v7.0/release-notes/7.0/

* version bump
* new option ARMV80A to support older ARM cpus like Raspberry Pi 4
* pet portclippy and portfmt
* poudriere stage-qa: ok

As upstream has stopped supporting non-LSE ARM cpus I'm adapting
the port also. The option ARMV80A is for backwards compatibility,
but use at your own risk. See pkg-message for more info.
2023-08-15 12:02:53 +02:00
Muhammad Moinur Rahman
3317a02901 Revert "databases/mongodb70: Fix build with llvm16"
This reverts commit 4a6a3534dde02d293438a929e06950c64a71a33d.

There was a build failure in my local build instance but this was a
false positive and actually this ports build fine without the changes.

Reported by: fuz
Approved by: portmgr (blanket)
Sponsored by: The FreeBSD Foundation
2023-08-10 19:03:09 +02:00
Muhammad Moinur Rahman
4a6a3534dd databases/mongodb70: Fix build with llvm16
Approved by:	portmgr (blanket)
Sponsored by:	The FreeBSD Foundation
2023-08-08 11:55:15 +02:00
Ronald Klop
9c4a212eb5
databases/mongodb70: update to RC10
Release Candidate

Please read the notes before using:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/#release-notes-for-mongodb-7.0--release-candidate-

* version bump
* pet portclippy
* poudriere stage-qa: ok
2023-07-29 19:39:32 +02:00
Ronald Klop
0763c9fcb5
databases/mongodb70: update to RC8
Release Candidate

Please read the notes before using:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/#release-notes-for-mongodb-7.0--release-candidate-

* trivial version bump
* typo in pkg-message
* poudriere stage-qa: ok
2023-07-25 13:11:54 +02:00
Ronald Klop
66f14f39ca
databases/mongodb70: update to RC7
Release Candidate

Please read the notes before using:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/#release-notes-for-mongodb-7.0--release-candidate-

* trivial version bump
* poudriere stage-qa: ok
2023-07-24 09:09:52 +02:00
Ronald Klop
08bb784bcf
databases/mongodb70: update to RC6
Still Release Candidate status. Read the notes:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/
2023-07-04 10:29:11 +02:00
Ronald Klop
886d17d801
databases/mongodb70: update to 7.0.0 RC5
Still Release Candidate status. Read the notes:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/
2023-06-25 21:57:20 +02:00
Dimitry Andric
3d3f9b4f57
databases/mongodb70: fix build on 14-current
Fixes provided by Dimitry in a private reply on https://lists.freebsd.org/archives/freebsd-ports/2023-May/003870.html. Dank je wel!

poidriere stage-qa ok
runtime tested: proper clean start and restart on existing db
2023-06-24 10:02:23 +02:00
Ronald Klop
04da06a414
databases/mongodb70: update to 7.0.0 RC4
Still Release Candidate status. Read the notes:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/

I had no time to test fixes for FreeBSD 14 yet. So 14 is broken still.
2023-06-20 12:31:08 +02:00
Ronald Klop
be053ac53f
databases/mongodb70: update to 7.0.0 RC3
Still Release Candidate status. Read the notes:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/

I had no time to test fixes for FreeBSD 14 yet. So 14 is broken still.
2023-06-09 13:34:43 +02:00
Ronald Klop
69173c2565
databases/mongodb70: update to RC2
Release Candidate
Read the instructions:
https://www.mongodb.com/docs/v7.0/release-notes/7.0/
2023-06-01 12:44:25 +02:00
Muhammad Moinur Rahman
9b178ffd7e */*: llvm15 build fixes
llvm15 was also merged into 13.2-STABLE effective from OSVERSION
1302505. Fix the ports that failed to build with llvm15.

Approved by:	portmgr (blanket)
2023-05-17 18:30:15 +02:00