Commit Graph

88 Commits

Author SHA1 Message Date
Richard Purdie bbc8afb2e2 connman: Default to enabling ethernet interfaces
This fixes various qemu image failures where connman has changed its
default and would deconfigure network interfaces causing qemu images
and runtime image testing to fail.

(From OE-Core rev: c9a420be15d54a8494cb45d6c932b86895e94e13)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-12 16:51:28 +00:00
Otavio Salvador 488e8ba019 connman: avoid checking for linux/if_alg.h header
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>
2011-12-10 00:04:03 +00:00
Otavio Salvador af7fbd6083 connman: disable ntp support
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>
2011-12-09 19:18:24 +00:00
Otavio Salvador 1288313411 connman: update to 0.78
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>
2011-12-09 17:46:34 +00:00
Otavio Salvador 9ebdfb081f connman: move files from connman-0.75 to connman dir
This is being done in preparation to get newer version of connman into
OE-Core.

(From OE-Core rev: 154b76a5103a09ab3acd26c428c9ebb21f99fe8f)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-09 17:46:34 +00:00
Otavio Salvador 77ed8813ff connman: drop git version
This was clearly unused as dbusperms.patch cannot be fetched by this
recipe and noone noticed the build failures caused by it.

(From OE-Core rev: 1383b18041f2fb988651f7b53ed126e01f5e2797)

Signed-off-by: Otavio Salvador <otavio@ossystems.com.br>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-12-09 17:46:34 +00:00
Richard Purdie c8dee9b92d Convert to use direct access to the data store (instead of bb.data.*Var*())
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>
2011-11-10 11:51:19 +00:00
Joshua Lock a1c15cb364 connman: split scripts into separate package
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>
2011-11-08 14:32:55 +00:00
Koen Kooi 4a279e2410 connman 0.75: bump PR for iptables library change
connmand[180]: /usr/sbin/connmand: error while loading shared libraries: libxtables.so.5: cannot open shared object file: No such file or directory

$ dpkg-deb -c ipk/armv7a/iptables_1.4.12.1-r0_armv7a.ipk  | grep libxtables
-rwxr-xr-x root/root     35252 2011-11-01 20:16 ./usr/lib/libxtables.so.7.0.0
lrwxrwxrwx root/root         0 2011-11-01 20:16 ./usr/lib/libxtables.so.7 -> libxtables.so.7.0.0

(From OE-Core rev: 6c7b71d9a3e855760acacef6949665a305bac2c0)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-07 14:05:39 +00:00
Saul Wold 1e9c1d570e connman: Use useradd to add the xuser for DBus
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>
2011-11-02 08:58:02 +00:00
Dongxiao Xu 2ddf05fe88 connman: add xtables_version to fix xtables API change
After upgrade iptables to a newer version, some of its API are changed.
Therefore we add related fixes to the current connman.

Currently we don't upgrade connman since kernel.org still doesn't work
and we could not fetch the newer sources.

(From OE-Core rev: 36ae6edda4d4169c88eb3d34a090f9cd82534630)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-11-01 14:51:36 +00:00
Richard Purdie 24c803c913 connman: Drop hal dependency and udev configure option, neither is used
(From OE-Core rev: d5be373b9d967a58d33e71e440daaaca6444987a)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-10-10 10:00:06 +01:00
Dongxiao Xu e2ff50830b connman-gnome: Fix WiFi security display issue
Latest connman-0.75 change the WiFi security type, causing the
incompatibility of connman-gnome. Fix connman-gnome accordingly to show
the correct security informtion.

[YOCTO #1343]

(From OE-Core rev: 38589c37923ecfe34f1dbd5f12d89d55dfb11e2a)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-31 19:45:27 +01:00
Anders Darander 08a5e24689 connman: use DISTRO_FEATURES to enable wifi and bluetooth
As wifi and bluetooth is set in DISTRO_FEATURES, connman should respect this during configuring.

(From OE-Core rev: 869a1efee685d59c762b965b98ac9c247be68c29)

Signed-off-by: Anders Darander <anders@chargestorm.se>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-08-17 15:14:58 +01:00
Dongxiao Xu b943b055a5 connman: Change hard coded package name to support multilib
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>
2011-07-27 16:25:35 +01:00
Dongxiao Xu ac3c03b997 Upstream-Status: Add Upstream-Status for some missing patches
(From OE-Core rev: 66ec3774f99229ca6c25c047372f45ccd834d77a)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-26 15:48:08 +01:00
Koen Kooi 5b1bc84c6e connman-gnome: run oe-stylize over recipe
Variable ordering changed slightly and the RRECOMMENDS line is broken up, no functional changes

(From OE-Core rev: 102474df96af450624572e4d470883cacc5b5010)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-13 12:34:29 +01:00
Richard Purdie dcab57fe6c connman: Package unpackaged .la file
(From OE-Core rev: d0bae3ed1b9aead05a353ade871e71bf5b1c01b1)

Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-07-07 10:57:46 +01:00
Dongxiao Xu 35d84744e9 connman-gnome: Add 3G configuration support
Apply 3g.patch which add cellular config option in connman-gnome.

(From OE-Core rev: 724a06bbbb0bb93e156d4769e08b8f6bf2de555c)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-29 14:46:55 +01:00
Dongxiao Xu 53de954ae4 connman: Upgrade to version 0.75
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>
2011-06-29 14:46:54 +01:00
Koen Kooi 9017f19857 connman-gnome 0.5: build from git
All the local patches were applied upstream, so let's build straight from git to make that clear

(From OE-Core rev: 28246a275a0d7208f0361735685688803965648e)

Signed-off-by: Koen Kooi <koen@dominion.thruhere.net>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-06-14 15:28:24 +01:00
Yu Ke 61018fda65 poky-default-revisions: move the SRCREV to recipe file
in this case, those non poky distro can also use these recipe normally

(From OE-Core rev: 0a57bd226cdb8332707fa0f46fcf0b067f03701a)

Signed-off-by: Yu Ke <ke.yu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-05-04 15:06:36 +01:00
Tom Rini d56080ff06 Various: Update KERNELORG_MIRROR for consistency
In mirrors.bbclass we point into /pub but we don't in bitbake.conf.
All uses of KERNELORG_MIRROR look into /pub anyhow, so lets make
use of that.

(From OE-Core rev: 67a0c8f48b5ef2ae5fc712c9204e4e99818c8134)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:44:04 +00:00
Tom Rini 4f85b60306 Various: Switch to KERNELORG_MIRROR
(From OE-Core rev: a0eeed089a5c185ef721b11828d4a27f0c03791c)

Signed-off-by: Tom Rini <tom_rini@mentor.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-23 15:44:03 +00:00
Dongxiao Xu 61125e0762 connman: add xuser to the dbus permission list
Some platform (like atom-pc) enables rootless X,
thus the connman frontend run on it need the
permission to connect with connman by dbus.
This commit grants permission to xuser.

This fixes [YOCTO #779]

(From OE-Core rev: cfbf50c235c2faeb53f43b42a12c49c022288488)

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
Signed-off-by: Richard Purdie <richard.purdie@linuxfoundation.org>
2011-03-08 11:04:26 -08:00
Dongxiao Xu c35d91062f connman-gnome: Enable config menu popup even services are not available
User may still want to configure networks even if current services are
not available, for example, set online/offline mode, etc.

Enable the popup menu even if the status is unavailable.

This fixes [BUGID #472]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2011-02-17 17:25:21 -08:00
Dongxiao Xu 2bf07e7e9d connman-gnome: update service name
Since connman-0.64, the D-BUS service name changed from
"org.moblin.connman" domain to the "net.connman" one.

Thus change connman-gnome accordingly.

This fixes [BUGID #619].

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-12-30 12:07:29 +00:00
Dongxiao Xu a6faa8fb19 connman: upgrade to version 0.65
upgrade from 0.64 to 0.65

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-12-30 12:07:29 +00:00
Saul Wold 3f6b329c1e connman: Update to 0.64 to solve build issue with .37 kernel headers
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-23 14:28:22 +00:00
Dongxiao Xu cb1f3e0881 connman-gnome: Remove the applet and properties desktop icons
Remove the applet and properties desktop icons, since the
connman-properties program should be invoked by tool bar,
while connman-applet is launched by autostart.

This fixes [BUGID #506]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-12-21 09:29:12 +00:00
Saul Wold 3d08b9f2c6 SRC_URI Checksums Additionals
Signed-off-by: Saul Wold <sgw@linux.intel.com>
2010-12-09 08:18:17 -08:00
Dongxiao Xu a5de5a7dfe connman: Upgrade to version 0.63
Add build dependency iptables.

Fix recipe metadata.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-12-02 05:24:51 -08:00
Mark Hatle 75732f5443 recipes-connectivity: Cleanup package descriptions and summaries
[BUGID #281]

Evaluate and update each package in recipes-connectivity to ensure they
have a consistent summary and description.

Signed-off-by: Mark Hatle <mark.hatle@windriver.com>
2010-10-11 22:15:48 +01:00
Dongxiao Xu 771fb55d6b connman: Do not take over ethernet interface if target is boot by nfs
Detect if target system is booting by nfs, connman will
not take over the ethernet interface.

This fixes [BUGID #364]

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-10-11 12:22:39 +01:00
Dongxiao Xu 8976fa69d0 connman: fix the issue that connman could not disconnect from shutdown AP
Upstream has a fix for MeeGo/Carrick which has the same
phenomenon as our side, therefore port the patch into poky.
This fixes [BUGID #266] and [BUGID #267].

Remove the option "--enable-fake" since it sometimes causes
offline mode failure.

Launch connmand in initlevel 3.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-09-28 15:51:27 -07:00
Dongxiao Xu 30c2b0bb84 connman-gnome: Add some functionality.
Add offline mode.
Add ethernet/wifi enable/disable functionality.
Classify each service (ethernet, wifi) into certain group.
Do some code clean up.

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-09-10 11:52:50 +01:00
Dongxiao Xu ca4a58a4eb connman: Use connman as default network management tool
Upgrade connman to version 0.56
Modify connman-gnome to match the recent version of connman
Deprecate networkmanager

Signed-off-by: Dongxiao Xu <dongxiao.xu@intel.com>
2010-08-27 15:46:55 +01:00
Richard Purdie 29d6678fd5 Major layout change to the packages directory
Having one monolithic packages directory makes it hard to find things
and is generally overwhelming. This commit splits it into several
logical sections roughly based on function, recipes.txt gives more
information about the classifications used.

The opportunity is also used to switch from "packages" to "recipes"
as used in OpenEmbedded as the term "packages" can be confusing to
people and has many different meanings.

Not all recipes have been classified yet, this is just a first pass
at separating things out. Some packages are moved to meta-extras as
they're no longer actively used or maintained.

Signed-off-by: Richard Purdie <rpurdie@linux.intel.com>
2010-08-27 15:29:45 +01:00