Find attached connman-0.48, it is the latest release with some improvements to the ebuild: * reordered use_enable to be similar to connman's git bootstrap-configure, so easier to spot changes in options in future. * give extra =builtin to --enable-OPTION, as bootstrap-configure. * remove modemmanager as it is not supported (and will never be) by connman. * remove ppp, handled by ofono dependency. * remove huawei and novatel 3g modems, they are handled automatically now (no more configure option) * force dependency on wpa_supplicant >= 0.7 or connman will not work properly.
Created attachment 215723 [details] connman-0.48.ebuild
I forgot to say that I added 2 new use flags: * google: use google open dns services * moblin: use moblin specific extensions (dummy at the moment)
Created attachment 217402 [details] new connman package using conf.d This is the new version using /etc/conf.d/connman with --compat enabled (implements some of NetworkManager api, so apps that query online/offline state still works fine)
Created attachment 217403 [details] /etc/init.d/connman using /etc/conf.d/connman
Created attachment 217404 [details] /etc/conf.d/connman
Please consider the last connman-0.48.ebuild as it works better if --compat is enabled, and using the conf.d file is more flexible. The only remark I have so far is that connman relies on wpa_supplicant to be automatically started by dbus activation, that is badly broken on gentoo's stable dbus. I'm using with dbus 1.3 without any issues, so if you agree I can bump dbus requirement to >=1.3 Please tell me any issues to have this ebuild merged. I can be the maintainer if you wish as I'm following upstream development.
In tree now. Thanks for your updates on this ebuild. I've merged them all. I had the same problems with dbus service activation, so we now require newer dbus.
Created attachment 218201 [details] connman-0.48-r1.ebuild fixing second parameter of use_enable This is the same as 0.48, but I fixed my bug that was having --enable-OPTION==builtin, instead of --enable-OPTION=builtin. I didn't notice this before, sorry.
Reopening as I found a bug with my previous ebuild, use_enable is now correct see attached connman-0.48-r1.ebuild
I missed that one. Committed now. Please, could you provide patches next time rather then ebuilds? Makes life easier. Thanks, Rob