diff --git a/security/libressl/Makefile b/security/libressl/Makefile index f44cf4817b54..92dc94b594e0 100644 --- a/security/libressl/Makefile +++ b/security/libressl/Makefile @@ -49,6 +49,13 @@ LDFLAGS+= -pthread INSTALL_TARGET= install-strip TEST_TARGET= check +PLIST_SUB+= LIBCRYPTO_SHLIBMAJ=50 \ + LIBCRYPTO_SHLIBFULL=50.0.0 \ + LIBSSL_SHLIBMAJ=53 \ + LIBSSL_SHLIBFULL=53.0.0 \ + LIBTLS_SHLIBMAJ=26 \ + LIBTLS_SHLIBFULL=26.0.0 + post-patch-MAN3-off: ${REINPLACE_CMD} -e '/^install-man:/s/install-man3//' \ -e '/$$(MAKE) $$(AM_MAKEFLAGS) install-data-hook/d' \ diff --git a/security/libressl/pkg-plist b/security/libressl/pkg-plist index 1a7c120a1919..396b73e74297 100644 --- a/security/libressl/pkg-plist +++ b/security/libressl/pkg-plist @@ -81,16 +81,16 @@ include/openssl/x509v3.h include/tls.h lib/libcrypto.a lib/libcrypto.so -lib/libcrypto.so.50 -lib/libcrypto.so.50.0.0 +lib/libcrypto.so.%%LIBCRYPTO_SHLIBMAJ%% +lib/libcrypto.so.%%LIBCRYPTO_SHLIBFULL%% lib/libssl.a lib/libssl.so -lib/libssl.so.53 -lib/libssl.so.53.0.0 +lib/libssl.so.%%LIBSSL_SHLIBMAJ%% +lib/libssl.so.%%LIBSSL_SHLIBFULL%% lib/libtls.a lib/libtls.so -lib/libtls.so.26 -lib/libtls.so.26.0.0 +lib/libtls.so.%%LIBTLS_SHLIBMAJ%% +lib/libtls.so.%%LIBTLS_SHLIBFULL%% libdata/pkgconfig/libcrypto.pc libdata/pkgconfig/libssl.pc libdata/pkgconfig/libtls.pc diff --git a/security/libressl/pkg-plist-libtls b/security/libressl/pkg-plist-libtls index f81cd4d3e368..d74aa579bb00 100644 --- a/security/libressl/pkg-plist-libtls +++ b/security/libressl/pkg-plist-libtls @@ -4,8 +4,8 @@ etc/ssl/x509v3.cnf include/tls.h lib/libtls.a lib/libtls.so -lib/libtls.so.25 -lib/libtls.so.25.0.0 +lib/libtls.so.%%LIBTLS_SHLIBMAJ%% +lib/libtls.so.%%LIBTLS_SHLIBFULL%% libdata/pkgconfig/libtls.pc %%NC%%man/man1/nc.1.gz @dir etc/ssl/certs