git: 311096e3602e - main - sysutils/gomi: Update to 1.1.6
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Tue, 21 Mar 2023 13:46:42 UTC
The branch main has been updated by eduardo: URL: https://cgit.FreeBSD.org/ports/commit/?id=311096e3602e2ff957b95da4ef74fbf3497e29ab commit 311096e3602e2ff957b95da4ef74fbf3497e29ab Author: Nuno Teixeira <eduardo@FreeBSD.org> AuthorDate: 2023-03-21 13:43:04 +0000 Commit: Nuno Teixeira <eduardo@FreeBSD.org> CommitDate: 2023-03-21 13:46:30 +0000 sysutils/gomi: Update to 1.1.6 - Fix --version and define revision as commit tag (inspired by textproc/ov port) ChangeLog: https://github.com/b4b4r07/gomi/releases/tag/v1.1.6 --- sysutils/gomi/Makefile | 14 +++++++++----- sysutils/gomi/distinfo | 10 +++++----- 2 files changed, 14 insertions(+), 10 deletions(-) diff --git a/sysutils/gomi/Makefile b/sysutils/gomi/Makefile index 50da70a2f8af..2b8651fe509a 100644 --- a/sysutils/gomi/Makefile +++ b/sysutils/gomi/Makefile @@ -1,6 +1,6 @@ PORTNAME= gomi DISTVERSIONPREFIX= v -DISTVERSION= 1.1.5 +DISTVERSION= 1.1.6 CATEGORIES= sysutils MAINTAINER= eduardo@FreeBSD.org @@ -11,11 +11,15 @@ LICENSE= MIT LICENSE_FILE= ${WRKSRC}/LICENSE USES= go:modules + +_BUILD_VERSION= ${DISTVERSIONFULL} +_BUILD_REVISION= e63731a + GO_MODULE= github.com/b4b4r07/gomi -#GO_BUILDFLAGS= -ldflags "\ -# -w -s \ -# -X github.com/b4b4r07/gomi/Version=${DISTVERSION}" -# cannot set Version, https://github.com/b4b4r07/gomi/issues/32 +GO_BUILDFLAGS= -ldflags "\ + -s -w \ + -X main.Version=${_BUILD_VERSION} \ + -X main.Revision=${_BUILD_REVISION}" PLIST_FILES= bin/${PORTNAME} PORTDOCS= README.md diff --git a/sysutils/gomi/distinfo b/sysutils/gomi/distinfo index 259d698b1dea..378fa01858e5 100644 --- a/sysutils/gomi/distinfo +++ b/sysutils/gomi/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1679344488 -SHA256 (go/sysutils_gomi/gomi-v1.1.5/v1.1.5.mod) = 19e9433ebe8282fc592f5012a0070277243ad9beb21d7f5729bff4df3e406cd1 -SIZE (go/sysutils_gomi/gomi-v1.1.5/v1.1.5.mod) = 527 -SHA256 (go/sysutils_gomi/gomi-v1.1.5/v1.1.5.zip) = e83bd0fa1d99b4bdc9c489ff3c84dfbab503c575dc749dc1653d5a6d4d110614 -SIZE (go/sysutils_gomi/gomi-v1.1.5/v1.1.5.zip) = 643176 +TIMESTAMP = 1679396583 +SHA256 (go/sysutils_gomi/gomi-v1.1.6/v1.1.6.mod) = 5d580d1defb409c788ed2df31f56a1f36d003005b184b317428cb3613e38cc3d +SIZE (go/sysutils_gomi/gomi-v1.1.6/v1.1.6.mod) = 835 +SHA256 (go/sysutils_gomi/gomi-v1.1.6/v1.1.6.zip) = 23cde85cb91f0f42d535c39a704a913be6a83fa047c795891a397f05903a27ba +SIZE (go/sysutils_gomi/gomi-v1.1.6/v1.1.6.zip) = 643410