git: 5f5278680d3e - main - security/boringssl: update to the recent commit

From: Sergey A. Osokin <osa_at_FreeBSD.org>
Date: Thu, 27 Jan 2022 22:20:24 UTC
The branch main has been updated by osa:

URL: https://cgit.FreeBSD.org/ports/commit/?id=5f5278680d3e5ea2344809c55102f469e80faa66

commit 5f5278680d3e5ea2344809c55102f469e80faa66
Author:     Sergey A. Osokin <osa@FreeBSD.org>
AuthorDate: 2022-01-27 22:03:05 +0000
Commit:     Sergey A. Osokin <osa@FreeBSD.org>
CommitDate: 2022-01-27 22:20:18 +0000

    security/boringssl: update to the recent commit
    
    While I'm here simplify the build process by removing post-patch
    target and adding GOFLAGS into the environment variables list for
    make.
    
    Discussion:     http://bugs.chromium.org/p/boringssl/issues/detail?id=477
---
 security/boringssl/Makefile | 12 +++---------
 security/boringssl/distinfo |  6 +++---
 2 files changed, 6 insertions(+), 12 deletions(-)

diff --git a/security/boringssl/Makefile b/security/boringssl/Makefile
index b8ae76803349..1a22904a3820 100644
--- a/security/boringssl/Makefile
+++ b/security/boringssl/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=	boringssl
-PORTVERSION=	0.0.0.0.2022.01.26.01
+PORTVERSION=	0.0.0.0.2022.01.27.01
 CATEGORIES=	security
 
 MAINTAINER=	osa@FreeBSD.org
@@ -20,7 +20,7 @@ CPE_VENDOR=	google
 
 USE_GITHUB=	yes
 GH_ACCOUNT=	google
-GH_TAGNAME=	0f4454c
+GH_TAGNAME=	0fc57be
 GH_TUPLE=	golang:crypto:c07d793c2f9a:golang_crypto/vendor/golang.org/x/crypto \
 		golang:net:04defd469f4e:golang_net/vendor/golang.org/x/net \
 		golang:sys:04245dca01da:golang_sys/vendor/golang.org/x/sys \
@@ -30,13 +30,7 @@ CMAKE_ARGS+=	-DBUILD_SHARED_LIBS=1 \
 USE_LDCONFIG=	yes
 LDFLAGS+=	-Wl,-rpath,${LOCALBASE}/lib
 TEST_TARGET=	run_tests
-GO_BUILDFLAGS+=	-mod=vendor
-MAKE_ENV+=	GOPATH=${WRKSRC}/vendor GOPROXY=off
-
-post-patch:
-	@${GREP} -FRl '${GO_EXECUTABLE} run ' ${WRKSRC} | \
-		${XARGS} ${REINPLACE_CMD} -r -e 's,([$][{]GO_EXECUTABLE[}] run),\1 ${GO_BUILDFLAGS},'
-	@${FIND} ${WRKSRC}/include -name '*.bak' -delete
+MAKE_ENV+=	GOPATH=${WRKSRC}/vendor GOPROXY=off GOFLAGS=-mod=vendor
 
 do-install:
 	${INSTALL_PROGRAM} ${WRKSRC}/tool/bssl ${STAGEDIR}${PREFIX}/bin/
diff --git a/security/boringssl/distinfo b/security/boringssl/distinfo
index 7b0a25317be3..b614a7ac47e5 100644
--- a/security/boringssl/distinfo
+++ b/security/boringssl/distinfo
@@ -1,6 +1,6 @@
-TIMESTAMP = 1643231160
-SHA256 (google-boringssl-0.0.0.0.2022.01.26.01-0f4454c_GH0.tar.gz) = fa83af206c8032f3f86bb863d9056f2bea11b1fb10474b83f8a4cdbc50d86ee4
-SIZE (google-boringssl-0.0.0.0.2022.01.26.01-0f4454c_GH0.tar.gz) = 30730960
+TIMESTAMP = 1643320503
+SHA256 (google-boringssl-0.0.0.0.2022.01.27.01-0fc57be_GH0.tar.gz) = cb56946ea3884b452b2cbb4b81bcd1d6c7f69f9aaac33d4c853e0480dc602a8e
+SIZE (google-boringssl-0.0.0.0.2022.01.27.01-0fc57be_GH0.tar.gz) = 30731104
 SHA256 (golang-crypto-c07d793c2f9a_GH0.tar.gz) = bd1e0856c43287c6ebd20d59e2b4f2ffa91c5cc275dbb02bb2cfc822e6dc18a4
 SIZE (golang-crypto-c07d793c2f9a_GH0.tar.gz) = 1732023
 SHA256 (golang-net-04defd469f4e_GH0.tar.gz) = 6009a6f0989341df975799276ff1c49af650d4a4ed3fd6db3501b91eb601810d