diff --git a/security/boringssl/Makefile b/security/boringssl/Makefile index d9acb009cd6e..42c078a88676 100644 --- a/security/boringssl/Makefile +++ b/security/boringssl/Makefile @@ -1,51 +1,47 @@ PORTNAME= boringssl -PORTVERSION= 0.20260211.0 -PORTREVISION= 2 +PORTVERSION= 0.20260327.0 CATEGORIES= security EXTRACT_ONLY= ${GH_ACCOUNT}-${PORTNAME}-${PORTVERSION}_GH0.tar.gz -PATCH_SITES= https://github.com/google/boringssl/commit/ -PATCHFILES= 100a6181500bb6d4e4d4ff299ca420d919aa764c.patch:-p1 - 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 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 +DISTFILES+= filippo.io/edwards25519/@v/v1.2.0.zip:gomods \ + filippo.io/edwards25519/@v/v1.2.0.mod:gomods \ + golang.org/x/crypto/@v/v0.43.0.zip:gomods \ + golang.org/x/crypto/@v/v0.43.0.mod:gomods \ + golang.org/x/sys/@v/v0.37.0.zip:gomods \ + golang.org/x/sys/@v/v0.37.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 10b367fa4948..11e90d42780c 100644 --- a/security/boringssl/distinfo +++ b/security/boringssl/distinfo @@ -1,17 +1,15 @@ -TIMESTAMP = 1771434048 -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.20260211.0_GH0.tar.gz) = 52e2d96759d483e384e3964a2513781ea05cb6b2d677f1f8f5a4049aea30535d -SIZE (google-boringssl-0.20260211.0_GH0.tar.gz) = 61785382 -SHA256 (100a6181500bb6d4e4d4ff299ca420d919aa764c.patch) = 5a2ad76892631c98df3d22de2037b778c3d6daea9268654203a860e80f707973 -SIZE (100a6181500bb6d4e4d4ff299ca420d919aa764c.patch) = 2912 +TIMESTAMP = 1775575257 +SHA256 (filippo.io/edwards25519/@v/v1.2.0.zip) = 98f2d3ca9b88daa031b0fb2fb521b7ea386af1fed61b6f445a20bef7fa381c17 +SIZE (filippo.io/edwards25519/@v/v1.2.0.zip) = 56057 +SHA256 (filippo.io/edwards25519/@v/v1.2.0.mod) = 7492c767dc361b86e96933ca1790d492c2f7c368c3ec0e00e1050eddad7baa7d +SIZE (filippo.io/edwards25519/@v/v1.2.0.mod) = 42 +SHA256 (golang.org/x/crypto/@v/v0.43.0.zip) = 0b11e4f2ac759849fc2567213e22e7dcb2e1bfe9755aca46c95d8d253f3c610b +SIZE (golang.org/x/crypto/@v/v0.43.0.zip) = 2233740 +SHA256 (golang.org/x/crypto/@v/v0.43.0.mod) = d83331446e98865733a1bd882774bd2f23d69dd3500adb5c7f79832b51cdd95b +SIZE (golang.org/x/crypto/@v/v0.43.0.mod) = 192 +SHA256 (golang.org/x/sys/@v/v0.37.0.zip) = 6c87bb94ec328b6d6234ad02cf2813225fe3bd5f8929fe85775ca06e01cfcc78 +SIZE (golang.org/x/sys/@v/v0.37.0.zip) = 1998239 +SHA256 (golang.org/x/sys/@v/v0.37.0.mod) = f411814d83a96e86781b1dee41c125b9504da5422dba37cc1d63b016ae39cfe2 +SIZE (golang.org/x/sys/@v/v0.37.0.mod) = 35 +SHA256 (google-boringssl-0.20260327.0_GH0.tar.gz) = 6af7037a8891d0e3d097dd61de6d195f6c2b532ed69d138a16da47c06a6cd022 +SIZE (google-boringssl-0.20260327.0_GH0.tar.gz) = 61947068 diff --git a/security/boringssl/files/patch-CMakeLists.txt b/security/boringssl/files/patch-CMakeLists.txt index b1fc328fca11..e307d4567f5a 100644 --- a/security/boringssl/files/patch-CMakeLists.txt +++ b/security/boringssl/files/patch-CMakeLists.txt @@ -1,12 +1,12 @@ ---- CMakeLists.txt.orig 2026-02-12 11:30:37.064017000 -0500 -+++ CMakeLists.txt 2026-02-12 11:34:38.653744000 -0500 -@@ -768,6 +768,9 @@ +--- CMakeLists.txt.orig 2026-03-27 16:14:30 UTC ++++ CMakeLists.txt +@@ -768,6 +768,9 @@ target_link_libraries(bssl ssl crypto) add_executable(bssl ${BSSL_SOURCES}) target_link_libraries(bssl ssl crypto) +SET_TARGET_PROPERTIES(ssl PROPERTIES SOVERSION 1) +SET_TARGET_PROPERTIES(crypto PROPERTIES SOVERSION 1) + if(FUZZ) # TODO(crbug.com/42290412): Drive this build with build.json and flatten. add_subdirectory(fuzz)