1
Fork 0
mirror of https://github.com/RGBCube/serenity synced 2025-07-28 05:47:34 +00:00

Ports: Update OpenSSL to 1.1.1k

This commit is contained in:
Luke 2021-07-29 23:04:32 +01:00 committed by Gunnar Beutner
parent f5d4de8b66
commit 4ca14d6e67
4 changed files with 11 additions and 31 deletions

View file

@ -1,15 +1,21 @@
#!/usr/bin/env -S bash ../.port_include.sh
port=openssl
branch='1.0.2'
version="${branch}t"
branch='1.1.1'
version="${branch}k"
useconfigure=true
configscript=Configure
files="https://ftp.openssl.org/source/old/${branch}/openssl-${version}.tar.gz openssl-${version}.tar.gz 14cb464efe7ac6b54799b34456bd69558a749a4931ecfd9cf9f71d7881cac7bc"
files="https://ftp.nluug.nl/security/openssl/openssl-${version}.tar.gz openssl-${version}.tar.gz 892a0875b9872acd04a9fde79b1f943075d5ea162415de3047c327df33fbaee5"
auth_type=sha256
depends="zlib"
configopts="--prefix=/usr/local --install_prefix=${SERENITY_INSTALL_ROOT} -DOPENSSL_SYS_SERENITY=1 linux-elf zlib no-tests no-threads no-asm"
configopts="--prefix=/usr/local -DOPENSSL_SYS_SERENITY=1 gcc zlib no-tests no-threads no-asm"
configure() {
run ./"$configscript" $configopts
}
install() {
# The default "install" also installs docs, which we don't want.
run make DESTDIR=$DESTDIR install_sw $installopts
run make DESTDIR=$DESTDIR install_ssldirs $installopts
}