summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman/connman.inc
Commit message (Collapse)AuthorAgeFilesLines
* connman: replace hardcoded path in init script and systemd serviceStefan Stanacar2013-05-161-1/+3
| | | | | | | | | | | | | | | | | | | | | | The connman init script sources a setup file from /usr/lib/connman, so we end up with no network in qemu multilib enabled images. The init script it's installed by connman and because wired-setup it's installed by another package (connman-conf) we can't use libexecdir here and now (in the init script and systemd service file). Once libexecdir changes from ${libdir}/${bpn} to something else like /usr/libexec we could use that instead of ${libdir}/connman. Changed in v2: - better commit message [YOCTO #4493] (From OE-Core rev: fca3a884e9cae13a521d840838eee3c01f0b6acf) Signed-off-by: Stefan Stanacar <stefanx.stanacar@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Add PPTP supportJukka Rissanen2013-05-161-0/+9
| | | | | | | | (From OE-Core rev: 8f1ecefc0c3d86ee6c467a9cc7119be237f74083) 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>
* connman: Add L2TP supportJukka Rissanen2013-05-161-0/+9
| | | | | | | | (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>
* connman: Add vpnc supportJukka Rissanen2013-05-161-0/+9
| | | | | | | | (From OE-Core rev: 6c23a3f66cad6f66b5ca599773d7cc3925fd777d) 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>
* connman: Add OpenVPN supportJukka Rissanen2013-05-161-0/+9
| | | | | | | | (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>
* connman: Add VPN supportJukka Rissanen2013-05-161-10/+42
| | | | | | | | | | | | | | One needs to add following statement into local.conf or distro config PACKAGECONFIG_append_pn-connman = " openvpn vpnc l2tp pptp" in order to activate support for these VPN technogies in ConnMan. (From OE-Core rev: 92da847ed6cea6342bdc86de121534259332a2c3) 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>
* connman: add PACKAGECONFIG optionsJack Mitchell2013-04-291-19/+19
| | | | | | | | | | | | | - change TIST from being explicitly built, to a PACKAGECONFIG - move wifi, 3g and bluetooth to PACKAGECONFIG - change RDEPENDS and RPROVIDES to check PACKAGECONFIG rather than DISTRO_FEATURES (From OE-Core rev: da3f9f7febdc485a356ccb102e0d93cd8f059da7) Signed-off-by: Jack Mitchell <jack.mitchell@dbbroadcast.co.uk> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Fix wrong INC_PR resetCristian Iorga2013-04-151-1/+1
| | | | | | | | | | | | Other recipe versions in other layers may be using connman.inc, so by resetting INC_PR they go backwards in version. Set the INC_PR correctly. (From OE-Core rev: 2d56006cd88233c7f1f15a44f72a04bd0e441b25) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: added wired setup for systemdCristian Iorga2013-04-021-1/+6
| | | | | | | | | | | | Added support for correctly configuring wired interface if systemd is the init system. Fixes [YOCTO #4041]. (From OE-Core rev: ec5530779df23ea25729c7d19c664c05fae5758d) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: explicitly disable systemd if we don't want it enabledRoss Burton2013-03-151-1/+1
| | | | | | | | | | | Otherwise configure will use pkg-config and may find systemd, even though we don't want it. (From OE-Core rev: 87fe717009fb2bcd8e5dbdf0236fe715effca89f) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: upgrade to 1.12Cristian Iorga2013-03-071-1/+1
| | | | | | | | | | | - 0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch no longer needed; fix included in package source code (From OE-Core rev: bd94ab11bbb6501013ed27ecb22685664816986c) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: enable connman clientCristian Iorga2013-02-281-3/+6
| | | | | | | | | | | connmanctl is available in a new package: connman-client (From OE-Core rev: d926de687ba45fed993af7feba8574b76293b939) Signed-off-by: Cristian Iorga <cristian.iorga@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Enabling with systemdRadu Moisan2013-02-111-3/+8
| | | | | | | | | | (From OE-Core rev: 352b3e3663fc4ccab2d8240176f4b085db726e82) Signed-off-by: Radu Moisan <radu.moisan@intel.com> Signed-off-by: Sander van Grieken <sander@outrightsolutions.nl> Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: be explicit when enabling ofonoRoss Burton2013-02-061-1/+1
| | | | | | | (From OE-Core rev: 9c5fa8da28f86e88327356e784f2bb8281da2cca) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* PACKAGES_DYNAMIC: use += instead of = in most casesMartin Jansa2012-10-191-1/+1
| | | | | | | | | | * to keep ${PN}-locale from bitbake.conf:PACKAGES_DYNAMIC = "^${PN}-locale-.*" (From OE-Core rev: 73252b16b501c0986b0ca0895e4534895a9ba3db) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* PACKAGES_DYNAMIC: use regexp not globMartin Jansa2012-10-191-1/+1
| | | | | | | | | | | * bitbake uses PACKAGES_DYNAMIC as regexp ^ could make matching faster (and it will be more clear that we're expecting regexp not glob) * made all those last '-' optional, use .* (or nothing) (From OE-Core rev: 2f3ebdfa5f42dae51063b043cc4b0fbe20b40064) Signed-off-by: Martin Jansa <Martin.Jansa@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: remove trailing whitespaceRoss Burton2012-09-141-1/+1
| | | | | | | | (From OE-Core rev: 554274869e9adfa714bbb87ac817fa5303f70897) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: add runtime dependency on dbusPaul Eggleton2012-09-041-1/+2
| | | | | | | | | | | connman's sole configuration interface is its dbus interface, so it really requires it. (From OE-Core rev: 36c89dab8501a8b2e3c7bb11e8db4ba310a5e41a) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Don't start connmand when booting using nfsrootSaul Wold2012-09-021-1/+1
| | | | | | | | | | | | | There was a change to connman, such that it cleans up the route table for devices at startup, this was causing the network to get lost and NFS to loose it connection. [YOCTO #3008] (From OE-Core rev: d27692e9421206177fd572a79298f5988607ce21) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: cleanup thanks to new gtk-doc.bbclassRoss Burton2012-07-221-3/+2
| | | | | | | (From OE-Core rev: 8dd09828c75bc1e6f16226c09ea7423a5333ef93) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman.inc: Add missing dependencies needed by some testsAndrei Gherzan2012-07-191-2/+2
| | | | | | | | | | | | Some tests need: * gobject and optparse module (ex: test-session) * subprocess and fnctl module (ex: backtrace) * urllib module (ex: get-proxy-autoconfig) (From OE-Core rev: 59f4d7537f7662ed82238f0be2626a1940789433) Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert tab indentation in python functions into four-spaceRichard Purdie2012-07-191-14/+13
| | | | | | (From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: fix build with automake 1.12Ross Burton2012-07-171-1/+5
| | | | | | | | (From OE-Core rev: 292469a70282ed83a8c73b3a5c57d7327ebde793) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: ship the empty plugins directory in the connman packageRoss Burton2012-07-091-2/+3
| | | | | | Otherwise we get a QA warning that /usr/lib/connman/packages isn't shipped. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: remove some obviously wrong (circa early-GNOME 2?) directories from ↵Ross Burton2012-07-091-4/+1
| | | | | | FILES Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: upgrade to 1.0Ross Burton2012-06-211-2/+2
| | | | | | | | | | | Drop patches that have been merged upstream, or are not relevant any more. License checksums changed because the (C) years were updated. (From OE-Core rev: d7e7d38a2beded17937e330adf4edb89807bfdd4) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: add compat RPROVIDES for older packagingRoss Burton2012-06-211-4/+17
| | | | | | | | | | wifi, bluetooth and 3g used to be plugins so were packaged separately, but not anymore. (From OE-Core rev: be2ce372863ef56a33ad4e4d4ddeec22873a6b8b) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: rationalise configure optionsRoss Burton2012-06-211-4/+2
| | | | | | | | | dnsproxy and ntpd don't exist anymore, and the client is almost entirely useless. (From OE-Core rev: ed328572c7c286ecc2b27bb89eb8d795eda9bb8c) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: bump PR and add some comments1.3_M1.rc11.3_M1.final1.3_M1Laurentiu Palcu2012-06-131-0/+4
| | | | | | | | | | | The comments are for informing anyone who wants to change USERADD_PARAMs to make sure it's in sync with the one in xserver-nodm-init, in order for rootless X to work. (From OE-Core rev: c4d0b1c5438039dab07103c151c0c5a76a4c9499) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: make useradd parameters consistent with rootless XLaurentiu Palcu2012-06-131-2/+2
| | | | | | | | | | | | | Both connman and rootless X share the same xuser. However, useradd parameters are not consistent and if connman runs useradd first, rootless X will be broken. [Yocto #2467] (From OE-Core rev: 28087e7a9ddfd2d118aa907a29ed522bb8cbfc16) Signed-off-by: Laurentiu Palcu <laurentiu.palcu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Document the ACL-breaking sedRoss Burton2012-06-081-0/+3
| | | | | | | | (From OE-Core rev: 497234875b3a93def8ada2cff99d064f3a11d711) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: respect the 3g feature and enable/disable ofono supportRoss Burton2012-06-081-2/+2
| | | | | | | | | | [YOCTO #2357] (From OE-Core rev: e510f6947f9e14c408b0e5e4f10cea3353b271c2) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Elizabeth Flanagan <elizabeth.flanagan@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Disable tist plugin on powerpcRichard Purdie2012-05-071-2/+5
| | | | | | | | | | This plugin doesn't build on powerpc due to powerpc's terminal ioctl defintions being incompatible with assumptions being made by this module. Until someone has need and can test this on powerpc, disabling is the safest option. (From OE-Core rev: 672846b0262add037daa2c9e434fe09388b58da8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: enable TI shared transport plugin when wifi or bluetooth are requestedKoen Kooi2012-05-041-2/+2
| | | | | | | | | | | | | This plugin manages the firmware loading for the TI wl12xx series of bluetooth/wifi/fm chips. The double --enable-tist when both bluetooth and wireless are enabled is ugly, but harmless The background on the plugin: https://bugs.meego.com/show_bug.cgi?id=8418 (From OE-Core rev: 22254a32f05e9212411216bf1a4e48fd86b9c3ef) Signed-off-by: Koen Kooi <koen@dominion.thruhere.net> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: add ofono dependency.Lianhao Lu2012-04-111-0/+1
| | | | | | | | | | | | | | Added dependency to ofono because we always enable ofono plug-in. We did this because the 1.2 release cycle is coming to an end. We should use PACKAGECONFIG in 1.3. This is part of the 1.2 bug fixing [YOCTO #2216]. (From OE-Core rev: bfd6bf92ddf371d9be937ec0605e08667749fd88) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Fixed multilib support.Lianhao Lu2012-04-061-1/+1
| | | | | | | | | | | | | | | 1. Corrected the package content of connman-test. This is part of the bug fixing [YOCTO #2216]. (From OE-Core rev: 4df39d673156cc63b94531515d8f92ca4d0da77f) Signed-off-by: Lianhao Lu <lianhao.lu@intel.com> Removed ofono addtion - sgw Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* meta: Replace bb.data.expand(xxx, d) -> d.expand(xxx)Richard Purdie2012-03-051-2/+2
| | | | | | | | sed \ -e 's:bb.data.\(expand([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data.expand *` Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: disable 'alg-test' buildingOtavio Salvador2011-12-191-8/+0
| | | | | | | | | | 'alg-test' requires 'linux/if_alg.h' header enforcing a dependency on linux-libc-headers 2.6.39 or newer. (From OE-Core rev: 507bd087375d2c0ac84e0c51196e2fe718aed339) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: improve packagingOtavio Salvador2011-12-131-8/+6
| | | | | | | | | | | | | | | The scripts being included on connman-scripts was the test utility and thus we are moving them with the rest of test utilities in 'connman-tests'. A runtime dependency on python-dbus were missing as well as those scripts uses it. As no dhclient, resolvconf and udhcpc plugins are being generated the respective dependency map entries were also removed. (From OE-Core rev: 6f9594cddefe74ce7381e4fa2a68cb8a542d6d2e) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: avoid checking for linux/if_alg.h headerOtavio Salvador2011-12-101-0/+8
| | | | | | | | | Disable building of 'alg-test' and checking for if_alg.h header. (From OE-Core rev: db692fd5706eab9bfd94c115591d1411cf8e196e) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: disable ntp supportOtavio Salvador2011-12-091-4/+2
| | | | | | | | | | | | OE-Core does not provide ntpd at this moment and as there's no known user of this plugin at this moment we are disabling it. [YOCTO #1817] (From OE-Core rev: c67d7c9215bd8af2b5dcc4a72b6edf00157724d5) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: update to 0.78Otavio Salvador2011-12-091-27/+69
| | | | | | | | | | | | | | | | | | | | | | | | | | | | | | Updates the package to 0.78 bringing changes done on meta-oe and extra cleanups as: * xtables_version.patch: removed as it has been merged upstream * use sed to fix dbus access policy * remove build depends on dhclient as connman has an internal client now * make wifi and bluetooth building optional * add ppp in depends that is used by some plugins * add ntp in depends and enable ntp plugin * package tools * enable fake plugin This uses PR as "r1" since it was previously available on meta-oe. (From OE-Core rev: 4215b2fb04b3ed61e8e1cf0847639cf6fe31d337) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Acked-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* Convert to use direct access to the data store (instead of bb.data.*Var*())Richard Purdie2011-11-101-1/+1
| | | | | | | | | | | | | | | | | This is the result of running the following over the metadata: sed \ -e 's:bb.data.\(setVar([^,()]*,[^,()]*\), *\([^ )]*\) *):\2.\1):g' \ -e 's:bb.data.\(setVarFlag([^,()]*,[^,()]*,[^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^(), ]*\) *,\([^)]*\)):\2.\1,\3):g' \ -e 's:bb.data.\(getVarFlag([^,()]*,[^,()]*\), *\([^() ]*\) *):\2.\1):g' \ -e 's:bb.data.\(getVar([^,()]*\), *\([^) ]*\) *):\2.\1):g' \ -i `grep -ril bb.data *` (From OE-Core rev: b22831fd63164c4db9c0b72934d7d734a6585251) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: split scripts into separate packageJoshua Lock2011-11-081-1/+5
| | | | | | | | | | The connman scripts are useless without a Python interpreter so split them into a separate package and add Python to its RDEPENDS. (From OE-Core rev: 281510acd0ee3221dd804d7d9de567be2be675f4) Signed-off-by: Joshua Lock <josh@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Use useradd to add the xuser for DBusSaul Wold2011-11-021-1/+6
| | | | | | | | | | | | | | | | Connmand needs to start as the xuser as defined in the dbus configuration and needs to share this with rootless X. Since it's possible for connmand to run on a sytem without rootless X we still need to create the user here. Useradd will fail gracefully if the user already exists. Fixes: [YOCTO #1699] (From OE-Core rev: 8139ac9284031e00d6b268210b04b57670d9268a) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Drop hal dependency and udev configure option, neither is usedRichard Purdie2011-10-101-1/+1
| | | | | | (From OE-Core rev: d5be373b9d967a58d33e71e440daaaca6444987a) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Change hard coded package name to support multilibDongxiao Xu2011-07-271-1/+2
| | | | | | | | | | connman plugins have dependency on bluez4, wpa-supplicant, and ofono. These names are hardcoded, fix the issue to support multilib. (From OE-Core rev: a27503dc76652afef6eaf7330c8e6a421d72a6fc) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Package unpackaged .la fileRichard Purdie2011-07-071-0/+2
| | | | | | (From OE-Core rev: d0bae3ed1b9aead05a353ade871e71bf5b1c01b1) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Upgrade to version 0.75Dongxiao Xu2011-06-291-2/+12
| | | | | | | | | | | | Enable ofono plugin. Adopt some logic in meta-oe on connman plugin runtime dependency. Remove the fix-shutdown-ap-disconnect.patch since the original logic no longer exists. Add Upstream-Status information for patches. (From OE-Core rev: 7d24ef3454d2bcdf175c17206c8016bafe5e9372) Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
* connman: Upgrade to version 0.63Dongxiao Xu2010-12-021-1/+1
| | | | | | | | Add build dependency iptables. Fix recipe metadata. Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>