Skip site navigation (1)Skip section navigation (2)
Date:      Tue, 18 Apr 2023 21:56:02 GMT
From:      Robert Clausecker <fuz@FreeBSD.org>
To:        ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org
Subject:   git: b76f3a7d2a5e - main - net/rospo: update to 0.11.0
Message-ID:  <202304182156.33ILu2no062852@gitrepo.freebsd.org>

next in thread | raw e-mail | index | archive | help
The branch main has been updated by fuz:

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

commit b76f3a7d2a5e97370151d52994ff3b3d13e109e1
Author:     Robert Clausecker <fuz@FreeBSD.org>
AuthorDate: 2023-04-18 15:05:34 +0000
Commit:     Robert Clausecker <fuz@FreeBSD.org>
CommitDate: 2023-04-18 21:55:31 +0000

    net/rospo: update to 0.11.0
    
     - upstream removed the UI component, follow suit
     - remove DOCS option now that there's only a README file
       and a sample configuration file for documentation
    
    Changelog: https://github.com/ferama/rospo/releases/tag/v0.11.0
---
 net/rospo/Makefile  | 26 ++++----------------------
 net/rospo/distinfo  | 12 +++++-------
 net/rospo/pkg-plist |  6 ++++++
 3 files changed, 15 insertions(+), 29 deletions(-)

diff --git a/net/rospo/Makefile b/net/rospo/Makefile
index 5d1912cae3eb..5cd976f44d74 100644
--- a/net/rospo/Makefile
+++ b/net/rospo/Makefile
@@ -1,9 +1,7 @@
 PORTNAME=	rospo
 DISTVERSIONPREFIX=	v
-DISTVERSION=	0.10.5
+DISTVERSION=	0.11.0
 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
 
 MAINTAINER=	fuz@FreeBSD.org
 COMMENT=	Simple and reliable ssh tunnels with embedded ssh server
@@ -16,20 +14,8 @@ USES=		go:modules
 GO_MODULE=	github.com/ferama/rospo
 GO_BUILDFLAGS=	-ldflags="-X github.com/ferama/rospo/cmd.Version=${PKGVERSION} ${STRIP}"
 
-PLIST_FILES=	bin/rospo \
-		etc/bash_completion.d/rospo \
-		share/fish/vendor_completions.d/rospo.fish \
-		share/zsh/site_functions/_rospo
-PORTDOCS=	README.md \
-		cmd/configs/config_template.yaml \
-		img/home.png \
-		img/tunnels.png
-
 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
@@ -41,13 +27,9 @@ post-install:
 	${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}/cmd/configs
-	${MKDIR} ${STAGEDIR}${DOCSDIR}/img
-.for doc in ${PORTDOCS}
-	${INSTALL_MAN} ${WRKSRC}/${doc} ${STAGEDIR}${DOCSDIR}/`dirname ${doc}`
-.endfor
+	${MKDIR} ${STAGEDIR}${DOCSDIR}
+	${INSTALL_MAN} ${WRKSRC}/README.md ${STAGEDIR}${DOCSDIR}/
+	${INSTALL_MAN} ${WRKSRC}/cmd/configs/config_template.yaml ${STAGEDIR}${DOCSDIR}/
 
 .include <bsd.port.mk>
diff --git a/net/rospo/distinfo b/net/rospo/distinfo
index ac3352648bb0..69a273e11a34 100644
--- a/net/rospo/distinfo
+++ b/net/rospo/distinfo
@@ -1,7 +1,5 @@
-TIMESTAMP = 1681595855
-SHA256 (go/net_rospo/rospo-v0.10.5/rospo-ui-artifacts-0.10.5.tar.gz) = 7d5a2d77c809881fc4b8987d565324ce0ed49faec49841c8c7afe479d569d4f9
-SIZE (go/net_rospo/rospo-v0.10.5/rospo-ui-artifacts-0.10.5.tar.gz) = 1558030
-SHA256 (go/net_rospo/rospo-v0.10.5/v0.10.5.mod) = efdd0662def2d85b3543cacf2989ce0a8a3fb9f97a194ebbc08ecd8d613674d2
-SIZE (go/net_rospo/rospo-v0.10.5/v0.10.5.mod) = 1831
-SHA256 (go/net_rospo/rospo-v0.10.5/v0.10.5.zip) = 314faf3330b4e9d7d2bc1f532456434acd8ded013fdca2d20d1d1a2d025073e2
-SIZE (go/net_rospo/rospo-v0.10.5/v0.10.5.zip) = 1588832
+TIMESTAMP = 1681829615
+SHA256 (go/net_rospo/rospo-v0.11.0/v0.11.0.mod) = 135de7633ec80ef128095bd983b5664b8a9de1823753d63ed5829f0e3c874e44
+SIZE (go/net_rospo/rospo-v0.11.0/v0.11.0.mod) = 1870
+SHA256 (go/net_rospo/rospo-v0.11.0/v0.11.0.zip) = 3aeb7c5d31dde6a1f25129665fa78ee20f459f648e4f0f4ce12b0af18a46b43c
+SIZE (go/net_rospo/rospo-v0.11.0/v0.11.0.zip) = 89203
diff --git a/net/rospo/pkg-plist b/net/rospo/pkg-plist
new file mode 100644
index 000000000000..79c739d02216
--- /dev/null
+++ b/net/rospo/pkg-plist
@@ -0,0 +1,6 @@
+bin/rospo
+etc/bash_completion.d/rospo
+%%DOCSDIR%%/README.md
+%%DOCSDIR%%/config_template.yaml
+share/fish/vendor_completions.d/rospo.fish
+share/zsh/site_functions/_rospo



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?202304182156.33ILu2no062852>