From patchwork Thu Feb 4 22:33:53 2021 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: =?utf-8?q?L=C3=A9o_Le_Bouter?= X-Patchwork-Id: 26906 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 62AC427BC20; Thu, 4 Feb 2021 22:35:11 +0000 (GMT) X-Spam-Checker-Version: SpamAssassin 3.4.2 (2018-09-13) on mira.cbaines.net X-Spam-Level: X-Spam-Status: No, score=-2.8 required=5.0 tests=BAYES_00,DKIM_SIGNED, MAILING_LIST_MULTI,RCVD_IN_MSPIKE_H4,RCVD_IN_MSPIKE_WL,SPF_HELO_PASS, T_DKIM_INVALID,URIBL_BLOCKED autolearn=unavailable autolearn_force=no version=3.4.2 Received: from lists.gnu.org (lists.gnu.org [209.51.188.17]) by mira.cbaines.net (Postfix) with ESMTPS id 037CB27BC1F for ; Thu, 4 Feb 2021 22:35:11 +0000 (GMT) Received: from localhost ([::1]:42036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7nDR-0004Q1-NB for patchwork@mira.cbaines.net; Thu, 04 Feb 2021 17:35:09 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:38138) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7nDK-0004Pq-ID for guix-patches@gnu.org; Thu, 04 Feb 2021 17:35:02 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:59100) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1l7nDK-0007Wa-4X for guix-patches@gnu.org; Thu, 04 Feb 2021 17:35:02 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1l7nDJ-0006k0-S1 for guix-patches@gnu.org; Thu, 04 Feb 2021 17:35:01 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#46305] [PATCH] gnu: miredo: Fix creation of .pid file. Resent-From: =?utf-8?q?L=C3=A9o?= Le Bouter Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Thu, 04 Feb 2021 22:35:01 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 46305 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 46305@debbugs.gnu.org Cc: =?utf-8?q?L=C3=A9o?= Le Bouter X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.161247805625858 (code B ref -1); Thu, 04 Feb 2021 22:35:01 +0000 Received: (at submit) by debbugs.gnu.org; 4 Feb 2021 22:34:16 +0000 Received: from localhost ([127.0.0.1]:42413 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7nCa-0006j0-HF for submit@debbugs.gnu.org; Thu, 04 Feb 2021 17:34:16 -0500 Received: from lists.gnu.org ([209.51.188.17]:36170) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1l7nCX-0006ir-3F for submit@debbugs.gnu.org; Thu, 04 Feb 2021 17:34:15 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:37988) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7nCW-0004CQ-Qh for guix-patches@gnu.org; Thu, 04 Feb 2021 17:34:12 -0500 Received: from mail.zaclys.net ([178.33.93.72]:37133) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1l7nCU-00078K-Dl for guix-patches@gnu.org; Thu, 04 Feb 2021 17:34:12 -0500 Received: from localhost.localdomain (lfbn-idf3-1-89-224.w81-249.abo.wanadoo.fr [81.249.216.224]) (authenticated bits=0) by mail.zaclys.net (8.14.7/8.14.7) with ESMTP id 114MXtbS050279 (version=TLSv1/SSLv3 cipher=ECDHE-RSA-AES128-GCM-SHA256 bits=128 verify=NO); Thu, 4 Feb 2021 23:34:07 +0100 DMARC-Filter: OpenDMARC Filter v1.3.2 mail.zaclys.net 114MXtbS050279 Authentication-Results: mail.zaclys.net; dmarc=fail (p=reject dis=none) header.from=zaclys.net Authentication-Results: mail.zaclys.net; spf=fail smtp.mailfrom=lle-bout@zaclys.net DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=zaclys.net; s=default; t=1612478048; bh=M5a6s7Lj7CvkSnvw/KxSmuUMj9PquhqbcjoVhfzbfug=; h=From:To:Cc:Subject:Date:From; b=TIWF7q/8VwzMRZ6Z6FIIblU/i2G4d+RYb//HcjnVmM6oxKhsromYheeKfJf8jotiZ /Yk6UaTzR/OYFH+cBeaHLv4B4anwx9iE0Is2HMPv8HTA/WjcogvxXjJPyU2QiwYiak Lf7EliYAUB1Yg/Sh/gT3LYUxMl137o1o785XNjF4= Date: Thu, 4 Feb 2021 23:33:53 +0100 Message-Id: <20210204223353.2730-1-lle-bout@zaclys.net> X-Mailer: git-send-email 2.30.0 MIME-Version: 1.0 Received-SPF: pass client-ip=178.33.93.72; envelope-from=lle-bout@zaclys.net; helo=mail.zaclys.net X-Spam_score_int: -20 X-Spam_score: -2.1 X-Spam_bar: -- X-Spam_report: (-2.1 / 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, SPF_HELO_NONE=0.001, SPF_PASS=-0.001 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" Reply-to: =?utf-8?q?L=C3=A9o?= Le Bouter X-ACL-Warn: , =?utf-8?q?L=C3=A9o?= Le Bouter via Guix-patches X-Patchwork-Original-From: =?utf-8?q?L=C3=A9o?= Le Bouter via Guix-patches via From: =?utf-8?q?L=C3=A9o_Le_Bouter?= X-getmail-retrieved-from-mailbox: Patches * gnu/packages/networking.scm (miredo)[arguments]: Add "--localstatedir=/var" to #:configure-flags and add 'do-not-create-/run phase to #:phases to remove code that tries to create a directory inside "@localstatedir@" during install. --- gnu/packages/networking.scm | 10 +++++++++- 1 file changed, 9 insertions(+), 1 deletion(-) diff --git a/gnu/packages/networking.scm b/gnu/packages/networking.scm index abaab60f31..5e0022ac76 100644 --- a/gnu/packages/networking.scm +++ b/gnu/packages/networking.scm @@ -700,8 +700,16 @@ or, more generally, MAC addresses of the same category of hardware.") "0j9ilig570snbmj48230hf7ms8kvcwi2wblycqrmhh85lksd49ps")))) (build-system gnu-build-system) (arguments - '(#:phases + '(#:configure-flags + (list "--localstatedir=/var") + #:phases (modify-phases %standard-phases + (add-after 'unpack 'do-not-create-/run + (lambda _ + (substitute* (find-files "src" "Makefile.*") + (("^.+install_sh.+/run.+$") + "\ttrue")) + #t)) (add-after 'unpack 'patch-iproute2 (lambda* (#:key inputs #:allow-other-keys) (let* ((iproute (assoc-ref inputs "iproute"))