diff --git a/security/boringssl/Makefile b/security/boringssl/Makefile index c3ac77744dc8..f6abee043c77 100644 --- a/security/boringssl/Makefile +++ b/security/boringssl/Makefile @@ -1,54 +1,54 @@ PORTNAME= boringssl -PORTVERSION= 0.0.0.0.2024.11.23.01 +PORTVERSION= 0.0.0.0.2024.12.06.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.22 localbase perl5 CONFLICTS_INSTALL= libressl libressl-devel openssl openssl111 \ openssl3[1234] openssl-quictls openssl31-quictls CPE_VENDOR= google USE_GITHUB= yes GH_ACCOUNT= google -GH_TAGNAME= a351cc0 +GH_TAGNAME= 9559c45 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 \ filippo.io/mlkem768/@v/v0.0.0-20240821141156-859a9b3f2ff6.zip:gomods \ filippo.io/mlkem768/@v/v0.0.0-20240821141156-859a9b3f2ff6.mod:gomods \ golang.org/x/crypto/@v/v0.26.0.zip:gomods \ golang.org/x/crypto/@v/v0.26.0.mod:gomods \ golang.org/x/net/@v/v0.27.0.zip:gomods \ golang.org/x/net/@v/v0.27.0.mod:gomods \ golang.org/x/sys/@v/v0.24.0.zip:gomods \ golang.org/x/sys/@v/v0.24.0.mod:gomods \ golang.org/x/term/@v/v0.23.0.zip:gomods \ golang.org/x/term/@v/v0.23.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 a886b87b97e8..f19111ef86fb 100644 --- a/security/boringssl/distinfo +++ b/security/boringssl/distinfo @@ -1,27 +1,27 @@ -TIMESTAMP = 1732490715 +TIMESTAMP = 1733580254 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 (filippo.io/mlkem768/@v/v0.0.0-20240821141156-859a9b3f2ff6.zip) = 937bf0a147580a33e2a8831bc73edb8889698f9e906c71740ddf4fffb9691d4e SIZE (filippo.io/mlkem768/@v/v0.0.0-20240821141156-859a9b3f2ff6.zip) = 21003 SHA256 (filippo.io/mlkem768/@v/v0.0.0-20240821141156-859a9b3f2ff6.mod) = e11c63e9fabc4f05d5f369a535d67287958b4f9266390b68882f28d67311a676 SIZE (filippo.io/mlkem768/@v/v0.0.0-20240821141156-859a9b3f2ff6.mod) = 121 SHA256 (golang.org/x/crypto/@v/v0.26.0.zip) = ec96acfe28be3ff2fb14201c5f51132f0e24c7d0d6f3201a8aa69c84f989d014 SIZE (golang.org/x/crypto/@v/v0.26.0.zip) = 1784955 SHA256 (golang.org/x/crypto/@v/v0.26.0.mod) = 5dfc662e7a84a6c435914c07fca5585ad98d3c60ceb7d088ad39ce2fb2cf4f83 SIZE (golang.org/x/crypto/@v/v0.26.0.mod) = 190 SHA256 (golang.org/x/net/@v/v0.27.0.zip) = 0adf4068f2b9d2b2852288b77caf1f76dac61f960e691e7544191de9bfa36406 SIZE (golang.org/x/net/@v/v0.27.0.zip) = 1836756 SHA256 (golang.org/x/net/@v/v0.27.0.mod) = 2e321fd3cededd8992c5192d1399af4e0900debcadbba27e3a06420617879f17 SIZE (golang.org/x/net/@v/v0.27.0.mod) = 155 SHA256 (golang.org/x/sys/@v/v0.24.0.zip) = fbc83ddb0aee236ee85c0f8294e7c9b6f79d28794d22e7d0957fcd64ca252960 SIZE (golang.org/x/sys/@v/v0.24.0.zip) = 1962535 SHA256 (golang.org/x/sys/@v/v0.24.0.mod) = d227b325f621f4ebe28d39ba773ea99b870f393b7c09c34592c365b16dd560de SIZE (golang.org/x/sys/@v/v0.24.0.mod) = 33 SHA256 (golang.org/x/term/@v/v0.23.0.zip) = 2597a62b487b952c11c89b2001551af1fe1d29c484388ec1c3f5e3be7ff58ba5 SIZE (golang.org/x/term/@v/v0.23.0.zip) = 19866 SHA256 (golang.org/x/term/@v/v0.23.0.mod) = d44cfec368bf145eb7174b94307dbbf13d9ce881f03de797c3abf5731fba1eba SIZE (golang.org/x/term/@v/v0.23.0.mod) = 68 -SHA256 (google-boringssl-0.0.0.0.2024.11.23.01-a351cc0_GH0.tar.gz) = 52a535792f59f66d4bfcb5c97b568ef1cd1df1ff838595f0cce66afa761ca56a -SIZE (google-boringssl-0.0.0.0.2024.11.23.01-a351cc0_GH0.tar.gz) = 45545069 +SHA256 (google-boringssl-0.0.0.0.2024.12.06.01-9559c45_GH0.tar.gz) = 53064d70d62325ade624230347d1fd2cb4d98b4f2d02c3facc34769039668760 +SIZE (google-boringssl-0.0.0.0.2024.12.06.01-9559c45_GH0.tar.gz) = 42506094 diff --git a/security/boringssl/files/patch-CMakeLists.txt b/security/boringssl/files/patch-CMakeLists.txt index 6301ab05cc67..487baf4774b7 100644 --- a/security/boringssl/files/patch-CMakeLists.txt +++ b/security/boringssl/files/patch-CMakeLists.txt @@ -1,11 +1,11 @@ ---- CMakeLists.txt.orig 2024-11-23 22:54:44 UTC +--- CMakeLists.txt.orig 2024-12-06 23:19:02 UTC +++ CMakeLists.txt -@@ -640,6 +640,8 @@ target_link_libraries(ssl crypto) +@@ -643,6 +643,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) diff --git a/security/boringssl/pkg-plist b/security/boringssl/pkg-plist index baf8c42c9617..976a347bfe44 100644 --- a/security/boringssl/pkg-plist +++ b/security/boringssl/pkg-plist @@ -1,108 +1,106 @@ 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/bcm_public.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/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/experimental/dilithium.h include/openssl/experimental/kyber.h -include/openssl/experimental/spx.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/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/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/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/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 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