Repository navigation
Conversation
|
The DragonFly BSD The logic origins from I copied this logic to CMake via 04a3a37, (will fix (not critical, prefills are for internal use and not enabled even here), (I may also happen that the autotools detection is correct by accident.) edit: OpenBSD is missing from the whitelist. edit 2: this looks like large sync-up commit bringing re-entrant getaddrinfo edit 3: here's my assessment, based on CPython research, and
|
- add autotools jobs for MidnightBSD, NetBSD, OpenBSD.
Takes under 3 minutes per new job, under +6m in total.
- comment out MidnightBSD to save CI time.
- to make them as fast as possible, skip building tests and examples,
and omit libidn2, openldap dependencies.
- add DragonFly BSD cmake job, which finally works.
(keep it commented out since the package server fails frequently.)
- do `mport index/upgrade` to make MidnightBSD autotools builds work.
- rework filtering MidnightBSD package manager's excessive log output.
- fixup OpenBSD autotools job to uninstall system curl to avoid linking
against it (and breaking debug builds).
- make OpenBSD package manager commands non-interactive.
- specify install packages for each matrix entry.
- make autotools build step verbose (to ease debugging).
- add link to DragonFly BSD package repo.
- bump cross-platform-actions from 1.1.0 to 1.3.0.
- bump FreeBSD 15.0 to 15.1.
- bump OpenBSD to 7.7 to 7.9.
This did not go well last time with 7.8, let's see with 7.9.
Ref: 8d00e28 #19372
Ref: c3b890b #19368
- sync test-skipper keywords with rest of workflows.
- drop installing impacket. It was unused.
(also a slow install with many dependencies)
The original motivation was to prepare fixing OpenBSD's (and possibly
other platforms) `getaddrinfo()` thread-safety check.
Ref: #22138 (comment)
Closes #22145
…-ups Aka `HAVE_GETADDRINFO_THREADSAFE`. - enable it for OpenBSD 5.4+ (2013-11-01). Also adjust cmake pre-fill. - explicitly opt-in DragonFly BSD, for 2.2.0+ (2009-02-17). Assuming this commit implemented this feature: DragonFlyBSD/DragonFlyBSD@21fcee4#diff-498ff649e8770eb9a94e99a399a4b473fcea41ef58b033a2a2dae3809e17bb04 Prior to this patch it was enabled in autotools by accident, because its host ID misses `bsd` so the global BSD disable was not applied. - autotools: fix to enable for Darwin 9+ / macOS 10.5+ (2007-10-26). Prior to this patch it was Darwin 6 / macOS 10.2. Source: python/cpython#70112 Ref: https://en.wikipedia.org/wiki/MacOS_version_history 10.5 was the first one UNIX '03 certified, which requires this feature. iOS and others were forked from this codebase, so they also have support. - cmake: add version numbers as comments. Sadly the OS versions are not verified. This and the autotools logic could possibly be implemented in `curl-setup.h` more accurately, for all build systems, without duplicating logic. Also: - cmake: `BSD` variable requires CMake 3.25+, add fallback code where missing. Ref: https://cmake.org/cmake/help/v3.25/variable/BSD.html - unix-cache.cmake: stop listing all BSDs for `HAVE_PIPE2`, and fix generic BSD filter for CMake <3.25. - unix-cache.cmake: stop listing all BSDs, since it's prefilled anyway for those via `OtherTests.cmake`. Ref: #22138 (comment) Closes #22148
Based on CI runs:
DragonFlyBSD: https://github.com/curl/curl/actions/runs/27978506617/job/82802332910 (autotools)
MidnightBSD: https://github.com/curl/curl/actions/runs/27977103321/job/82797523470 (cmake)
Also readd DragonFly BSD to GHA/non-native, but keep it commented.