From patchwork Sat May 28 16:30:45 2022 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 8bit X-Patchwork-Submitter: Roman Riabenko X-Patchwork-Id: 39647 Return-Path: X-Original-To: patchwork@mira.cbaines.net Delivered-To: patchwork@mira.cbaines.net Received: by mira.cbaines.net (Postfix, from userid 113) id 9C7C927BBE9; Sat, 28 May 2022 17:31:13 +0100 (BST) X-Spam-Checker-Version: SpamAssassin 3.4.6 (2021-04-09) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.7 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,SPF_HELO_PASS,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.6 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id CCA6B27BBEA for ; Sat, 28 May 2022 17:31:12 +0100 (BST) Received: from localhost ([::1]:35362 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1nuzLM-0000zC-0D for patchwork@mira.cbaines.net; Sat, 28 May 2022 12:31:12 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37050) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuzLD-0000yx-JL for guix-patches@gnu.org; Sat, 28 May 2022 12:31:03 -0400 Received: from debbugs.gnu.org ([209.51.188.43]:44875) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1nuzLC-0003t1-GV for guix-patches@gnu.org; Sat, 28 May 2022 12:31:03 -0400 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1nuzLC-00077v-DD for guix-patches@gnu.org; Sat, 28 May 2022 12:31:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#55691] [PATCH] gnu: wpa-supplicant: Add DBus service file. Resent-From: Roman Riabenko Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 28 May 2022 16:31:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 55691 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 55691@debbugs.gnu.org X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.165375546027385 (code B ref -1); Sat, 28 May 2022 16:31:02 +0000 Received: (at submit) by debbugs.gnu.org; 28 May 2022 16:31:00 +0000 Received: from localhost ([127.0.0.1]:38772 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuzLA-00077c-0N for submit@debbugs.gnu.org; Sat, 28 May 2022 12:31:00 -0400 Received: from lists.gnu.org ([209.51.188.17]:42858) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1nuzL5-00077S-Tx for submit@debbugs.gnu.org; Sat, 28 May 2022 12:30:58 -0400 Received: from eggs.gnu.org ([2001:470:142:3::10]:37048) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuzL5-0000yU-FH for guix-patches@gnu.org; Sat, 28 May 2022 12:30:55 -0400 Received: from relay5-d.mail.gandi.net ([2001:4b98:dc4:8::225]:59297) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1nuzL3-0003rb-7g for guix-patches@gnu.org; Sat, 28 May 2022 12:30:55 -0400 Received: (Authenticated sender: roman@riabenko.com) by mail.gandi.net (Postfix) with ESMTPSA id 3F1061C0008 for ; Sat, 28 May 2022 16:30:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=riabenko.com; s=gm1; t=1653755448; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type; bh=8FcwVj/FQ9E20gjQUUb1QJHDH/oBjgv6Bhnl3MzvVq0=; b=eBiCiP2HIE1gHnFMuuU8RmKvAoo6U68x+EdvQ3JZfSOYKEcI2yRdLlc1pNaGgxCOJKJdLM oRjEX7kqo/83Dh0m5XF52OmTpv4rvNNS2lncW/mG0DqHko7brIiFI4gw0wkSI3HfPKbrGV eg0Z1d2gyqW6uAmJpjl10DkbrcFBwiXhEfFDJB4eWypAQZdJd2Wx8nFOLAmBQ/+DFws7J7 x+gX9yLYzXKJUNIykgDjxTrX3lQpw1mn4bGXNsT/qDE88owE0C12FeNfefiSES3uVEsnRe ccz0Xf3Zti+t9ZZwffxn3myDIVhKBuOLNt6MlmyHJH3Gk37zfrT58lybPKp5sw== Message-ID: From: Roman Riabenko Date: Sat, 28 May 2022 19:30:45 +0300 User-Agent: Evolution 3.42.1 MIME-Version: 1.0 Received-SPF: pass client-ip=2001:4b98:dc4:8::225; envelope-from=roman@riabenko.com; helo=relay5-d.mail.gandi.net X-Spam_score_int: -27 X-Spam_score: -2.8 X-Spam_bar: -- X-Spam_report: (-2.8 / 5.0 requ) BAYES_00=-1.9, DKIM_SIGNED=0.1, DKIM_VALID=-0.1, DKIM_VALID_AU=-0.1, DKIM_VALID_EF=-0.1, RCVD_IN_DNSWL_LOW=-0.7, SPF_HELO_NONE=0.001, SPF_PASS=-0.001, T_SCC_BODY_TEXT_LINE=-0.01 autolearn=ham autolearn_force=no X-Spam_action: no action 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+patchwork=mira.cbaines.net@gnu.org Sender: "Guix-patches" X-getmail-retrieved-from-mailbox: Patches Hello This patch adds DBus service file for wpa-supplicant. I was investigating a different issue when noticed that dbus-system-services- builder warns that it is missing. I reconfigured my system with these changes to test. It seems that WiFi stopped dropping connection as I had been experiencing occasionally before, but it may be a coincidence. Roman From 34f9918e53e4c540741dedb9dcd527eb59645a0b Mon Sep 17 00:00:00 2001 From: Roman Riabenko Date: Sat, 28 May 2022 18:36:48 +0300 Subject: [PATCH] gnu: wpa-supplicant: Add DBus service file. * gnu/packages/admin.scm (wpa-supplicant): Add DBus service file for wpa-supplicant for dbus-system-services-builder to find. --- gnu/packages/admin.scm | 13 ++++++++++--- 1 file changed, 10 insertions(+), 3 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index af75dee697..b077aadb84 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -48,6 +48,7 @@ ;;; Copyright © 2021 Petr Hodina ;;; Copyright © 2021 Artyom V. Poptsov ;;; Copyright © 2022 Wamm K. D. +;;; Copyright © 2022 Roman Riabenko ;;; ;;; This file is part of GNU Guix. ;;; @@ -2028,10 +2029,16 @@ (define-public wpa-supplicant (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"))) - (mkdir-p dir) + (interfaces (string-append out "/etc/dbus-1/system.d")) + (services (string-append out + "/share/dbus-1/system-services"))) + (mkdir-p interfaces) (copy-file "dbus/dbus-wpa_supplicant.conf" - (string-append dir "/wpa_supplicant.conf"))) + (string-append interfaces "/wpa_supplicant.conf")) + (mkdir-p services) + (copy-file "dbus/fi.w1.wpa_supplicant1.service" + (string-append services + "/fi.w1.wpa_supplicant1.service"))) #t)))))))) (define-public wpa-supplicant-gui base-commit: 6e9d99f97f15347f44df0518faa5e3b8b9d5184e -- 2.36.1