guix-commits
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

01/05: gnu: alpine: Don't use unstable tarball.


From: guix-commits
Subject: 01/05: gnu: alpine: Don't use unstable tarball.
Date: Tue, 2 Jul 2019 17:59:53 -0400 (EDT)

nckx pushed a commit to branch master
in repository guix.

commit 0ca25073194a753ee610276622c7c73a2fd22a36
Author: Tobias Geerinckx-Rice <address@hidden>
Date:   Tue Jul 2 23:25:43 2019 +0200

    gnu: alpine: Don't use unstable tarball.
    
    * gnu/packages/mail.scm (alpine)[source]: Use GIT-FETCH and
    GIT-FILE-NAME.
---
 gnu/packages/mail.scm | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/mail.scm b/gnu/packages/mail.scm
index 4c059eb..c45324d 100644
--- a/gnu/packages/mail.scm
+++ b/gnu/packages/mail.scm
@@ -2526,20 +2526,23 @@ operators and scripters.")
 (define-public alpine
   (package
     (name "alpine")
+    ;; 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
+    ;; ID below.  Don't forget to update it…
     (version "2.21.99999")
     (source
      (origin
-       (method url-fetch)
+       (method git-fetch)
        ;; There are two versions: the plain continuation of Alpine without 
extra
        ;; patches and the version which adds extra fixes. Every distro uses
        ;; the patched version, and so do we to not break expectations.
        ;; http://alpine.freeiz.com/alpine/readme/README.patches
-       (uri (string-append "http://repo.or.cz/alpine.git/snapshot/";
-                           "abeb2c25935ef8c75f1e5deef0f81276754dc975.tar.gz"))
-       (file-name (string-append name "-" version ".tar.gz"))
+       (uri (git-reference
+             (url "http://repo.or.cz/alpine.git";)
+             (commit "abeb2c25935ef8c75f1e5deef0f81276754dc975")))
+       (file-name (git-file-name name version))
        (sha256
-        (base32
-         "0py26r1fycwr5n7qimisv465x69w5ml3qc3pg1vbmgpiqphh8gwq"))))
+        (base32 "0rqgbw08a5lj41dkp82aq480lqkc4bnxagna7wpqffi821n8gkwz"))))
     (build-system gnu-build-system)
     (arguments
      `(#:make-flags (list "CC=gcc")



reply via email to

[Prev in Thread] Current Thread [Next in Thread]