build/meson: deprecate dhclient
Make it off by default. Point out it's deprecated in a config summary. It's not maintained upstream. There's probably not much justification for using it any more and we'd like to remove it at some point. https://issues.redhat.com/browse/RHEL-24622
This commit is contained in:
@@ -226,6 +226,7 @@ if [[ $NO_DIST != 1 ]]; then
|
|||||||
-Dlibaudit=yes-disabled-by-default \
|
-Dlibaudit=yes-disabled-by-default \
|
||||||
-Dpolkit=true \
|
-Dpolkit=true \
|
||||||
-Dnm_cloud_setup=true \
|
-Dnm_cloud_setup=true \
|
||||||
|
-Ddhclient=/usr/sbin/dhclient \
|
||||||
-Dconfig_dhcp_default=internal \
|
-Dconfig_dhcp_default=internal \
|
||||||
-Dconfig_dns_rc_manager_default=auto \
|
-Dconfig_dns_rc_manager_default=auto \
|
||||||
-Diptables=/usr/sbin/iptables \
|
-Diptables=/usr/sbin/iptables \
|
||||||
|
@@ -657,6 +657,9 @@ foreach client : [ 'dhclient', 'dhcpcd', 'dhcpcanon' ]
|
|||||||
if (client_enable)
|
if (client_enable)
|
||||||
dhcp_summary += (' ' + client_path)
|
dhcp_summary += (' ' + client_path)
|
||||||
endif
|
endif
|
||||||
|
if (client == 'dhclient')
|
||||||
|
dhcp_summary += ' (deprecated)'
|
||||||
|
endif
|
||||||
dhcp_summary += '\n'
|
dhcp_summary += '\n'
|
||||||
endforeach
|
endforeach
|
||||||
|
|
||||||
|
@@ -57,7 +57,7 @@ option('netconfig', type: 'string', value: '', description: 'Enable SUSE netconf
|
|||||||
option('config_dns_rc_manager_default', type: 'combo', choices: ['auto', 'symlink', 'file', 'netconfig', 'resolvconf'], value: 'auto', description: 'Configure default value for main.rc-manager setting')
|
option('config_dns_rc_manager_default', type: 'combo', choices: ['auto', 'symlink', 'file', 'netconfig', 'resolvconf'], value: 'auto', description: 'Configure default value for main.rc-manager setting')
|
||||||
|
|
||||||
# dhcp clients
|
# dhcp clients
|
||||||
option('dhclient', type: 'string', value: '', description: 'Enable dhclient support')
|
option('dhclient', type: 'string', value: 'no', description: 'Enable dhclient support (deprecated)')
|
||||||
option('dhcpcanon', type: 'string', value: '', description: 'Enable dhcpcanon support (experimental)')
|
option('dhcpcanon', type: 'string', value: '', description: 'Enable dhcpcanon support (experimental)')
|
||||||
option('dhcpcd', type: 'string', value: '', description: 'Enable dhcpcd support')
|
option('dhcpcd', type: 'string', value: '', description: 'Enable dhcpcd support')
|
||||||
option('config_dhcp_default', type: 'combo', choices: ['dhcpcanon', 'dhclient', 'dhcpcd', 'internal', 'nettools'], value: 'internal', description: 'Default configuration option for main.dhcp setting, used as fallback if the configuration option is unset')
|
option('config_dhcp_default', type: 'combo', choices: ['dhcpcanon', 'dhclient', 'dhcpcd', 'internal', 'nettools'], value: 'internal', description: 'Default configuration option for main.dhcp setting, used as fallback if the configuration option is unset')
|
||||||
|
Reference in New Issue
Block a user