rsadowski
ee49d4762d
Unbreak mongodb-4.4.29 with libcxx19
...
"The base template for std::char_traits has been removed in LLVM 19. If you are
using std::char_traits with types other than char, wchar_t, char8_t, char16_t,
char32_t or a custom character type for which you specialized std::char_traits,
your code will stop working. The Standard does not mandate that a base template
is provided, and such a base template is bound to be incorrect for some types,
which could currently cause unexpected behavior while going undetected."
https://releases.llvm.org/19.1.0/projects/libcxx/docs/ReleaseNotes.htm
This affects fmt 6.x used by MongoDB 4.4, which uses fmt::char8_t with
std::char_traits.
Add a minimal std::char_traits impl for fmt::char8_t based on the
libc++ reference implementation for char traits:
/libcxx/include/__string/char_traits.h
This is a minimal fix to fix mongodb44 with libcxx19 from base.
OK sthen@
2025-09-27 16:05:37 +00:00
rsadowski
2b0303823a
Add a test comment
...
I also tested it with 82aac6af18abcd5bf188afbc821779ccb0ca0902 (mongodb60
mozjs), with the same SIGSEGV SIGILL error.
2025-09-27 05:48:37 +00:00
rsadowski
1f4bd80bc2
More mongodb80 patches (still broken)
...
- Add proper futex implementation for OpenBSD in waitable_atomic.cpp
- Fix libmongocrypt DLL path handling on OpenBSD
- mozjs patches:
- Fix visibility flags in toolchain configuration
- Resolve dlmalloc compilation issues
- Limit executable memory for OpenBSD's datasize limits
- Add mutable section attribute for read-only pages
- Remove conflicting type definitions in math_private.h
2025-09-26 16:10:41 +00:00
sthen
56a65870a4
remove typo'd line (CLAGS instead of CFLAGS). build fails if the typo is fixed.
2025-09-22 12:27:36 +00:00
sthen
70a939e82e
add mongodb/80 at its current state (basically the files from rsadowski,
...
but marked BROKEN for now as it crashes unless --noscripting is used,
possibly more patches needed for spidermonkey?)
2025-09-02 12:25:13 +00:00
sthen
6ed149d30e
mark broken; fails with newer libc++
2025-09-02 12:13:35 +00:00
sthen
8a3959b38c
make some noop changes that will be needed for mongodb/80 when it works
2025-09-02 12:12:51 +00:00
rsadowski
17f22b8091
Unbreak databases/mongodb/44 with scons 4.9.1
...
Backport openssl detection from mongodb 8.x
OK sthen@
2025-08-19 19:32:20 +00:00
tb
739cd7d487
mongodb/44: fix build with llvm 19 (from mozilla)
2025-01-29 07:44:32 +00:00
sthen
e5a598879f
handle py3.12 switchover in databases
2024-12-21 11:37:48 +00:00
tb
64da304402
mongodb/44: patch moduleconfig.py to work with python 3.12
2024-12-14 22:24:26 +00:00
tb
248f0c554c
Allow our old mongodb to build with newer boost
...
test/ok sthen
2024-12-05 13:18:39 +00:00
sthen
090a130ea9
drop mongodb 3.6 (again, now that mfi is removed)
2024-11-28 22:20:25 +00:00
sthen
de2f6c35dc
oops, tb pointed out net/mfi still depends on mongodb/36 - reinstate for now
2024-11-20 16:19:59 +00:00
sthen
3383942e17
mongodb/36 was kept around for old versions of unifi, but they have
...
since been removed, so drop it.
(if someone is still using an old version, there are notes in unifi's
pkg-readme about either importing a unifi .unf backup to a new version,
or using mongodump from mongo-tools, to jump to 44).
2024-11-20 15:47:23 +00:00
tb
1b97942dad
mongodb: pass --disable-warnings-as-errors to unbreak build with
...
-Wl,--fatal-warnings
ok anton
2024-08-06 09:00:14 +00:00
sthen
0a9437b290
shift some things from 44/Makefile to Makefile.inc as they'll be shareable
...
with 5.0 if I can get that to actually build
change 44 to fetch from github, the tar.gz distfile on fastdl.mongodb.org
hits a 403 error now (5.0 is not available there either)
2024-07-09 14:39:06 +00:00
ajacoutot
f6d27895aa
Unbreak: fix build with icu4c>=75 by using bunlded icu for 36.
...
ok sthen@
2024-07-09 10:24:51 +00:00
ajacoutot
02476ee8fa
Mark BROKEN for now: does not build with icu4c>=75
2024-07-09 08:29:07 +00:00
sthen
c71b3eeefb
mongodb/36: port some utf8-related changes to python scripts run during the
...
build from mongodb/44, should fix build issue with python 3.11 reported by tb
2024-05-08 08:56:24 +00:00
sthen
b980bb5574
bump REVISION for py3.10 -> py3.11 switch
2024-05-06 12:22:30 +00:00
sthen
963b96a70c
update to mongodb-4.4.29
2024-02-28 16:36:48 +00:00
sthen
df38442d60
update to mongodb-4.4.28
2024-01-13 11:41:41 +00:00
sthen
905501b84d
update to mongodb-4.4.27
2023-12-13 19:55:31 +00:00
sthen
33f987860e
update to mongodb-4.4.26
2023-11-16 08:41:22 +00:00
sthen
58718d1207
update to mongodb-4.4.25
2023-10-11 13:28:08 +00:00
espie
a56cd77418
-> SITES, no fetch change
2023-09-20 13:30:05 +00:00
sthen
ee358ab75d
update to mongodb-4.4.24
2023-08-16 13:24:39 +00:00
sthen
e0eb4af7c0
update to mongodb-4.4.23
2023-07-11 13:09:02 +00:00
sthen
c4abc42abd
update to mongodb-4.4.22
2023-05-31 09:15:27 +00:00
sthen
33943bbadb
update to mongodb-4.4.21
2023-04-22 19:03:33 +00:00
sthen
207c4c8e38
update to mongodb-4.4.19
2023-02-25 07:49:16 +00:00
sthen
b9dafe1cd3
add BDEP on py-setuptools
2022-11-28 21:09:34 +00:00
sthen
f83f497b50
update to mongodb-4.4.18
2022-11-15 17:43:16 +00:00
ajacoutot
f50fdd748e
Stop using the daemon class in @newuser.
...
If we need to make an exception we can do it and properly document the
reason but by default we should just use the default login class.
rc.d uses daemon or the login class provided in login.conf.d so this has
no impact there.
discussed with sthen@, tb@ and robert@
praying that my grep/sed skills did not break anything and still
believing in portbump :-)
2022-11-08 11:14:43 +00:00
sthen
6087c3c792
update to mongodb-4.4.17
2022-10-06 13:31:17 +00:00
sthen
002b22af08
tweak comment
2022-08-16 12:57:10 +00:00
sthen
f3259f3704
update to mongodb-4.4.16
2022-08-16 12:53:33 +00:00
sthen
862ecdc667
BUILD_DEPENDS in mongodb/Makefile.inc needs += not =, reported by aja
2022-06-27 13:43:44 +00:00
sthen
f090a020af
mongodb: factor out common parts to Makefile.inc
2022-06-26 09:02:37 +00:00
sthen
c3ac1d8efb
switch mongodb to a multiversion port, building 3.6.x and 4.4.x.
...
you can't move directly from 3.6 -> 4.4 (you can only move from one major version
to the next; 3.6->4.0, 4.0->4.2, 4.4->4.4) but you can use mongodump/mongorestore
from the mongo-tools package.
2022-06-25 17:11:39 +00:00
sthen
a9990f8492
update to mongodb-3.6.23, thanks to Brad for help with issues with newer
...
Boost, and some patches borrowed from FreeBSD
2022-06-06 23:16:14 +00:00
sthen
96068cfe65
fix mongodb regress tests build, from Brad
2022-05-12 22:44:42 +00:00
naddy
7a958849ed
drop RCS Ids
2022-03-11 18:31:17 +00:00
sthen
cc856d8171
update to mongodb-3.4.24, heavily based on op@'s diff for 4.4.10
...
db upgrades are only supported across one major (3.2 -> 3.4 -> 3.6 ->
4.0 -> 4.2 -> 4.4) so to make things easier for unifi users I'm only
jumping one version for now.
https://docs.mongodb.com/manual/release-notes/3.4-compatibility/
https://docs.mongodb.com/manual/release-notes/3.4-upgrade-standalone/
2022-02-02 18:14:58 +00:00
tb
d08af4dfe9
databases/mongodb: backport a patch from mongdb 3.4 to make it compile
...
with OpenSSL 1.1 where EVP_MD_CTX is opaque.
2021-11-27 14:17:02 +00:00
sthen
e511e4e333
use py2 scons, from Omar Polo
2021-10-31 17:31:43 +00:00
sthen
34c35bea62
#include <map> to fix build with Boost > 1.72.0, from Brad
2021-09-04 20:27:53 +00:00
sthen
350cf40556
remove ports libexecinfo, we now have a libunwind-based libexecinfo in base
2021-06-09 19:50:06 +00:00
tb
95d5dd2a1f
databases/mongodb: use accessor instead of reaching inside SSL.
2021-05-23 07:22:37 +00:00