diff options
author | Jukka Rissanen <jukka.rissanen@linux.intel.com> | 2013-05-14 11:10:44 +0300 |
---|---|---|
committer | Richard Purdie <richard.purdie@linuxfoundation.org> | 2013-05-16 00:09:49 +0300 |
commit | 6707538b5297cc3f8da4b6ced2c635ca06e13e28 (patch) | |
tree | e539a5c48331f46fa6601f2f716ef5770917bcc0 /meta/recipes-connectivity/connman/connman.inc | |
parent | 951aa13825765f18abb3e71d37999a01f6facca0 (diff) | |
download | poky-6707538b5297cc3f8da4b6ced2c635ca06e13e28.tar.gz |
connman: Add L2TP support
(From OE-Core rev: 53cb0d8502d895c47c87130bc9f3e9452cbd04b5)
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/connman.inc')
-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 8fd38eead6..b26555c3db 100644 --- a/meta/recipes-connectivity/connman/connman.inc +++ b/meta/recipes-connectivity/connman/connman.inc | |||
@@ -48,6 +48,7 @@ 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 | PACKAGECONFIG[openvpn] = "--enable-openvpn,--disable-openvpn,,openvpn" |
50 | PACKAGECONFIG[vpnc] = "--enable-vpnc,--disable-vpnc,,vpnc" | 50 | PACKAGECONFIG[vpnc] = "--enable-vpnc,--disable-vpnc,,vpnc" |
51 | PACKAGECONFIG[l2tp] = "--enable-l2tp,--disable-l2tp,,xl2tpd" | ||
51 | 52 | ||
52 | INITSCRIPT_NAME = "connman" | 53 | INITSCRIPT_NAME = "connman" |
53 | INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ." | 54 | INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ." |
@@ -190,3 +191,11 @@ FILES_${PN}-plugin-vpn-vpnc += "${libdir}/connman/scripts/openconnect-script \ | |||
190 | ${libdir}/connman/plugins-vpn/vpnc.so" | 191 | ${libdir}/connman/plugins-vpn/vpnc.so" |
191 | RDEPENDS_${PN}-plugin-vpn-vpnc += "${PN}-vpn" | 192 | RDEPENDS_${PN}-plugin-vpn-vpnc += "${PN}-vpn" |
192 | RRECOMMENDS_${PN} += "${@base_contains('PACKAGECONFIG','vpnc','${PN}-plugin-vpn-vpnc', '', d)}" | 193 | RRECOMMENDS_${PN} += "${@base_contains('PACKAGECONFIG','vpnc','${PN}-plugin-vpn-vpnc', '', d)}" |
194 | |||
195 | SUMMARY_${PN}-plugin-vpn-l2tp = "A L2TP plugin for ConnMan VPN" | ||
196 | DESCRIPTION_${PN}-plugin-vpn-l2tp = "The ConnMan L2TP plugin uses xl2tpd daemon \ | ||
197 | to create a VPN connection to L2TP server." | ||
198 | FILES_${PN}-plugin-vpn-l2tp += "${libdir}/connman/scripts/libppp-plugin.so* \ | ||
199 | ${libdir}/connman/plugins-vpn/l2tp.so" | ||
200 | RDEPENDS_${PN}-plugin-vpn-l2tp += "${PN}-vpn" | ||
201 | RRECOMMENDS_${PN} += "${@base_contains('PACKAGECONFIG','l2tp','${PN}-plugin-vpn-l2tp', '', d)}" | ||