[Lunar-commits] <moonbase> wpa_supplicant: make dbus support optional

Michael 'v4hn' Goerner v4hn at lunar-linux.org
Thu May 3 21:44:14 CEST 2012


commit 53cfaa9cb2892fb360309c3ee7fc797d8f006a4b
Author: Michael 'v4hn' Goerner <v4hn at lunar-linux.org>
Date:   Wed May 2 16:39:34 2012 +0200

    wpa_supplicant: make dbus support optional
---
 wifi/wpa_supplicant/BUILD   |    6 +++++-
 wifi/wpa_supplicant/DEPENDS |    3 ++-
 2 files changed, 7 insertions(+), 2 deletions(-)

diff --git a/wifi/wpa_supplicant/BUILD b/wifi/wpa_supplicant/BUILD
index 17ad03b..ffc78ab 100644
--- a/wifi/wpa_supplicant/BUILD
+++ b/wifi/wpa_supplicant/BUILD
@@ -5,7 +5,7 @@
   sedit "s/dynamic_eap_methods//" Makefile  &&
 
   for option in \
-      DNET_PCAP CTRL_IFACE CTRL_IFACE_DBUS_NEW \
+      DNET_PCAP CTRL_IFACE \
       DRIVER_{HOSTAP,PRISM54,NL80211,NDISWRAPPER,ATMEL,WEXT,IPW,WIRED} \
       WIRELESS_EXTENSION IEEE8021X_EAPOL MSCHAPV2 \
       EAP_{MD5,TLS,PEAP,TTLS,GTC,OTP,SIM,AKA,PSK,LEAP}
@@ -13,6 +13,10 @@
     echo "CONFIG_${option}=y" >> .config
   done  &&
 
+  if [ "${OPTS/*--dbus-no*/n}" != "n" ]; then
+     echo "CONFIG_CTRL_IFACE_DBUS_NEW=y" >> .config
+  fi &&
+
   make  &&
 
   prepare_install  &&
diff --git a/wifi/wpa_supplicant/DEPENDS b/wifi/wpa_supplicant/DEPENDS
index 03aedb4..165f877 100644
--- a/wifi/wpa_supplicant/DEPENDS
+++ b/wifi/wpa_supplicant/DEPENDS
@@ -2,5 +2,6 @@ depends wireless_tools
 depends libpcap
 depends libdnet
 depends openssl
-depends dbus
 depends libnl
+
+optional_depends dbus "--dbus-yes" "--dbus-no" "for new dbus interface"


More information about the Lunar-commits mailing list