summaryrefslogtreecommitdiff
path: root/meta/packages/wpa-supplicant
diff options
context:
space:
mode:
authorRoss Burton <ross@openedhand.com>2007-09-25 15:14:17 +0000
committerRoss Burton <ross@openedhand.com>2007-09-25 15:14:17 +0000
commit5409e91c775520d5b805149e662b13caec8d2194 (patch)
treee4fae390d3c8aecf3e5983e0b36ca7cc8fcfcea0 /meta/packages/wpa-supplicant
parent4d76e104d623f85e2f984f3936cb9a526c01797a (diff)
downloadopenembedded-core-5409e91c775520d5b805149e662b13caec8d2194.tar.gz
openembedded-core-5409e91c775520d5b805149e662b13caec8d2194.tar.bz2
openembedded-core-5409e91c775520d5b805149e662b13caec8d2194.tar.xz
openembedded-core-5409e91c775520d5b805149e662b13caec8d2194.zip
wpa-supplicant: enable the DBus control interface (for NM)
git-svn-id: https://svn.o-hand.com/repos/poky/trunk@2788 311d38ba-8fff-0310-9ca6-ca027cbcb966
Diffstat (limited to 'meta/packages/wpa-supplicant')
-rw-r--r--meta/packages/wpa-supplicant/files/defconfig-gnutls2
-rw-r--r--meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc5
-rw-r--r--meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb2
3 files changed, 8 insertions, 1 deletions
diff --git a/meta/packages/wpa-supplicant/files/defconfig-gnutls b/meta/packages/wpa-supplicant/files/defconfig-gnutls
index 2df5e51df..5b4ff0d03 100644
--- a/meta/packages/wpa-supplicant/files/defconfig-gnutls
+++ b/meta/packages/wpa-supplicant/files/defconfig-gnutls
@@ -174,3 +174,5 @@ CONFIG_TLS=gnutls
# apply for distribution of the resulting binary.
CONFIG_GNUTLS_EXTRA=y
+# Add support for DBus control interface
+CONFIG_CTRL_IFACE_DBUS=y
diff --git a/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc b/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc
index 96bbfaeeb..10b769017 100644
--- a/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc
+++ b/meta/packages/wpa-supplicant/wpa-supplicant-0.5.inc
@@ -2,7 +2,7 @@ DESCRIPTION = "A Client for Wi-Fi Protected Access (WPA)."
SECTION = "network"
LICENSE = "GPL"
HOMEPAGE = "http://hostap.epitest.fi/wpa_supplicant/"
-DEPENDS = "gnutls"
+DEPENDS = "gnutls dbus"
SRC_URI = "http://hostap.epitest.fi/releases/wpa_supplicant-${PV}.tar.gz \
file://defconfig-gnutls \
@@ -57,4 +57,7 @@ do_install () {
install -m 755 ${WORKDIR}/wpa-supplicant.sh ${D}${sysconfdir}/network/if-pre-up.d/wpa-supplicant
cd ${D}${sysconfdir}/network/ && \
ln -sf ../if-pre-up.d/wpa-supplicant if-post-down.d/wpa-supplicant
+
+ install -d ${D}/${sysconfdir}/dbus-1/system.d
+ install -m 644 ${S}/dbus-wpa_supplicant.conf ${D}/${sysconfdir}/dbus-1/system.d
}
diff --git a/meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb b/meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb
index 6594bbfdb..67a5b99b0 100644
--- a/meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb
+++ b/meta/packages/wpa-supplicant/wpa-supplicant_0.5.8.bb
@@ -1 +1,3 @@
require wpa-supplicant-0.5.inc
+
+PR = "r1"