head 1.1; access; symbols; locks; strict; comment @# @; 1.1 date 2026.09.22.16.47.10; author abs; state Exp; branches; next ; commitid s8oGxWmvLnsKBDWG; desc @@ 1.1 log @Import mongodb-5.0.34 MongoDB 5.0 was released July 13, 2021, and the latest update (5.0.34) was released June 11, 2026 The main consumer of this version of mongodb in pkgsrc is net/unifi, and this will allow users to upgrade theit mongodb4 install (mongodb only allows version+1 upgrades, so 4.4 -> 5.0 then 5.0 -> 6.0 etc @ text @$NetBSD: patch-site__scons_mongo_platform.py,v 1.1 2023/07/29 11:51:15 adam Exp $ Add NetBSD and Dragonfly support. --- site_scons/mongo/platform.py.orig 2019-12-04 23:29:59.000000000 +0000 +++ site_scons/mongo/platform.py @@@@ -22,6 +22,10 @@@@ def get_running_os_name(): running_os = 'linux' elif running_os.startswith('freebsd'): running_os = 'freebsd' + elif running_os.startswith('dragonfly'): + running_os = 'dragonfly' + elif running_os.startswith('netbsd'): + running_os = 'netbsd' elif running_os.startswith('openbsd'): running_os = 'openbsd' elif running_os == 'sunos5': @@@@ -42,7 +46,7 @@@@ def env_get_os_name_wrapper(self): def is_os_raw(target_os, os_list_to_check): darwin_os_list = ['macOS', 'tvOS', 'tvOS-sim', 'iOS', 'iOS-sim', 'watchOS', 'watchOS-sim'] linux_os_list = ['android', 'linux'] - posix_os_list = ['openbsd', 'freebsd', 'solaris', 'emscripten'] + darwin_os_list + linux_os_list + posix_os_list = ['netbsd', 'openbsd', 'freebsd', 'dragonfly', 'solaris', 'emscripten'] + darwin_os_list + linux_os_list os_families = { "darwin": darwin_os_list, @