wpa_supplicant: service/conf and service/log must not be handled by xbps.
- `service/conf` must be created by the admin. - `service/log/run` must be created by the admin.
This commit is contained in:
parent
0d9c5b868f
commit
1fa186703b
4 changed files with 3 additions and 11 deletions
|
@ -1,3 +0,0 @@
|
|||
WPA_INTERFACE=wlan0
|
||||
# Log to syslog by default
|
||||
OPTS="-s"
|
|
@ -1,4 +0,0 @@
|
|||
#!/bin/sh
|
||||
install -d -m0750 -o root -g wheel /var/log/wpa_supplicant
|
||||
echo "Logging to /var/log/wpa_supplicant/current"
|
||||
exec chpst -u root:daemon svlogd -t /var/log/wpa_supplicant
|
|
@ -1,5 +1,4 @@
|
|||
#!/bin/sh
|
||||
[ -r ./conf ] && . ./conf
|
||||
: ${WPA_INTERFACE:=wlan0}
|
||||
exec 2>&1
|
||||
exec wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i ${WPA_INTERFACE} ${OPTS}
|
||||
exec wpa_supplicant -c /etc/wpa_supplicant/wpa_supplicant.conf -i ${WPA_INTERFACE:=wlan0} ${OPTS:=-s}
|
||||
|
|
|
@ -1,7 +1,7 @@
|
|||
# Template file for 'wpa_supplicant'
|
||||
pkgname=wpa_supplicant
|
||||
version=2.5
|
||||
revision=1
|
||||
revision=2
|
||||
build_wrksrc=$pkgname
|
||||
short_desc="WPA/WPA2/IEEE 802.1X Supplicant"
|
||||
maintainer="Juan RP <xtraeme@voidlinux.eu>"
|
||||
|
@ -12,7 +12,7 @@ checksum=cce55bae483b364eae55c35ba567c279be442ed8bab5b80a3c7fb0d057b9b316
|
|||
|
||||
hostmakedepends="pkg-config"
|
||||
makedepends="libnl3-devel libressl-devel dbus-devel readline-devel"
|
||||
conf_files="/etc/sv/wpa_supplicant/conf /etc/sv/wpa_supplicant/log/run /etc/${pkgname}/${pkgname}.conf"
|
||||
conf_files="/etc/${pkgname}/${pkgname}.conf"
|
||||
|
||||
pre_build() {
|
||||
sed -i 's|/usr/local|$(PREFIX)|g' Makefile
|
||||
|
|
Loading…
Reference in a new issue