From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp1 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id IBJpBaF2HGCrYwAA0tVLHw (envelope-from ) for ; Thu, 04 Feb 2021 22:35:13 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp1 with LMTPS id YLQDAaF2HGDeCAAAbx9fmQ (envelope-from ) for ; Thu, 04 Feb 2021 22:35:13 +0000 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 7499394059B for ; Thu, 4 Feb 2021 22:35:12 +0000 (UTC) Received: from localhost ([::1]:42036 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1l7nDS-0004Q1-Pn for larch@yhetil.org; Thu, 04 Feb 2021 17:35:10 -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; 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 Content-Transfer-Encoding: 8bit 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+larch=yhetil.org@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 From: =?UTF-8?Q?L=C3=A9o?= Le Bouter via Guix-patches via X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: 2.65 Authentication-Results: aspmx1.migadu.com; dkim=fail ("headers rsa verify failed") header.d=zaclys.net header.s=default header.b="TIWF7q/8"; dmarc=pass (policy=none) header.from=gnu.org; spf=pass (aspmx1.migadu.com: domain of guix-patches-bounces@gnu.org designates 209.51.188.17 as permitted sender) smtp.mailfrom=guix-patches-bounces@gnu.org X-Migadu-Queue-Id: 7499394059B X-Spam-Score: 2.65 X-Migadu-Scanner: scn0.migadu.com X-TUID: m3ylJBGexPUy * 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")) -- 2.30.0