git: babadc57c7f3 - main - devel/go-git: Update to 5.7.0

From: Nuno Teixeira <eduardo_at_FreeBSD.org>
Date: Wed, 24 May 2023 08:37:05 UTC
The branch main has been updated by eduardo:

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

commit babadc57c7f3f0f552627ea9068a404d5bfb4b3b
Author:     Nuno Teixeira <eduardo@FreeBSD.org>
AuthorDate: 2023-05-24 08:35:34 +0000
Commit:     Nuno Teixeira <eduardo@FreeBSD.org>
CommitDate: 2023-05-24 08:36:53 +0000

    devel/go-git: Update to 5.7.0
    
     - Switch to GO_MODULE
    
    ChangeLog: https://github.com/go-git/go-git/releases/tag/v5.7.0
---
 devel/go-git/Makefile | 34 ++-------------------------
 devel/go-git/distinfo | 64 ++++-----------------------------------------------
 2 files changed, 7 insertions(+), 91 deletions(-)

diff --git a/devel/go-git/Makefile b/devel/go-git/Makefile
index 18c4afa4c2c6..d8db189b570c 100644
--- a/devel/go-git/Makefile
+++ b/devel/go-git/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	go-git
 DISTVERSIONPREFIX=	v
-DISTVERSION=	5.6.1
-PORTREVISION=	1
+DISTVERSION=	5.7.0
 CATEGORIES=	devel
 
 MAINTAINER=	eduardo@FreeBSD.org
@@ -12,36 +11,7 @@ LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		go:modules
-#GO_MODULE=	github.com/go-git/go-git/v5 # Fails to build, see https://github.com/go-git/go-git/issues/626
-USE_GITHUB=	yes
-GH_TUPLE=	Microsoft:go-winio:v0.5.2:microsoft_go_winio/vendor/github.com/Microsoft/go-winio \
-		ProtonMail:go-crypto:7d5c6f04bbb8:protonmail_go_crypto/vendor/github.com/ProtonMail/go-crypto \
-		acomagu:bufpipe:v1.0.4:acomagu_bufpipe/vendor/github.com/acomagu/bufpipe \
-		anmitsu:go-shlex:38f4b401e2be:anmitsu_go_shlex/vendor/github.com/anmitsu/go-shlex \
-		armon:go-socks5:e75332964ef5:armon_go_socks5/vendor/github.com/armon/go-socks5 \
-		cloudflare:circl:v1.1.0:cloudflare_circl/vendor/github.com/cloudflare/circl \
-		emirpasic:gods:v1.18.1:emirpasic_gods/vendor/github.com/emirpasic/gods \
-		gliderlabs:ssh:v0.3.5:gliderlabs_ssh/vendor/github.com/gliderlabs/ssh \
-		go-check:check:10cb98267c6c:go_check_check/vendor/gopkg.in/check.v1 \
-		go-git:gcfg:v1.5.0:go_git_gcfg/vendor/github.com/go-git/gcfg \
-		go-git:go-billy:v5.4.1:go_git_go_billy_v5/vendor/github.com/go-git/go-billy/v5 \
-		go-git:go-git-fixtures:v4.3.1:go_git_go_git_fixtures_v4/vendor/github.com/go-git/go-git-fixtures/v4 \
-		go-warnings:warnings:v0.1.2:go_warnings_warnings/vendor/gopkg.in/warnings.v0 \
-		golang:crypto:v0.6.0:golang_crypto/vendor/golang.org/x/crypto \
-		golang:net:v0.7.0:golang_net/vendor/golang.org/x/net \
-		golang:sys:v0.5.0:golang_sys/vendor/golang.org/x/sys \
-		golang:text:v0.7.0:golang_text/vendor/golang.org/x/text \
-		google:go-cmp:v0.5.9:google_go_cmp/vendor/github.com/google/go-cmp \
-		imdario:mergo:v0.3.13:imdario_mergo/vendor/github.com/imdario/mergo \
-		jbenet:go-context:d14ea06fba99:jbenet_go_context/vendor/github.com/jbenet/go-context \
-		jessevdk:go-flags:v1.5.0:jessevdk_go_flags/vendor/github.com/jessevdk/go-flags \
-		kevinburke:ssh_config:v1.2.0:kevinburke_ssh_config/vendor/github.com/kevinburke/ssh_config \
-		kr:pretty:v0.2.1:kr_pretty/vendor/github.com/kr/pretty \
-		kr:text:v0.2.0:kr_text/vendor/github.com/kr/text \
-		pjbgf:sha1cd:v0.3.0:pjbgf_sha1cd/vendor/github.com/pjbgf/sha1cd \
-		sergi:go-diff:v1.1.0:sergi_go_diff/vendor/github.com/sergi/go-diff \
-		skeema:knownhosts:v1.1.0:skeema_knownhosts/vendor/github.com/skeema/knownhosts \
-		xanzy:ssh-agent:v0.3.3:xanzy_ssh_agent/vendor/github.com/xanzy/ssh-agent
+GO_MODULE=	github.com/go-git/go-git/v5
 GO_TARGET=	./cli/go-git
 GO_BUILDFLAGS=	-ldflags=" \
 			-X main.version=${DISTVERSION} \
diff --git a/devel/go-git/distinfo b/devel/go-git/distinfo
index 81b66b88f5d2..2c7f570dfff1 100644
--- a/devel/go-git/distinfo
+++ b/devel/go-git/distinfo
@@ -1,59 +1,5 @@
-TIMESTAMP = 1679232103
-SHA256 (go-git-go-git-v5.6.1_GH0.tar.gz) = b628204f5f516529d97aba82cbe47ba9de3899584298a81e759d043936e68350
-SIZE (go-git-go-git-v5.6.1_GH0.tar.gz) = 479141
-SHA256 (Microsoft-go-winio-v0.5.2_GH0.tar.gz) = d56abf127ac26d287b522ddde3d2a94efbbfeec6c8936f1f3179d038b4062be6
-SIZE (Microsoft-go-winio-v0.5.2_GH0.tar.gz) = 91639
-SHA256 (ProtonMail-go-crypto-7d5c6f04bbb8_GH0.tar.gz) = 1e84a9ef7116104929e6777e82629679ec319dc6f5a504a0829cf7dcbb5e4e4b
-SIZE (ProtonMail-go-crypto-7d5c6f04bbb8_GH0.tar.gz) = 365373
-SHA256 (acomagu-bufpipe-v1.0.4_GH0.tar.gz) = e0cbe34e710110bf42c961195a968bf6e52f82f23ebf654469a43e645e019c99
-SIZE (acomagu-bufpipe-v1.0.4_GH0.tar.gz) = 4544
-SHA256 (anmitsu-go-shlex-38f4b401e2be_GH0.tar.gz) = 128b9243a8ba47fb94cb6301546e665c9158a9b7e13432b53cd424cd4e94b66b
-SIZE (anmitsu-go-shlex-38f4b401e2be_GH0.tar.gz) = 3716
-SHA256 (armon-go-socks5-e75332964ef5_GH0.tar.gz) = 37f9cad3e321c452ea54824021ecd5b6ef4222c68b25f9c8a66a0c6d8411437e
-SIZE (armon-go-socks5-e75332964ef5_GH0.tar.gz) = 8586
-SHA256 (cloudflare-circl-v1.1.0_GH0.tar.gz) = 1ceb973fd51fff3ed77515e6ebd283b30d8ba8f6d75435f98ac3ef57f2c5d577
-SIZE (cloudflare-circl-v1.1.0_GH0.tar.gz) = 4649673
-SHA256 (emirpasic-gods-v1.18.1_GH0.tar.gz) = 741fb139fc74b20c0e5eae63a0a5ee0646019953b15955ac4505f1dd5dded104
-SIZE (emirpasic-gods-v1.18.1_GH0.tar.gz) = 103448
-SHA256 (gliderlabs-ssh-v0.3.5_GH0.tar.gz) = 890cd3d5d77ef6523fc263bb7ee6f21b2b827c31b0bbb446e103e00ff9002456
-SIZE (gliderlabs-ssh-v0.3.5_GH0.tar.gz) = 24584
-SHA256 (go-check-check-10cb98267c6c_GH0.tar.gz) = 0a42d9d5a49ebc30174e5840238e446f5fb16899bfaa6a6f63d12ab9953df293
-SIZE (go-check-check-10cb98267c6c_GH0.tar.gz) = 32375
-SHA256 (go-git-gcfg-v1.5.0_GH0.tar.gz) = 662e46a93aba5ffe383e55597ce5749447e5c8e9409b1452f5790bfd6e1f8a11
-SIZE (go-git-gcfg-v1.5.0_GH0.tar.gz) = 28522
-SHA256 (go-git-go-billy-v5.4.1_GH0.tar.gz) = 6ccecd3d7b3a6953917f50c0c394def73edcd5b341e236459f527a49f5628258
-SIZE (go-git-go-billy-v5.4.1_GH0.tar.gz) = 31725
-SHA256 (go-git-go-git-fixtures-v4.3.1_GH0.tar.gz) = de669304b6aaf46dd0f06dbc376f80e3303a858588113a06c3a64b7514500846
-SIZE (go-git-go-git-fixtures-v4.3.1_GH0.tar.gz) = 98248878
-SHA256 (go-warnings-warnings-v0.1.2_GH0.tar.gz) = 4712c4ceae321433d8c1d9ebc6afd154d7932c849129ded48b1c4a51c21275e8
-SIZE (go-warnings-warnings-v0.1.2_GH0.tar.gz) = 3769
-SHA256 (golang-crypto-v0.6.0_GH0.tar.gz) = abdd55e246751307493aac73d787c38953814668cf13a3dd73b600050e7b5058
-SIZE (golang-crypto-v0.6.0_GH0.tar.gz) = 1633588
-SHA256 (golang-net-v0.7.0_GH0.tar.gz) = 4949a0dbdd3c200c8681c18bebd65c8e8b620470189361dac05c89c714d9a59b
-SIZE (golang-net-v0.7.0_GH0.tar.gz) = 1241017
-SHA256 (golang-sys-v0.5.0_GH0.tar.gz) = 810c8f1b7704674971ab6b2b614aba20a5a1765018fd2c639f528dbbcbf88b1f
-SIZE (golang-sys-v0.5.0_GH0.tar.gz) = 1429723
-SHA256 (golang-text-v0.7.0_GH0.tar.gz) = a37dfe82c39f84c57a083da9725dd1bdae59cff6a5cbca3ae4443e446b4a70b8
-SIZE (golang-text-v0.7.0_GH0.tar.gz) = 8361947
-SHA256 (google-go-cmp-v0.5.9_GH0.tar.gz) = 41a074c2fcfc72f813736f8ca8e3116e260a6b79af407d9da0d4c5e4c3f61acf
-SIZE (google-go-cmp-v0.5.9_GH0.tar.gz) = 104427
-SHA256 (imdario-mergo-v0.3.13_GH0.tar.gz) = 0cfd6c6d112688aea782726ef90379065e12632d27d886c3b1d9bd4481304652
-SIZE (imdario-mergo-v0.3.13_GH0.tar.gz) = 22792
-SHA256 (jbenet-go-context-d14ea06fba99_GH0.tar.gz) = b5a5c4fe8d73dea7dc838f1c428c5fff0db9b50a2c014208a2761de4e94fa5ba
-SIZE (jbenet-go-context-d14ea06fba99_GH0.tar.gz) = 5945
-SHA256 (jessevdk-go-flags-v1.5.0_GH0.tar.gz) = d4bf30f729cbc16d2aa0095ac10ca4fadc8f092b9a28990c0cfca2345c3e7ffd
-SIZE (jessevdk-go-flags-v1.5.0_GH0.tar.gz) = 59316
-SHA256 (kevinburke-ssh_config-v1.2.0_GH0.tar.gz) = 44b1e5fc518886e422c918c8c3e9fa797ce1affcbe5b1e2ffe514a595db7deca
-SIZE (kevinburke-ssh_config-v1.2.0_GH0.tar.gz) = 20611
-SHA256 (kr-pretty-v0.2.1_GH0.tar.gz) = 01db9d66df2482ad7ade0cf1e194c2d703de4c2ed0a0b1bd3758ab31c5e35ea5
-SIZE (kr-pretty-v0.2.1_GH0.tar.gz) = 8761
-SHA256 (kr-text-v0.2.0_GH0.tar.gz) = 59b5e4a7fd4097be87fad0edcaf342fdc971d0c8fdfb4f2d7424561471992e7c
-SIZE (kr-text-v0.2.0_GH0.tar.gz) = 8699
-SHA256 (pjbgf-sha1cd-v0.3.0_GH0.tar.gz) = 7a97ba097cf09f4691e2d0d16ea81141ca40ad6b977ccd439451addd7a389f03
-SIZE (pjbgf-sha1cd-v0.3.0_GH0.tar.gz) = 3671654
-SHA256 (sergi-go-diff-v1.1.0_GH0.tar.gz) = 3d4362670655e970366d555418f3c8d179c217c0499ef5573ab7176352229451
-SIZE (sergi-go-diff-v1.1.0_GH0.tar.gz) = 43552
-SHA256 (skeema-knownhosts-v1.1.0_GH0.tar.gz) = 6583a034554ab85bfa392026aac79b2bf26b38d9d47ba7dd556888c74939f336
-SIZE (skeema-knownhosts-v1.1.0_GH0.tar.gz) = 10564
-SHA256 (xanzy-ssh-agent-v0.3.3_GH0.tar.gz) = e15d693dd9aaa7647e1ca4b2fd7051047aa4ad6b3678ecb1ca95cd93c3c34ec9
-SIZE (xanzy-ssh-agent-v0.3.3_GH0.tar.gz) = 8620
+TIMESTAMP = 1684911507
+SHA256 (go/devel_go-git/go-git-v5.7.0/v5.7.0.mod) = 862417866cd254282cf04a155bcaca1cf57a83282954efe18c44e283753babdd
+SIZE (go/devel_go-git/go-git-v5.7.0/v5.7.0.mod) = 1458
+SHA256 (go/devel_go-git/go-git-v5.7.0/v5.7.0.zip) = 7df75dbbcab5de0cfed031c436ae0178a17d97d712f7df2f6c24953973cf05fc
+SIZE (go/devel_go-git/go-git-v5.7.0/v5.7.0.zip) = 690957