diff --git a/security/boringssl/Makefile b/security/boringssl/Makefile index d5a968e5edec..07c95766ace5 100644 --- a/security/boringssl/Makefile +++ b/security/boringssl/Makefile @@ -1,48 +1,48 @@ PORTNAME= boringssl -PORTVERSION= 0.20251124.0 -PORTREVISION= 3 +PORTVERSION= 0.20260204.0 CATEGORIES= security -EXTRACT_ONLY= ${GH_ACCOUNT}-${PORTNAME}-${PORTVERSION}_GH0.tar.gz +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= APACHE20 LICENSE_FILE= ${WRKSRC}/LICENSE USES= cmake:insource cpe go:1.24+,no_targets localbase perl5 CONFLICTS_INSTALL= libressl libressl-devel openssl openssl111 \ openssl3[23456] openssl-quictls openssl33-quictls CPE_VENDOR= google USE_GITHUB= yes GH_ACCOUNT= google +GH_TAGNAME= a35389e 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.37.0.zip:gomods \ golang.org/x/crypto/@v/v0.37.0.mod:gomods \ golang.org/x/sys/@v/v0.32.0.zip:gomods \ golang.org/x/sys/@v/v0.32.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 f7758c9e2f2f..d03607077db0 100644 --- a/security/boringssl/distinfo +++ b/security/boringssl/distinfo @@ -1,15 +1,15 @@ -TIMESTAMP = 1764254478 +TIMESTAMP = 1770333072 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.37.0.zip) = 7ce6b2be21be1ce9e04dc784830e08931f09b5903596b8017839322c9e828667 SIZE (golang.org/x/crypto/@v/v0.37.0.zip) = 1795190 SHA256 (golang.org/x/crypto/@v/v0.37.0.mod) = 53a7d23b41aacaadfea2600c047e02eacb90039d4b0cb3d6f98c6cbec776b9a2 SIZE (golang.org/x/crypto/@v/v0.37.0.mod) = 192 SHA256 (golang.org/x/sys/@v/v0.32.0.zip) = 85d47075d21fd7ef35d9a47fc73f2356fb3cd2e7fab7f45c874b814bf312127d SIZE (golang.org/x/sys/@v/v0.32.0.zip) = 1991164 SHA256 (golang.org/x/sys/@v/v0.32.0.mod) = f67e3e18f4c08e60a7e80726ab36b691fdcea5b81ae1c696ff64caf518bcfe3d SIZE (golang.org/x/sys/@v/v0.32.0.mod) = 35 -SHA256 (google-boringssl-0.20251124.0_GH0.tar.gz) = d47f89b894bf534c82071d7426c5abf1e5bd044fee242def53cd5d3d0f656c09 -SIZE (google-boringssl-0.20251124.0_GH0.tar.gz) = 61203534 +SHA256 (google-boringssl-0.20260204.0-a35389e_GH0.tar.gz) = 654c05d559c4c560869416f3da1cffd5709183b2de357f9c2ac4abdf43ba4f40 +SIZE (google-boringssl-0.20260204.0-a35389e_GH0.tar.gz) = 61725926 diff --git a/security/boringssl/files/patch-CMakeLists.txt b/security/boringssl/files/patch-CMakeLists.txt index c6d7859a8b12..c507c0d84c7c 100644 --- a/security/boringssl/files/patch-CMakeLists.txt +++ b/security/boringssl/files/patch-CMakeLists.txt @@ -1,11 +1,11 @@ ---- CMakeLists.txt.orig 2025-10-02 17:17:00 UTC +--- CMakeLists.txt.orig 2026-02-04 10:43:46 UTC +++ CMakeLists.txt -@@ -648,6 +648,8 @@ target_link_libraries(ssl crypto) +@@ -681,6 +681,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 ssl crypto) diff --git a/security/boringssl/pkg-plist b/security/boringssl/pkg-plist index 39a0f9ac3721..1dae21c81f76 100644 --- a/security/boringssl/pkg-plist +++ b/security/boringssl/pkg-plist @@ -1,108 +1,112 @@ bin/bssl include/openssl/aead.h include/openssl/aes.h include/openssl/arm_arch.h include/openssl/asm_base.h include/openssl/asn1.h include/openssl/asn1_mac.h include/openssl/asn1t.h include/openssl/base.h include/openssl/base64.h include/openssl/bio.h include/openssl/blake2.h include/openssl/blowfish.h include/openssl/bn.h include/openssl/buf.h include/openssl/buffer.h include/openssl/bytestring.h include/openssl/cast.h include/openssl/chacha.h include/openssl/cipher.h include/openssl/cmac.h include/openssl/cms.h include/openssl/conf.h include/openssl/cpu.h include/openssl/crypto.h include/openssl/ctrdrbg.h include/openssl/curve25519.h include/openssl/des.h include/openssl/dh.h include/openssl/digest.h include/openssl/dsa.h include/openssl/dtls1.h include/openssl/e_os2.h include/openssl/ec.h include/openssl/ec_key.h include/openssl/ecdh.h include/openssl/ecdsa.h include/openssl/engine.h include/openssl/err.h include/openssl/evp.h include/openssl/evp_errors.h include/openssl/ex_data.h include/openssl/hkdf.h include/openssl/hmac.h include/openssl/hpke.h include/openssl/hrss.h include/openssl/is_boringssl.h include/openssl/kdf.h include/openssl/lhash.h include/openssl/md4.h include/openssl/md5.h include/openssl/mem.h include/openssl/mldsa.h include/openssl/mlkem.h include/openssl/nid.h include/openssl/obj.h include/openssl/obj_mac.h include/openssl/objects.h include/openssl/opensslconf.h include/openssl/opensslv.h include/openssl/ossl_typ.h include/openssl/pem.h include/openssl/pkcs12.h include/openssl/pkcs7.h include/openssl/pkcs8.h include/openssl/pki/certificate.h include/openssl/pki/ocsp.h include/openssl/pki/signature_verify_cache.h include/openssl/pki/verify.h include/openssl/pki/verify_error.h include/openssl/poly1305.h include/openssl/pool.h include/openssl/posix_time.h +include/openssl/prefix_symbols.h +include/openssl/prefix_symbols_internal_S.h +include/openssl/prefix_symbols_internal_c.h include/openssl/rand.h include/openssl/rc4.h include/openssl/ripemd.h include/openssl/rsa.h include/openssl/safestack.h include/openssl/service_indicator.h include/openssl/sha.h include/openssl/sha2.h include/openssl/siphash.h include/openssl/slhdsa.h include/openssl/span.h include/openssl/srtp.h include/openssl/ssl.h include/openssl/ssl3.h include/openssl/stack.h include/openssl/target.h include/openssl/thread.h include/openssl/time.h include/openssl/tls1.h +include/openssl/tls_prf.h include/openssl/trust_token.h include/openssl/type_check.h include/openssl/x509.h include/openssl/x509_vfy.h include/openssl/x509v3.h include/openssl/x509v3_errors.h include/openssl/xwing.h lib/cmake/OpenSSL/OpenSSLConfig.cmake lib/cmake/OpenSSL/OpenSSLTargets-%%CMAKE_BUILD_TYPE%%.cmake lib/cmake/OpenSSL/OpenSSLTargets.cmake lib/libcrypto.so lib/libcrypto.so.1 lib/libcrypto.so.1.0.0 lib/libssl.so lib/libssl.so.1 lib/libssl.so.1.0.0