summaryrefslogtreecommitdiffstats
path: root/meta/recipes-connectivity/connman
AgeCommit message (Collapse)Author
2013-05-22connman: replace hardcoded path in init script and systemd serviceStefan Stanacar
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 master rev: fca3a884e9cae13a521d840838eee3c01f0b6acf) (From OE-Core rev: d620e5376c10bc5ff1aa551be4a7d1d635a760c3) 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>
2013-04-15connman: Fix wrong INC_PR resetCristian Iorga
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>
2013-04-02connman: added wired setup for systemdCristian Iorga
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>
2013-03-22connman-conf: Avoid appending IPv4 addressJukka Rissanen
If run more than once, the IP addresses would be appended to IPv4 variable. Avoid that by rewriting the IPv4 always. (From OE-Core rev: da682e752e351e5bb7636ee187db3eabc208c177) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-22connman-conf: Move the setup script into /usr/lib/connmanJukka Rissanen
The /etc/connman is not suitable for the setup script. There are other connman related scripts in /usr/lib/connman so moving the wired setup script there. (From OE-Core rev: 858ad53aee9ef5848c09d76c0e6bf464bc31d30e) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-03-15connman: explicitly disable systemd if we don't want it enabledRoss Burton
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>
2013-03-15build-appliance-image: fix lost net connectivity after restartCristian Iorga
The issue is that an ethernet config file is removed without proper checks in place (rm -f), which triggers an error and makes the connman startup script to fail. The file is now removed with proper checks in place. Fixes [YOCTO #4003]. (From OE-Core rev: d9349e6e28cef107ad8bd00767ceba4d8aa464dd) 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>
2013-03-07connman: Wired inteface provisioned via qemuCristian Iorga
- connman-conf package re-implemented - connman 1.12 introduces provisioning for wired interfaces also; - wired interface settings are read from kernel cmdline if present; - after that are passed to connman as a config file - for BA, this is not needed, as BA will have a network infrastructure to work with. Fixes [YOCTO #3227]; Fixes [YOCTO #3804]; Fixes [YOCTO #3843]. (From OE-Core rev: 5711e0cf88fac0de8a5317b16a287b335c827c8f) 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>
2013-03-07connman: upgrade to 1.12Cristian Iorga
- 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>
2013-03-01connman: add header to define in6_addrSaul Wold
Needed because the 3.8 if_bridge.h uses in6_addr before it's defined (From OE-Core rev: 5c4979b93855a57334fac61455b7563e4a43f8ab) Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-28connman: enable connman clientCristian Iorga
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>
2013-02-11connman: Enabling with systemdRadu Moisan
(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>
2013-02-06connman: be explicit when enabling ofonoRoss Burton
(From OE-Core rev: 9c5fa8da28f86e88327356e784f2bb8281da2cca) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-02-01connman-gnome: Add DEPENDS on intltool-nativeMing Liu
When 'bitbake -c configure connman-gnome' is executed from scratch, it fails with syntax error parsing `IT_PROG_INTLTOOL(0.35.0)' in configure.in. This is caused by its definition is not included into aclocal.m4 Adding intltool-native to DEPENDS is gonna fix it. [YOCTO #3815] [ CQID: WIND00401118 ] (From OE-Core rev: 283dd547b5ed657f871b9330ff4d8d5b3afd1e32) Signed-off-by: Ming Liu <ming.liu@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-16connman: upgrade to 1.10Cristian Iorga
0002-storage.c-If-there-is-no-d_type-support-use-fstatat.patch - adapted to the new version 0001-timezone.c-If-there-is-no-d_type-support-use-fstatat.patch - patch removed (it is included in the new version) inet-fix-ip-cleanup-functions.patch: added - fix for ip cleanup functions (From OE-Core rev: e0cca947fc87c8f7a6d2a8fd719c87d56dd52941) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> 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>
2013-01-16connman-conf: configures connman in qemu machinesCristian Iorga
For qemu machines, connman should not configure virtual wired interfaces. Wired interfaces (eth0) are assigned static IP addresses by the virtual machine manager (qemu). This packages places the eth0 interface in a list of blacklisted interfaces, forbiding connman administering wired interfaces for qemu machines. (From OE-Core rev: cfd9ab0eff27a59b8b9e750a01565e2e7c94e801) 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>
2013-01-16Removed undisplayed picture from connman-gnomeAndrei Dinu
- removed the picture that doesn't display in the connman-gnome "about" section. - updated the recipe to use the patch when running bitbake - created a folder with patches named "connman-gnome", the same as for connman. (From OE-Core rev: 56c7ce56a1c9870df08821c6f18fac3713b1b4cf) Signed-off-by: Andrei Dinu <andrei.adrianx.dinu@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2013-01-15connman: fixed init script so connman can runs over nfsFelipe F. Tonello
Adding -I to the arguments, connmand will ignore the eth interface, so if you are using nfs it will not be disconnected. OBS: it might not work if using more than one eth interface. But it's better than not using connman with nfs at all. (From OE-Core rev: 6080d1dc719c38fd97c2abd38e0ad938fbf6f452) Signed-off-by: Felipe F. Tonello <ftonello@cercacor.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-10-19PACKAGES_DYNAMIC: use += instead of = in most casesMartin Jansa
* 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>
2012-10-19PACKAGES_DYNAMIC: use regexp not globMartin Jansa
* 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>
2012-09-14connman: remove trailing whitespaceRoss Burton
(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>
2012-09-04connman: add runtime dependency on dbusPaul Eggleton
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>
2012-09-02connman: Don't start connmand when booting using nfsrootSaul Wold
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>
2012-08-19connman: upgrade to 1.4Constantin Musca
The removed patch is included in connman 1.4. (From OE-Core rev: a1f16a0f3a015628f3d2d02d980311537a3a2c00) Signed-off-by: Constantin Musca <constantinx.musca@intel.com> Signed-off-by: Saul Wold <sgw@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-22connman: cleanup thanks to new gtk-doc.bbclassRoss Burton
(From OE-Core rev: 8dd09828c75bc1e6f16226c09ea7423a5333ef93) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19connman: fix crashes on startup on PPC/MIPSRoss Burton
It appears that when there is no existing connman state there is memory corruption which causes free() on MIPS/PPC to abort. (From OE-Core rev: 4d79eb246d2d3aa9939882ae551db29b537a13df) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19connman: Add patches to fix connman on fs with no d_type supportAndrei Gherzan
When there is not d_type avalaible on filesystem, fstatat (stat) can be used to check if the path is a directory. storage.c and timezone.c were modified accordingly. (From OE-Core rev: 09203299c666791ce35d5a897fd1aa2b0d281dd6) Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19connman.inc: Add missing dependencies needed by some testsAndrei Gherzan
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>
2012-07-19connman: Update to version 1.3Andrei Gherzan
(From OE-Core rev: 016207845450fc4e508557efafb0d4a7650be784) Signed-off-by: Andrei Gherzan <andrei.gherzan@windriver.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-19Convert tab indentation in python functions into four-spaceRichard Purdie
(From OE-Core rev: 604d46c686d06d62d5a07b9c7f4fa170f99307d8) Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-17connman: fix build with automake 1.12Ross Burton
(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>
2012-07-11connman-gnome: remove unused patches, they were all merged upstreamRoss Burton
(From OE-Core rev: bf134eaf752cd5db6cce79ad4c1ae0f25d46b08e) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09connman: ship the empty plugins directory in the connman packageRoss Burton
Otherwise we get a QA warning that /usr/lib/connman/packages isn't shipped. Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-07-09connman: remove some obviously wrong (circa early-GNOME 2?) directories from ↵Ross Burton
FILES Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21connman-gnome: upgrade to 0.7, which works with connman 1.0Ross Burton
(From OE-Core rev: 8206c326fc8c797f734adbb181bf4e793e98b020) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21connman-gnome: clean up runtime dependenciesRoss Burton
There is no need to recommend Python as it isn't used, and specifying the connman plugins should be done by the image. Add a dependency on connman itself as otherwise connman-gnome doesn't do much. (From OE-Core rev: f399346a1806385458536a8401a48fbeeaf64d24) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21connman-gnome: fix build depends (Yocto #2556)Ross Burton
(From OE-Core rev: 78e0663dd420782836a137ced931190972ed2c23) Signed-off-by: Ross Burton <ross.burton@intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-06-21connman: upgrade to 1.0Ross Burton
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>
2012-06-21connman: add compat RPROVIDES for older packagingRoss Burton
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>
2012-06-21connman: rationalise configure optionsRoss Burton
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>
2012-06-13connman: bump PR and add some comments1.3_M1.rc11.3_M1.final1.3_M1Laurentiu Palcu
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>
2012-06-13connman: make useradd parameters consistent with rootless XLaurentiu Palcu
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>
2012-06-08connman: Document the ACL-breaking sedRoss Burton
(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>
2012-06-08connman: respect the 3g feature and enable/disable ofono supportRoss Burton
[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>
2012-06-05connman: just give xuser the extra rights it needsRoss Burton
2012-05-07connman: Disable tist plugin on powerpcRichard Purdie
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>
2012-05-04connman: enable TI shared transport plugin when wifi or bluetooth are requestedKoen Kooi
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>
2012-04-26connman: backport test script fixesOtavio Salvador
Those fixes are required to get the test scripts to work with current 0.79 DBus API. (From OE-Core rev: 0d6abd0ff634604cdde2b80f625d6ca2a015948a) Signed-off-by: Otavio Salvador <otavio@ossystems.com.br> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-26connman: Fix linking with gold linkerKhem Raj
Fixes errors like below /home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.6.3/ld: error: hidden symbol '__start___debug' is not defined locally /home/kraj/work/angstrom/build/tmp-angstrom_2010_x-eglibc/sysroots/x86_64-linux/usr/libexec/armv5te-angstrom-linux-gnueabi/gcc/arm-angstrom-linux-gnueabi/4.6.3/ld: error: hidden symbol '__stop___debug' is not defined locally collect2: ld returned 1 exit status make[1]: *** [plugins/loopback.la] Error 1 (From OE-Core rev: 0bc79de634841c57868be3d7d8b0fd8bf47ccc18) Signed-off-by: Khem Raj <raj.khem@gmail.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2012-04-16connman-gnome: fix segfault on connectPaul Eggleton
Fixes a segfault in the properties application when connecting to a WiFi service succeeds. (From OE-Core rev: 767ec69e6ca633e5bde604241a598147075b1ac0) Signed-off-by: Paul Eggleton <paul.eggleton@linux.intel.com> Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>