Skip to content

Commit

Permalink
Update openssl in depends for 3.0.2
Browse files Browse the repository at this point in the history
- 1.x.x versions are old at this point
  • Loading branch information
who-biz committed Sep 8, 2023
1 parent d1dd9a7 commit 7d08b3d
Showing 1 changed file with 33 additions and 21 deletions.
54 changes: 33 additions & 21 deletions contrib/depends/packages/openssl.mk
Original file line number Diff line number Diff line change
@@ -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)"
Expand All @@ -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
Expand All @@ -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
Expand Down

0 comments on commit 7d08b3d

Please sign in to comment.