From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from mp2 ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by ms11 with LMTPS id MBCQEdSD1F9FVgAA0tVLHw (envelope-from ) for ; Sat, 12 Dec 2020 08:48:20 +0000 Received: from aspmx1.migadu.com ([2001:41d0:2:4a6f::]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits)) by mp2 with LMTPS id +L1VDdSD1F/kcAAAB5/wlQ (envelope-from ) for ; Sat, 12 Dec 2020 08:48:20 +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 BDB699402B0 for ; Sat, 12 Dec 2020 08:48:19 +0000 (UTC) Received: from localhost ([::1]:46696 helo=lists1p.gnu.org) by lists.gnu.org with esmtp (Exim 4.90_1) (envelope-from ) id 1ko0Ze-00027P-Mu for larch@yhetil.org; Sat, 12 Dec 2020 03:48:18 -0500 Received: from eggs.gnu.org ([2001:470:142:3::10]:33820) by lists.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_256_GCM_SHA384:256) (Exim 4.90_1) (envelope-from ) id 1ko0ZP-00027G-Vz for guix-patches@gnu.org; Sat, 12 Dec 2020 03:48:04 -0500 Received: from debbugs.gnu.org ([209.51.188.43]:60564) by eggs.gnu.org with esmtps (TLS1.2:ECDHE_RSA_AES_128_GCM_SHA256:128) (Exim 4.90_1) (envelope-from ) id 1ko0ZO-0000YY-5j for guix-patches@gnu.org; Sat, 12 Dec 2020 03:48:03 -0500 Received: from Debian-debbugs by debbugs.gnu.org with local (Exim 4.84_2) (envelope-from ) id 1ko0ZO-0002r6-4A for guix-patches@gnu.org; Sat, 12 Dec 2020 03:48:02 -0500 X-Loop: help-debbugs@gnu.org Subject: [bug#45153] [PATCH v2] gnu: rottlog: Fix mail reporting. References: <2691c330f7615c298baeb859c35f489f0de30467.camel@free.fr> In-Reply-To: <2691c330f7615c298baeb859c35f489f0de30467.camel@free.fr> Resent-From: John Doe Original-Sender: "Debbugs-submit" Resent-CC: guix-patches@gnu.org Resent-Date: Sat, 12 Dec 2020 08:48:02 +0000 Resent-Message-ID: Resent-Sender: help-debbugs@gnu.org X-GNU-PR-Message: followup 45153 X-GNU-PR-Package: guix-patches X-GNU-PR-Keywords: patch To: 45153@debbugs.gnu.org Received: via spool by 45153-submit@debbugs.gnu.org id=B45153.160776284210921 (code B ref 45153); Sat, 12 Dec 2020 08:48:02 +0000 Received: (at 45153) by debbugs.gnu.org; 12 Dec 2020 08:47:22 +0000 Received: from localhost ([127.0.0.1]:43877 helo=debbugs.gnu.org) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ko0Yk-0002q4-BX for submit@debbugs.gnu.org; Sat, 12 Dec 2020 03:47:22 -0500 Received: from smtp2-g21.free.fr ([212.27.42.2]:10549) by debbugs.gnu.org with esmtp (Exim 4.84_2) (envelope-from ) id 1ko0Yg-0002pu-L7 for 45153@debbugs.gnu.org; Sat, 12 Dec 2020 03:47:20 -0500 Received: from localhost.localdomain (unknown [IPv6:2a01:e0a:2a2:1350:cd10:777c:7b57:3bb6]) (Authenticated sender: dftxbs3e) by smtp2-g21.free.fr (Postfix) with ESMTPSA id 0D9CA2003F2; Sat, 12 Dec 2020 09:47:13 +0100 (CET) From: John Doe Date: Sat, 12 Dec 2020 09:46:39 +0100 Message-Id: <20201212084639.29377-1-dftxbs3e@free.fr> X-Mailer: git-send-email 2.29.2 MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit 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: , Cc: =?UTF-8?Q?L=C3=A9o?= Le Bouter Errors-To: guix-patches-bounces+larch=yhetil.org@gnu.org Sender: "Guix-patches" X-Migadu-Flow: FLOW_IN X-Migadu-Spam-Score: -1.30 Authentication-Results: aspmx1.migadu.com; dkim=none; dmarc=none; 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: BDB699402B0 X-Spam-Score: -1.30 X-Migadu-Scanner: scn1.migadu.com X-TUID: C44iBlMDfX1G From: Léo Le Bouter * gnu/packages/admin.scm (rottlog): [inputs]: Add sendmail. [phases]: Modify 'patch-paths to substitute sendmail command with /gnu/store item. --- gnu/packages/admin.scm | 10 +++++++--- 1 file changed, 7 insertions(+), 3 deletions(-) diff --git a/gnu/packages/admin.scm b/gnu/packages/admin.scm index 9df14b5ca0..9394545003 100644 --- a/gnu/packages/admin.scm +++ b/gnu/packages/admin.scm @@ -107,6 +107,7 @@ #:use-module (gnu packages libusb) #:use-module (gnu packages linux) #:use-module (gnu packages lua) + #:use-module (gnu packages mail) #:use-module (gnu packages man) #:use-module (gnu packages mcrypt) #:use-module (gnu packages mpi) @@ -1343,9 +1344,11 @@ at once based on a Perl regular expression.") #:phases (modify-phases %standard-phases (add-after 'unpack 'patch-paths - (lambda _ + (lambda* (#:key inputs #:allow-other-keys) (substitute* "rc/rc" - (("/usr/sbin/sendmail") "sendmail")) + (("/usr/sbin/sendmail") + (string-append (assoc-ref inputs "sendmail") + "/usr/sbin/sendmail"))) #t)) (add-after 'unpack 'fix-configure (lambda* (#:key inputs native-inputs #:allow-other-keys) @@ -1384,7 +1387,8 @@ at once based on a Perl regular expression.") (native-inputs `(("texinfo" ,texinfo) ("automake" ,automake) ("util-linux" ,util-linux))) ; for 'cal' - (inputs `(("coreutils*" ,coreutils))) + (inputs `(("coreutils*" ,coreutils) + ("sendmail" ,sendmail))) (home-page "https://www.gnu.org/software/rottlog/") (synopsis "Log rotation and management") (description -- 2.29.2