From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1.migadu.com ([2001:41d0:1008:1e59::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms8.migadu.com with LMTPS id 0MzIMPTvfmVFiQAAkFu2QA (envelope-from ) for ; Sun, 17 Dec 2023 13:56:20 +0100 Received: from aspmx1.migadu.com ([2001:41d0:403:58f0::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1.migadu.com with LMTPS id 4JP2K/TvfmWHCgAA62LTzQ (envelope-from ) for ; Sun, 17 Dec 2023 13:56:20 +0100 X-Envelope-To: larch@yhetil.org Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=hFlK3QS3; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=muradm.net (policy=none) ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=yhetil.org; s=key1; t=1702817780; h=from:from:sender:sender:reply-to:subject:subject:date:date: message-id:message-id:to:to:cc:cc:mime-version:mime-version: content-type:content-type:resent-cc:resent-from:resent-sender: resent-message-id:in-reply-to:in-reply-to:references:references: list-id:list-help:list-unsubscribe:list-subscribe:list-post: dkim-signature; bh=ZkpX3um9+7haBi5kaaaQuBXHCM68sQYvwx3FRw43+i0=; b=UXH6+sAwRRjvvXQnORy9aO5KfJr5lE7okNBcnJ4zrZI293YwZGMVyDzuEXmgU3WZN3QJXN Nmk/aoZ0rhoJKURA/SU7TBVe/IPHF+WfSEXe2siRhVOSHWDbS8k+zgsj2X7QnXlBMPlseM gLE1R4ZezK8RhAVeH3+H7Myefgy35TAqwD7wl2zCFaKQ2JlWiGtIvS3N7gzrMo4KU14DWs hb37rczSN55O/eC1cRPvMDX8c1nefmdqlCPbOWHmpXtNLzJVSlVV3EpsTvk+1qvuAvEMoo h8r4ypYfEzjHpsUbu22Ok2ugnc57Bt7WH09oKgYJGFqo5RaICkQn+4fbS6/FUQ== ARC-Seal: i=1; s=key1; d=yhetil.org; t=1702817780; a=rsa-sha256; cv=none; b=O2dF4p3AisZekhtmmbgL1zdbut9ITxO9KpjttRcLo/RfADnrj3fzxuT7no67lHPcCmUsyw C3Hq/LjZAFmPvo+wP4JK4UDDNUTfHZ3tZLjMH+bCKKdrIuxBeG6bhf3KTvC7wIpffcJV8Q Dv8m1ek0zGNG0MTwdFfDStv15MpOsNeh4lqO2ha4LcvC7i+IK43mag6qpgA8Q+nOisgH8u tQqZ9D9/pCyNqjWlI0kq9vTFjCmpQq5I4qQ9LyT/EE3k9WgLw9UOJVQyQpf28uw3IRYLwd Srp0Va91yZRHZdvI+F2WNd9mtyKTrW/DgjwvY+J8cmjZy3BTJVK50v9cUYz1qw== ARC-Authentication-Results: i=1; aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=muradm.net header.s=mail header.b=hFlK3QS3; spf=pass (aspmx1.migadu.com: domain of "guix-patches-bounces+larch=yhetil.org@gnu.org" designates 209.51.188.17 as permitted sender) smtp.mailfrom="guix-patches-bounces+larch=yhetil.org@gnu.org"; dmarc=fail reason="SPF not aligned (relaxed)" header.from=muradm.net (policy=none) Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by aspmx1.migadu.com (Postfix) with ESMTPS id 7218A466AA for ; Sun, 17 Dec 2023 13:56:20 +0100 (CET) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1rEqgc-0002au-Nv; Sun, 17 Dec 2023 07:56:02 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1rEqga-0002Zw-Sq for guix-patches@gnu.org; Sun, 17 Dec 2023 07:56:00 -0500 Received: from debbugs.gnu.org ([2001:470:142:5::43]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1rEqga-00061e-Gk for guix-patches@gnu.org; Sun, 17 Dec 2023 07:56:00 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1rEqgb-00035l-MJ for guix-patches@gnu.org; Sun, 17 Dec 2023 07:56:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#67657] [PATCH] services: connman: Add 'connman-general-configuration'. Resent-From: muradm Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sun, 17 Dec 2023 12:56:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 67657 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: Bruno Victal Cc: 67657@debbugs.gnu.org Received: via spool by 67657-submit@debbugs.gnu.org id=B67657.170281773011840 (code B ref 67657); Sun, 17 Dec 2023 12:56:01 +0000 Received: (at 67657) by debbugs.gnu.org; 17 Dec 2023 12:55:30 +0000 Received: from localhost ([127.0.0.1]:56729 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEqg6-00034t-90 for submit@debbugs.gnu.org; Sun, 17 Dec 2023 07:55:30 -0500 Received: from nomad-cl1.muradm.net ([139.162.159.157]:41902) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1rEqg4-00034g-EU for 67657@debbugs.gnu.org; Sun, 17 Dec 2023 07:55:29 -0500 Received: from localhost ([127.0.0.1]:46172) by nomad-cl1.muradm.net with esmtps (TLS1.3) tls TLS_ECDHE_RSA_WITH_AES_256_GCM_SHA384 (Exim 4.96.1) (envelope-from ) id 1rEqfl-0008Ji-39; Sun, 17 Dec 2023 12:55:10 +0000 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=muradm.net; s=mail; h=Content-Type:MIME-Version:Message-ID:In-reply-to:Date:Subject:Cc:To :From:References:Sender:Reply-To:Content-Transfer-Encoding:Content-ID: Content-Description:Resent-Date:Resent-From:Resent-Sender:Resent-To:Resent-Cc :Resent-Message-ID:List-Id:List-Help:List-Unsubscribe:List-Subscribe: List-Post:List-Owner:List-Archive; bh=ZkpX3um9+7haBi5kaaaQuBXHCM68sQYvwx3FRw43+i0=; b=hFlK3QS3UxDMdDVOEH7TkDrlxx eeuVAwSzj8VplS58d50W76vo9scCWWobDargPcnWPgq6iAVkOfurQErQKoaH3k//a5IYndRb4FEoF qCzJuUgnkzzP6yxpVJcqhtV9fT1TNq0jUlNBw//bkICU66UcqCDgVQtUo3AM9TQ1CFBNz5P0fAZHQ AS+ufCcW5Elz1WGhzyKDhN6YVAzHysYj/DzRXIPBJKhXejtUQKMTHSwvGaBMnJ2gAaVKUd7n2wkEY zJWcF4o9esWYixHTvzIkaD8z5NiDlyoQIrV5fbp8LLpo7sGIOKlSwRqXmNIXa4GfMAXUbc6+lt0h9 qNnh0tYBWRd1brSlaMwf0UjjVFaQXbJU+q9xXJY42zFxAeUlke0fAc3BaSs+3CSxF+CDmHCWl1yt/ 6h5YoG/HaDdCUglsc2xAMAzJ3u9Jyy0XMy4YcSvPw4oW+aWWePXjP3MC4EK6Ohm89foi1zbH8iiAw dywX+BN86cW9ExKbhNZqAxJp; Received: from muradm by localhost with local (Exim 4.96.1) (envelope-from ) id 1rEqfu-0002Vo-0y; Sun, 17 Dec 2023 15:55:18 +0300 References: <11f2fc968e9101842886f398465cf3b808730d7d.1701857973.git.mail@muradm.net> <48bacc5b-0daa-4a64-8d9e-eca6b6ed5e2b@makinata.eu> User-agent: mu4e 1.10.8; emacs 30.0.50 From: muradm Date: Sun, 17 Dec 2023 15:52:03 +0300 In-reply-to: <48bacc5b-0daa-4a64-8d9e-eca6b6ed5e2b@makinata.eu> Message-ID: <875y0xt2dm.fsf@muradm.net> MIME-Version: 1.0 Content-Type: multipart/signed; boundary="=-=-="; micalg=pgp-sha256; protocol="application/pgp-signature" X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list X-BeenThere: guix-patches@gnu.org List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: guix-patches-bounces+larch=yhetil.org@gnu.org X-Migadu-Flow: FLOW_IN X-Migadu-Country: US X-Migadu-Spam-Score: -7.17 X-Spam-Score: -7.17 X-Migadu-Queue-Id: 7218A466AA X-Migadu-Scanner: mx11.migadu.com X-TUID: NxrImBcwlk+u --=-=-= Content-Type: text/plain; charset=utf-8; format=flowed Content-Transfer-Encoding: quoted-printable Bruno Victal writes: Hi Bruno, Updated all your suggestions. Basically I was copying contents of man page and wanted to keep it as is as much as possible. For Regdom, I solved it in different way. ConnMan is GPL2, isn't it? Why it is considered as "not free"? Thanks in advance, muradm > [[PGP Signed Part:Undecided]] > Hi muradm, > > On 2023-12-06 10:19, muradm wrote: >> + "Enable background scanning. Default is true. If wifi is=20 >> disconnected, the >> +background scanning will follow a simple backoff mechanism=20 >> from 3s up to 5 > > 'back off' > >> + "List of Fallback timeservers. These timeservers are used=20 >> for NTP sync >> +when there are no timeservers set by the user or by the=20 >> service, and when >> +use-gateways-as-timeservers? is @code{#f}. These can contain=20 >> a mixed > > @code{use-gateways-as-timeservers?} > >> + (default-auto-connect-technologies >> + maybe-list >> + "List of technologies that are marked autoconnectable by=20 >> default. The >> +default value for this entry when empty is=20 >> ethernet,wifi,cellular. Services > > Perhaps @code{ethernet}, @code{wifi} and @code{cellular}? Or put=20 > this in > lisp list syntax. (*) > >> +that are automatically connected must have been set up and=20 >> saved to >> +storage beforehand.") >> + (default-favourite-technologies >> + maybe-list >> + "List of technologies that are marked favorite by default.=20 >> The default >> +value for this entry when empty is ethernet. Connects to=20 >> services from > > See (*). > >> +this technology even if not setup and saved to storage.") >> + (always-connected-technologies >> + maybe-list >> + "List of technoolgies which are always connected regardless=20 >> of >> +preferred-technologies setting (auto-connect? @code{#t}). The=20 >> default value > > @code{(auto-connect? #t)}. > >> + (network-interface-blacklist >> + maybe-list >> + "List of blacklisted network interfaces. Found interfaces=20 >> will be >> +compared to the list and will not be handled by ConnMan, if=20 >> their first >> +characters match any of the list entries. Default value is >> +vmnet,vboxnet,virbr,ifb,veth.") > > See (*). > >> + (tethering-technologies >> + maybe-list >> + "List of technologies that are allowed to enable tethering.=20 >> The >> +default value is wifi,bluetooth,gadget. > > See (*). > >> +here are used for tethering. If one wants to tether ethernet,=20 >> then add >> +\"ethernet\" in the list. NOTE that if ethernet tethering is=20 >> enabled, > > =E2=80=A6 @samp{\"ethernet\"} to the list. > >> +in READY state. Default value is @code{#t}.") >> + (online-check-ipv4-url >> + maybe-string >> + "IPv4 URL used during the online status check. Please=20 >> refer to >> +the README for more detailed information. Default value is >> +http://ipv4.connman.net/online/status.html.") > > @url{http://ipv4.connman.net/online/status.html}. (**) > >> + (online-check-ipv6-url >> + maybe-string >> + "IPv6 URL used during the online status check. Please=20 >> refer to >> +the README for more detailed information. Default value is >> +http://ipv6.connman.net/online/status.html.") > > See (**). > >> + (online-check-initial-interval >> + maybe-number >> + "Range of intervals between two online check requests.=20 >> Please >> +refer to the README for more detailed information. Default=20 >> values is 1.") > > [=E2=80=A6] > >> + (online-check-max-interval >> + maybe-number >> + "Range of intervals between two online check requests.=20 >> Please >> +refer to the README for more detailed information. Default=20 >> values is 1.") > > Default values is @samp{1}. > >> + (enable-online-to-ready-transition? >> + maybe-boolean >> + "WARNING: Experimental feature!!! In addition to=20 >> enable-online-check > > @code{enable-online-check} > >> +service to DISCONNECT state. If this setting is @code{#t},=20 >> the HTTP GET >> +request keeps beeing called to guarantee that end-to-end=20 >> connectivity > > 'being'. > >> + (localtime >> + maybe-string >> + "Path to localtime file. Defaults to /etc/localtime.") > > @file{/etc/localtime} > >> + (regdom-follows-timezone? >> + maybe-boolean >> + "Enable regdomain to be changed along timezone changes.=20 >> With >> +this option set to true each time the timezone changes the=20 >> first >> +present ISO3166 country code is being read from >> +/usr/share/zoneinfo/zone1970.tab and set as regdom value.=20 >> Default >> +value is @code{#f}.") > > @file{/usr/share/zoneinfo/zone1970.tab}. > > Perhaps expand 'regdom' as 'regulatory domain'? Likewise for the=20 > field > name. (i.e. regulatory-domain-follows-timezone?) > You can perform the field name readjustment by using a custom=20 > serializer: > > (regulatory-domain-follows-timezone? > maybe-boolean > "Allow the regulatory domain to be changed along timezone=20 > changes. With > this option set to true each time the timezone changes the=20 > first > present ISO3166 country code is being read from > @file{/usr/share/zoneinfo/zone1970.tab} and set as the=20 > regulatory domain value. > Default value is @code{#f}." > (serializer > (lambda (_ value) > (connman-general-configuration-serialize-boolean=20 > "regdom-follows-timezone" value)))) > >> + (resolv-conf >> + maybe-string >> + "Path to resolv.conf file. If the file does not exist, but >> +intermediate directories exist, it will be created. If this=20 >> option >> +is not set, it tries to write into=20 >> /var/run/connman/resolv.conf if >> +it fails (/var/run/connman does not exist or is not=20 >> writeable). If >> +you do not want to update resolv.conf, you can set=20 >> /dev/null.") > > Wrap the paths with @file{=E2=80=A6}. > >> + >> +;; ,in (gnu services networking)=20 >> (connman-general-configuration-generate-doc) >> +(define (connman-general-configuration-generate-doc) >> + (configuration->documentation=20 >> 'connman-general-configuration)) > > This isn't needed. --=-=-= Content-Type: application/pgp-signature; name="signature.asc" -----BEGIN PGP SIGNATURE----- iQIzBAEBCAAdFiEESPY5lma9A9l5HGLP6M7O0mLOBeIFAmV+77UACgkQ6M7O0mLO BeKfXA//dqLmJoEr43geCzMi6a0IA6R0FRfaKZUHd0PUIDEjekgKD6GOwYYr6dSJ MRuo8DdCcLWh4qabdk3mHfaefftvXFfRvhQ9b2hHPv0Z1crxW3oUnk1gy835hGk4 woGTP1LhELat3TxkxMdUV+RJXbI8zKYgPtb+SIgpbd2oFuUiNrg4MnBGJmBZz12P DzUZQtqR8m5ZhI+yUK6Qs/4eJA7PeWKfj8De3MYGlAMrbuF59FjfW9kiTL8+n3KZ zKH4nrBuId2w+1gPEPOY1JLQgkrOlDh5JxZJ4Sd/5OqudfFMw2oTAgabjvxj6LMB xIPijF8g8Sx9Ekb3ihYIV22JBKhtBqT3Ita6pYHMetOgVJV/EeUEkwJdg+94TGDU q42GY3mp1CDWRqh7rrSj2DJlAPeXPE3KkKOpcfFjglq5l9L3ZZUk8vCKsUMZLYDd 4QGs9Ln2RqH0+tCMZDEBi6NZX3a+SFUTv1sDfdwBqdeQ06bggqgHrzEvvoEKHM3X vyNszjcjEONUTr+I9NqKBm0q/TnG0RwDO7+/CS+pxnHhc/VC9Mn3zgO7WI+Syzwb THKIRTgKCuPu6KkvwZkdbLWqKeYWIxsO63BW2IpJk7qR8WVktRm4JQzrCN8zb5/6 Yv53K0MQcaz4rM2mQsa5J4bx6yYhvTTqtziWtQQRx5xKPD8A0DI= =QqVL -----END PGP SIGNATURE----- --=-=-=--