unofficial mirror of guix-devel@gnu.org 
 help / color / mirror / code / Atom feed
* [PATCH 0/1] libsodium: Add alternate URL
@ 2015-12-24 17:47 Leo Famulari
  2015-12-24 17:47 ` [PATCH 1/1] gnu: " Leo Famulari
  0 siblings, 1 reply; 4+ messages in thread
From: Leo Famulari @ 2015-12-24 17:47 UTC (permalink / raw)
  To: guix-devel

The libsodium package has been broken due a bad source URI.

This adds upstream's archive URL, the "old" directory.

There is also a new version. Thoughts about updating?

Leo Famulari (1):
  gnu: libsodium: Add alternate URL.

 gnu/packages/crypto.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

-- 
2.6.2

^ permalink raw reply	[flat|nested] 4+ messages in thread

* [PATCH 1/1] gnu: libsodium: Add alternate URL.
  2015-12-24 17:47 [PATCH 0/1] libsodium: Add alternate URL Leo Famulari
@ 2015-12-24 17:47 ` Leo Famulari
  2015-12-25 14:17   ` Mark H Weaver
  2015-12-26  4:57   ` Leo Famulari
  0 siblings, 2 replies; 4+ messages in thread
From: Leo Famulari @ 2015-12-24 17:47 UTC (permalink / raw)
  To: guix-devel

* gnu/packages/crypto.scm (libsodium)[source]: Add alternate URL.
---
 gnu/packages/crypto.scm | 9 ++++++---
 1 file changed, 6 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index d4742ca..a8d675b 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -30,9 +30,12 @@
     (version "1.0.0")
     (source (origin
             (method url-fetch)
-            (uri (string-append
-                  "http://download.libsodium.org/libsodium/releases/libsodium-"
-                  version ".tar.gz"))
+            (uri (list (string-append
+                        "http://download.libsodium.org/libsodium/"
+                        "releases/libsodium-" version ".tar.gz")
+                       (string-append
+                        "https://download.libsodium.org/libsodium/"
+                        "releases/old/libsodium-" version ".tar.gz")))
             (sha256
              (base32
               "19f9vf0shfp4rc4l791r6xjg06z4i8psj1zkjkm3z5b640yzxlff"))))
-- 
2.6.2

^ permalink raw reply related	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] gnu: libsodium: Add alternate URL.
  2015-12-24 17:47 ` [PATCH 1/1] gnu: " Leo Famulari
@ 2015-12-25 14:17   ` Mark H Weaver
  2015-12-26  4:57   ` Leo Famulari
  1 sibling, 0 replies; 4+ messages in thread
From: Mark H Weaver @ 2015-12-25 14:17 UTC (permalink / raw)
  To: Leo Famulari; +Cc: guix-devel

Leo Famulari <leo@famulari.name> writes:
> * gnu/packages/crypto.scm (libsodium)[source]: Add alternate URL.

Okay, please push!

    Mark

^ permalink raw reply	[flat|nested] 4+ messages in thread

* Re: [PATCH 1/1] gnu: libsodium: Add alternate URL.
  2015-12-24 17:47 ` [PATCH 1/1] gnu: " Leo Famulari
  2015-12-25 14:17   ` Mark H Weaver
@ 2015-12-26  4:57   ` Leo Famulari
  1 sibling, 0 replies; 4+ messages in thread
From: Leo Famulari @ 2015-12-26  4:57 UTC (permalink / raw)
  To: guix-devel

On Thu, Dec 24, 2015 at 12:47:56PM -0500, Leo Famulari wrote:
> * gnu/packages/crypto.scm (libsodium)[source]: Add alternate URL.
> ---
>  gnu/packages/crypto.scm | 9 ++++++---
>  1 file changed, 6 insertions(+), 3 deletions(-)
> 
> diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
> index d4742ca..a8d675b 100644
> --- a/gnu/packages/crypto.scm
> +++ b/gnu/packages/crypto.scm
> @@ -30,9 +30,12 @@
>      (version "1.0.0")
>      (source (origin
>              (method url-fetch)
> -            (uri (string-append
> -                  "http://download.libsodium.org/libsodium/releases/libsodium-"
> -                  version ".tar.gz"))
> +            (uri (list (string-append
> +                        "http://download.libsodium.org/libsodium/"
> +                        "releases/libsodium-" version ".tar.gz")
> +                       (string-append
> +                        "https://download.libsodium.org/libsodium/"
> +                        "releases/old/libsodium-" version ".tar.gz")))
>              (sha256
>               (base32
>                "19f9vf0shfp4rc4l791r6xjg06z4i8psj1zkjkm3z5b640yzxlff"))))
> -- 
> 2.6.2
 
Pushed as 4150ac88bc

^ permalink raw reply	[flat|nested] 4+ messages in thread

end of thread, other threads:[~2015-12-26  4:57 UTC | newest]

Thread overview: 4+ messages (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2015-12-24 17:47 [PATCH 0/1] libsodium: Add alternate URL Leo Famulari
2015-12-24 17:47 ` [PATCH 1/1] gnu: " Leo Famulari
2015-12-25 14:17   ` Mark H Weaver
2015-12-26  4:57   ` Leo Famulari

Code repositories for project(s) associated with this public inbox

	https://git.savannah.gnu.org/cgit/guix.git

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).