Similar to bug #300230 (connman-0.48.ebuild), this one updates and adds support for compile directly from GIT. This is important because although connman do frequent releases, it's a young and active project that may interest people (in this case myself) even before it is released. It employs Linux Kernel like code review, thus it rarely breaks. Note: you may change KEYWORDS to be more restrictive if you wish.
Created attachment 215724 [details] connman-9999.ebuild
Created attachment 217397 [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 217399 [details] /etc/init.d/connman using /etc/conf.d/connman
Created attachment 217400 [details] /etc/conf.d/connman etc/conf.d/connman with --compat enabled (implements some of NetworkManager api, so apps that query online/offline state still works fine)
Please consider the last connman-9999.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.
Created attachment 218203 [details] new connman package using proper second use_enable parameter This version matches accepted connman-0.48 (dbus-1.3, order of IUSE) and fixes the problem with use_enable second argument to provide --enable-OPTION=builtin instead of --enable-OPTION==builtin.
hi gustavo, maybe you know it already. there's a python script called "cmcc". which requires "dev-python/pygobject" and "dev-python/dbus-python" as a dependency. it gives us a cli interface to configure network devices through connman. e.g.: -> cmcc edit Wired ipv4 manual $CLIENTIP $NETMASK $GATEWAY -> cmcc edit Wired nameservers $NAMESERVER1 $NAMESERVER2 $NAMESERVER3 this is actually pretty nice in case one doesn't have a gui frontend. do you think it's a good idea to add it to "files"? basically it could be used in the "conf.d" and "init.d" scripts. the script can be found here: http://bazaar.launchpad.net/~indicator-network-developers/indicator-network/indicator-network/annotate/head:/scripts/cmcc
btw connman is in the portage tree at version 0.61.
cmcc may be useful, but I use test-connman myself. If you have a patch over my ebuild, attach it here. As for the 0.61: I know people are keeping connman updated here, but it's a rapidly evolving software and the GIT version is stable and good to test. So I use 9999 (live) version myself.
You are welcome to maintain such ebuilds in a private or public overlay; but I never carry "live" ebuilds in the portage tree. Anything that isn't an agreed release or a known-good snapshot is quite simply a nightmare to maintain.