From mboxrd@z Thu Jan 1 00:00:00 1970 From: David Thompson Subject: Re: [PATCH] gnu: add msmtp Date: Sat, 06 Dec 2014 20:13:31 -0500 Message-ID: <87r3wcfeis.fsf@izanagi.i-did-not-set--mail-host-address--so-tickle-me> References: <1417913218-29144-1-git-send-email-sleep_walker@suse.cz> Mime-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: quoted-printable Return-path: Received: from eggs.gnu.org ([2001:4830:134:3::10]:58075) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxQPp-00069J-NU for guix-devel@gnu.org; Sat, 06 Dec 2014 20:13:38 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1XxQPn-0005mC-0B for guix-devel@gnu.org; Sat, 06 Dec 2014 20:13:37 -0500 Received: from mail.fsf.org ([208.118.235.13]:55768) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1XxQPm-0005m8-Se for guix-devel@gnu.org; Sat, 06 Dec 2014 20:13:34 -0500 In-Reply-To: <1417913218-29144-1-git-send-email-sleep_walker@suse.cz> 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: =?utf-8?B?VG9tw6HFoSDEjGVjaA==?= , guix-devel@gnu.org Hey there! Thanks for the patch! Tom=C3=A1=C5=A1 =C4=8Cech writes: > * gnu/packages/msmtp.scm: New file. > --- > gnu/packages/msmtp.scm | 46 ++++++++++++++++++++++++++++++++++++++++++++= ++ > 1 file changed, 46 insertions(+) > create mode 100644 gnu/packages/msmtp.scm > > diff --git a/gnu/packages/msmtp.scm b/gnu/packages/msmtp.scm > new file mode 100644 > index 0000000..0cf01d4 > --- /dev/null > +++ b/gnu/packages/msmtp.scm > @@ -0,0 +1,46 @@ > +(define-module (gnu packages msmtp) > + #:use-module (gnu packages) > + #:use-module (gnu packages compression) > + #:use-module (gnu packages libidn) > + #:use-module (gnu packages gnutls) > + #:use-module (gnu packages gsasl) > + #:use-module (gnu packages pkg-config) > + #:use-module (guix packages) > + #:use-module (guix download) > + #:use-module (guix build-system gnu) > + #:use-module ((guix licenses) #:prefix license:) > + ) > + > +(define-public msmtp > + (package > + (name "msmtp") > + (version "1.4.32") > + (source > + (origin > + (method url-fetch) > + (uri (string-append "http://downloads.sourceforge.net/project/msmtp= /msmtp/" > + version "/msmtp-" version ".tar.bz2")) Align version with the opening quote on the previous line. > + (sha256 (base32 > + "122z38pv4q03w3mbnhrhg4w85a51258sfdg2ips0b6cgwz3wbw1b")))) > + (build-system gnu-build-system) > + (inputs > + `(("libidn" ,libidn) > + ("gnutls" ,gnutls) > + ("zlib" ,zlib) > + ("gsasl" ,gsasl))) > + (native-inputs > + `(("pkg-config" ,pkg-config))) > + (home-page "http://msmtp.sourceforge.net/") > + (arguments > + `(#:configure-flags (list "--with-libgsasl" > + "--with-libidn" > + "--with-ssl=3Dgnutls"))) Align "--with-libidn" and "--with-ssl=3Dgnutls" with "--with-libgsasl". > + (synopsis > + "SMTP client") Expand a bit. > + (description > + "msmtp is an SMTP client. In the default mode, it transmits a mail = to > +an SMTP server (for example at a free mail provider) which takes care of= further > +delivery. To use this program with your mail user agent (MUA), create > +a configuration file with your mail account(s) and tell your MUA to call > +msmtp instead of /usr/sbin/sendmail.") The part about "/usr/sbin/sendmail" isn't relevant to Guix. > + (license license:gpl3+))) > --=20 > 2.1.2 You forgot to add this new file to GNU_SYSTEM_MODULES in gnu-system.am, but I think this package should go in gnu/packages/mail.scm instead of a standalone module. Could you move it? Thanks! --=20 David Thompson Web Developer - Free Software Foundation - http://fsf.org GPG Key: 0FF1D807 Support the FSF: https://fsf.org/donate