Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 1 | SUMMARY = "A daemon for managing internet connections within embedded devices" |
| 2 | DESCRIPTION = "The ConnMan project provides a daemon for managing \ |
| 3 | internet connections within embedded devices running the Linux \ |
| 4 | operating system. The Connection Manager is designed to be slim and \ |
| 5 | to use as few resources as possible, so it can be easily integrated. \ |
| 6 | It is a fully modular system that can be extended, through plug-ins, \ |
| 7 | to support all kinds of wired or wireless technologies. Also, \ |
| 8 | configuration methods, like DHCP and domain name resolving, are \ |
| 9 | implemented using plug-ins." |
| 10 | HOMEPAGE = "http://connman.net/" |
| 11 | BUGTRACKER = "https://01.org/jira/browse/CM" |
Andrew Geissler | 7e0e3c0 | 2022-02-25 20:34:39 +0000 | [diff] [blame] | 12 | LICENSE = "GPL-2.0-only" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 13 | LIC_FILES_CHKSUM = "file://COPYING;md5=12f884d2ae1ff87c09e5b7ccc2c4ca7e \ |
| 14 | file://src/main.c;beginline=1;endline=20;md5=486a279a6ab0c8d152bcda3a5b5edc36" |
| 15 | |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 16 | inherit autotools pkgconfig systemd update-rc.d update-alternatives |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 17 | |
Andrew Geissler | 5199d83 | 2021-09-24 16:47:35 -0500 | [diff] [blame] | 18 | CVE_PRODUCT = "connman connection_manager" |
| 19 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 20 | DEPENDS = "dbus glib-2.0 ppp" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 21 | |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 22 | EXTRA_OECONF += "\ |
| 23 | ac_cv_path_WPASUPPLICANT=${sbindir}/wpa_supplicant \ |
| 24 | ac_cv_path_PPPD=${sbindir}/pppd \ |
| 25 | --enable-debug \ |
| 26 | --enable-loopback \ |
| 27 | --enable-ethernet \ |
| 28 | --enable-tools \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 29 | --disable-polkit \ |
Patrick Williams | b542dec | 2023-06-09 01:26:37 -0500 | [diff] [blame] | 30 | --runstatedir=/run \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 31 | " |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 32 | # For smooth operation it would be best to start only one wireless daemon at a time. |
| 33 | # If wpa-supplicant is running, connman will use it preferentially. |
| 34 | # Select either wpa-supplicant or iwd |
| 35 | WIRELESS_DAEMON ??= "wpa-supplicant" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 36 | |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 37 | PACKAGECONFIG ??= "wispr iptables client\ |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 38 | ${@bb.utils.filter('DISTRO_FEATURES', '3g systemd', d)} \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 39 | ${@bb.utils.contains('DISTRO_FEATURES', 'bluetooth', 'bluez', '', d)} \ |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 40 | ${@bb.utils.contains('DISTRO_FEATURES', 'wifi', 'wifi ${WIRELESS_DAEMON}', '', d)} \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 41 | " |
| 42 | |
| 43 | # If you want ConnMan to support VPN, add following statement into |
| 44 | # local.conf or distro config |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 45 | # PACKAGECONFIG:append:pn-connman = " openvpn vpnc l2tp pptp" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 46 | |
Andrew Geissler | 5199d83 | 2021-09-24 16:47:35 -0500 | [diff] [blame] | 47 | PACKAGECONFIG[systemd] = "--with-systemdunitdir=${systemd_system_unitdir}/ --with-tmpfilesdir=${sysconfdir}/tmpfiles.d/,--with-systemdunitdir='' --with-tmpfilesdir=''" |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 48 | PACKAGECONFIG[wifi] = "--enable-wifi, --disable-wifi" |
Brad Bishop | 96ff198 | 2019-08-19 13:50:42 -0400 | [diff] [blame] | 49 | PACKAGECONFIG[bluez] = "--enable-bluetooth, --disable-bluetooth, bluez5, bluez5" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 50 | PACKAGECONFIG[3g] = "--enable-ofono, --disable-ofono, ofono, ofono" |
Patrick Williams | 92b42cb | 2022-09-03 06:53:57 -0500 | [diff] [blame] | 51 | PACKAGECONFIG[wpa-supplicant] = ",,wpa-supplicant,wpa-supplicant" |
| 52 | PACKAGECONFIG[iwd] = "--enable-iwd,--disable-iwd,,iwd" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 53 | PACKAGECONFIG[tist] = "--enable-tist,--disable-tist," |
| 54 | PACKAGECONFIG[openvpn] = "--enable-openvpn --with-openvpn=${sbindir}/openvpn,--disable-openvpn,,openvpn" |
| 55 | PACKAGECONFIG[vpnc] = "--enable-vpnc --with-vpnc=${sbindir}/vpnc,--disable-vpnc,,vpnc" |
| 56 | PACKAGECONFIG[l2tp] = "--enable-l2tp --with-l2tp=${sbindir}/xl2tpd,--disable-l2tp,,xl2tpd" |
| 57 | PACKAGECONFIG[pptp] = "--enable-pptp --with-pptp=${sbindir}/pptp,--disable-pptp,,pptp-linux" |
| 58 | # WISPr support for logging into hotspots, requires TLS |
| 59 | PACKAGECONFIG[wispr] = "--enable-wispr,--disable-wispr,gnutls," |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 60 | PACKAGECONFIG[nftables] = "--with-firewall=nftables ,,libmnl libnftnl,,kernel-module-nf-tables kernel-module-nft-chain-nat-ipv4 kernel-module-nft-chain-route-ipv4 kernel-module-nft-masq-ipv4 kernel-module-nft-nat" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 61 | PACKAGECONFIG[iptables] = "--with-firewall=iptables ,,iptables,iptables" |
Brad Bishop | c342db3 | 2019-05-15 21:57:59 -0400 | [diff] [blame] | 62 | PACKAGECONFIG[nfc] = "--enable-neard, --disable-neard, neard, neard" |
Andrew Geissler | 82c905d | 2020-04-13 13:39:40 -0500 | [diff] [blame] | 63 | PACKAGECONFIG[client] = "--enable-client,--disable-client,readline" |
Andrew Geissler | 4b740dc | 2020-05-05 08:54:39 -0500 | [diff] [blame] | 64 | PACKAGECONFIG[wireguard] = "--enable-wireguard,--disable-wireguard,libmnl" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 65 | |
| 66 | INITSCRIPT_NAME = "connman" |
| 67 | INITSCRIPT_PARAMS = "start 05 5 2 3 . stop 22 0 1 6 ." |
| 68 | |
| 69 | python __anonymous () { |
Brad Bishop | 64c979e | 2019-11-04 13:55:29 -0500 | [diff] [blame] | 70 | systemd_packages = "${PN} ${PN}-wait-online" |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 71 | pkgconfig = d.getVar('PACKAGECONFIG') |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 72 | if ('openvpn' or 'vpnc' or 'l2tp' or 'pptp') in pkgconfig.split(): |
| 73 | systemd_packages += " ${PN}-vpn" |
| 74 | d.setVar('SYSTEMD_PACKAGES', systemd_packages) |
| 75 | } |
| 76 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 77 | SYSTEMD_SERVICE:${PN} = "connman.service" |
| 78 | SYSTEMD_SERVICE:${PN}-vpn = "connman-vpn.service" |
| 79 | SYSTEMD_SERVICE:${PN}-wait-online = "connman-wait-online.service" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 80 | |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 81 | ALTERNATIVE_PRIORITY = "100" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 82 | ALTERNATIVE:${PN} = "${@bb.utils.contains('DISTRO_FEATURES','systemd','resolv-conf','',d)}" |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 83 | ALTERNATIVE_TARGET[resolv-conf] = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${sysconfdir}/resolv-conf.connman','',d)}" |
| 84 | ALTERNATIVE_LINK_NAME[resolv-conf] = "${@bb.utils.contains('DISTRO_FEATURES','systemd','${sysconfdir}/resolv.conf','',d)}" |
| 85 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 86 | do_install:append() { |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 87 | if ${@bb.utils.contains('DISTRO_FEATURES','sysvinit','true','false',d)}; then |
| 88 | install -d ${D}${sysconfdir}/init.d |
| 89 | install -m 0755 ${WORKDIR}/connman ${D}${sysconfdir}/init.d/connman |
Patrick Williams | f1e5d69 | 2016-03-30 15:21:19 -0500 | [diff] [blame] | 90 | sed -i s%@DATADIR@%${datadir}% ${D}${sysconfdir}/init.d/connman |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 91 | fi |
| 92 | |
| 93 | install -d ${D}${bindir} |
| 94 | install -m 0755 ${B}/tools/*-test ${D}${bindir} |
| 95 | if [ -e ${B}/tools/wispr ]; then |
| 96 | install -m 0755 ${B}/tools/wispr ${D}${bindir} |
| 97 | fi |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 98 | |
| 99 | # We don't need to package an empty directory |
| 100 | rmdir --ignore-fail-on-non-empty ${D}${libdir}/connman/scripts |
| 101 | |
| 102 | # Automake 1.12 won't install empty directories, but we need the |
| 103 | # plugins directory to be present for ownership |
| 104 | mkdir -p ${D}${libdir}/connman/plugins |
Brad Bishop | d7bf8c1 | 2018-02-25 22:55:05 -0500 | [diff] [blame] | 105 | |
| 106 | # For read-only filesystem, do not create links during bootup |
| 107 | if ${@bb.utils.contains('DISTRO_FEATURES','systemd','true','false',d)}; then |
| 108 | ln -sf ../run/connman/resolv.conf ${D}${sysconfdir}/resolv-conf.connman |
| 109 | fi |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 110 | } |
| 111 | |
| 112 | # These used to be plugins, but now they are core |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 113 | RPROVIDES:${PN} = "\ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 114 | connman-plugin-loopback \ |
| 115 | connman-plugin-ethernet \ |
| 116 | ${@bb.utils.contains('PACKAGECONFIG', 'bluetooth','connman-plugin-bluetooth', '', d)} \ |
| 117 | ${@bb.utils.contains('PACKAGECONFIG', 'wifi','connman-plugin-wifi', '', d)} \ |
| 118 | ${@bb.utils.contains('PACKAGECONFIG', '3g','connman-plugin-ofono', '', d)} \ |
| 119 | " |
| 120 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 121 | RDEPENDS:${PN} = "\ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 122 | dbus \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 123 | " |
| 124 | |
| 125 | PACKAGES_DYNAMIC += "^${PN}-plugin-.*" |
| 126 | |
| 127 | def add_rdepends(bb, d, file, pkg, depmap, multilib_prefix, add_insane_skip): |
| 128 | plugintype = pkg.split( '-' )[-1] |
| 129 | if plugintype in depmap: |
| 130 | rdepends = map(lambda x: multilib_prefix + x, \ |
| 131 | depmap[plugintype].split()) |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 132 | d.setVar("RDEPENDS:%s" % pkg, " ".join(rdepends)) |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 133 | if add_insane_skip: |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 134 | d.appendVar("INSANE_SKIP:%s" % pkg, "dev-so") |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 135 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 136 | python populate_packages:prepend() { |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 137 | depmap = dict(pppd="ppp") |
Brad Bishop | 6e60e8b | 2018-02-01 10:27:11 -0500 | [diff] [blame] | 138 | multilib_prefix = (d.getVar("MLPREFIX") or "") |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 139 | |
| 140 | hook = lambda file,pkg,x,y,z: \ |
| 141 | add_rdepends(bb, d, file, pkg, depmap, multilib_prefix, False) |
| 142 | plugin_dir = d.expand('${libdir}/connman/plugins/') |
| 143 | plugin_name = d.expand('${PN}-plugin-%s') |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 144 | do_split_packages(d, plugin_dir, r'^(.*).so$', plugin_name, \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 145 | '${PN} plugin for %s', extra_depends='', hook=hook, prepend=True ) |
| 146 | |
| 147 | hook = lambda file,pkg,x,y,z: \ |
| 148 | add_rdepends(bb, d, file, pkg, depmap, multilib_prefix, True) |
| 149 | plugin_dir = d.expand('${libdir}/connman/plugins-vpn/') |
| 150 | plugin_name = d.expand('${PN}-plugin-vpn-%s') |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 151 | do_split_packages(d, plugin_dir, r'^(.*).so$', plugin_name, \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 152 | '${PN} VPN plugin for %s', extra_depends='', hook=hook, prepend=True ) |
| 153 | } |
| 154 | |
| 155 | PACKAGES =+ "${PN}-tools ${PN}-tests ${PN}-client" |
| 156 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 157 | FILES:${PN}-tools = "${bindir}/wispr" |
| 158 | RDEPENDS:${PN}-tools ="${PN}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 159 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 160 | FILES:${PN}-tests = "${bindir}/*-test" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 161 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 162 | FILES:${PN}-client = "${bindir}/connmanctl" |
| 163 | RDEPENDS:${PN}-client ="${PN}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 164 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 165 | FILES:${PN} = "${bindir}/* ${sbindir}/* ${libexecdir}/* ${libdir}/lib*.so.* \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 166 | ${libdir}/connman/plugins \ |
Brad Bishop | 1932369 | 2019-04-05 15:28:33 -0400 | [diff] [blame] | 167 | ${sysconfdir} ${sharedstatedir} ${localstatedir} ${datadir} \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 168 | ${base_bindir}/* ${base_sbindir}/* ${base_libdir}/*.so* ${datadir}/${PN} \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 169 | ${datadir}/dbus-1/system-services/* \ |
| 170 | ${sysconfdir}/tmpfiles.d/connman_resolvconf.conf" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 171 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 172 | FILES:${PN}-dev += "${libdir}/connman/*/*.la" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 173 | |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 174 | PACKAGES =+ "${PN}-vpn ${PN}-wait-online" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 175 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 176 | SUMMARY:${PN}-vpn = "A daemon for managing VPN connections within embedded devices" |
| 177 | DESCRIPTION:${PN}-vpn = "The ConnMan VPN provides a daemon for \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 178 | managing VPN connections within embedded devices running the Linux \ |
| 179 | operating system. The connman-vpnd handles all the VPN connections \ |
| 180 | and starts/stops VPN client processes when necessary. The connman-vpnd \ |
| 181 | provides a DBus API for managing VPN connections. All the different \ |
| 182 | VPN technogies are implemented using plug-ins." |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 183 | FILES:${PN}-vpn += "${sbindir}/connman-vpnd \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 184 | ${sysconfdir}/dbus-1/system.d/connman-vpn-dbus.conf \ |
| 185 | ${datadir}/dbus-1/system-services/net.connman.vpn.service \ |
Andrew Geissler | 5199d83 | 2021-09-24 16:47:35 -0500 | [diff] [blame] | 186 | ${systemd_system_unitdir}/connman-vpn.service" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 187 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 188 | SUMMARY:${PN}-wait-online = "A program that will return once ConnMan has connected to a network" |
| 189 | DESCRIPTION:${PN}-wait-online = "A service that can be enabled so that \ |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 190 | the system waits until a network connection is established." |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 191 | FILES:${PN}-wait-online += "${sbindir}/connmand-wait-online \ |
Andrew Geissler | 5199d83 | 2021-09-24 16:47:35 -0500 | [diff] [blame] | 192 | ${systemd_system_unitdir}/connman-wait-online.service" |
Patrick Williams | d8c66bc | 2016-06-20 12:57:21 -0500 | [diff] [blame] | 193 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 194 | SUMMARY:${PN}-plugin-vpn-openvpn = "An OpenVPN plugin for ConnMan VPN" |
| 195 | DESCRIPTION:${PN}-plugin-vpn-openvpn = "The ConnMan OpenVPN plugin uses openvpn client \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 196 | to create a VPN connection to OpenVPN server." |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 197 | FILES:${PN}-plugin-vpn-openvpn += "${libdir}/connman/scripts/openvpn-script \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 198 | ${libdir}/connman/plugins-vpn/openvpn.so" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 199 | RDEPENDS:${PN}-plugin-vpn-openvpn += "${PN}-vpn" |
| 200 | RRECOMMENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG','openvpn','${PN}-plugin-vpn-openvpn', '', d)}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 201 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 202 | SUMMARY:${PN}-plugin-vpn-vpnc = "A vpnc plugin for ConnMan VPN" |
| 203 | DESCRIPTION:${PN}-plugin-vpn-vpnc = "The ConnMan vpnc plugin uses vpnc client \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 204 | to create a VPN connection to Cisco3000 VPN Concentrator." |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 205 | FILES:${PN}-plugin-vpn-vpnc += "${libdir}/connman/scripts/openconnect-script \ |
Andrew Geissler | c182c62 | 2020-05-15 14:13:32 -0500 | [diff] [blame] | 206 | ${libdir}/connman/plugins-vpn/vpnc.so \ |
| 207 | ${libdir}/connman/scripts/vpn-script" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 208 | RDEPENDS:${PN}-plugin-vpn-vpnc += "${PN}-vpn" |
| 209 | RRECOMMENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG','vpnc','${PN}-plugin-vpn-vpnc', '', d)}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 210 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 211 | SUMMARY:${PN}-plugin-vpn-l2tp = "A L2TP plugin for ConnMan VPN" |
| 212 | DESCRIPTION:${PN}-plugin-vpn-l2tp = "The ConnMan L2TP plugin uses xl2tpd daemon \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 213 | to create a VPN connection to L2TP server." |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 214 | FILES:${PN}-plugin-vpn-l2tp += "${libdir}/connman/scripts/libppp-plugin.so* \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 215 | ${libdir}/connman/plugins-vpn/l2tp.so" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 216 | RDEPENDS:${PN}-plugin-vpn-l2tp += "${PN}-vpn" |
| 217 | RRECOMMENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG','l2tp','${PN}-plugin-vpn-l2tp', '', d)}" |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 218 | |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 219 | SUMMARY:${PN}-plugin-vpn-pptp = "A PPTP plugin for ConnMan VPN" |
| 220 | DESCRIPTION:${PN}-plugin-vpn-pptp = "The ConnMan PPTP plugin uses pptp-linux client \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 221 | to create a VPN connection to PPTP server." |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 222 | FILES:${PN}-plugin-vpn-pptp += "${libdir}/connman/scripts/libppp-plugin.so* \ |
Patrick Williams | c124f4f | 2015-09-15 14:41:29 -0500 | [diff] [blame] | 223 | ${libdir}/connman/plugins-vpn/pptp.so" |
Patrick Williams | 213cb26 | 2021-08-07 19:21:33 -0500 | [diff] [blame] | 224 | RDEPENDS:${PN}-plugin-vpn-pptp += "${PN}-vpn" |
| 225 | RRECOMMENDS:${PN} += "${@bb.utils.contains('PACKAGECONFIG','pptp','${PN}-plugin-vpn-pptp', '', d)}" |