gnu: s2n: Link to aws-lc as libcrypto dependency.
* gnu/packages/tls.scm (s2n): [arguments]: Fix for openssl as replacement input for aws-lc. [propagated-inputs]: Add aws-lc and remove openssl. [supported-systems]: Only support x86_64-linux. Signed-off-by: Ludovic Courtès <ludo@gnu.org>
This commit is contained in:
		
							parent
							
								
									a5a408c3a7
								
							
						
					
					
						commit
						af856afb6c
					
				
					 1 changed files with 8 additions and 5 deletions
				
			
		|  | @ -1130,7 +1130,7 @@ derived from Mozilla's collection.") | ||||||
| (define-public s2n | (define-public s2n | ||||||
|   (package |   (package | ||||||
|     (name "s2n") |     (name "s2n") | ||||||
|     ; Update only when updating aws-crt-cpp. |     ;; Update only when updating aws-crt-cpp. | ||||||
|     (version "1.3.10") |     (version "1.3.10") | ||||||
|     (source (origin |     (source (origin | ||||||
|               (method git-fetch) |               (method git-fetch) | ||||||
|  | @ -1144,10 +1144,13 @@ derived from Mozilla's collection.") | ||||||
|     (build-system cmake-build-system) |     (build-system cmake-build-system) | ||||||
|     (arguments |     (arguments | ||||||
|      '(#:configure-flags |      '(#:configure-flags | ||||||
|        '("-DBUILD_SHARED_LIBS=ON"))) |        '("-DBUILD_SHARED_LIBS=ON" | ||||||
|     (propagated-inputs |          ;; Remove in next update; see https://github.com/aws/s2n-tls/pull/3108 | ||||||
|      `(("openssl" ,openssl) |          ;; Building with 'Werror' results in compilation error (even building | ||||||
|        ("openssl:static" ,openssl "static"))) |          ;; with gcc) when replacing the aws-lc input with openssl. | ||||||
|  |          "-DUNSAFE_TREAT_WARNINGS_AS_ERRORS=OFF"))) | ||||||
|  |     (propagated-inputs (list aws-lc)) | ||||||
|  |     (supported-systems '("x86_64-linux")) | ||||||
|     (synopsis "SSL/TLS implementation in C99") |     (synopsis "SSL/TLS implementation in C99") | ||||||
|     (description |     (description | ||||||
|      "This library provides a C99 implementation of SSL/TLS.  It is designed to |      "This library provides a C99 implementation of SSL/TLS.  It is designed to | ||||||
|  |  | ||||||
		Reference in a new issue