Opened 15 months ago
Last modified 15 months ago
#67990 assigned defect
meson ports: subproject handling: update all, to explicitly declare whether subproject download allowed
Reported by: | mascguy (Christopher Nielsen) | Owned by: | mascguy (Christopher Nielsen) |
---|---|---|---|
Priority: | Normal | Milestone: | |
Component: | ports | Version: | 2.8.1 |
Keywords: | portgroup | Cc: | Gcenx |
Port: | meson |
Description
Up until today, Meson-based ports have had no real control over subproject downloads. However, that functionality is now available via new option meson.wrap_mode
, courtesy of Dean Greer.
In order to ensure expected/consistent behavior, all Meson-based ports should be updated to declare whether subproject downloads are allowed.
The vast majority of ports don't want/need subproject downloads, so they'll specify meson.wrap_mode nodownload
. For the rare cases where downloads should be allowed, ports will specify meson.wrap_mode default
. (Or perhaps one of the more advanced options. Though those will be the exception, rather than the rule.)
The eventual end-goal is to ultimately block subproject downloads by default, in the Meson portgroup. But the first step is to ensure all such ports declare the behavior that's desired.
Once all ports have been updated, we'll be able to update the default, and remove nodownload
declarations. And the only ports that will declare meson.wrap_mode
, will be those that need it enabled.
ETA for the latter is over the coming weeks, as time allows.
In 9baa54f3f765943e64eab793febe59a13bf7799c/macports-ports (master):