HomeFreeBSD

For users who build and install FreeBSD using WITHOUT_WIRELESS

Description

For users who build and install FreeBSD using WITHOUT_WIRELESS
simply altering /etc/rc.conf isn't enough to make use of the ports
versions of hostapd and wpa_supplicant. This is because the rc.d
scripts are not installed when WITHOUT_WIRELESS is specified as a
build option. This patch checks for the rc scripts existence and
if they do not exist, installs the ports versions of the same
scripts, which are added by this revision.

This patch does not change the package in any way and there is no way
to enable this outside of removal of hostapd or wpa_supplicant
(depending on the port). Users who build their own world using the
WITHOUT_WIRELESS flag will almost always not use binary packages. Hence
the automatic detection and install of the rc scripts. Making this an
option would IMO increase the number of bug reports due to people
inadvertently setting or not setting an option.

To enable this a person must:

  1. buildworld and installworld -DWITHOUT_WIRELESS
  2. Build and install the desired wpa_supplicant and/or hostapd port on servers one wishes to install them on.

PR: 238571

Details

Provenance
cyAuthored on
Parents
rP504432: devel/universal-ctags: update to new snapshot
Branches
Unknown
Tags
Unknown