ports/opt (3.0): [notify] wpa_supplicant: default configuration file is /etc/wpa_supplicant.conf
commit 9dd6246e6f622ba3fc2e5cdfacb3f0dc99126fb7 Author: Juergen Daubert <jue@jue.li> Date: Wed Jul 10 13:03:01 2013 +0200 [notify] wpa_supplicant: default configuration file is /etc/wpa_supplicant.conf NOTE: ----- As of version 6.0 dhcpcd includes a hook, 10-wpa_supplicant, that starts wpa_supplicant for wireless interfaces. The hook expects that the default configuration file of wpa_supplicant is /etc/wpa_supplicant.conf. Unfortunately our port is using /etc/wpa.conf as the default. I've changed that with the current commit to /etc/wpa_supplicant. To keep your current configuration a symlink to wpa.conf is installed as well for now, but might be removed in future versions of the port. It's possible to define the configuration name with a wpa_supplicant_conf=/etc/wpa.conf in /etc/dhcpcd/dhcpcd.enter-hook but using the default name is preferable. Sorry for the inconvenience. diff --git a/wpa_supplicant/.footprint b/wpa_supplicant/.footprint index 3cf369d..58bdf26 100644 --- a/wpa_supplicant/.footprint +++ b/wpa_supplicant/.footprint @@ -1,5 +1,6 @@ drwxr-xr-x root/root etc/ --rw------- root/root etc/wpa.conf +lrwxrwxrwx root/root etc/wpa.conf -> wpa_supplicant.conf +-rw------- root/root etc/wpa_supplicant.conf drwxr-xr-x root/root usr/ drwxr-xr-x root/root usr/man/ drwxr-xr-x root/root usr/man/man5/ diff --git a/wpa_supplicant/Pkgfile b/wpa_supplicant/Pkgfile index ea9663c..b72ed61 100644 --- a/wpa_supplicant/Pkgfile +++ b/wpa_supplicant/Pkgfile @@ -5,7 +5,7 @@ name=wpa_supplicant version=2.0 -release=1 +release=2 source=(http://hostap.epitest.fi/releases/$name-$version.tar.gz) build () { @@ -23,6 +23,9 @@ build () { install -m 0644 doc/docbook/wpa_{background,cli,passphrase,supplicant}.8 $PKG/usr/man/man8 install -m 0644 doc/docbook/wpa_supplicant.conf.5 $PKG/usr/man/man5 - echo -e "ctrl_interface=/var/run/wpa_supplicant\n" > $PKG/etc/wpa.conf - chmod 0600 $PKG/etc/wpa.conf + echo -e "ctrl_interface=/var/run/wpa_supplicant\n" > $PKG/etc/wpa_supplicant.conf + chmod 0600 $PKG/etc/wpa_supplicant.conf + + # symlink for compatibility with older releases + ln -s wpa_supplicant.conf $PKG/etc/wpa.conf }
participants (1)
-
crux@crux.nu