diff --git a/security/boringssl/Makefile b/security/boringssl/Makefile index cf88c45b227d..85293098600f 100644 --- a/security/boringssl/Makefile +++ b/security/boringssl/Makefile @@ -1,49 +1,48 @@ PORTNAME= boringssl -PORTVERSION= 0.0.0.0.2025.03.27.01 -PORTREVISION= 1 +PORTVERSION= 0.0.0.0.2025.04.05.01 CATEGORIES= security EXTRACT_ONLY= ${GH_ACCOUNT}-${PORTNAME}-${PORTVERSION}-${GH_TAGNAME}_GH0.tar.gz MAINTAINER= osa@FreeBSD.org COMMENT= Fork of OpenSSL WWW= https://boringssl.googlesource.com/boringssl/ LICENSE= OpenSSL LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake:insource cpe go:no_targets,1.24 localbase perl5 CONFLICTS_INSTALL= libressl libressl-devel openssl openssl111 \ openssl3[12345] openssl-quictls openssl31-quictls CPE_VENDOR= google USE_GITHUB= yes GH_ACCOUNT= google -GH_TAGNAME= a999361 +GH_TAGNAME= d5440dd CMAKE_ARGS+= -DBUILD_SHARED_LIBS=1 CFLAGS_i386= -msse2 USE_LDCONFIG= yes LDFLAGS+= -Wl,-rpath,${LOCALBASE}/lib TEST_TARGET= run_tests MAKE_ENV+= GOFLAGS=-mod=readonly \ GOPROXY=file://${DISTDIR} .include .if ${.TARGETS} == "makesum" || ${.TARGETS} == "test" MASTER_SITES+= https://proxy.golang.org/:gomods DISTFILES+= filippo.io/edwards25519/@v/v1.1.0.zip:gomods \ filippo.io/edwards25519/@v/v1.1.0.mod:gomods \ golang.org/x/crypto/@v/v0.33.0.zip:gomods \ golang.org/x/crypto/@v/v0.33.0.mod:gomods \ golang.org/x/sys/@v/v0.30.0.zip:gomods \ golang.org/x/sys/@v/v0.30.0.mod:gomods .endif post-install: ${LN} -sf libcrypto.so.1 ${STAGEDIR}${PREFIX}/lib/libcrypto.so.1.0.0 ${LN} -sf libssl.so.1 ${STAGEDIR}${PREFIX}/lib/libssl.so.1.0.0 .include diff --git a/security/boringssl/distinfo b/security/boringssl/distinfo index 80e0231971bf..404332ed29ed 100644 --- a/security/boringssl/distinfo +++ b/security/boringssl/distinfo @@ -1,15 +1,15 @@ -TIMESTAMP = 1743342632 +TIMESTAMP = 1743961248 SHA256 (filippo.io/edwards25519/@v/v1.1.0.zip) = 9ac43a686d06fdebd719f7af3866c87eb069302272dfb131007adf471c308b65 SIZE (filippo.io/edwards25519/@v/v1.1.0.zip) = 55809 SHA256 (filippo.io/edwards25519/@v/v1.1.0.mod) = 099556fc4d7e6f5cb135efdd8b6bb4c0932e38ea058c53fc5fa5ce285572fb61 SIZE (filippo.io/edwards25519/@v/v1.1.0.mod) = 40 SHA256 (golang.org/x/crypto/@v/v0.33.0.zip) = 3b0c19c1d259e93464f540165470de872721e5fc66ce3f0d36ffd27d307ec5bb SIZE (golang.org/x/crypto/@v/v0.33.0.zip) = 1793598 SHA256 (golang.org/x/crypto/@v/v0.33.0.mod) = f6dad481462711b0c41f147aa175087f3656591c59336242fdc9fae95d0fc59e SIZE (golang.org/x/crypto/@v/v0.33.0.mod) = 190 SHA256 (golang.org/x/sys/@v/v0.30.0.zip) = f5214bfec98f00e5432da68bbece03e98600fa41594ed026556cbde8fcb6f7c9 SIZE (golang.org/x/sys/@v/v0.30.0.zip) = 1987982 SHA256 (golang.org/x/sys/@v/v0.30.0.mod) = d227b325f621f4ebe28d39ba773ea99b870f393b7c09c34592c365b16dd560de SIZE (golang.org/x/sys/@v/v0.30.0.mod) = 33 -SHA256 (google-boringssl-0.0.0.0.2025.03.27.01-a999361_GH0.tar.gz) = ee34edf313209f3270b3c4b26fc564ec951e5aafc25c78a6123444a1356b8659 -SIZE (google-boringssl-0.0.0.0.2025.03.27.01-a999361_GH0.tar.gz) = 46043348 +SHA256 (google-boringssl-0.0.0.0.2025.04.05.01-d5440dd_GH0.tar.gz) = 0fe987baa96cb735590e884f2ef9ef49a01473b9daf6527cbd9fe8028e5d0b06 +SIZE (google-boringssl-0.0.0.0.2025.04.05.01-d5440dd_GH0.tar.gz) = 46046101 diff --git a/security/boringssl/files/patch-CMakeLists.txt b/security/boringssl/files/patch-CMakeLists.txt index 1956026ebd71..5326f4acacfc 100644 --- a/security/boringssl/files/patch-CMakeLists.txt +++ b/security/boringssl/files/patch-CMakeLists.txt @@ -1,11 +1,11 @@ ---- CMakeLists.txt.orig 2025-01-14 22:15:03 UTC +--- CMakeLists.txt.orig 2025-04-05 04:28:51 UTC +++ CMakeLists.txt -@@ -659,6 +659,8 @@ target_link_libraries(ssl crypto) +@@ -654,6 +654,8 @@ target_link_libraries(ssl crypto) # here. set_property(TARGET ssl PROPERTY EXPORT_NAME SSL) target_link_libraries(ssl crypto) +SET_TARGET_PROPERTIES(ssl PROPERTIES SOVERSION 1) +SET_TARGET_PROPERTIES(crypto PROPERTIES SOVERSION 1) add_library(decrepit ${DECREPIT_SOURCES}) - target_link_libraries(decrepit crypto ssl) + target_link_libraries(decrepit ssl crypto)