Patchwork [5/5] connman: Add PPTP support

login
register
mail settings
Submitter Jukka Rissanen
Date May 10, 2013, 12:33 p.m.
Message ID <1368189198-1294-6-git-send-email-jukka.rissanen@linux.intel.com>
Download mbox | patch
Permalink /patch/49711/
State New
Headers show

Comments

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 | 4 ++++
 1 file changed, 4 insertions(+)

Patch

diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index 43b363b..d9ab234 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -39,6 +39,7 @@  PACKAGECONFIG ??= "\
                    ${@base_contains('DISTRO_FEATURES', 'vpn','openvpn', '', d)} \
                    ${@base_contains('DISTRO_FEATURES', 'vpn','vpnc', '', d)} \
                    ${@base_contains('DISTRO_FEATURES', 'vpn','l2tp', '', d)} \
+                   ${@base_contains('DISTRO_FEATURES', 'vpn','pptp', '', d)} \
 "
 
 PACKAGECONFIG[wifi] = "--enable-wifi, --disable-wifi, wpa-supplicant"
@@ -48,6 +49,7 @@  PACKAGECONFIG[tist] = "--enable-tist,--disable-tist,"
 PACKAGECONFIG[openvpn] = "--enable-openvpn,--disable-openvpn, openvpn"
 PACKAGECONFIG[vpnc] = "--enable-vpnc,--disable-vpnc, vpnc"
 PACKAGECONFIG[l2tp] = "--enable-l2tp,--disable-l2tp, xl2tpd"
+PACKAGECONFIG[pptp] = "--enable-pptp,--disable-pptp, pptp-linux"
 
 INITSCRIPT_NAME = "connman"
 INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ."
@@ -174,3 +176,5 @@  FILES_${PN}-plugin-vpn-openvpn += "${libdir}/connman/scripts/openvpn-script"
 FILES_${PN}-plugin-vpn-vpnc += "${libdir}/connman/scripts/openconnect-script"
 FILES_${PN}-plugin-vpn-l2tp += "${libdir}/connman/scripts/libppp-plugin.so*"
 INSANE_SKIP_${PN}-plugin-vpn-l2tp += "dev-so"
+FILES_${PN}-plugin-vpn-pptp += "${libdir}/connman/scripts/libppp-plugin.so*"
+INSANE_SKIP_${PN}-plugin-vpn-pptp += "dev-so"