git: da345ab023cb - main - www/minio: Update version 2023-03-22T06-36-24Z=>2023-04-20T17-56-55Z

From: Muhammad Moinur Rahman <bofh_at_FreeBSD.org>
Date: Tue, 25 Apr 2023 17:30:59 UTC
The branch main has been updated by bofh:

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

commit da345ab023cb1924f8d305341592dd41b1b2927a
Author:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2023-04-25 15:40:40 +0000
Commit:     Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2023-04-25 17:30:46 +0000

    www/minio: Update version 2023-03-22T06-36-24Z=>2023-04-20T17-56-55Z
    
    - Update pkg-descr to point about migration [1]
    
    Changelog:
    https://github.com/minio/minio/releases/tag/RELEASE.2023-04-20T17-56-55Z
    
    PR:             270538 [1]
    Reported by:    freebsd@bengrimm.net [1]
---
 www/minio/Makefile    | 23 +++++++++++------------
 www/minio/distinfo    | 10 +++++-----
 www/minio/pkg-message |  8 ++++++++
 3 files changed, 24 insertions(+), 17 deletions(-)

diff --git a/www/minio/Makefile b/www/minio/Makefile
index df7dc74af60c..a84aaebd8735 100644
--- a/www/minio/Makefile
+++ b/www/minio/Makefile
@@ -1,6 +1,5 @@
 PORTNAME=	minio
 PORTVERSION=	${GH_TAGNAME:S/RELEASE.//:S/Z//:S/T/-/:S/-/./g}
-PORTREVISION=	1
 CATEGORIES=	www
 DIST_SUBDIR=	minio
 
@@ -11,11 +10,12 @@ WWW=		https://minio.io/
 LICENSE=	APACHE20
 
 USES=		compiler cpe go:modules
+GH_TAGNAME=	RELEASE.2023-04-20T17-56-55Z
+USE_RC_SUBR=	${PORTNAME}
 
-GH_TAGNAME=	RELEASE.2023-03-22T06-36-24Z
-COMMIT_ID=	035791669eb43f90bc38cd68f3dc87f65d622993
+COMMIT_ID=	c61c4b71b26aad048b8f3abe0ee24547964fc49f
 
-GO_MODULE=	github.com/minio/minio@v0.0.0-20230322063624-035791669eb4
+GO_MODULE=	github.com/minio/minio@v0.0.0-20230420175655-c61c4b71b26a
 GO_BUILDFLAGS=	-ldflags=' \
 		-X github.com/minio/minio/cmd.Version=${GH_TAGNAME:C/RELEASE\.//:C|(..)-(..)-(..)Z|\1:\2:\3Z|} \
 		-X github.com/minio/minio/cmd.ReleaseTag=${GH_TAGNAME} \
@@ -23,18 +23,17 @@ GO_BUILDFLAGS=	-ldflags=' \
 		-X github.com/minio/minio/cmd.ShortCommitID=${COMMIT_ID:C|(............).*|\1|} \
 		-X github.com/minio/minio/cmd.GOPATH=${WRKSRC} ${STRIP} -w'
 
+SUB_LIST=	DBDIR=${MINIO_DBDIR} \
+		GROUP="${GROUPS}" \
+		USER="${USERS}"
+
+USERS=		${MINIO_USER}
+GROUPS=		${MINIO_GROUP}
+
 PLIST_FILES=	bin/${PORTNAME}
-USE_RC_SUBR=	${PORTNAME}
 
 MINIO_USER?=	${PORTNAME}
 MINIO_GROUP?=	${PORTNAME}
 MINIO_DBDIR?=	/var/db/${PORTNAME}
 
-USERS=		${MINIO_USER}
-GROUPS=		${MINIO_GROUP}
-
-SUB_LIST=	DBDIR=${MINIO_DBDIR} \
-		GROUP="${GROUPS}" \
-		USER="${USERS}"
-
 .include <bsd.port.mk>
diff --git a/www/minio/distinfo b/www/minio/distinfo
index 83d1061abf50..e99b5112cac3 100644
--- a/www/minio/distinfo
+++ b/www/minio/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1679703622
-SHA256 (go/www_minio/minio-2023.03.22.06.36.24/v0.0.0-20230322063624-035791669eb4.mod) = 4a78dce0a964ccfdb1698ff1d55f6bc92d916052e607df9ccf86f6af07c603d9
-SIZE (go/www_minio/minio-2023.03.22.06.36.24/v0.0.0-20230322063624-035791669eb4.mod) = 10215
-SHA256 (go/www_minio/minio-2023.03.22.06.36.24/v0.0.0-20230322063624-035791669eb4.zip) = ccc626eb900a1db45eb8e3c244c0916d09c32693b413d05c78b38f6b5636bdf0
-SIZE (go/www_minio/minio-2023.03.22.06.36.24/v0.0.0-20230322063624-035791669eb4.zip) = 14332474
+TIMESTAMP = 1682435143
+SHA256 (go/www_minio/minio-2023.04.20.17.56.55/v0.0.0-20230420175655-c61c4b71b26a.mod) = d9dfa15a7b159a34faa6719b7523ae3ee8a82eb9de71b2c25830f04a35c433e9
+SIZE (go/www_minio/minio-2023.04.20.17.56.55/v0.0.0-20230420175655-c61c4b71b26a.mod) = 10401
+SHA256 (go/www_minio/minio-2023.04.20.17.56.55/v0.0.0-20230420175655-c61c4b71b26a.zip) = a7b9f826bc3a4fa6a1124abb7a66780a3ad56122a4a92f4d019be65ca564e774
+SIZE (go/www_minio/minio-2023.04.20.17.56.55/v0.0.0-20230420175655-c61c4b71b26a.zip) = 14400244
diff --git a/www/minio/pkg-message b/www/minio/pkg-message
index 5ae5c8f7cd74..4291ae38ded6 100644
--- a/www/minio/pkg-message
+++ b/www/minio/pkg-message
@@ -5,4 +5,12 @@
 Minio console now requires extra configuration via minio_console_address
 EOM
 }
+{ type: upgrade
+  maximum_version: 2022.10.29.06.21.33
+  message: <<EOM
+Migrate from Gateway or Filesystem Mode
+
+See for more details:
+https://min.io/docs/minio/linux/operations/install-deploy-manage/migrate-fs-gateway.html
+EOM
 ]