summary refs log tree commit diff
diff options
context:
space:
mode:
authorLeo Famulari <leo@famulari.name>2017-03-21 16:31:57 -0400
committerLeo Famulari <leo@famulari.name>2017-03-21 16:33:08 -0400
commit049e02eaa258942515260a58c8d9ddfc4e7caffe (patch)
treee1717b5c361d29831b009bd8a420098f138fd1f8
parenta9681c74cad12488e86d06d37812a732719c4c3a (diff)
downloadguix-049e02eaa258942515260a58c8d9ddfc4e7caffe.tar.gz
gnu: libesmtp: Add alternate source URL.
* gnu/packages/mail.scm (libesmtp)[source]: Add alternate URL.
-rw-r--r--gnu/packages/mail.scm10
1 files changed, 8 insertions, 2 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 3bf0e66479..f387204d06 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -1461,8 +1461,14 @@ format and headers.")
     (source
      (origin
        (method url-fetch)
-       (uri (string-append "http://www.stafford.uklinux.net/libesmtp/libesmtp-"
-                           version ".tar.bz2"))
+       (uri (list (string-append "https://pkgs.fedoraproject.org/repo/pkgs/"
+                                 "libesmtp/libesmtp-" version ".tar.bz2/"
+                                 "bf3915e627fd8f35524a8fdfeed979c8/libesmtp-"
+                                 version ".tar.bz2")
+                  ;; XXX This site is offline, so we fetch Fedora's cached copy
+                  ;; of the source tarball.
+                  (string-append "http://www.stafford.uklinux.net/libesmtp/libesmtp-"
+                                 version ".tar.bz2")))
        (sha256
         (base32
          "02zbniyz7qys1jmx3ghx21kxmns1wc3hmv80gp7ag7yra9f1m9nh"))))