git: 393f9bdc47af - main - ftp/wush: Update to 0.4.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 13 Dec 2024 21:46:25 UTC
The branch main has been updated by ashish:
URL: https://cgit.FreeBSD.org/ports/commit/?id=393f9bdc47afe3ae455e1b384f57a011901c2219
commit 393f9bdc47afe3ae455e1b384f57a011901c2219
Author: Ashish SHUKLA <ashish@FreeBSD.org>
AuthorDate: 2024-12-13 21:12:17 +0000
Commit: Ashish SHUKLA <ashish@FreeBSD.org>
CommitDate: 2024-12-13 21:46:04 +0000
ftp/wush: Update to 0.4.0
- Depend on Go 1.23
- Add GO_BUILDFLAGS to embed version information
---
ftp/wush/Makefile | 6 +++---
ftp/wush/distinfo | 10 +++++-----
2 files changed, 8 insertions(+), 8 deletions(-)
diff --git a/ftp/wush/Makefile b/ftp/wush/Makefile
index ab9dff187c6c..77f00466ff79 100644
--- a/ftp/wush/Makefile
+++ b/ftp/wush/Makefile
@@ -1,7 +1,6 @@
PORTNAME= wush
DISTVERSIONPREFIX= v
-DISTVERSION= 0.3.0
-PORTREVISION= 1
+DISTVERSION= 0.4.0
CATEGORIES= ftp
MAINTAINER= ashish@FreeBSD.org
@@ -11,10 +10,11 @@ WWW= https://github.com/coder/wush
LICENSE= CC0-1.0
LICENSE_FILE= ${WRKSRC}/LICENSE
-USES= go:1.22,modules
+USES= go:1.23,modules
GO_MODULE= github.com/coder/wush
GO_TARGET= ./cmd/wush
+GO_BUILDFLAGS= -ldflags '-X main.version=${DISTVERSION}'
PLIST_FILES= bin/wush
.include <bsd.port.mk>
diff --git a/ftp/wush/distinfo b/ftp/wush/distinfo
index 6ed767389749..7640ed2d40fa 100644
--- a/ftp/wush/distinfo
+++ b/ftp/wush/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1727996522
-SHA256 (go/ftp_wush/wush-v0.3.0/v0.3.0.mod) = 3169b2fc690f3c7e5a9db52761dec83ab6a16aa4ac53db5e680ced4e16286418
-SIZE (go/ftp_wush/wush-v0.3.0/v0.3.0.mod) = 11866
-SHA256 (go/ftp_wush/wush-v0.3.0/v0.3.0.zip) = 26fd15d4bc2f3fcc90a83831acaaae6b068231aeac8bebaa39c5844161e4a6ea
-SIZE (go/ftp_wush/wush-v0.3.0/v0.3.0.zip) = 188248
+TIMESTAMP = 1734124317
+SHA256 (go/ftp_wush/wush-v0.4.0/v0.4.0.mod) = 2877ae8c25e51f6a65473becd7e80674b21539d367c726e226fbd3b10428fb84
+SIZE (go/ftp_wush/wush-v0.4.0/v0.4.0.mod) = 12454
+SHA256 (go/ftp_wush/wush-v0.4.0/v0.4.0.zip) = 75ed950a65dba8ce7bde3fe322d5ef9d6dbd713622eac1c6a1b1f9b984659b7e
+SIZE (go/ftp_wush/wush-v0.4.0/v0.4.0.zip) = 169279