summaryrefslogtreecommitdiff
path: root/wpa_supplicant
diff options
context:
space:
mode:
authorJuergen Daubert <jue@jue.li>2013-07-10 13:03:01 +0200
committerJuergen Daubert <jue@jue.li>2013-07-10 13:03:01 +0200
commit9dd6246e6f622ba3fc2e5cdfacb3f0dc99126fb7 (patch)
tree7b2c6ad76d3985b5ac05e5e78c057d345ce54a62 /wpa_supplicant
parent7454dff6dd4b8021305025c5a5d2301b509fee79 (diff)
downloadopt-9dd6246e6f622ba3fc2e5cdfacb3f0dc99126fb7.tar.gz
opt-9dd6246e6f622ba3fc2e5cdfacb3f0dc99126fb7.tar.xz
[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.
Diffstat (limited to 'wpa_supplicant')
-rw-r--r--wpa_supplicant/.footprint3
-rw-r--r--wpa_supplicant/Pkgfile9
2 files changed, 8 insertions, 4 deletions
diff --git a/wpa_supplicant/.footprint b/wpa_supplicant/.footprint
index 3cf369d13..58bdf26db 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 ea9663c45..b72ed6124 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
}

Generated by cgit