From mboxrd@z Thu Jan 1 00:00:00 1970 From: Leo Famulari Subject: [PATCH 1/1] gnu: msmtp: Install msmtpq. Date: Mon, 22 Feb 2016 00:38:35 -0500 Message-ID: <5f8a4d45e775c831aa06f55d521e3ec8e46bd453.1456119256.git.leo@famulari.name> References: Mime-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:39732) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXjCn-0007ti-Nv for guix-devel@gnu.org; Mon, 22 Feb 2016 00:38:46 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1aXjCk-0003ln-C5 for guix-devel@gnu.org; Mon, 22 Feb 2016 00:38:45 -0500 Received: from out4-smtp.messagingengine.com ([66.111.4.28]:60849) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1aXjCk-0003lS-5h for guix-devel@gnu.org; Mon, 22 Feb 2016 00:38:42 -0500 Received: from jasmine.lan (c-69-249-5-231.hsd1.pa.comcast.net [69.249.5.231]) by mail.messagingengine.com (Postfix) with ESMTPA id 3BBA2C0001A for ; Mon, 22 Feb 2016 00:38:39 -0500 (EST) In-Reply-To: In-Reply-To: References: List-Id: "Development of GNU Guix and the GNU System distribution." List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Errors-To: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org Sender: guix-devel-bounces+gcggd-guix-devel=m.gmane.org@gnu.org To: guix-devel@gnu.org * gnu/packages/mail.scm (msmtp)[arguments]: Install msmtpq scripts. --- gnu/packages/mail.scm | 15 ++++++++++++++- 1 file changed, 14 insertions(+), 1 deletion(-) diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm index 5a9f420..3266fc9 100644 --- a/gnu/packages/mail.scm +++ b/gnu/packages/mail.scm @@ -11,6 +11,7 @@ ;;; Copyright © 2015, 2016 Efraim Flashner ;;; Copyright © 2016 Christopher Allan Webber ;;; Copyright © 2016 Al McElrath +;;; Copyright © 2016 Leo Famulari ;;; ;;; This file is part of GNU Guix. ;;; @@ -629,7 +630,19 @@ which can add many functionalities to the base client.") (arguments `(#:configure-flags (list "--with-libgsasl" "--with-libidn" - "--with-tls=gnutls"))) + "--with-tls=gnutls") + #:phases + (modify-phases %standard-phases + (add-after 'install 'install-msmtpq + (lambda* (#:key outputs #:allow-other-keys) + (let* ((out (assoc-ref outputs "out")) + (bin (string-append out "/bin")) + (doc (string-append out "/share/doc")) + (msmtpq (string-append "scripts/msmtpq"))) + (install-file (string-append msmtpq "/msmtpq") bin) + (install-file (string-append msmtpq "/msmtp-queue") bin) + (install-file (string-append msmtpq "/README.msmtpq") doc) + #t)))))) (synopsis "Simple and easy to use SMTP client with decent sendmail compatibility") (description -- 2.7.1