unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* [bug#54753] [PATCH] gnu: Add smtpmail
@ 2022-04-06 17:17 Justin Veilleux
  2022-04-12 21:54 ` bug#54753: " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Justin Veilleux @ 2022-04-06 17:17 UTC (permalink / raw)
  To: 54753

[-- Attachment #1: Type: text/plain, Size: 42 bytes --]

Here is a patch to add smtpmail.

Cheers.

[-- Attachment #2: 0001-gnu-Add-smtpmail.patch --]
[-- Type: text/x-patch, Size: 1682 bytes --]

From c1c1dea4834c47adf7269070831696f28ffb949d Mon Sep 17 00:00:00 2001
From: terramorpha <terramorpha@cock.li>
Date: Wed, 6 Apr 2022 13:11:52 -0400
Subject: [PATCH] gnu: Add smtpmail.

* gnu/packages/mail.scm (smtpmail): New variable.
---
 gnu/packages/mail.scm | 23 +++++++++++++++++++++++
 1 file changed, 23 insertions(+)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 16569741a4..6dc8db526f 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -46,6 +46,7 @@
 ;;; Copyright © 2021 Morgan Smith <Morgan.J.Smith@outlook.com>
 ;;; Copyright © 2021 Philip McGrath <philip@philipmcgrath.com>
 ;;; Copyright © 2022 Andrew Tropin <andrew@trop.in>
+;;; Copyright © 2022 Justin Veilleux <terramorpha@cock.li>
 ;;;
 ;;; This file is part of GNU Guix.
 ;;;
@@ -4597,3 +4598,25 @@ (define-public sendgmail
 all known forks, including support for non-@code{@@gmail.com} email
 addresses.")
       (license license:asl2.0))))
+
+(define-public smtpmail
+  (package
+    (name "smtpmail")
+    (version "0.4.5")
+    (source
+     (origin
+       (method url-fetch)
+       (uri
+        (string-append
+         "http://download.savannah.nongnu.org/releases/smtpmail/smtpmail-"
+         version
+         ".tar.gz"))
+       (sha256 (base32 "08ap2l2g2avkq2jx05jy993517vvapmypg7j5cwl8gvpq436gdh5"))))
+    (build-system gnu-build-system)
+    (home-page "https://www.nongnu.org/smtpmail/")
+    (synopsis "SMTP utility")
+    (description
+     "smtpmail is a little console-based tool for users who have no local
+mailserver on her machine. it enables these users to send their mail over a
+remote smtp server.")
+    (license license:gpl2)))
-- 
2.34.0


^ permalink raw reply related	[flat|nested] 2+ messages in thread

* bug#54753: [PATCH] gnu: Add smtpmail
  2022-04-06 17:17 [bug#54753] [PATCH] gnu: Add smtpmail Justin Veilleux
@ 2022-04-12 21:54 ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2022-04-12 21:54 UTC (permalink / raw)
  To: Justin Veilleux; +Cc: 54753-done

[-- Attachment #1: Type: text/plain, Size: 453 bytes --]

Hi,

Justin Veilleux <terramorpha@cock.li> skribis:

> From c1c1dea4834c47adf7269070831696f28ffb949d Mon Sep 17 00:00:00 2001
> From: terramorpha <terramorpha@cock.li>
> Date: Wed, 6 Apr 2022 13:11:52 -0400
> Subject: [PATCH] gnu: Add smtpmail.
>
> * gnu/packages/mail.scm (smtpmail): New variable.

Applied with the changes below.  License is ‘gpl2+’ because source file
headers says “or any later version”.

Thanks,
Ludo’.


[-- Warning: decoded text below may be mangled, UTF-8 assumed --]
[-- Attachment #2: Type: text/x-patch, Size: 1173 bytes --]

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 6dc8db526f..5dd7f3b33e 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -4606,17 +4606,15 @@ (define-public smtpmail
     (source
      (origin
        (method url-fetch)
-       (uri
-        (string-append
-         "http://download.savannah.nongnu.org/releases/smtpmail/smtpmail-"
-         version
-         ".tar.gz"))
-       (sha256 (base32 "08ap2l2g2avkq2jx05jy993517vvapmypg7j5cwl8gvpq436gdh5"))))
+       (uri (string-append "mirror://savannah/smtpmail/smtpmail-"
+                           version ".tar.gz"))
+       (sha256
+        (base32 "08ap2l2g2avkq2jx05jy993517vvapmypg7j5cwl8gvpq436gdh5"))))
     (build-system gnu-build-system)
     (home-page "https://www.nongnu.org/smtpmail/")
     (synopsis "SMTP utility")
     (description
      "smtpmail is a little console-based tool for users who have no local
-mailserver on her machine. it enables these users to send their mail over a
-remote smtp server.")
-    (license license:gpl2)))
+mailserver on their machine.  It enables these users to send their mail over a
+remote SMTP server.")
+    (license license:gpl2+)))

^ permalink raw reply related	[flat|nested] 2+ messages in thread

end of thread, other threads:[~2022-04-12 21:56 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2022-04-06 17:17 [bug#54753] [PATCH] gnu: Add smtpmail Justin Veilleux
2022-04-12 21:54 ` bug#54753: " Ludovic Courtès

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).