git: e497cc0b5037 - main - textproc/minify: Update to 2.12.5

From: Po-Chuan Hsieh <sunpoet_at_FreeBSD.org>
Date: Wed, 05 Apr 2023 17:34:17 UTC
The branch main has been updated by sunpoet:

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

commit e497cc0b50372e5beba2d68cdcb82a8e627f2573
Author:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
AuthorDate: 2023-04-05 17:14:00 +0000
Commit:     Po-Chuan Hsieh <sunpoet@FreeBSD.org>
CommitDate: 2023-04-05 17:29:52 +0000

    textproc/minify: Update to 2.12.5
    
    Changes:        https://github.com/tdewolff/minify/releases
---
 textproc/minify/Makefile                       | 12 ++++++------
 textproc/minify/distinfo                       | 14 +++++++-------
 textproc/minify/files/patch-go.mod             |  6 +++---
 textproc/minify/files/patch-go.sum             |  6 +++---
 textproc/minify/files/patch-vendor_modules.txt | 17 +++++++++--------
 5 files changed, 28 insertions(+), 27 deletions(-)

diff --git a/textproc/minify/Makefile b/textproc/minify/Makefile
index a415433f4f22..146c46702814 100644
--- a/textproc/minify/Makefile
+++ b/textproc/minify/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	minify
-PORTVERSION=	2.12.4
-PORTREVISION=	6
+PORTVERSION=	2.12.5
 DISTVERSIONPREFIX=	v
 CATEGORIES=	textproc www
 
@@ -12,16 +11,17 @@ LICENSE=	MIT
 LICENSE_FILE=	${WRKSRC}/LICENSE
 
 USES=		go:modules
-USE_GITHUB=	nodefault
-GH_TUPLE=	golang:sys:v0.6.0:sys
 
 GO_MODULE=	github.com/tdewolff/minify/v2
 GO_TARGET=	./cmd/minify
 
 PLIST_FILES=	bin/minify
 
+USE_GITHUB=	nodefault
+GH_TUPLE=	golang:sys:v0.6.0:sys
+
 pre-patch:
-	${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
-	${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys
+	@${RM} -r ${WRKSRC}/vendor/golang.org/x/sys
+	@${LN} -s ${WRKDIR}/sys-* ${WRKSRC}/vendor/golang.org/x/sys
 
 .include <bsd.port.mk>
diff --git a/textproc/minify/distinfo b/textproc/minify/distinfo
index 0412ddab59f8..121721ed7573 100644
--- a/textproc/minify/distinfo
+++ b/textproc/minify/distinfo
@@ -1,7 +1,7 @@
-TIMESTAMP = 1679677770
-SHA256 (go/textproc_minify/minify-v2.12.4/v2.12.4.mod) = fe00f21802a89a1cd961e26bd58a95fc9c9833adfd640b1bd9923b99a6f560a4
-SIZE (go/textproc_minify/minify-v2.12.4/v2.12.4.mod) = 401
-SHA256 (go/textproc_minify/minify-v2.12.4/v2.12.4.zip) = 6f76f152c15fee3a36b0496175d7e075046c3b47b50327428b10d32af6549f5f
-SIZE (go/textproc_minify/minify-v2.12.4/v2.12.4.zip) = 7090880
-SHA256 (go/textproc_minify/minify-v2.12.4/golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
-SIZE (go/textproc_minify/minify-v2.12.4/golang-sys-v0.6.0_GH0.tar.gz) = 1434234
+TIMESTAMP = 1679498546
+SHA256 (go/textproc_minify/minify-v2.12.5/v2.12.5.mod) = 659419d2fa64f80525ba4e18e33c452a254588bc06b0187417e9295c1c305028
+SIZE (go/textproc_minify/minify-v2.12.5/v2.12.5.mod) = 401
+SHA256 (go/textproc_minify/minify-v2.12.5/v2.12.5.zip) = aad75ced6acc29a99a44bb599e7d1e6d47186bbff6a2276716c393847553838e
+SIZE (go/textproc_minify/minify-v2.12.5/v2.12.5.zip) = 7092227
+SHA256 (go/textproc_minify/minify-v2.12.5/golang-sys-v0.6.0_GH0.tar.gz) = b4f6d17c7a128f76169964b437cb66b3f2dbf9a33361928ec19dfecf7b03fc54
+SIZE (go/textproc_minify/minify-v2.12.5/golang-sys-v0.6.0_GH0.tar.gz) = 1434234
diff --git a/textproc/minify/files/patch-go.mod b/textproc/minify/files/patch-go.mod
index d5bfd4cdecbf..dd4b492e9ba0 100644
--- a/textproc/minify/files/patch-go.mod
+++ b/textproc/minify/files/patch-go.mod
@@ -9,11 +9,11 @@
  require (
 -	github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927 // indirect
  	github.com/djherbis/atime v1.1.0
- 	github.com/dustin/go-humanize v1.0.0
- 	github.com/fsnotify/fsnotify v1.5.4
+ 	github.com/dustin/go-humanize v1.0.1
+ 	github.com/fsnotify/fsnotify v1.6.0
 @@ -11,4 +10,9 @@ require (
  	github.com/spf13/pflag v1.0.5
- 	github.com/tdewolff/parse/v2 v2.6.4
+ 	github.com/tdewolff/parse/v2 v2.6.5
  	github.com/tdewolff/test v1.0.7
 +)
 +
diff --git a/textproc/minify/files/patch-go.sum b/textproc/minify/files/patch-go.sum
index 00a884d9fb03..500cd9c12815 100644
--- a/textproc/minify/files/patch-go.sum
+++ b/textproc/minify/files/patch-go.sum
@@ -1,8 +1,8 @@
---- go.sum.orig	2023-03-24 17:14:19 UTC
+--- go.sum.orig	1979-11-29 16:00:00 UTC
 +++ go.sum
 @@ -16,3 +16,5 @@ github.com/tdewolff/test v1.0.7 h1:8Vs0142DmPFW/bQeHRP
  github.com/tdewolff/test v1.0.7/go.mod h1:6DAvZliBAAnD7rhVgwaM7DE5/d9NMOAJ09SqYqeK4QE=
- golang.org/x/sys v0.0.0-20220412211240-33da011f77ad h1:ntjMns5wyP/fN65tdBD4g8J5w8n015+iIIs9rtjXkY0=
- golang.org/x/sys v0.0.0-20220412211240-33da011f77ad/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
+ golang.org/x/sys v0.0.0-20220908164124-27713097b956 h1:XeJjHH1KiLpKGb6lvMiksZ9l0fVUh+AmGcm0nOMEBOY=
+ golang.org/x/sys v0.0.0-20220908164124-27713097b956/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
 +golang.org/x/sys v0.6.0 h1:MVltZSvRTcU2ljQOhs94SXPftV6DCNnZViHeQps87pQ=
 +golang.org/x/sys v0.6.0/go.mod h1:oPkhp1MJrh7nUepCBck5+mAzfO9JrbApNNgaTdGDITg=
diff --git a/textproc/minify/files/patch-vendor_modules.txt b/textproc/minify/files/patch-vendor_modules.txt
index 9b092b797873..cffa6e12f37e 100644
--- a/textproc/minify/files/patch-vendor_modules.txt
+++ b/textproc/minify/files/patch-vendor_modules.txt
@@ -1,4 +1,4 @@
---- vendor/modules.txt.orig	2023-03-24 17:15:58 UTC
+--- vendor/modules.txt.orig	2023-03-25 15:42:43 UTC
 +++ vendor/modules.txt
 @@ -1,14 +1,22 @@
 +# github.com/cheekybits/is v0.0.0-20150225183255-68e9c0620927
@@ -6,10 +6,10 @@
  # github.com/djherbis/atime v1.1.0
 +## explicit; go 1.16
  github.com/djherbis/atime
- # github.com/dustin/go-humanize v1.0.0
-+## explicit
+ # github.com/dustin/go-humanize v1.0.1
++## explicit; go 1.16
  github.com/dustin/go-humanize
- # github.com/fsnotify/fsnotify v1.5.4
+ # github.com/fsnotify/fsnotify v1.6.0
 +## explicit; go 1.16
  github.com/fsnotify/fsnotify
  # github.com/matryer/try v0.0.0-20161228173917-9ac251b645a2
@@ -18,19 +18,20 @@
  # github.com/spf13/pflag v1.0.5
 +## explicit; go 1.12
  github.com/spf13/pflag
- # github.com/tdewolff/parse/v2 v2.6.4
+ # github.com/tdewolff/parse/v2 v2.6.5
 +## explicit; go 1.13
  github.com/tdewolff/parse/v2
  github.com/tdewolff/parse/v2/buffer
  github.com/tdewolff/parse/v2/css
-@@ -18,7 +26,8 @@ github.com/tdewolff/parse/v2/json
+@@ -18,8 +26,10 @@ github.com/tdewolff/parse/v2/json
  github.com/tdewolff/parse/v2/strconv
  github.com/tdewolff/parse/v2/xml
  # github.com/tdewolff/test v1.0.7
 +## explicit; go 1.12
  github.com/tdewolff/test
--# golang.org/x/sys v0.0.0-20220412211240-33da011f77ad
--golang.org/x/sys/internal/unsafeheader
+-# golang.org/x/sys v0.0.0-20220908164124-27713097b956
 +# golang.org/x/sys v0.6.0
 +## explicit; go 1.17
+ golang.org/x/sys/internal/unsafeheader
  golang.org/x/sys/unix
+ golang.org/x/sys/windows