Subject: [PATCH 0/12] gnu: aws-sdk-cpp: Update to 1.9.236.

From: Greg Hogan <[email-masked]>
Date: Fri, 15 Apr 2022 11:30:31 -0400

This patchset updates aws-sdk-cpp and the aws library dependencies. There
are no external dependent packages.
From 6aa1c387ec84e6c5093b5756c7f69ab5bc142f8f Mon Sep 17 00:00:00 2001
From: Greg Hogan <[email-masked]>
Date: Thu, 14 Apr 2022 16:38:55 +0000
Subject: [PATCH 01/12] gnu: s2n: Update to 1.3.10.

* gnu/packages/tls.scm (s2n): Update to 1.3.10.
---
 gnu/packages/tls.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 1b9024faf5..f0595efe08 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -1130,7 +1130,7 @@ (define-public s2n
   (package
     (name "s2n")
     ; Update only when updating aws-crt-cpp.
-    (version "1.1.0")
+    (version "1.3.10")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1139,7 +1139,7 @@ (define-public s2n
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "14dhdddlph36nshdkh0v33718hxjx5vxqxmkw7707393q0qrgipw"))))
+                "15fr6zwglw74x5qd090752kqn7n3cyi4gmz94ip45g3hflschxd3"))))
     (build-system cmake-build-system)
     (arguments
      '(#:configure-flags
-- 
2.35.1

From 1286f27dc35136c92ef1e6abb2d54590b1445758 Mon Sep 17 00:00:00 2001
From: Greg Hogan <[email-masked]>
Date: Thu, 14 Apr 2022 16:41:15 +0000
Subject: [PATCH 04/12] gnu: aws-c-io: Update to 0.10.20.

* gnu/packages/c.scm (aws-c-io): Update to 0.10.20.
---
 gnu/packages/c.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index 8105a161ef..7eab6d782e 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -671,7 +671,7 @@ (define-public aws-c-io
   (package
     (name "aws-c-io")
     ; Update only when updating aws-crt-cpp.
-    (version "0.10.9")
+    (version "0.10.20")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -680,7 +680,7 @@ (define-public aws-c-io
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "14rxa3k842fgk43702nz7z9y3clfhvax8j0k93i0c5vg14wj38yp"))))
+                "07l5rfbm1irkigfv51sfygs992af8rxicmay97frbx6z21khdjnr"))))
     (build-system cmake-build-system)
     (arguments
      '(#:configure-flags
-- 
2.35.1

From 97fe1826d5046707e534cb92b917cefb2b175d71 Mon Sep 17 00:00:00 2001
From: Greg Hogan <[email-masked]>
Date: Thu, 14 Apr 2022 16:42:01 +0000
Subject: [PATCH 05/12] gnu: aws-c-cal: Update to 0.5.17.

* gnu/packages/c.scm (aws-c-cal): Update to 0.5.17.
---
 gnu/packages/c.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index 7eab6d782e..585624b57e 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -700,7 +700,7 @@ (define-public aws-c-cal
   (package
     (name "aws-c-cal")
     ; Update only when updating aws-crt-cpp.
-    (version "0.5.12")
+    (version "0.5.17")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -709,7 +709,7 @@ (define-public aws-c-cal
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "09zqf610x4g2mcjcaf9nh88k6dkw14pi721yr8hxb5rmsx7rlfrb"))))
+                "0gd7xfzv509vcysifzfa8j2rykkc1prhiry7953snblkzm7airm5"))))
     (build-system cmake-build-system)
     (arguments
      '(#:configure-flags
-- 
2.35.1

From 4255ef74124109954496c51bf11276f2fe5dee85 Mon Sep 17 00:00:00 2001
From: Greg Hogan <[email-masked]>
Date: Thu, 14 Apr 2022 16:40:45 +0000
Subject: [PATCH 03/12] gnu: aws-c-common: Update to 0.6.20.

* gnu/packages/c.scm (aws-c-common): Update to 0.6.20.
---
 gnu/packages/c.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index d545d98938..8105a161ef 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -585,7 +585,7 @@ (define-public aws-c-common
   (package
     (name "aws-c-common")
     ; Update only when updating aws-crt-cpp.
-    (version "0.6.11")
+    (version "0.6.20")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -594,7 +594,7 @@ (define-public aws-c-common
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1v4dhygiynl75y3702lbp9j8kph88j4f2sq39s4lkhn6lmbz5f0f"))))
+                "089grcj58n4xs41kmnpaqpwsalcisjbqqb5yqahxxyfx2lf1j9c9"))))
     (build-system cmake-build-system)
     (arguments
      '(#:configure-flags
-- 
2.35.1

From d6e1e7f3cb781c51335a3dfcdb54e63a143193ba Mon Sep 17 00:00:00 2001
From: Greg Hogan <[email-masked]>
Date: Thu, 14 Apr 2022 16:39:37 +0000
Subject: [PATCH 02/12] gnu: aws-lc: Update to 1.0.2.

* gnu/packages/tls.scm (aws-lc): Update to 1.0.2.
---
 gnu/packages/tls.scm | 45 ++++++++++++++++++++++----------------------
 1 file changed, 22 insertions(+), 23 deletions(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index f0595efe08..1a19f51ccc 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -1190,28 +1190,27 @@ (define-public wolfssl
     (license license:gpl2+))) ; Audit
 
 (define-public aws-lc
-  (let ((commit "d0a5455417d80e68581e197d95720c3fb25e3926")
-        (revision "0"))
-    (package
-      (name "aws-lc")
-      (version (git-version "0.0.0" revision commit))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url (string-append "https://github.com/awslabs/" name))
-                      (commit commit)))
-                (file-name (git-file-name name version))
-                (sha256
-                 (base32
-                  "1ysj3x1f2lcdvwzyb9x3waykz1j7r21viv5z5vgc0ja9xv7znm9g"))))
-      (build-system cmake-build-system)
-      (arguments
-       '(#:tests? #f ; re-enable but with go and perl dependencies
-         #:configure-flags
-         '("-DBUILD_SHARED_LIBS=ON")))
-      (synopsis "General purpose cryptographic library")
-      (description "AWS libcrypto (aws-lc) contains portable C implementations
+  (package
+    (name "aws-lc")
+    ; Update only when updating aws-crt-cpp.
+    (version "1.0.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url (string-append "https://github.com/awslabs/" name))
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "14dhdddlph36nshdkh0v43718hxjx5vxqxmkw7707393q0qrgipw"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:tests? #f ; re-enable but with go and perl dependencies
+       #:configure-flags
+       '("-DBUILD_SHARED_LIBS=ON")))
+    (synopsis "General purpose cryptographic library")
+    (description "AWS libcrypto (aws-lc) contains portable C implementations
 of algorithms needed for TLS and common applications, and includes optimized
 assembly versions for x86 and ARM.")
-      (home-page "https://github.com/awslabs/aws-lc")
-      (license license:asl2.0))))
+    (home-page "https://github.com/awslabs/aws-lc")
+    (license license:asl2.0)))
-- 
2.35.1

From d45a413938e23e783131fa4279d91c88fc8975ae Mon Sep 17 00:00:00 2001
From: Greg Hogan <[email-masked]>
Date: Thu, 14 Apr 2022 16:42:42 +0000
Subject: [PATCH 06/12] gnu: Add aws-c-sdkutils.

* gnu/packages/c.scm (aws-c-sdkutils): New variable.
---
 gnu/packages/c.scm | 28 ++++++++++++++++++++++++++++
 1 file changed, 28 insertions(+)

diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index 585624b57e..8f660a316e 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -727,6 +727,34 @@ (define-public aws-c-cal
     (home-page "https://github.com/awslabs/aws-c-cal")
     (license license:asl2.0)))
 
+(define-public aws-c-sdkutils
+  (package
+    (name "aws-c-sdkutils")
+    ; Update only when updating aws-crt-cpp.
+    (version "0.1.2")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url (string-append "https://github.com/awslabs/" name))
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "14wpl3dxwjbbzas44v6m6m3ll89rgz34x9gb140qz624gwzs9v0v"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:configure-flags
+       (list "-DBUILD_SHARED_LIBS=ON"
+             (string-append "-DCMAKE_PREFIX_PATH="
+                            (assoc-ref %build-inputs "aws-c-common")))))
+    (propagated-inputs
+     (list aws-c-common))
+    (synopsis "Amazon Web Service utility library")
+    (description "This library provides for parsing and management of profiles
+for the @acronym{AWS,Amazon Web Services} SDK.")
+    (home-page "https://github.com/awslabs/aws-c-sdkutils")
+    (license license:asl2.0)))
+
 (define-public pcl
   (package
     (name "pcl")
-- 
2.35.1

From ff0f0a0b4c8c6bc724265c900a802ef6ff80cfae Mon Sep 17 00:00:00 2001
From: Greg Hogan <[email-masked]>
Date: Thu, 14 Apr 2022 16:44:43 +0000
Subject: [PATCH 09/12] gnu: aws-c-s3: Update to 0.1.38.

* gnu/packages/c.scm (aws-c-s3): Update to 0.1.38.
---
 gnu/packages/c.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index 2e188af3f3..832b1c6e72 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -870,7 +870,7 @@ (define-public aws-c-s3
   (package
     (name "aws-c-s3")
     ; Update only when updating aws-crt-cpp.
-    (version "0.1.26")
+    (version "0.1.38")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -879,7 +879,7 @@ (define-public aws-c-s3
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0gaxnwwk0jbvkgjnxcgchq13xmn7jk5vjvjsps6b0vaz6bf12wv8"))))
+                "0n2y8hzb1bx3vnzlpb5hsav18dg33pwav0mpji6krz98y2l8msya"))))
     (build-system cmake-build-system)
     (arguments
      '(#:configure-flags
@@ -888,7 +888,7 @@ (define-public aws-c-s3
                             (assoc-ref %build-inputs "aws-c-common"))
              "-DENABLE_NET_TESTS=OFF")))
     (propagated-inputs
-     (list aws-c-auth aws-c-http))
+     (list aws-c-auth aws-c-http aws-checksums))
     (synopsis "Amazon Web Services client library for Amazon S3")
     (description
      "This library provides a C99 client implementation of the Simple Storage
-- 
2.35.1

From b0fbf9eb6bcfe5d8df3906afce72e5b78c9f5595 Mon Sep 17 00:00:00 2001
From: Greg Hogan <[email-masked]>
Date: Thu, 14 Apr 2022 16:43:09 +0000
Subject: [PATCH 07/12] gnu: aws-c-http: Update to 0.6.13.

* gnu/packages/c.scm (aws-c-http): Update to 0.6.13.
---
 gnu/packages/c.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index 8f660a316e..280811eaec 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -778,7 +778,7 @@ (define-public aws-c-http
   (package
     (name "aws-c-http")
     ; Update only when updating aws-crt-cpp.
-    (version "0.6.7")
+    (version "0.6.13")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -787,7 +787,7 @@ (define-public aws-c-http
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "1s06bz6w7355ldyhwjidcpbff7591ch4lwwjcj47a6k2kczdmiz4"))))
+                "125glc9b3906r95519zqfbzzz6wj5ib4im2n45yxrigwkkpffbq9"))))
     (build-system cmake-build-system)
     (arguments
      '(#:configure-flags
-- 
2.35.1

From 207b47ac370f25472fba9168a6bd460b33d116d4 Mon Sep 17 00:00:00 2001
From: Greg Hogan <[email-masked]>
Date: Thu, 14 Apr 2022 16:44:02 +0000
Subject: [PATCH 08/12] gnu: aws-c-auth: Update to 0.6.11.

* gnu/packages/c.scm (aws-c-auth): Update to 0.6.11.
---
 gnu/packages/c.scm | 6 +++---
 1 file changed, 3 insertions(+), 3 deletions(-)

diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index 280811eaec..2e188af3f3 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -837,7 +837,7 @@ (define-public aws-c-auth
   (package
     (name "aws-c-auth")
     ; Update only when updating aws-crt-cpp.
-    (version "0.6.4")
+    (version "0.6.11")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -846,7 +846,7 @@ (define-public aws-c-auth
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "120p69lj279yq3d2b81f45kgfrvf32j6m7s03m8hh27w8yd4vbfp"))
+                "0frfnbifkrib9l68mj92a3g1x8xc8hpdlzbga2a801zgf2flx4fy"))
               (patches
                (search-patches
                 "aws-c-auth-install-private-headers.patch"))))
@@ -858,7 +858,7 @@ (define-public aws-c-auth
                             (assoc-ref %build-inputs "aws-c-common"))
              "-DENABLE_NET_TESTS=OFF")))
     (propagated-inputs
-     (list aws-c-cal aws-c-common aws-c-http aws-c-io))
+     (list aws-c-cal aws-c-common aws-c-http aws-c-io aws-c-sdkutils))
     (synopsis "Amazon Web Services client-side authentication library")
     (description
      "This library provides a C99 implementation for AWS client-side
-- 
2.35.1

From 959a8c8d9d5009de8044274cff64a8bb3147df82 Mon Sep 17 00:00:00 2001
From: Greg Hogan <[email-masked]>
Date: Thu, 14 Apr 2022 16:45:24 +0000
Subject: [PATCH 10/12] gnu: aws-c-mqtt: Update to 0.7.10.

* gnu/packages/c.scm (aws-c-mqtt): Update to 0.7.10.
---
 gnu/packages/c.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/c.scm b/gnu/packages/c.scm
index 832b1c6e72..3450037c74 100644
--- a/gnu/packages/c.scm
+++ b/gnu/packages/c.scm
@@ -900,7 +900,7 @@ (define-public aws-c-mqtt
   (package
     (name "aws-c-mqtt")
     ; Update only when updating aws-crt-cpp.
-    (version "0.7.8")
+    (version "0.7.10")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -909,7 +909,7 @@ (define-public aws-c-mqtt
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "19j6nw2v36c4yff4p0fbf0748s06fd5r9cp2yakry9ybn1ada99c"))))
+                "0qmzx8b4wcsq9s99q2zrhx1s3jdmfy8zs16qys9bqv45gspi3ybr"))))
     (build-system cmake-build-system)
     (arguments
      '(#:configure-flags
-- 
2.35.1

From 8bdfc03a12595768316d44125e59785ae841b11f Mon Sep 17 00:00:00 2001
From: Greg Hogan <[email-masked]>
Date: Thu, 14 Apr 2022 16:46:32 +0000
Subject: [PATCH 11/12] gnu: aws-crt-cpp: Update to 0.17.27.

* gnu/packages/cpp.scm (aws-crt-cpp): Update to 0.17.27.
---
 gnu/packages/cpp.scm | 70 +++++++++++++++++++++-----------------------
 1 file changed, 34 insertions(+), 36 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index b65df1a8bb..f1bb909ae5 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1162,45 +1162,43 @@ (define-public poco
     (license license:boost1.0)))
 
 (define-public aws-crt-cpp
-  (let* ((commit "b6d311d76b504bf8ace5134d3fca0e672c36c9c3")
-         (revision "1"))
-    (package
-      (name "aws-crt-cpp")
-      ; Update only when updating aws-sdk-cpp, and when updating also update
-      ; versions of library dependencies linked from from
-      ; https://github.com/awslabs/aws-crt-cpp/tree/{aws-crt-cpp commit}/crt
-      (version (git-version "0.17.1" revision commit))
-      (source (origin
-                (method git-fetch)
-                (uri (git-reference
-                      (url "https://github.com/awslabs/aws-crt-cpp")
-                      (commit commit)))
-                (file-name (git-file-name name version))
-                (sha256
-                 (base32
-                  "1n0nlbz91j3ycwwrh9652f0h5qr2sj5b1l0i5sg40ajzs7wvzd32"))))
-      (build-system cmake-build-system)
-      (arguments
-       '(#:configure-flags
-         (list "-DBUILD_DEPS=OFF"
-               "-DBUILD_SHARED_LIBS=ON"
-               (string-append "-DCMAKE_PREFIX_PATH="
-                            (assoc-ref %build-inputs "aws-c-common"))
-               "-DENABLE_NET_TESTS=OFF")))
-      (propagated-inputs
-       (list aws-c-auth
-             aws-c-cal
-             aws-c-event-stream
-             aws-c-http
-             aws-c-mqtt
-             aws-c-s3))
-      (synopsis "C++ wrapper for Amazon Web Services C libraries")
-      (description "The AWS Common Runtime (CRT) library provides a C++ wrapper
+  (package
+    (name "aws-crt-cpp")
+    ; Update only when updating aws-sdk-cpp, and when updating also update
+    ; versions of library dependencies linked from from
+    ; https://github.com/awslabs/aws-crt-cpp/tree/{aws-crt-cpp commit}/crt
+    (version "0.17.27")
+    (source (origin
+              (method git-fetch)
+              (uri (git-reference
+                    (url "https://github.com/awslabs/aws-crt-cpp")
+                    (commit (string-append "v" version))))
+              (file-name (git-file-name name version))
+              (sha256
+               (base32
+                "14g8pn7yii1klby7phcw08qnld1qv11vwmbdz8cs3mlpqahxrh4i"))))
+    (build-system cmake-build-system)
+    (arguments
+     '(#:configure-flags
+       (list "-DBUILD_DEPS=OFF"
+             "-DBUILD_SHARED_LIBS=ON"
+             (string-append "-DCMAKE_PREFIX_PATH="
+                          (assoc-ref %build-inputs "aws-c-common"))
+             "-DENABLE_NET_TESTS=OFF")))
+    (propagated-inputs
+     (list aws-c-auth
+           aws-c-cal
+           aws-c-event-stream
+           aws-c-http
+           aws-c-mqtt
+           aws-c-s3))
+    (synopsis "C++ wrapper for Amazon Web Services C libraries")
+    (description "The AWS Common Runtime (CRT) library provides a C++ wrapper
 implementation for the following @acronym{AWS,Amazon Web Services} C libraries:
 aws-c-auth, aws-c-cal, aws-c-common, aws-c-compression, aws-c-event-stream,
 aws-c-http, aws-c-io, aws-c-mqtt, aws-checksums, and s2n.")
-      (home-page "https://github.com/awslabs/aws-crt-cpp")
-      (license license:asl2.0))))
+    (home-page "https://github.com/awslabs/aws-crt-cpp")
+    (license license:asl2.0)))
 
 (define-public aws-sdk-cpp
   (package
-- 
2.35.1

From 58e9bd4dce4327e2e00ce0cb966d2c9dbe1e77d3 Mon Sep 17 00:00:00 2001
From: Greg Hogan <[email-masked]>
Date: Thu, 14 Apr 2022 16:47:15 +0000
Subject: [PATCH 12/12] gnu: aws-sdk-cpp: Update to 1.9.236.

* gnu/packages/cpp.scm (aws-sdk-cpp): Update to 1.9.236.
---
 gnu/packages/cpp.scm | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/gnu/packages/cpp.scm b/gnu/packages/cpp.scm
index f1bb909ae5..645fa8e47c 100644
--- a/gnu/packages/cpp.scm
+++ b/gnu/packages/cpp.scm
@@ -1205,7 +1205,7 @@ (define-public aws-sdk-cpp
     (name "aws-sdk-cpp")
     ; When updating also check for a tagged update to aws-crt-cpp from
     ; https://github.com/aws/aws-sdk-cpp/tree/main/crt
-    (version "1.9.136")
+    (version "1.9.236")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1214,7 +1214,7 @@ (define-public aws-sdk-cpp
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "0ap7g7nmbnrcajy3b788bnpqd87dwmg83dhll1q8qzli04bcg47i"))))
+                "13qhxsbfn81r7lg382wb4d3xfc4a287ikww5i7whddk5yz0j8384"))))
     (build-system cmake-build-system)
     (arguments
      '(;; Tests are run during the build phase.
-- 
2.35.1