From patchwork Sat Oct 19 12:11:43 2024 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Fabio Natali X-Patchwork-Id: 32155 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 A4A6727BBEA; Sat, 19 Oct 2024 13:18:08 +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=-6.4 required=5.0 tests=BAYES_00,DKIM_INVALID, DKIM_SIGNED,MAILING_LIST_MULTI,RCVD_IN_DNSWL_BLOCKED, RCVD_IN_VALIDITY_CERTIFIED,RCVD_IN_VALIDITY_RPBL,RCVD_IN_VALIDITY_SAFE, SPF_HELO_PASS,URIBL_BLOCKED autolearn=ham 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 9A6DF27BBE2 for ; Sat, 19 Oct 2024 13:18:07 +0100 (BST) Received: from localhost ([::1] helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1t28Or-0002vV-N1; Sat, 19 Oct 2024 08:17:41 -0400 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 1t28Op-0002vC-Gd for guix-patches@gnu.org; Sat, 19 Oct 2024 08:17:39 -0400 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 1t28Op-0006mM-7p for guix-patches@gnu.org; Sat, 19 Oct 2024 08:17:39 -0400 DKIM-Signature: v=1; a=rsa-sha256; q=dns/txt; c=relaxed/relaxed; d=debbugs.gnu.org; s=debbugs-gnu-org; h=MIME-Version:Date:From:To:Subject; bh=ubuCs34W2N1NAb976JJlgsPqA9gSNsEzqX3AORxDY1M=; b=A/BaD+aGHUgWhI/E0SmckCAU7k1tT+e8YPA1GO/ohulUpyGuHTk8cPHkNLLCdZP/hO9KcwoK2xTk657lQtq+gBksspdjWF9sJtVU6E4k72NJ70bkdoWANM+CIq/Ae2uy4O2mC0DB4+rJOAsOwYu2DbYiw3oxi9knw3tkXdVHrYfrqDXyPPPnnDVwTl0l2EjG9TEC45VYBMtXtda3cTzAgPGPmn+MPI/tdN1lvwRmD6HFxfbTawQjvF6AXcWQ6u28oOzUXsrTBC2EYCBhxuFPFGQBLZLiX9H31Q07Icsf4MCj0FWj9l9DklV5aVu75K+YZpr41ZlHtprN4Ki17gMPpA==; Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1t28PC-0004wj-Qx for guix-patches@gnu.org; Sat, 19 Oct 2024 08:18:02 -0400 X-Loop: help-debbugs@gnu.org Subject: [bug#73878] [PATCH] gnu: services: Fix readymedia service. Resent-From: Fabio Natali Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 19 Oct 2024 12:18:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: report 73878 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 73878@debbugs.gnu.org Cc: arunisaac@systemreboot.net, Fabio Natali X-Debbugs-Original-To: guix-patches@gnu.org Received: via spool by submit@debbugs.gnu.org id=B.172934024018944 (code B ref -1); Sat, 19 Oct 2024 12:18:02 +0000 Received: (at submit) by debbugs.gnu.org; 19 Oct 2024 12:17:20 +0000 Received: from localhost ([127.0.0.1]:41762 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t28OW-0004vU-8f for submit@debbugs.gnu.org; Sat, 19 Oct 2024 08:17:20 -0400 Received: from lists.gnu.org ([209.51.188.17]:43488) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1t28OU-0004vJ-IE for submit@debbugs.gnu.org; Sat, 19 Oct 2024 08:17:19 -0400 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 1t28O6-0002qw-A7 for guix-patches@gnu.org; Sat, 19 Oct 2024 08:16:54 -0400 Received: from relay5-d.mail.gandi.net ([217.70.183.197]) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1t28O3-0006jj-Fb for guix-patches@gnu.org; Sat, 19 Oct 2024 08:16:54 -0400 Received: by mail.gandi.net (Postfix) with ESMTPSA id 00B4A1C0005; Sat, 19 Oct 2024 12:16:47 +0000 (UTC) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=fabionatali.com; s=gm1; t=1729340208; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:cc:mime-version:mime-version: content-transfer-encoding:content-transfer-encoding; bh=ubuCs34W2N1NAb976JJlgsPqA9gSNsEzqX3AORxDY1M=; b=N72UGbGOxf2mun6Kr/cceI8QogExs16FCx3DeEqRrtDiDf7w8LzTg5v86VgYXAv58BR8Y2 aYf093MC2YTd+myq2qpyQ//danmDEuFgSFlfzp8NsfoIWNiqD/29Nrl6P6Cw8OxtIzfQ0k FIgx7XVv4eMrBgOyB8QrHUvX1z3BcCq58yvvwleF3tyECuRVeR3lon2BI2uKDiM0QJpAdK wD7E/QdtTQtHMEtgWEh0w9aNM4tgK0q/7JmLivY+aSOjI666V/uZ6XoKkIeCx1++lSujHp 2aEqXKnMR8hqerURhbDsfEkaduQdhfjs9o85Y4IIa7dpfaCCsosrV9DxiwyQvQ== Date: Sat, 19 Oct 2024 13:11:43 +0100 Message-ID: <9c20a761e4a4812bd04e1112ab0cdfe8f2372f65.1729339847.git.me@fabionatali.com> X-Mailer: git-send-email 2.46.0 MIME-Version: 1.0 X-GND-Sasl: me@fabionatali.com Received-SPF: pass client-ip=217.70.183.197; envelope-from=me@fabionatali.com; helo=relay5-d.mail.gandi.net X-Spam_score_int: -39 X-Spam_score: -4.0 X-Spam_bar: ---- X-Spam_report: (-4.0 / 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, RCVD_IN_MSPIKE_H2=-1.25, RCVD_IN_VALIDITY_RPBL_BLOCKED=0.001, RCVD_IN_VALIDITY_SAFE_BLOCKED=0.001, SPF_HELO_PASS=-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: , Reply-to: Fabio Natali X-ACL-Warn: , Fabio Natali via Guix-patches X-Patchwork-Original-From: Fabio Natali via Guix-patches via From: Fabio Natali Errors-To: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org Sender: guix-patches-bounces+patchwork=mira.cbaines.net@gnu.org X-getmail-retrieved-from-mailbox: Patches * gnu/services/upnp.scm: Add missing '/n' end-of-line character. Change-Id: Ib2e584f22526f1969098b843c4be6ee386ed809c --- Hi, This is to fix 'readymedia-configuration->config-file'. In its current version, the procedure may generate a corrupt configuration file. This patch fixes things by adding a new line character at the end of every 'media_dir=' line. I hope this looks ok. Thanks, best wishes, Fabio. gnu/services/upnp.scm | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) base-commit: 48097f511929053468ce6f09e0a24644c90fe670 diff --git a/gnu/services/upnp.scm b/gnu/services/upnp.scm index 09121326fe..e5d05add28 100644 --- a/gnu/services/upnp.scm +++ b/gnu/services/upnp.scm @@ -115,7 +115,7 @@ (define (readymedia-configuration->config-file config) (match types (() (list)) (_ (list ","))) - (list path)))) + (list path "\n")))) media-directories) (map (match-lambda ((key . value)