aboutsummaryrefslogtreecommitdiff
path: root/gnu/packages/mail.scm
diff options
context:
space:
mode:
authorMarius Bakke <mbakke@fastmail.com>2019-10-30 14:32:53 +0100
committerMarius Bakke <mbakke@fastmail.com>2019-10-30 14:32:53 +0100
commit998e6cdcd2a9fcce18b46676ce47990867227945 (patch)
tree5b6b08860183d164108257a3715e0c5673063f5a /gnu/packages/mail.scm
parenta557810ac72effd6841b76772195b10c03dee345 (diff)
parentd8bb1097d764949e80f9e41d26b3b194163dd716 (diff)
downloadpatches-998e6cdcd2a9fcce18b46676ce47990867227945.tar
patches-998e6cdcd2a9fcce18b46676ce47990867227945.tar.gz
Merge branch 'master' into staging
Diffstat (limited to 'gnu/packages/mail.scm')
-rw-r--r--gnu/packages/mail.scm31
1 files changed, 20 insertions, 11 deletions
diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 2c6192ca01..f753e3756f 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -320,21 +320,30 @@ to run without any changes.")
(define-public fetchmail
(package
(name "fetchmail")
- (version "6.3.26")
- (source (origin
- (method url-fetch)
- (uri (string-append "mirror://sourceforge/fetchmail/branch_6.3/fetchmail-"
- version ".tar.xz"))
- (sha256
- (base32
- "0l78ayvi9dm8hd190gl139cs2xqsrf7r9ncilslw20mgvd6cbd3r"))))
+ (version "6.4.1")
+ (source
+ (origin
+ (method url-fetch)
+ (uri (string-append "mirror://sourceforge/fetchmail/branch_"
+ (version-major+minor version) "/"
+ "fetchmail-" version ".tar.xz"))
+ (sha256
+ (base32 "1859wvfc9fq72mwp4njdiy0x89hnddlfr3nix71qqglcs0fz2crz"))))
(build-system gnu-build-system)
(inputs
`(("openssl" ,openssl)))
(arguments
- `(#:configure-flags (list (string-append "--with-ssl="
- (assoc-ref %build-inputs "openssl")))))
- (home-page "http://www.fetchmail.info/")
+ `(#:configure-flags
+ (list (string-append "--with-ssl="
+ (assoc-ref %build-inputs "openssl")))
+ #:phases
+ (modify-phases %standard-phases
+ (add-before 'check 'create-test-environment
+ (lambda _
+ ;; Fix ‘Cannot find absolute path for user's home directory’.
+ (setenv "HOME" "/tmp")
+ #t)))))
+ (home-page "https://www.fetchmail.info/")
(synopsis "Remote-mail retrieval and forwarding utility")
(description
"Fetchmail is a full-featured, robust, well-documented remote-mail