Subject: [bug#73323] [PATCH 01/15] gnu: aws-lc: Update to 1.34.2.

From: Greg Hogan <[email-masked]>
Date: Tue, 17 Sep 2024 20:16:49 +0000

* gnu/packages/tls.scm (aws-lc): Update to 1.34.2.
[native-inputs]: Remove libfaketime.
[arguments]<#:configure-flags>: Disable Go.
<#:phases>: Remove overwritten 'check phase.

Change-Id: Ib15fc22d0660ad805395acbec6fc45a63079b6f4
---
 gnu/packages/tls.scm | 19 +++----------------
 1 file changed, 3 insertions(+), 16 deletions(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 2f2a41f650..a9017df698 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -1216,7 +1216,7 @@ (define-public aws-lc
   (package
     (name "aws-lc")
     ;; Update only when updating aws-crt-cpp.
-    (version "1.0.2")
+    (version "1.34.2")
     (source (origin
               (method git-fetch)
               (uri (git-reference
@@ -1225,25 +1225,12 @@ (define-public aws-lc
               (file-name (git-file-name name version))
               (sha256
                (base32
-                "16y4iy2rqrmb7b1c394wyq7a5vbjb41599524my6b6q1vk1pi307"))))
+                "075a5z3qck0wqb7k2im8k7vj7rqn7r7v1j0i18l6k2n5pi52wypa"))))
     (build-system cmake-build-system)
     (arguments
      '(#:test-target "run_minimal_tests"
        #:configure-flags
-       '("-DBUILD_SHARED_LIBS=ON")
-       #:phases
-       (modify-phases %standard-phases
-         (replace 'check
-           (lambda* (#:key tests? test-target parallel-tests? #:allow-other-keys)
-             (when tests?
-               ;; SSLTest.HostMatching fails due to an expired certificate.
-               ;; Fake the time to be that of the release.
-               (invoke "faketime" "2022-05-23"
-                       "make" test-target
-                       "-j" (if parallel-tests?
-                                (number->string (parallel-job-count))
-                                "1"))))))))
-    (native-inputs (list libfaketime))
+       '("-DBUILD_SHARED_LIBS=ON" "-DDISABLE_GO=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
-- 
2.46.0