Subject: [bug#66718] [PATCH v2 3/6] gnu: mbedtls-apache: Update to 2.28.6.

From: Hilton Chain <[email-masked]>
Date: Sat, 18 Nov 2023 14:49:15 +0800

* gnu/packages/tls.scm (mbedtls-apache): Update to 2.28.6.
[license]: Add gpl2+.

Change-Id: I946aa1436214a11ab3faa08b3ddf9c937a0462a9
---
 gnu/packages/tls.scm | 8 +++-----
 1 file changed, 3 insertions(+), 5 deletions(-)

diff --git a/gnu/packages/tls.scm b/gnu/packages/tls.scm
index 998860569a..7f4332244c 100644
--- a/gnu/packages/tls.scm
+++ b/gnu/packages/tls.scm
@@ -984,12 +984,10 @@ (define-public perl-crypt-openssl-random
 number generator")
   (license license:perl-license)))
 
-;; The "-apache" variant is the upstreamed prefered variant. A "-gpl"
-;; variant exists in addition to the "-apache" one.
 (define-public mbedtls-apache
   (package
     (name "mbedtls-apache")
-    (version "2.28.0")
+    (version "2.28.6")
     (source
      (origin
        (method git-fetch)
@@ -998,7 +996,7 @@ (define-public mbedtls-apache
              (commit (string-append "mbedtls-" version))))
        (file-name (git-file-name name version))
        (sha256
-        (base32 "0s37dsi29v7146fi9k4frvx5rz2snxdm6c3rwq2fvnca2r80hfjl"))))
+        (base32 "1zzcrnp5vs9iwpx03dg2v7zbhphqrim3dqfagzfb9frzxpf8136m"))))
     (build-system cmake-build-system)
     (arguments
      `(#:configure-flags
@@ -1018,7 +1016,7 @@ (define-public mbedtls-apache
 (embedded) products, facilitating this functionality with a minimal
 coding footprint.")
     (home-page "https://www.trustedfirmware.org/projects/mbed-tls/")
-    (license license:asl2.0)))
+    (license (list license:asl2.0 license:gpl2+)))) ;dual licensed
 
 ;; The Hiawatha Web server requires some specific features to be enabled.
 (define-public mbedtls-for-hiawatha
-- 
2.41.0