git: 719ab1d0c043 - main - net/rospo: update to 0.9.1

From: Fernando Apesteguía <fernape_at_FreeBSD.org>
Date: Wed, 09 Mar 2022 14:28:40 UTC
The branch main has been updated by fernape:

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

commit 719ab1d0c0433c1d398b1e21dde89ae5f8906ed2
Author:     Robert Clausecker <fuz@fuz.su>
AuthorDate: 2022-03-09 13:15:47 +0000
Commit:     Fernando Apesteguía <fernape@FreeBSD.org>
CommitDate: 2022-03-09 14:26:52 +0000

    net/rospo: update to 0.9.1
    
    ChangeLog: https://github.com/ferama/rospo/releases
    
    PR:     262299
    Reported by:    fuz@fuz.su (maintainer)
---
 net/rospo/Makefile | 32 ++++++++++++++++++++++++--------
 net/rospo/distinfo | 32 +++++++++++++++++---------------
 2 files changed, 41 insertions(+), 23 deletions(-)

diff --git a/net/rospo/Makefile b/net/rospo/Makefile
index 8c6364b9fe68..1ba33abae6f7 100644
--- a/net/rospo/Makefile
+++ b/net/rospo/Makefile
@@ -1,6 +1,6 @@
 PORTNAME=	rospo
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.8.0
+DISTVERSION=	0.9.1
 CATEGORIES=	net net-vpn sysutils
 MASTER_SITES=	https://github.com/ferama/rospo/releases/download/v${DISTVERSION}/ui-artifacts.tar.gz?dummy=/:artifacts
 DISTFILES=	${PORTNAME}-ui-artifacts-${DISTVERSION}.tar.gz:artifacts
@@ -17,34 +17,37 @@ GH_ACCOUNT=	ferama
 GH_TUPLE=	creack:pty:v1.1.17:creack_pty/vendor/github.com/creack/pty \
 		gin-contrib:cors:v1.3.1:gin_contrib_cors/vendor/github.com/gin-contrib/cors \
 		gin-contrib:sse:v0.1.0:gin_contrib_sse/vendor/github.com/gin-contrib/sse \
-		gin-gonic:gin:v1.7.4:gin_gonic_gin/vendor/github.com/gin-gonic/gin \
+		gin-gonic:gin:v1.7.7:gin_gonic_gin/vendor/github.com/gin-gonic/gin \
 		go-playground:locales:v0.14.0:go_playground_locales/vendor/github.com/go-playground/locales \
 		go-playground:universal-translator:v0.18.0:go_playground_universal_translator/vendor/github.com/go-playground/universal-translator \
-		go-playground:validator:v10.9.0:go_playground_validator_v10/vendor/github.com/go-playground/validator/v10 \
+		go-playground:validator:v10.10.0:go_playground_validator_v10/vendor/github.com/go-playground/validator/v10 \
 		go-yaml:yaml:v2.4.0:go_yaml_yaml/vendor/gopkg.in/yaml.v2 \
-		golang:crypto:089bfa567519:golang_crypto/vendor/golang.org/x/crypto \
+		golang:crypto:86341886e292:golang_crypto/vendor/golang.org/x/crypto \
 		golang:protobuf:v1.5.2:golang_protobuf/vendor/github.com/golang/protobuf \
-		golang:sys:7861aae1554b:golang_sys/vendor/golang.org/x/sys \
+		golang:sys:3681064d5158:golang_sys/vendor/golang.org/x/sys \
 		golang:term:03fcf44c2211:golang_term/vendor/golang.org/x/term \
 		golang:text:v0.3.7:golang_text/vendor/golang.org/x/text \
 		inconshreveable:mousetrap:v1.0.0:inconshreveable_mousetrap/vendor/github.com/inconshreveable/mousetrap \
 		json-iterator:go:v1.1.12:json_iterator_go/vendor/github.com/json-iterator/go \
+		judwhite:go-svc:v1.2.1:judwhite_go_svc/vendor/github.com/judwhite/go-svc \
 		leodido:go-urn:v1.2.1:leodido_go_urn/vendor/github.com/leodido/go-urn \
 		mattn:go-isatty:v0.0.14:mattn_go_isatty/vendor/github.com/mattn/go-isatty \
 		modern-go:concurrent:bacd9c7ef1dd:modern_go_concurrent/vendor/github.com/modern-go/concurrent \
 		modern-go:reflect2:v1.0.2:modern_go_reflect2/vendor/github.com/modern-go/reflect2 \
 		protocolbuffers:protobuf-go:v1.27.1:protocolbuffers_protobuf_go/vendor/google.golang.org/protobuf \
-		spf13:cobra:v1.2.1:spf13_cobra/vendor/github.com/spf13/cobra \
+		spf13:cobra:v1.3.0:spf13_cobra/vendor/github.com/spf13/cobra \
 		spf13:pflag:v1.0.5:spf13_pflag/vendor/github.com/spf13/pflag \
 		ugorji:go:v1.2.6:ugorji_go_codec/vendor/github.com/ugorji/go
 
 GO_BUILDFLAGS=	-ldflags="-X github.com/ferama/rospo/cmd.Version=${DISTVERSION}"
 
-PLIST_FILES=	bin/rospo
+PLIST_FILES=	bin/rospo \
+		etc/bash_completion.d/rospo \
+		share/fish/vendor_completions.d/rospo.fish \
+		share/zsh/site_functions/_rospo
 PORTDOCS=	README.md \
 		configs/config_template.yaml \
 		img/home.png \
-		img/pipes.png \
 		img/tunnels.png
 
 OPTIONS_DEFINE=	DOCS
@@ -52,7 +55,20 @@ OPTIONS_DEFINE=	DOCS
 post-extract:
 	@${MV} ${WRKDIR}/pkg/web/ui/build ${WRKSRC}/pkg/web/ui/build
 
+post-install:
+	@${ECHO_MSG} '====> installing shell completion files'
+	${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d
+	${GO_WRKDIR_BIN}/rospo completion bash \
+	    >${STAGEDIR}${PREFIX}/etc/bash_completion.d/rospo
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d
+	${GO_WRKDIR_BIN}/rospo completion fish \
+	    >${STAGEDIR}${PREFIX}/share/fish/vendor_completions.d/rospo.fish
+	${MKDIR} ${STAGEDIR}${PREFIX}/share/zsh/site_functions
+	${GO_WRKDIR_BIN}/rospo completion zsh \
+	    >${STAGEDIR}${PREFIX}/share/zsh/site_functions/_rospo
+
 post-install-DOCS-on:
+	@${ECHO_MSG} '====> installing documentation files'
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/configs
 	${MKDIR} ${STAGEDIR}${DOCSDIR}/img
 .for doc in ${PORTDOCS}
diff --git a/net/rospo/distinfo b/net/rospo/distinfo
index 119bff92058c..063496293d2d 100644
--- a/net/rospo/distinfo
+++ b/net/rospo/distinfo
@@ -1,30 +1,30 @@
-TIMESTAMP = 1641640111
-SHA256 (rospo-ui-artifacts-0.8.0.tar.gz) = 5dd2e92f26e7ef22fcb4eec728d7d3626547b375c107faf2bd9a17b8f9448e65
-SIZE (rospo-ui-artifacts-0.8.0.tar.gz) = 1566838
-SHA256 (ferama-rospo-v0.8.0_GH0.tar.gz) = e7d6da0949765bd86dc833a4a3585ae8a467c30e36d5a466829214bb38af8610
-SIZE (ferama-rospo-v0.8.0_GH0.tar.gz) = 3995812
+TIMESTAMP = 1646234091
+SHA256 (rospo-ui-artifacts-0.9.1.tar.gz) = 7a23b95cdbee5257ae16274586b6df104a493606b5e5b077dd1b01d8e63a29b7
+SIZE (rospo-ui-artifacts-0.9.1.tar.gz) = 1567437
+SHA256 (ferama-rospo-v0.9.1_GH0.tar.gz) = ed036506d58826f5494e7e67038c137e6735fa4ccc199cd18c9dae3da41a46b8
+SIZE (ferama-rospo-v0.9.1_GH0.tar.gz) = 3779657
 SHA256 (creack-pty-v1.1.17_GH0.tar.gz) = 0e80751ab6f85cccee8cb20fbeeb970d69854aa19c857a26f7fdaabfbc20d66d
 SIZE (creack-pty-v1.1.17_GH0.tar.gz) = 9960
 SHA256 (gin-contrib-cors-v1.3.1_GH0.tar.gz) = 1e6a11076de6e4c0608e2b1167cee319a89761a233c85c8402d2432656096edc
 SIZE (gin-contrib-cors-v1.3.1_GH0.tar.gz) = 9765
 SHA256 (gin-contrib-sse-v0.1.0_GH0.tar.gz) = e92addababc6e94d319606d45fa9ed7fe7b0e0748d8a918ae8acf5b0b87d7889
 SIZE (gin-contrib-sse-v0.1.0_GH0.tar.gz) = 6109
-SHA256 (gin-gonic-gin-v1.7.4_GH0.tar.gz) = 9d912254dc27fa8f5692175479a4e3043e588f090ecaae582e8671fec12ad7b8
-SIZE (gin-gonic-gin-v1.7.4_GH0.tar.gz) = 143472
+SHA256 (gin-gonic-gin-v1.7.7_GH0.tar.gz) = 1454da7afc52c0d2bd23a1c2232ddf81f9592531353a0d9844c20720d62f2757
+SIZE (gin-gonic-gin-v1.7.7_GH0.tar.gz) = 146947
 SHA256 (go-playground-locales-v0.14.0_GH0.tar.gz) = ec0773309a3be0713aca1cf45342a4bded0b8394482bc1e11fe5b7b46e751dc4
 SIZE (go-playground-locales-v0.14.0_GH0.tar.gz) = 4363556
 SHA256 (go-playground-universal-translator-v0.18.0_GH0.tar.gz) = 80858c09759ac21c5dea3c5d99a590cfe42b468afcc11c914fe180dff95a1e30
 SIZE (go-playground-universal-translator-v0.18.0_GH0.tar.gz) = 37195
-SHA256 (go-playground-validator-v10.9.0_GH0.tar.gz) = d9e31aa45fae054fec8911125e7aa1f3e6fea0a9954dfc2d4d2a54479f25844a
-SIZE (go-playground-validator-v10.9.0_GH0.tar.gz) = 204809
+SHA256 (go-playground-validator-v10.10.0_GH0.tar.gz) = 62cd9cf24f6c96a491f55ad9fbf7f8aa41cdcae154a262687fd90e9d17c99f0f
+SIZE (go-playground-validator-v10.10.0_GH0.tar.gz) = 206431
 SHA256 (go-yaml-yaml-v2.4.0_GH0.tar.gz) = d8e94679e5fff6bd1a35e10241543929a5f3da44f701755babf99b3daf0faac0
 SIZE (go-yaml-yaml-v2.4.0_GH0.tar.gz) = 73209
-SHA256 (golang-crypto-089bfa567519_GH0.tar.gz) = 2ed1af12d13ad0cfe08ac49d51dfad4b8d7f5e4693fbddfa3ef53bd80c9555ab
-SIZE (golang-crypto-089bfa567519_GH0.tar.gz) = 1734789
+SHA256 (golang-crypto-86341886e292_GH0.tar.gz) = 92b4ef34c44645bf9e6fccc20ca0a4307ef1e4e526f583141c05832182124b6b
+SIZE (golang-crypto-86341886e292_GH0.tar.gz) = 1628070
 SHA256 (golang-protobuf-v1.5.2_GH0.tar.gz) = 088cc0f3ba18fb8f9d00319568ff0af5a06d8925a6e6cb983bb837b4efb703b3
 SIZE (golang-protobuf-v1.5.2_GH0.tar.gz) = 171702
-SHA256 (golang-sys-7861aae1554b_GH0.tar.gz) = 4adbb37f5a96afb78bb90fb0e0b2f9b0dbe0eb1e3e15633c6711a3b0ed23dd6f
-SIZE (golang-sys-7861aae1554b_GH0.tar.gz) = 1222140
+SHA256 (golang-sys-3681064d5158_GH0.tar.gz) = c084b1b6a081b78986c7364ec483397d6c128aa447ab672aa132fda309bd4db7
+SIZE (golang-sys-3681064d5158_GH0.tar.gz) = 1258557
 SHA256 (golang-term-03fcf44c2211_GH0.tar.gz) = 1919967c8fbf15de9261a2315d90072357524ee557d7df106b426def02a8e5f3
 SIZE (golang-term-03fcf44c2211_GH0.tar.gz) = 14972
 SHA256 (golang-text-v0.3.7_GH0.tar.gz) = 7cab2f6c3133ac1d422edd952b0dd2082fa55a73c2663fb2defd9bf83d649b26
@@ -33,6 +33,8 @@ SHA256 (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 5edc7731c819c305623568e31
 SIZE (inconshreveable-mousetrap-v1.0.0_GH0.tar.gz) = 2290
 SHA256 (json-iterator-go-v1.1.12_GH0.tar.gz) = ff70e539fd919da757a2f3a530a053e7577cb4d7e2824fc1058d3abbefbb523e
 SIZE (json-iterator-go-v1.1.12_GH0.tar.gz) = 84307
+SHA256 (judwhite-go-svc-v1.2.1_GH0.tar.gz) = e91b6b8dc4be24cdaef507971bcb3c60dd002ac18e3d6223fe17600bd6bb8e6e
+SIZE (judwhite-go-svc-v1.2.1_GH0.tar.gz) = 8516
 SHA256 (leodido-go-urn-v1.2.1_GH0.tar.gz) = b3d5bf4aa0eca3cf0e228267697b58c6d7bab5f3a154ac0bb0f3dcb7d1b2f2ce
 SIZE (leodido-go-urn-v1.2.1_GH0.tar.gz) = 1102833
 SHA256 (mattn-go-isatty-v0.0.14_GH0.tar.gz) = e6460325edf600297cf2ef68834938fb1c5b8d5f234b3b24ec7c0a29a2d70b39
@@ -43,8 +45,8 @@ SHA256 (modern-go-reflect2-v1.0.2_GH0.tar.gz) = eab313f24c09d512f004d489aeed0d0a
 SIZE (modern-go-reflect2-v1.0.2_GH0.tar.gz) = 14030
 SHA256 (protocolbuffers-protobuf-go-v1.27.1_GH0.tar.gz) = 3ec41a8324431e72f85e0dc0c2c098cc14c3cb1ee8820996c8f46afca2d65609
 SIZE (protocolbuffers-protobuf-go-v1.27.1_GH0.tar.gz) = 1278521
-SHA256 (spf13-cobra-v1.2.1_GH0.tar.gz) = 382d414ff7b8f421ae07d32d5a17161718b45bdd00de86dc107a34e639857794
-SIZE (spf13-cobra-v1.2.1_GH0.tar.gz) = 161312
+SHA256 (spf13-cobra-v1.3.0_GH0.tar.gz) = 5b6a1d841561112a68a46dfa58f8fd86a06abb8838cf86d085738a306fe91357
+SIZE (spf13-cobra-v1.3.0_GH0.tar.gz) = 169515
 SHA256 (spf13-pflag-v1.0.5_GH0.tar.gz) = 9a2cae1f8e8ab0d2cc8ebe468e871af28d9ac0962cf0520999e3ba85f0c7b808
 SIZE (spf13-pflag-v1.0.5_GH0.tar.gz) = 50796
 SHA256 (ugorji-go-v1.2.6_GH0.tar.gz) = ac360712eefb7e9ed9b68c8b62f9bcab9568afe76b1f427793d05c5a8bee496e