From 7d08b3d16bbb6e78d49ffc94085454d6abd879d4 Mon Sep 17 00:00:00 2001 From: who-biz <37732338+who-biz@users.noreply.github.com> Date: Fri, 8 Sep 2023 19:43:50 +0000 Subject: [PATCH] Update openssl in depends for 3.0.2 - 1.x.x versions are old at this point --- contrib/depends/packages/openssl.mk | 54 ++++++++++++++++++----------- 1 file changed, 33 insertions(+), 21 deletions(-) diff --git a/contrib/depends/packages/openssl.mk b/contrib/depends/packages/openssl.mk index 0ea4394e..187832dd 100644 --- a/contrib/depends/packages/openssl.mk +++ b/contrib/depends/packages/openssl.mk @@ -1,8 +1,8 @@ package=openssl -$(package)_version=1.0.2r -$(package)_download_path=https://www.openssl.org/source +$(package)_version=3.0.2 +$(package)_download_path=https://www.openssl.org/source/old/3.0/ $(package)_file_name=$(package)-$($(package)_version).tar.gz -$(package)_sha256_hash=ae51d08bba8a83958e894946f15303ff894d75c2b8bbd44a852b64e3fe11d0d6 +$(package)_sha256_hash=98e91ccead4d4756ae3c9cde5e09191a8e586d9f4d50838e7ec09d6411dfdb63 define $(package)_set_vars $(package)_config_env=AR="$($(package)_ar)" RANLIB="$($(package)_ranlib)" CC="$($(package)_cc)" @@ -11,33 +11,50 @@ $(package)_config_opts+=no-capieng $(package)_config_opts+=no-dso $(package)_config_opts+=no-dtls1 $(package)_config_opts+=no-ec_nistp_64_gcc_128 +$(package)_config_opts+=no-aria +$(package)_config_opts+=no-bf +$(package)_config_opts+=no-blake2 +$(package)_config_opts+=no-camellia +$(package)_config_opts+=no-cast +$(package)_config_opts+=no-chacha +$(package)_config_opts+=no-des +$(package)_config_opts+=no-dh +$(package)_config_opts+=no-dsa +$(package)_config_opts+=no-ecdsa +$(package)_config_opts+=no-ecdh +$(package)_config_opts+=no-idea +$(package)_config_opts+=no-md4 +$(package)_config_opts+=no-mdc2 +$(package)_config_opts+=no-ocb +$(package)_config_opts+=no-poly1305 +$(package)_config_opts+=no-rc2 +$(package)_config_opts+=no-rc4 +$(package)_config_opts+=no-rmd160 +$(package)_config_opts+=no-scrypt +$(package)_config_opts+=no-siphash +$(package)_config_opts+=no-siv +$(package)_config_opts+=no-sm2 +$(package)_config_opts+=no-sm3 +$(package)_config_opts+=no-sm4 +$(package)_config_opts+=no-whirlpool $(package)_config_opts+=no-gost -$(package)_config_opts+=no-gmp -$(package)_config_opts+=no-heartbeats -$(package)_config_opts+=no-jpake -$(package)_config_opts+=no-krb5 -$(package)_config_opts+=no-libunbound +$(package)_config_opts+=no-static-engine +$(package)_config_opts+=no-uplink $(package)_config_opts+=no-md2 $(package)_config_opts+=no-rc5 $(package)_config_opts+=no-rdrand $(package)_config_opts+=no-rfc3779 -$(package)_config_opts+=no-rsax $(package)_config_opts+=no-sctp -$(package)_config_opts+=no-sha0 +$(package)_config_opts+=no-stdio $(package)_config_opts+=no-shared $(package)_config_opts+=no-ssl-trace -$(package)_config_opts+=no-ssl2 -$(package)_config_opts+=no-ssl3 -$(package)_config_opts+=no-static_engine -$(package)_config_opts+=no-store $(package)_config_opts+=no-unit-test +$(package)_config_opts+=no-tests $(package)_config_opts+=no-weak-ssl-ciphers $(package)_config_opts+=no-zlib $(package)_config_opts+=no-asm -$(package)_config_opts+=no-cipher $(package)_config_opts+=no-threads $(package)_config_opts+=no-egd -$(package)_config_opts+=no-hw $(package)_config_opts+=no-zlib-dynamic $(package)_config_opts+=$($(package)_cflags) $($(package)_cppflags) $(package)_config_opts_linux=-fPIC -Wa,--noexecstack @@ -53,11 +70,6 @@ $(package)_config_opts_x86_64_mingw32=mingw64 $(package)_config_opts_i686_mingw32=mingw endef -define $(package)_preprocess_cmds - sed -i.old "/define DATE/d" util/mkbuildinf.pl && \ - sed -i.old "s|engines apps test|engines|" Makefile.org -endef - define $(package)_config_cmds ./Configure $($(package)_config_opts) endef