Date: Sat, 25 Mar 2023 12:52:52 GMT From: Bernard Spil <brnrd@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 7a796901eda9 - main - security/libressl: Fix libtls flavor build Message-ID: <202303251252.32PCqqBD066629@gitrepo.freebsd.org>
next in thread | raw e-mail | index | archive | help
The branch main has been updated by brnrd: URL: https://cgit.FreeBSD.org/ports/commit/?id=7a796901eda966fbb01311816fde074976761861 commit 7a796901eda966fbb01311816fde074976761861 Author: Bernard Spil <brnrd@FreeBSD.org> AuthorDate: 2023-03-25 12:52:28 +0000 Commit: Bernard Spil <brnrd@FreeBSD.org> CommitDate: 2023-03-25 12:52:28 +0000 security/libressl: Fix libtls flavor build --- security/libressl/Makefile | 7 +++++++ security/libressl/pkg-plist | 12 ++++++------ security/libressl/pkg-plist-libtls | 4 ++-- 3 files changed, 15 insertions(+), 8 deletions(-) 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
Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202303251252.32PCqqBD066629>