2023-08-16 22:26:55 +00:00
|
|
|
# XXX Don't use security/openssl/X in other ports unless there's a big problem
|
|
|
|
# or a specific reason why not to use LibreSSL with that port - it is easy to
|
|
|
|
# create runtime library conflicts. In those special cases, please add comments
|
|
|
|
# to the port explaining why OpenSSL is needed instead of LibreSSL and/or
|
|
|
|
# discuss on ports@.
|
|
|
|
|
|
|
|
COMMENT?= TLS/SSL library and tools
|
|
|
|
|
|
|
|
DISTNAME?= openssl-$V
|
|
|
|
PKGNAME?= openssl-$V
|
|
|
|
|
|
|
|
CATEGORIES?= security net
|
|
|
|
|
|
|
|
HOMEPAGE?= https://www.openssl.org/
|
|
|
|
|
2024-05-26 03:08:12 +00:00
|
|
|
MAINTAINER?= Theo Buehler <tb@openbsd.org>
|
|
|
|
|
2023-08-16 22:26:55 +00:00
|
|
|
# OpenSSL
|
|
|
|
PERMIT_PACKAGE?= Yes
|
|
|
|
|
2024-05-26 03:08:12 +00:00
|
|
|
.if ${DISTNAME:Mopenssl*}
|
|
|
|
EOPENSSL_V?= eopenssl${V:R:S/.//}
|
|
|
|
SUBST_VARS+= EOPENSSL_V
|
|
|
|
.endif
|
|
|
|
|
|
|
|
.if ${V:M1*}
|
|
|
|
SITES?= https://github.com/openssl/openssl/releases/download/OpenSSL_${V:S/./_/g}/ \
|
|
|
|
https://www.openssl.org/source/ \
|
|
|
|
https://www.openssl.org/source/old/${V:C/.$//}/
|
|
|
|
.else
|
|
|
|
SITES?= https://github.com/openssl/openssl/releases/download/openssl-$V/ \
|
|
|
|
https://www.openssl.org/source/ \
|
|
|
|
https://www.openssl.org/source/old/${V:R}/
|
|
|
|
.endif
|