Subject: bug#47477: closed (Re: bug#47477: [PATCH] gnu: crypto++: Update to 8.5.0.)

From: [email-masked] (GNU bug Tracking System)
Date: Mon, 05 Apr 2021 14:19:02 +0000

Your bug report

#47477: [PATCH] gnu: crypto++: Update to 8.5.0.

which was filed against the guix-patches package, has been closed.

The explanation is attached below, along with your original report.
If you require more details, please reply to [email-masked].

-- 
47477: http://debbugs.gnu.org/cgi/bugreport.cgi?bug=47477
GNU Bug Tracking System
Contact [email-masked] with problems

Subject: Re: bug#47477: [PATCH] gnu: crypto++: Update to 8.5.0.
From: Leo Prikler <[email-masked]>
To: Ludovic Courtès <[email-masked]>
Cc: [email-masked], [email-masked]
Date: Mon, 05 Apr 2021 16:18:14 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

Am Montag, den 05.04.2021, 11:47 +0200 schrieb Ludovic Courtès:
> Hi Leo,
> 
> Leo Prikler <[email-masked]> 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’.
Built everything locally and pushed.  Hopefully the CI doesn't notice,
that I only checked amd64 :)

Subject: [PATCH] gnu: crypto++: Update to 8.5.0.
From: Leo Prikler <[email-masked]>
To: [email-masked]
Cc: [email-masked]
Date: Mon, 29 Mar 2021 17:59:47 +0200
List-Id: <debbugs-submit.debbugs.gnu.org>

* 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