1
0
forked from ports/opt

wpa_supplicant: dbus support, FS#957

This commit is contained in:
Juergen Daubert 2013-10-06 11:50:23 +02:00
parent 45b230e263
commit b181f5d38f
2 changed files with 15 additions and 1 deletions

View File

@ -2,6 +2,10 @@ drwxr-xr-x root/root etc/
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/etc/
drwxr-xr-x root/root usr/etc/dbus-1/
drwxr-xr-x root/root usr/etc/dbus-1/system.d/
-rw-r--r-- root/root usr/etc/dbus-1/system.d/wpa_supplicant.conf
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man5/
-rw-r--r-- root/root usr/man/man5/wpa_supplicant.conf.5.gz
@ -14,3 +18,7 @@ drwxr-xr-x root/root usr/sbin/
-rwxr-xr-x root/root usr/sbin/wpa_cli
-rwxr-xr-x root/root usr/sbin/wpa_passphrase
-rwxr-xr-x root/root usr/sbin/wpa_supplicant
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/dbus-1/
drwxr-xr-x root/root usr/share/dbus-1/system-services/
-rw-r--r-- root/root usr/share/dbus-1/system-services/fi.w1.wpa_supplicant1.service

View File

@ -5,7 +5,7 @@
name=wpa_supplicant
version=2.0
release=2
release=3
source=(http://hostap.epitest.fi/releases/$name-$version.tar.gz)
build () {
@ -14,6 +14,7 @@ build () {
cp defconfig .config
echo "CONFIG_READLINE=y
CONFIG_LIBNL32=y
CONFIG_CTRL_IFACE_DBUS_NEW=y
CFLAGS+=-I/usr/include/libnl3" >> .config
make
@ -26,6 +27,11 @@ build () {
echo -e "ctrl_interface=/var/run/wpa_supplicant\n" > $PKG/etc/wpa_supplicant.conf
chmod 0600 $PKG/etc/wpa_supplicant.conf
# dbus
install -d $PKG/usr/{share/dbus-1/system-services,etc/dbus-1/system.d}
install -m 0644 dbus/fi.w1.wpa_supplicant1.service $PKG/usr/share/dbus-1/system-services/
install -m 0644 dbus/dbus-wpa_supplicant.conf $PKG/usr/etc/dbus-1/system.d/wpa_supplicant.conf
# symlink for compatibility with older releases
ln -s wpa_supplicant.conf $PKG/etc/wpa.conf
}