summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorJukka Rissanen <jukka.rissanen@linux.intel.com>2013-05-14 11:10:42 +0300
committerRichard Purdie <richard.purdie@linuxfoundation.org>2013-05-16 00:09:48 +0300
commit48d0f528bb9369156b3027a23c1d2779601ef3d4 (patch)
treee152db549256d04f25964d340841cfaf29adc1d8
parent7c41d839f9a00a10c763a8f6c3c349b61da3fd21 (diff)
downloadpoky-48d0f528bb9369156b3027a23c1d2779601ef3d4.tar.gz
connman: Add OpenVPN support
(From OE-Core rev: 428c15a7b1e9c1ffa90e83a276c367f3f84268d8) Signed-off-by: Jukka Rissanen <jukka.rissanen@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
-rw-r--r--meta/recipes-connectivity/connman/connman.inc9
1 files changed, 9 insertions, 0 deletions
diff --git a/meta/recipes-connectivity/connman/connman.inc b/meta/recipes-connectivity/connman/connman.inc
index 137deedb30..b7466f58bf 100644
--- a/meta/recipes-connectivity/connman/connman.inc
+++ b/meta/recipes-connectivity/connman/connman.inc
@@ -46,6 +46,7 @@ PACKAGECONFIG[wifi] = "--enable-wifi, --disable-wifi, wpa-supplicant"
46PACKAGECONFIG[bluetooth] = "--enable-bluetooth, --disable-bluetooth, bluez4" 46PACKAGECONFIG[bluetooth] = "--enable-bluetooth, --disable-bluetooth, bluez4"
47PACKAGECONFIG[3g] = "--enable-ofono, --disable-ofono, ofono" 47PACKAGECONFIG[3g] = "--enable-ofono, --disable-ofono, ofono"
48PACKAGECONFIG[tist] = "--enable-tist,--disable-tist," 48PACKAGECONFIG[tist] = "--enable-tist,--disable-tist,"
49PACKAGECONFIG[openvpn] = "--enable-openvpn,--disable-openvpn,,openvpn"
49 50
50INITSCRIPT_NAME = "connman" 51INITSCRIPT_NAME = "connman"
51INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ." 52INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ."
@@ -172,3 +173,11 @@ FILES_${PN}-vpn += "${sbindir}/connman-vpnd \
172 ${sysconfdir}/dbus-1/system.d/connman-vpn-dbus.conf \ 173 ${sysconfdir}/dbus-1/system.d/connman-vpn-dbus.conf \
173 ${datadir}/dbus-1/system-services/net.connman.vpn.service \ 174 ${datadir}/dbus-1/system-services/net.connman.vpn.service \
174 ${systemd_unitdir}/system/connman-vpn.service" 175 ${systemd_unitdir}/system/connman-vpn.service"
176
177SUMMARY_${PN}-plugin-vpn-openvpn = "An OpenVPN plugin for ConnMan VPN"
178DESCRIPTION_${PN}-plugin-vpn-openvpn = "The ConnMan OpenVPN plugin uses openvpn client \
179to create a VPN connection to OpenVPN server."
180FILES_${PN}-plugin-vpn-openvpn += "${libdir}/connman/scripts/openvpn-script \
181 ${libdir}/connman/plugins-vpn/openvpn.so"
182RDEPENDS_${PN}-plugin-vpn-openvpn += "${PN}-vpn"
183RRECOMMENDS_${PN} += "${@base_contains('PACKAGECONFIG','openvpn','${PN}-plugin-vpn-openvpn', '', d)}"