From unknown Wed Sep 10 16:41:24 2025 X-Loop: help-debbugs@gnu.org Subject: [bug#37054] [PATCH] gnu: wpa-supplicant: install documentation. Resent-From: Timotej Lazar Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Fri, 16 Aug 2019 16:39:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 37054 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 37054@debbugs.gnu.org Cc: Timotej Lazar X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.1565973518697 (code B ref -1); Fri, 16 Aug 2019 16:39:02 +0000 Received: (at submit) by debbugs.gnu.org; 16 Aug 2019 16:38:38 +0000 Received: from localhost ([127.0.0.1]:54804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyfFM-0000BA-O4 for submit@debbugs.gnu.org; Fri, 16 Aug 2019 12:38:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:38244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyfFK-0000B2-Q0 for submit@debbugs.gnu.org; Fri, 16 Aug 2019 12:38:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44354) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyfFJ-00012B-EE for guix-patches@gnu.org; Fri, 16 Aug 2019 12:38:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyfFI-0005CP-6I for guix-patches@gnu.org; Fri, 16 Aug 2019 12:38:33 -0400 Received: from araneo.si ([90.157.193.204]:44462) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hyfFH-0005Aa-KV for guix-patches@gnu.org; Fri, 16 Aug 2019 12:38:32 -0400 Received: from araneo.si (localhost.lan [127.0.0.1]) by araneo.si (OpenSMTPD) with ESMTP id b33c9413 for ; Fri, 16 Aug 2019 16:38:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=araneo.si; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20180623; bh=ID6GnH5UTtHVI3wm0WQi7BiXzug=; b=aRzSK5r44/2rkqex 9kc3MjbooGfOgMXtcqR4UcmhUg7fUceEL5jBYvOYTe0MmezuwVksSAW8QvaNATHR CNHIrWz4Kzcj662KkKtRF2r9T5cNRjeUuyHnpjf+lnmLk6CGB4h/1zAkWqvB2U3Z KRk25g1+vBlez/mCmM2DifOIvc3r2KzcFqTOuE/xP9HURgRvWMPsQjbnelt2dcLL iQqCqr/Gegsgs1bqAKbP2WS1UzIe4XNo6jRWClaP1rrdyVWKWmK5BQdGIMSMUucE mPsdmz7XOK7TST/wytIonInT2codgLGzuZJElc7IItmW/y+wf3j80/gUJCmoYdY7 EbLYVw== Received: by araneo.si (OpenSMTPD) with ESMTPSA id 0e77abb5 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 16 Aug 2019 16:38:27 +0000 (UTC) From: Timotej Lazar Date: Fri, 16 Aug 2019 18:36:50 +0200 Message-Id: <20190816163649.1429-1-timotej.lazar@araneo.si> X-Mailer: git-send-email 2.22.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 90.157.193.204 X-Spam-Score: -1.3 (-) X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/admin.scm (wpa-supplicant): Install READMEs and the example config file. --- wpa_supplicant.conf(5) does not explain all configuration options but refers to the example config file, so install it along with READMEs. gnu/packages/admin.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index bd3c14033e..0b97d96582 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -1240,9 +1240,10 @@ commands and their arguments.") CONFIG_READLINE=y\n" port) (close-port port)) #t)) - (add-after 'install 'install-man-pages + (add-after 'install 'install-documentation (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) + (doc (string-append out "/share/doc/wpa-supplicant")) (man (string-append out "/share/man")) (man5 (string-append man "/man5")) (man8 (string-append man "/man8"))) @@ -1255,6 +1256,11 @@ commands and their arguments.") (find-files "doc/docbook" "\\.5")) (for-each (copy-man-page man8) (find-files "doc/docbook" "\\.8")) + + (for-each + (lambda (file) (install-file file doc)) + '("README" "README-DPP" "README-HS20" "README-P2P" "README-WPS" + "wpa_supplicant.conf")) #t)))) #:make-flags (list "CC=gcc" @@ -1303,7 +1309,7 @@ command.") CONFIG_CTRL_IFACE_DBUS_INTRO=y\n" port) (close-port port)) #t)) - (add-after 'install-man-pages 'install-dbus-conf + (add-after 'install-documentation 'install-dbus-conf (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (dir (string-append out "/etc/dbus-1/system.d"))) -- 2.22.1 From unknown Wed Sep 10 16:41:24 2025 MIME-Version: 1.0 X-Mailer: MIME-tools 5.505 (Entity 5.505) X-Loop: help-debbugs@gnu.org From: help-debbugs@gnu.org (GNU bug Tracking System) To: Timotej Lazar Subject: bug#37054: closed (Re: [bug#37054] [PATCH] gnu: wpa-supplicant: install documentation.) Message-ID: References: <871rxkhm7j.fsf@gnu.org> <20190816163649.1429-1-timotej.lazar@araneo.si> X-Gnu-PR-Message: they-closed 37054 X-Gnu-PR-Package: guix-patches X-Gnu-PR-Keywords: patch Reply-To: 37054@debbugs.gnu.org Date: Fri, 16 Aug 2019 20:48:02 +0000 Content-Type: multipart/mixed; boundary="----------=_1565988482-8771-1" This is a multi-part message in MIME format... ------------=_1565988482-8771-1 Content-Disposition: inline Content-Transfer-Encoding: quoted-printable Content-Type: text/plain; charset="utf-8" Your bug report #37054: [PATCH] gnu: wpa-supplicant: install documentation. which was filed against the guix-patches package, has been closed. The explanation is attached below, along with your original report. If you require more details, please reply to 37054@debbugs.gnu.org. --=20 37054: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=3D37054 GNU Bug Tracking System Contact help-debbugs@gnu.org with problems ------------=_1565988482-8771-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at 37054-done) by debbugs.gnu.org; 16 Aug 2019 20:47:25 +0000 Received: from localhost ([127.0.0.1]:54963 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyj88-0002GX-QE for submit@debbugs.gnu.org; Fri, 16 Aug 2019 16:47:25 -0400 Received: from eggs.gnu.org ([209.51.188.92]:43812) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyj86-0002GF-PM for 37054-done@debbugs.gnu.org; Fri, 16 Aug 2019 16:47:23 -0400 Received: from fencepost.gnu.org ([2001:470:142:3::e]:58948) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1hyj80-0004Gy-Pl; Fri, 16 Aug 2019 16:47:16 -0400 Received: from [2a01:e0a:1d:7270:af76:b9b:ca24:c465] (port=50728 helo=ribbon) by fencepost.gnu.org with esmtpsa (TLS1.2:RSA_AES_256_CBC_SHA1:256) (Exim 4.82) (envelope-from ) id 1hyj7y-0005ys-1q; Fri, 16 Aug 2019 16:47:14 -0400 From: =?utf-8?Q?Ludovic_Court=C3=A8s?= To: Timotej Lazar Subject: Re: [bug#37054] [PATCH] gnu: wpa-supplicant: install documentation. References: <20190816163649.1429-1-timotej.lazar@araneo.si> Date: Fri, 16 Aug 2019 22:47:12 +0200 In-Reply-To: <20190816163649.1429-1-timotej.lazar@araneo.si> (Timotej Lazar's message of "Fri, 16 Aug 2019 18:36:50 +0200") Message-ID: <871rxkhm7j.fsf@gnu.org> User-Agent: Gnus/5.13 (Gnus v5.13) Emacs/26.2 (gnu/linux) MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Spam-Score: -2.3 (--) X-Debbugs-Envelope-To: 37054-done Cc: 37054-done@debbugs.gnu.org X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -3.3 (---) Hi, Timotej Lazar skribis: > * gnu/packages/admin.scm (wpa-supplicant): > Install READMEs and the example config file. > --- > wpa_supplicant.conf(5) does not explain all configuration options but > refers to the example config file, so install it along with READMEs. I tweaked the indentation, added the above explanation as a comment, and committed the result on your behalf. Thank you, Ludo=E2=80=99. ------------=_1565988482-8771-1 Content-Type: message/rfc822 Content-Disposition: inline Content-Transfer-Encoding: 7bit Received: (at submit) by debbugs.gnu.org; 16 Aug 2019 16:38:38 +0000 Received: from localhost ([127.0.0.1]:54804 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyfFM-0000BA-O4 for submit@debbugs.gnu.org; Fri, 16 Aug 2019 12:38:36 -0400 Received: from lists.gnu.org ([209.51.188.17]:38244) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1hyfFK-0000B2-Q0 for submit@debbugs.gnu.org; Fri, 16 Aug 2019 12:38:35 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:44354) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1hyfFJ-00012B-EE for guix-patches@gnu.org; Fri, 16 Aug 2019 12:38:34 -0400 X-Spam-Checker-Version: SpamAssassin 3.3.2 (2011-06-06) on eggs.gnu.org X-Spam-Level: X-Spam-Status: No, score=-0.5 required=5.0 tests=BAYES_05,URIBL_BLOCKED autolearn=disabled version=3.3.2 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1hyfFI-0005CP-6I for guix-patches@gnu.org; Fri, 16 Aug 2019 12:38:33 -0400 Received: from araneo.si ([90.157.193.204]:44462) by eggs.gnu.org with esmtps (TLS1.0:DHE_RSA_AES_256_CBC_SHA1:32) (Exim 4.71) (envelope-from ) id 1hyfFH-0005Aa-KV for guix-patches@gnu.org; Fri, 16 Aug 2019 12:38:32 -0400 Received: from araneo.si (localhost.lan [127.0.0.1]) by araneo.si (OpenSMTPD) with ESMTP id b33c9413 for ; Fri, 16 Aug 2019 16:38:27 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha1; c=relaxed; d=araneo.si; h=from:to:cc :subject:date:message-id:mime-version:content-transfer-encoding; s=20180623; bh=ID6GnH5UTtHVI3wm0WQi7BiXzug=; b=aRzSK5r44/2rkqex 9kc3MjbooGfOgMXtcqR4UcmhUg7fUceEL5jBYvOYTe0MmezuwVksSAW8QvaNATHR CNHIrWz4Kzcj662KkKtRF2r9T5cNRjeUuyHnpjf+lnmLk6CGB4h/1zAkWqvB2U3Z KRk25g1+vBlez/mCmM2DifOIvc3r2KzcFqTOuE/xP9HURgRvWMPsQjbnelt2dcLL iQqCqr/Gegsgs1bqAKbP2WS1UzIe4XNo6jRWClaP1rrdyVWKWmK5BQdGIMSMUucE mPsdmz7XOK7TST/wytIonInT2codgLGzuZJElc7IItmW/y+wf3j80/gUJCmoYdY7 EbLYVw== Received: by araneo.si (OpenSMTPD) with ESMTPSA id 0e77abb5 (TLSv1.2:ECDHE-RSA-AES256-GCM-SHA384:256:NO); Fri, 16 Aug 2019 16:38:27 +0000 (UTC) From: Timotej Lazar To: guix-patches@gnu.org Subject: [PATCH] gnu: wpa-supplicant: install documentation. Date: Fri, 16 Aug 2019 18:36:50 +0200 Message-Id: <20190816163649.1429-1-timotej.lazar@araneo.si> X-Mailer: git-send-email 2.22.1 MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-detected-operating-system: by eggs.gnu.org: GNU/Linux 2.2.x-3.x [generic] X-Received-From: 90.157.193.204 X-Spam-Score: -1.3 (-) X-Debbugs-Envelope-To: submit Cc: Timotej Lazar X-BeenThere: debbugs-submit@debbugs.gnu.org X-Mailman-Version: 2.1.18 Precedence: list List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: debbugs-submit-bounces@debbugs.gnu.org Sender: "Debbugs-submit" X-Spam-Score: -2.3 (--) * gnu/packages/admin.scm (wpa-supplicant): Install READMEs and the example config file. --- wpa_supplicant.conf(5) does not explain all configuration options but refers to the example config file, so install it along with READMEs. gnu/packages/admin.scm | 10 ++++++++-- 1 file changed, 8 insertions(+), 2 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index bd3c14033e..0b97d96582 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -1240,9 +1240,10 @@ commands and their arguments.") CONFIG_READLINE=y\n" port) (close-port port)) #t)) - (add-after 'install 'install-man-pages + (add-after 'install 'install-documentation (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) + (doc (string-append out "/share/doc/wpa-supplicant")) (man (string-append out "/share/man")) (man5 (string-append man "/man5")) (man8 (string-append man "/man8"))) @@ -1255,6 +1256,11 @@ commands and their arguments.") (find-files "doc/docbook" "\\.5")) (for-each (copy-man-page man8) (find-files "doc/docbook" "\\.8")) + + (for-each + (lambda (file) (install-file file doc)) + '("README" "README-DPP" "README-HS20" "README-P2P" "README-WPS" + "wpa_supplicant.conf")) #t)))) #:make-flags (list "CC=gcc" @@ -1303,7 +1309,7 @@ command.") CONFIG_CTRL_IFACE_DBUS_INTRO=y\n" port) (close-port port)) #t)) - (add-after 'install-man-pages 'install-dbus-conf + (add-after 'install-documentation 'install-dbus-conf (lambda* (#:key outputs #:allow-other-keys) (let* ((out (assoc-ref outputs "out")) (dir (string-append out "/etc/dbus-1/system.d"))) -- 2.22.1 ------------=_1565988482-8771-1--