gnu: alpine: Update to 2.22.
* gnu/packages/mail.scm (alpine): Update to 2.22. [arguments]: Add ‘assume-shadow-passwords’ phase.
This commit is contained in:
		
							parent
							
								
									5dd8cb2ec3
								
							
						
					
					
						commit
						d28692a7b5
					
				
					 1 changed files with 10 additions and 3 deletions
				
			
		| 
						 | 
					@ -2681,7 +2681,7 @@ operators and scripters.")
 | 
				
			||||||
    ;; Upstream doesn't use git tags, but does ‘tag’ their releases in the
 | 
					    ;; Upstream doesn't use git tags, but does ‘tag’ their releases in the
 | 
				
			||||||
    ;; commit message.  Hence the lack of GIT-VERSIONing despite using a commit
 | 
					    ;; commit message.  Hence the lack of GIT-VERSIONing despite using a commit
 | 
				
			||||||
    ;; ID below.  Don't forget to update it…
 | 
					    ;; ID below.  Don't forget to update it…
 | 
				
			||||||
    (version "2.21.99999")
 | 
					    (version "2.22")
 | 
				
			||||||
    (source
 | 
					    (source
 | 
				
			||||||
     (origin
 | 
					     (origin
 | 
				
			||||||
       (method git-fetch)
 | 
					       (method git-fetch)
 | 
				
			||||||
| 
						 | 
					@ -2691,10 +2691,10 @@ operators and scripters.")
 | 
				
			||||||
       ;; http://alpine.freeiz.com/alpine/readme/README.patches
 | 
					       ;; http://alpine.freeiz.com/alpine/readme/README.patches
 | 
				
			||||||
       (uri (git-reference
 | 
					       (uri (git-reference
 | 
				
			||||||
             (url "http://repo.or.cz/alpine.git")
 | 
					             (url "http://repo.or.cz/alpine.git")
 | 
				
			||||||
             (commit "abeb2c25935ef8c75f1e5deef0f81276754dc975")))
 | 
					             (commit "b50297779a4becb9ceca9c6b5b375d526fe3df78")))
 | 
				
			||||||
       (file-name (git-file-name name version))
 | 
					       (file-name (git-file-name name version))
 | 
				
			||||||
       (sha256
 | 
					       (sha256
 | 
				
			||||||
        (base32 "0rqgbw08a5lj41dkp82aq480lqkc4bnxagna7wpqffi821n8gkwz"))
 | 
					        (base32 "06js44fvdl7l33hfd4lsxpcd1cz3c0h796cswyzz0lkrzx89yl48"))
 | 
				
			||||||
       (modules '((guix build utils)))
 | 
					       (modules '((guix build utils)))
 | 
				
			||||||
       (snippet
 | 
					       (snippet
 | 
				
			||||||
        '(begin
 | 
					        '(begin
 | 
				
			||||||
| 
						 | 
					@ -2720,6 +2720,13 @@ operators and scripters.")
 | 
				
			||||||
                               "--with-date-stamp=Thu  1 Jan 01:00:01 CET 1970")
 | 
					                               "--with-date-stamp=Thu  1 Jan 01:00:01 CET 1970")
 | 
				
			||||||
       #:phases
 | 
					       #:phases
 | 
				
			||||||
       (modify-phases %standard-phases
 | 
					       (modify-phases %standard-phases
 | 
				
			||||||
 | 
					         (add-after 'unpack 'assume-shadow-passwords
 | 
				
			||||||
 | 
					           ;; Alpine's configure script confuses ‘shadow password support’ with
 | 
				
			||||||
 | 
					           ;; ‘/etc/shadow exists in the build environment’.  It does not.
 | 
				
			||||||
 | 
					           (lambda _
 | 
				
			||||||
 | 
					             (substitute* "configure"
 | 
				
			||||||
 | 
					               (("test -f /etc/shadow") "true"))
 | 
				
			||||||
 | 
					             #t))
 | 
				
			||||||
         (add-after 'unpack 'make-reproducible
 | 
					         (add-after 'unpack 'make-reproducible
 | 
				
			||||||
           (lambda _
 | 
					           (lambda _
 | 
				
			||||||
             ;; This removes time-dependent code to make alpine reproducible.
 | 
					             ;; This removes time-dependent code to make alpine reproducible.
 | 
				
			||||||
| 
						 | 
					
 | 
				
			||||||
		Reference in a new issue