git: 8f39b8864f37 - main - net/goreplay: Update 1.2.0 -> 1.3.2

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 29 Dec 2022 06:56:14 UTC
The branch main has been updated by yuri:

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

commit 8f39b8864f37aae5ac1e10430d5af560fd664e97
Author:     Dave Cottlehuber <dch@freebsd.org>
AuthorDate: 2022-12-29 06:44:05 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2022-12-29 06:49:44 +0000

    net/goreplay: Update 1.2.0 -> 1.3.2
    
    Can't update to 1.3.3 or 2.x-rcx because 1.3.3 is missing the
    v prefix and Golang servers don't read such versions, and
    2.x requires the /v2 suffix in the module name which is missing.
    
    PR:             265780
    Approved by:    swills@ (maintainer's timeout; 4 months 17 days)
---
 net/goreplay/Makefile                 | 33 ++-----------------
 net/goreplay/distinfo                 | 60 +++--------------------------------
 net/goreplay/files/patch-size_size.go | 11 -------
 3 files changed, 7 insertions(+), 97 deletions(-)

diff --git a/net/goreplay/Makefile b/net/goreplay/Makefile
index 49cae13fec22..8b05bbb6e5d6 100644
--- a/net/goreplay/Makefile
+++ b/net/goreplay/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	goreplay
-PORTVERSION=	1.2.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	7
+DISTVERSION=	1.3.2
 CATEGORIES=	net
 
 MAINTAINER=	swills@FreeBSD.org
@@ -13,35 +12,7 @@ LICENSE_FILE=	${WRKSRC}/LICENSE.txt
 
 USES=		go:modules
 
-USE_GITHUB=	yes
-GH_ACCOUNT=	buger
-GH_TUPLE=	buger:${PORTNAME}:${DISTVERSIONPREFIX}${PORTVERSION}:DEFAULT \
-		Shopify:sarama:v1.26.4:shopify_sarama/vendor/github.com/Shopify/sarama \
-		araddon:gou:c797efecbb61:araddon_gou/vendor/github.com/araddon/gou \
-		aws:aws-sdk-go:v1.33.2:aws_aws_sdk_go/vendor/github.com/aws/aws-sdk-go \
-		bitly:go-hostpool:v0.1.0:bitly_go_hostpool/vendor/github.com/bitly/go-hostpool \
-		bmizerany:assert:b7ed37b82869:bmizerany_assert/vendor/github.com/bmizerany/assert \
-		davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
-		eapache:go-resiliency:v1.2.0:eapache_go_resiliency/vendor/github.com/eapache/go-resiliency \
-		eapache:go-xerial-snappy:776d5712da21:eapache_go_xerial_snappy/vendor/github.com/eapache/go-xerial-snappy \
-		eapache:queue:v1.1.0:eapache_queue/vendor/github.com/eapache/queue \
-		golang:crypto:75b288015ac9:golang_crypto/vendor/golang.org/x/crypto \
-		golang:net:ab3426394381:golang_net/vendor/golang.org/x/net \
-		golang:snappy:v0.0.1:golang_snappy/vendor/github.com/golang/snappy \
-		golang:sys:85ca7c5b95cd:golang_sys/vendor/golang.org/x/sys \
-		google:gopacket:v1.1.18:google_gopacket/vendor/github.com/google/gopacket \
-		hashicorp:go-uuid:v1.0.2:hashicorp_go_uuid/vendor/github.com/hashicorp/go-uuid \
-		jcmturner:aescts:v1.0.1:jcmturner_aescts/vendor/gopkg.in/jcmturner/aescts.v1 \
-		jcmturner:dnsutils:v1.0.1:jcmturner_dnsutils/vendor/gopkg.in/jcmturner/dnsutils.v1 \
-		jcmturner:gofork:v1.0.0:jcmturner_gofork/vendor/github.com/jcmturner/gofork \
-		jcmturner:gokrb5:v7.5.0:jcmturner_gokrb5/vendor/gopkg.in/jcmturner/gokrb5.v7 \
-		jcmturner:rpc:v1.1.0:jcmturner_rpc/vendor/gopkg.in/jcmturner/rpc.v1 \
-		jmespath:go-jmespath:v0.3.0:jmespath_go_jmespath/vendor/github.com/jmespath/go-jmespath \
-		klauspost:compress:v1.10.10:klauspost_compress/vendor/github.com/klauspost/compress \
-		mattbaird:elastigo:2fe47fd29e4b:mattbaird_elastigo/vendor/github.com/mattbaird/elastigo \
-		pierrec:lz4:v2.5.2:pierrec_lz4/vendor/github.com/pierrec/lz4 \
-		rcrowley:go-metrics:10cdbea86bc0:rcrowley_go_metrics/vendor/github.com/rcrowley/go-metrics \
-		smartystreets:goconvey:v1.6.4:smartystreets_goconvey/vendor/github.com/smartystreets/goconvey
+GO_MODULE=	github.com/buger/${PORTNAME}
 
 PLIST_FILES=	bin/${PORTNAME}
 
diff --git a/net/goreplay/distinfo b/net/goreplay/distinfo
index 560e9984233a..3967ea1278bb 100644
--- a/net/goreplay/distinfo
+++ b/net/goreplay/distinfo
@@ -1,55 +1,5 @@
-TIMESTAMP = 1600709213
-SHA256 (buger-goreplay-v1.2.0_GH0.tar.gz) = 0700e6aad5f0e6df5526e894d5e15104449aa4c86c65629820ffe18f57cd8043
-SIZE (buger-goreplay-v1.2.0_GH0.tar.gz) = 2330521
-SHA256 (Shopify-sarama-v1.26.4_GH0.tar.gz) = 2825f1c147b8105983d240e38ffc0f0b3ffbab07536f4b888fa9cd252b2c6c03
-SIZE (Shopify-sarama-v1.26.4_GH0.tar.gz) = 266378
-SHA256 (araddon-gou-c797efecbb61_GH0.tar.gz) = 2f5cce48bafcbc3704054dd3936e127080fcf1c2eb5997ff801d201d8361c648
-SIZE (araddon-gou-c797efecbb61_GH0.tar.gz) = 16819
-SHA256 (aws-aws-sdk-go-v1.33.2_GH0.tar.gz) = 06490936c9237a098ed5c35e8971a326f5eb8f25b44dc84396133810ba580c26
-SIZE (aws-aws-sdk-go-v1.33.2_GH0.tar.gz) = 15160228
-SHA256 (bitly-go-hostpool-v0.1.0_GH0.tar.gz) = 5330142965e54e59df168f0744f3ef4fa490dcd743f027e6f26bb4bcc5d130b5
-SIZE (bitly-go-hostpool-v0.1.0_GH0.tar.gz) = 7616
-SHA256 (bmizerany-assert-b7ed37b82869_GH0.tar.gz) = f7dc11f10c5e52a94c836e15e7aff05ad4afba7436f66e5f4506806627c4635e
-SIZE (bmizerany-assert-b7ed37b82869_GH0.tar.gz) = 1469
-SHA256 (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e
-SIZE (davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152
-SHA256 (eapache-go-resiliency-v1.2.0_GH0.tar.gz) = f9b3d4e28c7f456e912462f72041124b0d152044d20f84c645e287443a0200ef
-SIZE (eapache-go-resiliency-v1.2.0_GH0.tar.gz) = 10399
-SHA256 (eapache-go-xerial-snappy-776d5712da21_GH0.tar.gz) = 4bc90007c4d09abfb9d5a078c48049d5daa70d84fee050565f3230358b833516
-SIZE (eapache-go-xerial-snappy-776d5712da21_GH0.tar.gz) = 7896
-SHA256 (eapache-queue-v1.1.0_GH0.tar.gz) = 2be4716ba2bba5f7c125a8fe72ba534f02cf0d7d98d3a372d4ebe54b170f7329
-SIZE (eapache-queue-v1.1.0_GH0.tar.gz) = 3502
-SHA256 (golang-crypto-75b288015ac9_GH0.tar.gz) = 6e74e21bf9dfdbf0a8dac8cb205fbc3bfd8dff308a24080b9d6093a3858f0db2
-SIZE (golang-crypto-75b288015ac9_GH0.tar.gz) = 1729931
-SHA256 (golang-net-ab3426394381_GH0.tar.gz) = ddf23e17a147972ad0dd11824a912eaa0174cba60ab63da6ae6ced2c76345946
-SIZE (golang-net-ab3426394381_GH0.tar.gz) = 1177700
-SHA256 (golang-snappy-v0.0.1_GH0.tar.gz) = b1d97f47fcb61cb0cdd54bc424eda980c47838effb0ec9e322506514a50fee85
-SIZE (golang-snappy-v0.0.1_GH0.tar.gz) = 62605
-SHA256 (golang-sys-85ca7c5b95cd_GH0.tar.gz) = 06a5cbc446381df9653d4b410239720eea6b27461597de88f3e621664c811294
-SIZE (golang-sys-85ca7c5b95cd_GH0.tar.gz) = 1047239
-SHA256 (google-gopacket-v1.1.18_GH0.tar.gz) = 5990671bbbe60d520a846fd87a3c56b125119c1808c761cc5e195c08f9e61be1
-SIZE (google-gopacket-v1.1.18_GH0.tar.gz) = 938764
-SHA256 (hashicorp-go-uuid-v1.0.2_GH0.tar.gz) = 2dee0f810c3e3a2cd3d49a075d0a64a88806c90712a4b66013b20a1ff0562eae
-SIZE (hashicorp-go-uuid-v1.0.2_GH0.tar.gz) = 7058
-SHA256 (jcmturner-aescts-v1.0.1_GH0.tar.gz) = 89d8aa45b05c9cd5e66c40a5c4f3a5224dbf9632d1fd1e27d05f2ad26effae32
-SIZE (jcmturner-aescts-v1.0.1_GH0.tar.gz) = 7311
-SHA256 (jcmturner-dnsutils-v1.0.1_GH0.tar.gz) = 9781a79a5b46e6ad245d238d1be1b37d8eab9ca9e57edb575ef0af158adeeefb
-SIZE (jcmturner-dnsutils-v1.0.1_GH0.tar.gz) = 6346
-SHA256 (jcmturner-gofork-v1.0.0_GH0.tar.gz) = d85188110837abd563dca4d9013665f82348a541beb47ee08207e70a161c9755
-SIZE (jcmturner-gofork-v1.0.0_GH0.tar.gz) = 27036
-SHA256 (jcmturner-gokrb5-v7.5.0_GH0.tar.gz) = 1a3d2c93275bfa4d373b7915821bd549d1db27340ac78af4b56cb4041b79f159
-SIZE (jcmturner-gokrb5-v7.5.0_GH0.tar.gz) = 115323097
-SHA256 (jcmturner-rpc-v1.1.0_GH0.tar.gz) = 4ec57839cacb49d87fe22d4ee4286daf4944808d9af09739d218c62255f364b7
-SIZE (jcmturner-rpc-v1.1.0_GH0.tar.gz) = 28845
-SHA256 (jmespath-go-jmespath-v0.3.0_GH0.tar.gz) = 3ecaa95ad8c9b2805f3de299133f112f198b5829de6ca0e27fa28b9f4801e18a
-SIZE (jmespath-go-jmespath-v0.3.0_GH0.tar.gz) = 49962
-SHA256 (klauspost-compress-v1.10.10_GH0.tar.gz) = 0d4eb5e4fff1474b73c7ca955315999a6ab3d28cab9481b1876afe7e7965b048
-SIZE (klauspost-compress-v1.10.10_GH0.tar.gz) = 18117408
-SHA256 (mattbaird-elastigo-2fe47fd29e4b_GH0.tar.gz) = 5e8f8993dc24e5e9b13ef86ae6f499aa25f9935bc380a677465e0637b1fab441
-SIZE (mattbaird-elastigo-2fe47fd29e4b_GH0.tar.gz) = 76759
-SHA256 (pierrec-lz4-v2.5.2_GH0.tar.gz) = bf5ad1ce74f264bad828cea8a546e5d2100a7ab67695bf7badcbe14c57ec4df4
-SIZE (pierrec-lz4-v2.5.2_GH0.tar.gz) = 20509582
-SHA256 (rcrowley-go-metrics-10cdbea86bc0_GH0.tar.gz) = 3f1c492e20be6214a1211602bf2675d42cff5fa59c452a231557e3add587e57c
-SIZE (rcrowley-go-metrics-10cdbea86bc0_GH0.tar.gz) = 37583
-SHA256 (smartystreets-goconvey-v1.6.4_GH0.tar.gz) = 88714f84d0a989c4ba60e1f2b65e426dc7e23058ca0b9f06cb77613cb22b010b
-SIZE (smartystreets-goconvey-v1.6.4_GH0.tar.gz) = 1478622
+TIMESTAMP = 1660201812
+SHA256 (go/net_goreplay/goreplay-v1.3.2/v1.3.2.mod) = 57453819dc8534c358d283f605353e97fee3ce39b6cb9a0969ddb0c81f2acb5f
+SIZE (go/net_goreplay/goreplay-v1.3.2/v1.3.2.mod) = 836
+SHA256 (go/net_goreplay/goreplay-v1.3.2/v1.3.2.zip) = 527d7622626afb04b8475c4d0d0d24d73040dbf36581fcc3acb4e8932c3f8b02
+SIZE (go/net_goreplay/goreplay-v1.3.2/v1.3.2.zip) = 216408
diff --git a/net/goreplay/files/patch-size_size.go b/net/goreplay/files/patch-size_size.go
deleted file mode 100644
index cd6f78d1b992..000000000000
--- a/net/goreplay/files/patch-size_size.go
+++ /dev/null
@@ -1,11 +0,0 @@
---- size/size.go.orig	2020-09-21 17:38:18 UTC
-+++ size/size.go
-@@ -7,7 +7,7 @@ import (
- )
- 
- // Size represents size that implements flag.Var
--type Size int
-+type Size int64
- 
- // the following regexes follow Go semantics https://golang.org/ref/spec#Letters_and_digits
- var (