sgx-ssl: openssl: 3.0.12 -> 3.0.13

This commit is contained in:
Philip Hayes 2024-05-05 17:50:39 -07:00
parent 8b050cc911
commit 3dd129f7db

@ -10,7 +10,7 @@
}: }:
let let
sgxVersion = sgx-sdk.versionTag; sgxVersion = sgx-sdk.versionTag;
opensslVersion = "3.0.12"; opensslVersion = "3.0.13";
in in
stdenv.mkDerivation { stdenv.mkDerivation {
pname = "sgx-ssl" + lib.optionalString debug "-debug"; pname = "sgx-ssl" + lib.optionalString debug "-debug";
@ -27,7 +27,7 @@ stdenv.mkDerivation {
let let
opensslSourceArchive = fetchurl { opensslSourceArchive = fetchurl {
url = "https://www.openssl.org/source/openssl-${opensslVersion}.tar.gz"; url = "https://www.openssl.org/source/openssl-${opensslVersion}.tar.gz";
hash = "sha256-+Tyejt3l6RZhGd4xdV/Ie0qjSGNmL2fd/LoU0La2m2E="; hash = "sha256-iFJXU/edO+wn0vp8ZqoLkrOqlJja/ZPXz6SzeAza4xM=";
}; };
in in
'' ''
@ -39,8 +39,8 @@ stdenv.mkDerivation {
# Skip the tests. Build and run separately (see below). # Skip the tests. Build and run separately (see below).
substituteInPlace Linux/sgx/Makefile \ substituteInPlace Linux/sgx/Makefile \
--replace '$(MAKE) -C $(TEST_DIR) all' \ --replace-fail '$(MAKE) -C $(TEST_DIR) all' \
'bash -c "true"' 'bash -c "true"'
''; '';
nativeBuildInputs = [ nativeBuildInputs = [
@ -71,11 +71,11 @@ stdenv.mkDerivation {
SIM = callPackage ./tests.nix { sgxMode = "SIM"; inherit opensslVersion; }; SIM = callPackage ./tests.nix { sgxMode = "SIM"; inherit opensslVersion; };
}; };
meta = with lib; { meta = {
description = "Cryptographic library for Intel SGX enclave applications based on OpenSSL"; description = "Cryptographic library for Intel SGX enclave applications based on OpenSSL";
homepage = "https://github.com/intel/intel-sgx-ssl"; homepage = "https://github.com/intel/intel-sgx-ssl";
maintainers = with maintainers; [ phlip9 trundle veehaitch ]; maintainers = with lib.maintainers; [ phlip9 trundle veehaitch ];
platforms = [ "x86_64-linux" ]; platforms = [ "x86_64-linux" ];
license = [ licenses.bsd3 licenses.openssl ]; license = with lib.licenses; [ bsd3 openssl ];
}; };
} }