unofficial mirror of guix-patches@gnu.org 
 help / color / mirror / code / Atom feed
* bug#47470: [PATCH] gnu: crypto++: Update to 8.5.0.
       [not found] <CAJ3okZ3xo+oSVn4c3NbMAy7i7QtiEceLrJYWGR1ZCVHXe5Xykg@mail.gmail.com>
@ 2021-03-29 15:59 ` Leo Prikler
  2021-04-05  9:47   ` [bug#47477] " Ludovic Courtès
  0 siblings, 1 reply; 2+ messages in thread
From: Leo Prikler @ 2021-03-29 15:59 UTC (permalink / raw)
  To: guix-patches; +Cc: 47470

* gnu/packages/crypto.scm (crypto++): Update to 8.5.0.
[origin]: Use git-fetch and git-reference.
---
 gnu/packages/crypto.scm | 15 +++++++++------
 1 file changed, 9 insertions(+), 6 deletions(-)

diff --git a/gnu/packages/crypto.scm b/gnu/packages/crypto.scm
index 94f9cbeebf..57d417de80 100644
--- a/gnu/packages/crypto.scm
+++ b/gnu/packages/crypto.scm
@@ -773,15 +773,18 @@ data on your platform, so the seed itself will be as random as possible.
 (define-public crypto++
   (package
     (name "crypto++")
-    (version "8.4.0")
+    (version "8.5.0")
     (source (origin
-              (method url-fetch/zipbomb)
-              (uri (string-append "https://cryptopp.com/cryptopp"
-                                  (string-join (string-split version #\.) "")
-                                  ".zip"))
+              (method git-fetch)
+              (uri
+               (git-reference
+                (url "https://github.com/weidai11/cryptopp")
+                (commit
+                 (string-append "CRYPTOPP_"
+                                (string-replace-substring version "." "_")))))
               (sha256
                (base32
-                "16kvfm11xv7j9a3yykzysjgw38a9b7lnc5n5x5h82g395k6ybxf0"))))
+                "0in7rlazq91vfi519g9wr7bh87hii47cimxv7fmj0f88vhjaidq3"))))
     (build-system gnu-build-system)
     (arguments
      `(#:make-flags
-- 
2.31.0





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

* [bug#47477] [PATCH] gnu: crypto++: Update to 8.5.0.
  2021-03-29 15:59 ` bug#47470: [PATCH] gnu: crypto++: Update to 8.5.0 Leo Prikler
@ 2021-04-05  9:47   ` Ludovic Courtès
  0 siblings, 0 replies; 2+ messages in thread
From: Ludovic Courtès @ 2021-04-05  9:47 UTC (permalink / raw)
  To: Leo Prikler; +Cc: 47477, 47470

Hi Leo,

Leo Prikler <leo.prikler@student.tugraz.at> skribis:

> * gnu/packages/crypto.scm (crypto++): Update to 8.5.0.
> [origin]: Use git-fetch and git-reference.

If dependents still build fine, go for it!

Thanks,
Ludo’.




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

end of thread, other threads:[~2021-04-05  9:49 UTC | newest]

Thread overview: 2+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
     [not found] <CAJ3okZ3xo+oSVn4c3NbMAy7i7QtiEceLrJYWGR1ZCVHXe5Xykg@mail.gmail.com>
2021-03-29 15:59 ` bug#47470: [PATCH] gnu: crypto++: Update to 8.5.0 Leo Prikler
2021-04-05  9:47   ` [bug#47477] " Ludovic Courtès

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).