gnu: fetchmail: Update to 6.4.1.
* gnu/packages/mail.scm (fetchmail): Update to 6.4.1. [source]: Parameterize URI. [arguments]: Add ‘create-test-environment’ phase.
This commit is contained in:
		
							parent
							
								
									6c5401fca8
								
							
						
					
					
						commit
						271b3c9d16
					
				
					 1 changed files with 19 additions and 10 deletions
				
			
		|  | @ -320,20 +320,29 @@ to run without any changes.") | ||||||
| (define-public fetchmail | (define-public fetchmail | ||||||
|   (package |   (package | ||||||
|     (name "fetchmail") |     (name "fetchmail") | ||||||
|     (version "6.3.26") |     (version "6.4.1") | ||||||
|     (source (origin |     (source | ||||||
|              (method url-fetch) |      (origin | ||||||
|              (uri (string-append "mirror://sourceforge/fetchmail/branch_6.3/fetchmail-" |        (method url-fetch) | ||||||
|                                  version ".tar.xz")) |        (uri (string-append "mirror://sourceforge/fetchmail/branch_" | ||||||
|              (sha256 |                            (version-major+minor version) "/" | ||||||
|               (base32 |                            "fetchmail-" version ".tar.xz")) | ||||||
|                "0l78ayvi9dm8hd190gl139cs2xqsrf7r9ncilslw20mgvd6cbd3r")))) |        (sha256 | ||||||
|  |         (base32 "1859wvfc9fq72mwp4njdiy0x89hnddlfr3nix71qqglcs0fz2crz")))) | ||||||
|     (build-system gnu-build-system) |     (build-system gnu-build-system) | ||||||
|     (inputs |     (inputs | ||||||
|      `(("openssl" ,openssl))) |      `(("openssl" ,openssl))) | ||||||
|     (arguments |     (arguments | ||||||
|      `(#:configure-flags (list (string-append "--with-ssl=" |      `(#:configure-flags | ||||||
|                                               (assoc-ref %build-inputs "openssl"))))) |        (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 "http://www.fetchmail.info/") |     (home-page "http://www.fetchmail.info/") | ||||||
|     (synopsis "Remote-mail retrieval and forwarding utility") |     (synopsis "Remote-mail retrieval and forwarding utility") | ||||||
|     (description |     (description | ||||||
|  |  | ||||||
		Reference in a new issue