git: 3a95451877d2 - main - net/gobgp: update 2.23.0 -> 3.0.0

From: Kurt Jaeger <pi_at_FreeBSD.org>
Date: Sat, 30 Apr 2022 14:31:37 UTC
The branch main has been updated by pi:

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

commit 3a95451877d2079cff5a345604755b07b5252343
Author:     Jordan Bracco <href@random.sh>
AuthorDate: 2022-04-30 14:28:20 +0000
Commit:     Kurt Jaeger <pi@FreeBSD.org>
CommitDate: 2022-04-30 14:31:19 +0000

    net/gobgp: update 2.23.0 -> 3.0.0
    
    PR:             262596
---
 net/gobgp/Makefile | 55 ++++-------------------------------
 net/gobgp/distinfo | 84 ++++--------------------------------------------------
 2 files changed, 11 insertions(+), 128 deletions(-)

diff --git a/net/gobgp/Makefile b/net/gobgp/Makefile
index 08786f6799e0..e1376971e6ef 100644
--- a/net/gobgp/Makefile
+++ b/net/gobgp/Makefile
@@ -1,7 +1,6 @@
 PORTNAME=	gobgp
-PORTVERSION=	2.23.0
+PORTVERSION=	3.0.0
 DISTVERSIONPREFIX=	v
-PORTREVISION=	1
 CATEGORIES=	net
 DIST_SUBDIR=	gobgp
 
@@ -12,52 +11,13 @@ LICENSE=	APACHE20
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		go:modules
-USE_GITHUB=	yes
+USE_RC_SUBR=	gobgpd
+GO_MODULE=	github.com/osrg/gobgp/v3
+GO_TARGET=	./cmd/gobgp ./cmd/gobgpd:${PREFIX}/libexec/gobgpd
 
-GO_PKGNAME=	github.com/${GH_ACCOUNT}/${PORTNAME}
-GO_TARGET=	./cmd/gobgp \
-		./cmd/gobgpd:${PREFIX}/libexec/gobgpd
-GH_ACCOUNT=	osrg
+SUB_FILES=	gobgpd
 PLIST_FILES=	bin/gobgp libexec/gobgpd
-GH_TUPLE=	\
-		BurntSushi:toml:v0.3.1:burntsushi_toml/vendor/github.com/BurntSushi/toml \
-		coreos:go-systemd:95778dfbb74e:coreos_go_systemd/vendor/github.com/coreos/go-systemd \
-		davecgh:go-spew:v1.1.1:davecgh_go_spew/vendor/github.com/davecgh/go-spew \
-		dgryski:go-farm:ac7624ea8da3:dgryski_go_farm/vendor/github.com/dgryski/go-farm \
-		eapache:channels:v1.1.0:eapache_channels/vendor/github.com/eapache/channels \
-		eapache:queue:v1.1.0:eapache_queue/vendor/github.com/eapache/queue \
-		fsnotify:fsnotify:v1.4.2:fsnotify_fsnotify/vendor/github.com/fsnotify/fsnotify \
-		go-test:deep:v1.0.6:go_test_deep/vendor/github.com/go-test/deep \
-		go-yaml:yaml:913338de1bd2:go_yaml_yaml_1/vendor/gopkg.in/yaml.v3 \
-		go-yaml:yaml:v2.2.8:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
-		golang:net:3c3fba18258b:golang_net/vendor/golang.org/x/net \
-		golang:protobuf:v1.0.0:golang_protobuf/vendor/github.com/golang/protobuf \
-		golang:sys:85ca7c5b95cd:golang_sys/vendor/golang.org/x/sys \
-		golang:text:v0.3.2:golang_text/vendor/golang.org/x/text \
-		google:go-genproto:09f6ed296fc6:google_go_genproto/vendor/google.golang.org/genproto \
-		google:uuid:v1.1.1:google_uuid/vendor/github.com/google/uuid \
-		grpc:grpc-go:v1.5.1:grpc_grpc_go/vendor/google.golang.org/grpc \
-		hashicorp:hcl:392dba7d905e:hashicorp_hcl/vendor/github.com/hashicorp/hcl \
-		inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \
-		jessevdk:go-flags:v1.3.0:jessevdk_go_flags/vendor/github.com/jessevdk/go-flags \
-		k-sone:critbitgo:48c9e1530131:k_sone_critbitgo/vendor/github.com/k-sone/critbitgo \
-		kr:pretty:v0.2.0:kr_pretty/vendor/github.com/kr/pretty \
-		kr:text:v0.2.0:kr_text/vendor/github.com/kr/text \
-		magiconair:properties:v1.7.3:magiconair_properties/vendor/github.com/magiconair/properties \
-		mitchellh:mapstructure:d0303fe80992:mitchellh_mapstructure/vendor/github.com/mitchellh/mapstructure \
-		pelletier:go-buffruneio:v0.2.0:pelletier_go_buffruneio/vendor/github.com/pelletier/go-buffruneio \
-		pelletier:go-toml:v1.0.0:pelletier_go_toml/vendor/github.com/pelletier/go-toml \
-		pmezard:go-difflib:v1.0.0:pmezard_go_difflib/vendor/github.com/pmezard/go-difflib \
-		sirupsen:logrus:a3f95b5c4235:sirupsen_logrus/vendor/github.com/sirupsen/logrus \
-		spf13:afero:9be650865eab:spf13_afero/vendor/github.com/spf13/afero \
-		spf13:cast:v1.1.0:spf13_cast/vendor/github.com/spf13/cast \
-		spf13:cobra:b26b538f6930:spf13_cobra/vendor/github.com/spf13/cobra \
-		spf13:jwalterweatherman:0efa5202c046:spf13_jwalterweatherman/vendor/github.com/spf13/jwalterweatherman \
-		spf13:pflag:v1.0.0:spf13_pflag/vendor/github.com/spf13/pflag \
-		spf13:viper:v1.0.0:spf13_viper/vendor/github.com/spf13/viper \
-		stretchr:testify:v1.6.0:stretchr_testify/vendor/github.com/stretchr/testify \
-		vishvananda:netlink:a95659537721:vishvananda_netlink/vendor/github.com/vishvananda/netlink \
-		vishvananda:netns:86bef332bfc3:vishvananda_netns/vendor/github.com/vishvananda/netns
+
 OPTIONS_DEFINE=	BASH ZSH
 OPTIONS_DEFAULT=BASH ZSH
 
@@ -66,9 +26,6 @@ BASH_PLIST_FILES=	etc/bash_completion.d/gobgp-completion.bash \
 			etc/bash_completion.d/gobgp-static-completion.bash
 ZSH_PLIST_FILES=	share/zsh/site-functions/_gobgp
 
-USE_RC_SUBR=	gobgpd
-SUB_FILES=	gobgpd
-
 post-install-BASH-on:
 	${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
 	${INSTALL_DATA} ${GO_WRKSRC}/tools/completion/gobgp*-completion.bash ${STAGEDIR}${PREFIX}/etc/bash_completion.d/
diff --git a/net/gobgp/distinfo b/net/gobgp/distinfo
index 97f619169deb..feefd18ebaf6 100644
--- a/net/gobgp/distinfo
+++ b/net/gobgp/distinfo
@@ -1,79 +1,5 @@
-TIMESTAMP = 1610280502
-SHA256 (gobgp/osrg-gobgp-v2.23.0_GH0.tar.gz) = d637af13808aba5e998fed3f8b3f90cf583ec23111bd55475351fc26b57e7eea
-SIZE (gobgp/osrg-gobgp-v2.23.0_GH0.tar.gz) = 1029320
-SHA256 (gobgp/BurntSushi-toml-v0.3.1_GH0.tar.gz) = 6593da894578ba510a470735ffbdc88ce88033094dc5a8f4d3957ab87e18803f
-SIZE (gobgp/BurntSushi-toml-v0.3.1_GH0.tar.gz) = 42077
-SHA256 (gobgp/coreos-go-systemd-95778dfbb74e_GH0.tar.gz) = 4df631756d675518bcf61e9d34e5fb8cc69310b4c9eb5878e8641121d4daedd3
-SIZE (gobgp/coreos-go-systemd-95778dfbb74e_GH0.tar.gz) = 64114
-SHA256 (gobgp/davecgh-go-spew-v1.1.1_GH0.tar.gz) = 7d82b9bb7291adbe7498fe946920ab3e7fc9e6cbfc3b2294693fad00bf0dd17e
-SIZE (gobgp/davecgh-go-spew-v1.1.1_GH0.tar.gz) = 42152
-SHA256 (gobgp/dgryski-go-farm-ac7624ea8da3_GH0.tar.gz) = 1059f66d3f30a35136bef20b52e1814e596bc9bcefb8d625dfa171688dd8cf58
-SIZE (gobgp/dgryski-go-farm-ac7624ea8da3_GH0.tar.gz) = 20513
-SHA256 (gobgp/eapache-channels-v1.1.0_GH0.tar.gz) = 443b9361ff7db635b830e84d8eb0830477083efba53fb0c531af04e07cde3a59
-SIZE (gobgp/eapache-channels-v1.1.0_GH0.tar.gz) = 11705
-SHA256 (gobgp/eapache-queue-v1.1.0_GH0.tar.gz) = 2be4716ba2bba5f7c125a8fe72ba534f02cf0d7d98d3a372d4ebe54b170f7329
-SIZE (gobgp/eapache-queue-v1.1.0_GH0.tar.gz) = 3502
-SHA256 (gobgp/fsnotify-fsnotify-v1.4.2_GH0.tar.gz) = 4a1fd9beeb0496b9cf6084ac83654ece19188e9b2ffa041652d1071d4b225415
-SIZE (gobgp/fsnotify-fsnotify-v1.4.2_GH0.tar.gz) = 29552
-SHA256 (gobgp/go-test-deep-v1.0.6_GH0.tar.gz) = efb077dfe783aeabc04756a5d04b3f16202073a558d8ebdc020b53d28e428a4c
-SIZE (gobgp/go-test-deep-v1.0.6_GH0.tar.gz) = 9575
-SHA256 (gobgp/go-yaml-yaml-913338de1bd2_GH0.tar.gz) = f5c0400359c4b2178278571197b14df2fce013b5a27df5fa84ab96f84b95229f
-SIZE (gobgp/go-yaml-yaml-913338de1bd2_GH0.tar.gz) = 87064
-SHA256 (gobgp/go-yaml-yaml-v2.2.8_GH0.tar.gz) = 9632d0760e9a07c414f2b2b6cd453d6225e42ecea77906883b23f1f1d0546045
-SIZE (gobgp/go-yaml-yaml-v2.2.8_GH0.tar.gz) = 72732
-SHA256 (gobgp/golang-net-3c3fba18258b_GH0.tar.gz) = 94df3283789155d9652a1035dab57fa60e471abbbc65dea36b97b4c269e3ebd2
-SIZE (gobgp/golang-net-3c3fba18258b_GH0.tar.gz) = 1177169
-SHA256 (gobgp/golang-protobuf-v1.0.0_GH0.tar.gz) = 378eb25acba0056bdf1011f20e3df7a139d3372306df09949011e5642b739cb1
-SIZE (gobgp/golang-protobuf-v1.0.0_GH0.tar.gz) = 269544
-SHA256 (gobgp/golang-sys-85ca7c5b95cd_GH0.tar.gz) = 06a5cbc446381df9653d4b410239720eea6b27461597de88f3e621664c811294
-SIZE (gobgp/golang-sys-85ca7c5b95cd_GH0.tar.gz) = 1047239
-SHA256 (gobgp/golang-text-v0.3.2_GH0.tar.gz) = 0b9309698f5708531c5377ab1e29b423a6d9e20c55a8d386c3b8283428212f22
-SIZE (gobgp/golang-text-v0.3.2_GH0.tar.gz) = 7168069
-SHA256 (gobgp/google-go-genproto-09f6ed296fc6_GH0.tar.gz) = 81066ad3158ec118e84b4981b3c793720a02fbdefe41153b5e18b6e296fcb293
-SIZE (gobgp/google-go-genproto-09f6ed296fc6_GH0.tar.gz) = 952886
-SHA256 (gobgp/google-uuid-v1.1.1_GH0.tar.gz) = bebd4b0b4ea152a9793615ef23c83f688876d8c284a2092264d20a4bf4ffc423
-SIZE (gobgp/google-uuid-v1.1.1_GH0.tar.gz) = 13543
-SHA256 (gobgp/grpc-grpc-go-v1.5.1_GH0.tar.gz) = d93d7e7e8a6d59c26f0f82b32c2b34299016aa56766a4d426331038fb3e35545
-SIZE (gobgp/grpc-grpc-go-v1.5.1_GH0.tar.gz) = 302765
-SHA256 (gobgp/hashicorp-hcl-392dba7d905e_GH0.tar.gz) = 11198e365257a8f3455023aa4db78b01b4f44408e8e21ca04aab171453bdfd69
-SIZE (gobgp/hashicorp-hcl-392dba7d905e_GH0.tar.gz) = 69715
-SHA256 (gobgp/inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 5edc7731c819c305623568e317aa253d342be3447def97f1fa9e10eb5ad819f6
-SIZE (gobgp/inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 2290
-SHA256 (gobgp/jessevdk-go-flags-v1.3.0_GH0.tar.gz) = e0f9f94adbea4b2df5e6185d3e402dbe472816e2d76ac44ee8d2688175d7bb36
-SIZE (gobgp/jessevdk-go-flags-v1.3.0_GH0.tar.gz) = 55446
-SHA256 (gobgp/k-sone-critbitgo-48c9e1530131_GH0.tar.gz) = 4a76ae6c14c34d0c262c8e821267e24b10db81b541706f7296ac3a3b518b3ec2
-SIZE (gobgp/k-sone-critbitgo-48c9e1530131_GH0.tar.gz) = 9840
-SHA256 (gobgp/kr-pretty-v0.2.0_GH0.tar.gz) = 6dc2207cfe03d3b9d65460cbada52c533ed273726a78d9f485c439ad813fe990
-SIZE (gobgp/kr-pretty-v0.2.0_GH0.tar.gz) = 8760
-SHA256 (gobgp/kr-text-v0.2.0_GH0.tar.gz) = 59b5e4a7fd4097be87fad0edcaf342fdc971d0c8fdfb4f2d7424561471992e7c
-SIZE (gobgp/kr-text-v0.2.0_GH0.tar.gz) = 8699
-SHA256 (gobgp/magiconair-properties-v1.7.3_GH0.tar.gz) = 984fdc5c5d303e4c85975e3a8e15ac7217f48998c262388b21dbceb94010b1a8
-SIZE (gobgp/magiconair-properties-v1.7.3_GH0.tar.gz) = 27512
-SHA256 (gobgp/mitchellh-mapstructure-d0303fe80992_GH0.tar.gz) = 92f9bdb6a6674e4d3c1e63f670dbc64cc92bc320f2abc39df3c28dfa8a151eff
-SIZE (gobgp/mitchellh-mapstructure-d0303fe80992_GH0.tar.gz) = 15560
-SHA256 (gobgp/pelletier-go-buffruneio-v0.2.0_GH0.tar.gz) = 2a838bbc3240d323549c9e6820cbf66199296d2706e72697685ee9576affd49f
-SIZE (gobgp/pelletier-go-buffruneio-v0.2.0_GH0.tar.gz) = 3028
-SHA256 (gobgp/pelletier-go-toml-v1.0.0_GH0.tar.gz) = 068455531f9a8cb9cad590d2d9a02bc25180737868de640849d85a5b99a0ce37
-SIZE (gobgp/pelletier-go-toml-v1.0.0_GH0.tar.gz) = 47009
-SHA256 (gobgp/pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 28f3dc1b5c0efd61203ab07233f774740d3bf08da4d8153fb5310db6cea0ebda
-SIZE (gobgp/pmezard-go-difflib-v1.0.0_GH0.tar.gz) = 11398
-SHA256 (gobgp/sirupsen-logrus-a3f95b5c4235_GH0.tar.gz) = 2021fc539ff0a25ebe54bbb37527f135d7cbbaebe0504846753b7b2f21b85f8a
-SIZE (gobgp/sirupsen-logrus-a3f95b5c4235_GH0.tar.gz) = 28455
-SHA256 (gobgp/spf13-afero-9be650865eab_GH0.tar.gz) = e455d4ae29952c7e361664957b1c248eb9b3ec4c547f178645266952fecbd22d
-SIZE (gobgp/spf13-afero-9be650865eab_GH0.tar.gz) = 40623
-SHA256 (gobgp/spf13-cast-v1.1.0_GH0.tar.gz) = 2758eb969dd8707c0ff165fda4191fd8811e19b0c5d29d3dced0fba1b4410ad4
-SIZE (gobgp/spf13-cast-v1.1.0_GH0.tar.gz) = 9592
-SHA256 (gobgp/spf13-cobra-b26b538f6930_GH0.tar.gz) = 8326acb9d680c581f6d5c8b41a2ddcf77c1ee2bb703a9868f0e7f641df60bed0
-SIZE (gobgp/spf13-cobra-b26b538f6930_GH0.tar.gz) = 100127
-SHA256 (gobgp/spf13-jwalterweatherman-0efa5202c046_GH0.tar.gz) = 52ee9f8b3af8eb883f5085d712b0bef85d953b8f67f41598a384ee865f16ba21
-SIZE (gobgp/spf13-jwalterweatherman-0efa5202c046_GH0.tar.gz) = 6349
-SHA256 (gobgp/spf13-pflag-v1.0.0_GH0.tar.gz) = 690b86ae5499fad84ada4644c85215d66d56f31934683e8543f4c57c5048e011
-SIZE (gobgp/spf13-pflag-v1.0.0_GH0.tar.gz) = 38988
-SHA256 (gobgp/spf13-viper-v1.0.0_GH0.tar.gz) = 50c1c336095ce0e7edf414c25f80f3f01b65457b092752252f2c47af85c8c99e
-SIZE (gobgp/spf13-viper-v1.0.0_GH0.tar.gz) = 30804
-SHA256 (gobgp/stretchr-testify-v1.6.0_GH0.tar.gz) = a5c33d77640da2fc2d8db091f9ecdf99214c64f19e7264493bff728706f00bda
-SIZE (gobgp/stretchr-testify-v1.6.0_GH0.tar.gz) = 84517
-SHA256 (gobgp/vishvananda-netlink-a95659537721_GH0.tar.gz) = dad4fb75bf646bbb83de81b1565f980f443facd26680469c630ad98160a31bbf
-SIZE (gobgp/vishvananda-netlink-a95659537721_GH0.tar.gz) = 103179
-SHA256 (gobgp/vishvananda-netns-86bef332bfc3_GH0.tar.gz) = ed1be9a3a05f4963b69c73cb25c2f34e5430957b6de48bde41fdd6eeb1097cad
-SIZE (gobgp/vishvananda-netns-86bef332bfc3_GH0.tar.gz) = 7743
+TIMESTAMP = 1647439182
+SHA256 (go/net_gobgp/gobgp-v3.0.0/v3.0.0.mod) = 46f03ab424d0f425bd8bf05d5aa323f16b03da79e2722b90f811faa937a281e3
+SIZE (go/net_gobgp/gobgp-v3.0.0/v3.0.0.mod) = 1062
+SHA256 (go/net_gobgp/gobgp-v3.0.0/v3.0.0.zip) = da81e4e4ece69b5f53ba750c5d94a042c843fd35ed7cae02aa257d074dcec2be
+SIZE (go/net_gobgp/gobgp-v3.0.0/v3.0.0.zip) = 1236219