git: 3830d08cfc7f - main - www/xurls: Update to 2.6.0
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 17 Feb 2025 16:09:04 UTC
The branch main has been updated by nivit: URL: https://cgit.FreeBSD.org/ports/commit/?id=3830d08cfc7f914e54035c636a1a90acd48abe6b commit 3830d08cfc7f914e54035c636a1a90acd48abe6b Author: Nicola Vitale <nivit@FreeBSD.org> AuthorDate: 2025-02-17 16:06:21 +0000 Commit: Nicola Vitale <nivit@FreeBSD.org> CommitDate: 2025-02-17 16:06:21 +0000 www/xurls: Update to 2.6.0 - Use go version 1.22 to build - Define GO_BUILDFLAGS to fix the correct version of the program at runtime. Release changes: https://github.com/mvdan/xurls/releases/tag/v2.6.0 Reported by: Daniel Martà <notifications@github.com> --- www/xurls/Makefile | 6 +++--- www/xurls/distinfo | 10 +++++----- 2 files changed, 8 insertions(+), 8 deletions(-) diff --git a/www/xurls/Makefile b/www/xurls/Makefile index f15697703b19..a00bb7004101 100644 --- a/www/xurls/Makefile +++ b/www/xurls/Makefile @@ -1,7 +1,6 @@ PORTNAME= xurls DISTVERSIONPREFIX= v -DISTVERSION= 2.5.0 -PORTREVISION= 6 +DISTVERSION= 2.6.0 CATEGORIES= www MAINTAINER= nivit@FreeBSD.org @@ -11,10 +10,11 @@ WWW= https://github.com/mvdan/xurls LICENSE= BSD3CLAUSE LICENSE_FILE= ${WRKSRC}/LICENSE -USES= go:modules +USES= go:1.22,modules GO_MODULE= mvdan.cc/xurls/v2 GO_TARGET= ${WRKSRC}/cmd/${PORTNAME}:${PREFIX}/bin/${PORTNAME} +GO_BUILDFLAGS= -ldflags="-w -s -X=main.version=${DISTVERSIONPREFIX}${DISTVERSION}" PLIST_FILES= bin/xurls diff --git a/www/xurls/distinfo b/www/xurls/distinfo index 005845953469..288ec2d15536 100644 --- a/www/xurls/distinfo +++ b/www/xurls/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1707683842 -SHA256 (go/www_xurls/xurls-v2.5.0/v2.5.0.mod) = 25a6aa0cc38a00ecff926daf7e21fde64fa91120ed52d0debb95cb16159c0994 -SIZE (go/www_xurls/xurls-v2.5.0/v2.5.0.mod) = 140 -SHA256 (go/www_xurls/xurls-v2.5.0/v2.5.0.zip) = acc870c18f0a10b753825efcef63edcdb13a9c9b15419695baaff1c399c93562 -SIZE (go/www_xurls/xurls-v2.5.0/v2.5.0.zip) = 33829 +TIMESTAMP = 1739804280 +SHA256 (go/www_xurls/xurls-v2.6.0/v2.6.0.mod) = 72a71fb34705ad6a2c99abeda0286b676cc9587177ae782c35a1c9a2ee0b786f +SIZE (go/www_xurls/xurls-v2.6.0/v2.6.0.mod) = 264 +SHA256 (go/www_xurls/xurls-v2.6.0/v2.6.0.zip) = 5f2c3f53bfadabad9522412f2ea52412f3629f11753877db975f8e23dc21555f +SIZE (go/www_xurls/xurls-v2.6.0/v2.6.0.zip) = 34425