Gentoo Websites Logo
Go to: Gentoo Home Documentation Forums Lists Bugs Planet Store Wiki Get Gentoo!
Bug 300232 - net-misc/connman-9999.ebuild (Live Ebuild from GIT)
Summary: net-misc/connman-9999.ebuild (Live Ebuild from GIT)
Status: RESOLVED WONTFIX
Alias: None
Product: Gentoo Linux
Classification: Unclassified
Component: New packages (show other bugs)
Hardware: All Linux
: High enhancement (vote)
Assignee: Tony Vroon (RETIRED)
URL:
Whiteboard:
Keywords:
Depends on:
Blocks:
 
Reported: 2010-01-08 22:35 UTC by Gustavo Sverzut Barbieri
Modified: 2011-12-25 12:37 UTC (History)
0 users

See Also:
Package list:
Runtime testing required: ---


Attachments
connman-9999.ebuild (connman-9999.ebuild,1.89 KB, text/plain)
2010-01-08 22:36 UTC, Gustavo Sverzut Barbieri
Details
new connman package using conf.d (connman-9999.ebuild,1.94 KB, text/plain)
2010-01-25 17:10 UTC, Gustavo Sverzut Barbieri
Details
/etc/init.d/connman using /etc/conf.d/connman (connman.initd,578 bytes, text/plain)
2010-01-25 17:11 UTC, Gustavo Sverzut Barbieri
Details
/etc/conf.d/connman (connman.confd,736 bytes, text/plain)
2010-01-25 17:11 UTC, Gustavo Sverzut Barbieri
Details
new connman package using proper second use_enable parameter (connman-9999.ebuild,1.94 KB, text/plain)
2010-02-02 18:09 UTC, Gustavo Sverzut Barbieri
Details

Note You need to log in before you can comment on or make changes to this bug.
Description Gustavo Sverzut Barbieri 2010-01-08 22:35:37 UTC
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.
Comment 1 Gustavo Sverzut Barbieri 2010-01-08 22:36:13 UTC
Created attachment 215724 [details]
connman-9999.ebuild
Comment 2 Gustavo Sverzut Barbieri 2010-01-25 17:10:22 UTC
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)
Comment 3 Gustavo Sverzut Barbieri 2010-01-25 17:11:01 UTC
Created attachment 217399 [details]
/etc/init.d/connman using /etc/conf.d/connman
Comment 4 Gustavo Sverzut Barbieri 2010-01-25 17:11:47 UTC
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)
Comment 5 Gustavo Sverzut Barbieri 2010-01-25 17:16:16 UTC
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.
Comment 6 Gustavo Sverzut Barbieri 2010-02-02 18:09:03 UTC
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.
Comment 7 hal 2010-09-23 11:52:52 UTC
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
Comment 8 hal 2010-09-23 12:30:50 UTC
btw connman is in the portage tree at version 0.61.
Comment 9 Gustavo Sverzut Barbieri 2010-09-23 12:52:30 UTC
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.
Comment 10 Tony Vroon (RETIRED) gentoo-dev 2011-12-25 12:37:25 UTC
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.