diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2013-05-14 11:10:42 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-16 00:09:48 +0300 |
commit | 48d0f528bb9369156b3027a23c1d2779601ef3d4 (patch) | |
tree | e152db549256d04f25964d340841cfaf29adc1d8 /meta/recipes-connectivity/connman | |
parent | 7c41d839f9a00a10c763a8f6c3c349b61da3fd21 (diff) | |
download | poky-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>
Diffstat (limited to 'meta/recipes-connectivity/connman')
-rw-r--r-- | meta/recipes-connectivity/connman/connman.inc | 9 |
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" | |||
46 | PACKAGECONFIG[bluetooth] = "--enable-bluetooth, --disable-bluetooth, bluez4" | 46 | PACKAGECONFIG[bluetooth] = "--enable-bluetooth, --disable-bluetooth, bluez4" |
47 | PACKAGECONFIG[3g] = "--enable-ofono, --disable-ofono, ofono" | 47 | PACKAGECONFIG[3g] = "--enable-ofono, --disable-ofono, ofono" |
48 | PACKAGECONFIG[tist] = "--enable-tist,--disable-tist," | 48 | PACKAGECONFIG[tist] = "--enable-tist,--disable-tist," |
49 | PACKAGECONFIG[openvpn] = "--enable-openvpn,--disable-openvpn,,openvpn" | ||
49 | 50 | ||
50 | INITSCRIPT_NAME = "connman" | 51 | INITSCRIPT_NAME = "connman" |
51 | INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ." | 52 | INITSCRIPT_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 | |||
177 | SUMMARY_${PN}-plugin-vpn-openvpn = "An OpenVPN plugin for ConnMan VPN" | ||
178 | DESCRIPTION_${PN}-plugin-vpn-openvpn = "The ConnMan OpenVPN plugin uses openvpn client \ | ||
179 | to create a VPN connection to OpenVPN server." | ||
180 | FILES_${PN}-plugin-vpn-openvpn += "${libdir}/connman/scripts/openvpn-script \ | ||
181 | ${libdir}/connman/plugins-vpn/openvpn.so" | ||
182 | RDEPENDS_${PN}-plugin-vpn-openvpn += "${PN}-vpn" | ||
183 | RRECOMMENDS_${PN} += "${@base_contains('PACKAGECONFIG','openvpn','${PN}-plugin-vpn-openvpn', '', d)}" | ||