summaryrefslogtreecommitdiff
path: root/user/wpa_supplicant
diff options
context:
space:
mode:
authorDan Theisen <djt@hxx.in>2019-07-07 06:05:36 +0000
committerDan Theisen <djt@hxx.in>2019-07-07 06:05:36 +0000
commit0c8eabdc76d067370beeac85e7b537f5cacdb4d0 (patch)
tree4c584f047085caa0596cdf4df43d504660a685f1 /user/wpa_supplicant
parent6285accb1b685288f641f0529fc9ee6012055093 (diff)
downloadpackages-0c8eabdc76d067370beeac85e7b537f5cacdb4d0.tar.gz
packages-0c8eabdc76d067370beeac85e7b537f5cacdb4d0.tar.bz2
packages-0c8eabdc76d067370beeac85e7b537f5cacdb4d0.tar.xz
packages-0c8eabdc76d067370beeac85e7b537f5cacdb4d0.zip
user/wpa_supplicant: add default configuration file
Diffstat (limited to 'user/wpa_supplicant')
-rw-r--r--user/wpa_supplicant/APKBUILD6
-rw-r--r--user/wpa_supplicant/wpa_supplicant.conf4
2 files changed, 9 insertions, 1 deletions
diff --git a/user/wpa_supplicant/APKBUILD b/user/wpa_supplicant/APKBUILD
index 549bc4181..f67dab261 100644
--- a/user/wpa_supplicant/APKBUILD
+++ b/user/wpa_supplicant/APKBUILD
@@ -2,7 +2,7 @@
# Maintainer: A. Wilcox <awilfox@adelielinux.org>
pkgname=wpa_supplicant
pkgver=2.8
-pkgrel=0
+pkgrel=1
pkgdesc="Utility providing key negotiation for WPA wireless networks"
url="https://w1.fi/wpa_supplicant/"
arch="all"
@@ -14,6 +14,7 @@ makedepends="linux-headers openssl-dev dbus-dev libnl3-dev qt5-qtbase-dev"
source="https://w1.fi/releases/$pkgname-$pkgver.tar.gz
wpa_supplicant.initd
wpa_supplicant.confd
+ wpa_supplicant.conf
dbus.patch
eloop.patch
@@ -67,6 +68,8 @@ package() {
"$pkgdir"/etc/init.d/wpa_supplicant
install -Dm644 "$srcdir"/wpa_supplicant.confd \
"$pkgdir"/etc/conf.d/wpa_supplicant
+ install -Dm640 "$srcdir"/wpa_supplicant.conf \
+ "$pkgdir"/etc/wpa_supplicant.conf
# work around netifrc braindamage
mkdir -p "$pkgdir"/bin
@@ -98,6 +101,7 @@ wpa_gui() {
sha512sums="b37d254d32a4b7a1f95fcb18ec1be0ffb9d025e0b21c42c53acc4cd839be355df1b125b32cc073f9fe09b746807321e23dbe25dc2fc8a7cafa1e71add69f245b wpa_supplicant-2.8.tar.gz
11eed22f6e793f40c788d586c715deecae03c421d11761b7b4a376660bce812c54cc6f353c7d4d5da9c455aeffd778baefb9e76d380027a729574a756e54ddcc wpa_supplicant.initd
29103161ec2b9631fca9e8d9a97fafd60ffac3fe78cf613b834395ddcaf8be1e253c22e060d7d9f9b974b2d7ce794caa932a2125e29f6494b75bce475f7b30e1 wpa_supplicant.confd
+f8b224b6c5a8adf378d8224beb49f2a99817d303f7e6a724943ecb3313ae85ce0fdd8291a20c95563470681ebf5d991ffa31094b9171e470e9690b38bba25738 wpa_supplicant.conf
dac56bc505a51167042ebe548f0e81a20a5578f753af9bb7ec3335a542d799c6e8739681ef7c8f7747a9bc954f8aa6f1a147250eacba17fd7fff80c4e53638ed dbus.patch
2be055dd1f7da5a3d8e79c2f2c0220ddd31df309452da18f290144d2112d6dbde0fc633bb2ad02c386a39d7785323acaf5f70e5969995a1e8303a094eb5fe232 eloop.patch
221660fa0350442a7d8371686b2118861052a4613fb352b7f80079e3750b82f4e48efc378b9d617455007d1106552b695fdca506a3c338283986641f3848b202 config
diff --git a/user/wpa_supplicant/wpa_supplicant.conf b/user/wpa_supplicant/wpa_supplicant.conf
new file mode 100644
index 000000000..b8876ffd6
--- /dev/null
+++ b/user/wpa_supplicant/wpa_supplicant.conf
@@ -0,0 +1,4 @@
+# Enable the control interface for wpa_cli and wpa_gui
+ctrl_interface=/var/run/wpa_supplicant
+ctrl_interface_group=wheel
+update_config=1