[3/5] connman: Add vpnc support

Submitted by Jukka Rissanen on May 10, 2013, 12:33 p.m.

Details

Message ID 1368189198-1294-4-git-send-email-jukka.rissanen@linux.intel.com
State New
Headers show

Commit Message

Jukka Rissanen May 10, 2013, 12:33 p.m.
Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com>
---
 meta/recipes-connectivity/connman/connman.inc | 3 +++
 1 file changed, 3 insertions(+)

Patch hide | download patch | download mbox

diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index e8e41ed..4917f94 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -37,6 +37,7 @@  PACKAGECONFIG ??= "\
                    ${@base_contains('DISTRO_FEATURES', 'bluetooth','bluetooth', '', d)} \
                    ${@base_contains('DISTRO_FEATURES', '3g','3g', '', d)} \
                    ${@base_contains('DISTRO_FEATURES', 'vpn','openvpn', '', d)} \
+                   ${@base_contains('DISTRO_FEATURES', 'vpn','vpnc', '', d)} \
 "
 
 PACKAGECONFIG[wifi] = "--enable-wifi, --disable-wifi, wpa-supplicant"
@@ -44,6 +45,7 @@  PACKAGECONFIG[bluetooth] = "--enable-bluetooth, --disable-bluetooth, bluez4"
 PACKAGECONFIG[3g] = "--enable-ofono, --disable-ofono, ofono"
 PACKAGECONFIG[tist] = "--enable-tist,--disable-tist,"
 PACKAGECONFIG[openvpn] = "--enable-openvpn,--disable-openvpn, openvpn"
+PACKAGECONFIG[vpnc] = "--enable-vpnc,--disable-vpnc, vpnc"
 
 INITSCRIPT_NAME = "connman"
 INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ."
@@ -167,3 +169,4 @@  FILES_${PN}-dbg += "${libdir}/connman/*/.debug"
 FILES_${PN}-dev += "${libdir}/connman/*/*.la"
 
 FILES_${PN}-plugin-vpn-openvpn += "${libdir}/connman/scripts/openvpn-script"
+FILES_${PN}-plugin-vpn-vpnc += "${libdir}/connman/scripts/openconnect-script"