FS#64878 - [connman] Provide examples

Attached to Project: Community Packages
Opened by lukpod (lukpod) - Wednesday, 18 December 2019, 00:59 GMT
Last edited by Christian Rebischke (Shibumi) - Saturday, 22 February 2020, 13:18 GMT
Task Type Feature Request
Category Packages
Status Closed
Assigned To Christian Rebischke (Shibumi)
Architecture All
Severity Very Low
Priority Normal
Reported Version
Due in Version Undecided
Due Date Undecided
Percent Complete 100%
Votes 1
Private No

Details

Install $srcdir/src/main.conf to /etc/connman/main.conf.

The mode for main.conf should 600 because it can contain connection secrets. /etc/NetworkManager/system-connections from extra/networkmanager is only accessible by root.

Add etc/connman/main.conf to the backup array in the PKGBUILD.

https://git.kernel.org/pub/scm/network/connman/connman.git/tree/src/main.conf
https://jlk.fjfi.cvut.cz/arch/manpages/man/community/connman/connman.conf.5
https://git.archlinux.org/svntogit/packages.git/tree/trunk/PKGBUILD?h=packages/networkmanager

Add --enable-test to the configure options. The test/example scripts from $srcdir/test will be installed to /usr/lib/connman/test.

https://git.kernel.org/pub/scm/network/connman/connman.git/tree/test
This task depends upon

Closed by  Christian Rebischke (Shibumi)
Saturday, 22 February 2020, 13:18 GMT
Reason for closing:  Implemented
Additional comments about closing:  connman-1.38-1
Comment by lukpod (lukpod) - Wednesday, 18 December 2019, 17:10 GMT
Correction: /etc/connman/main.conf cannot contain connection secrets; its mode should be 644.
Comment by Julien BARET (Shepy) - Monday, 27 January 2020, 17:57 GMT
Upvote :)
Since the Arch wiki refers to the file /etc/connman/main.conf, it would be better if it was present.

/usr/local/etc/connman/main.conf seem to be a better place since it's the default choice.

Loading...