PORTNAME= boringssl PORTVERSION= 0.0.0.0.2024.09.27.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[123] openssl-quictls openssl31-quictls CPE_VENDOR= google USE_GITHUB= yes GH_ACCOUNT= google GH_TAGNAME= 72a6050 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/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