git: ec2479e09c75 - main - www/minio: Update version 2023.12.20.01.00.02=>2024.01.01.16.36.33
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Mon, 29 Jul 2024 08:00:57 UTC
The branch main has been updated by bofh:
URL: https://cgit.FreeBSD.org/ports/commit/?id=ec2479e09c75a62365872bd9dbb075161590b8a5
commit ec2479e09c75a62365872bd9dbb075161590b8a5
Author: Muhammad Moinur Rahman <bofh@FreeBSD.org>
AuthorDate: 2024-07-29 07:56:54 +0000
Commit: Muhammad Moinur Rahman <bofh@FreeBSD.org>
CommitDate: 2024-07-29 08:00:08 +0000
www/minio: Update version 2023.12.20.01.00.02=>2024.01.01.16.36.33
- Setup root accounts through rcvars [1]
Changelog:
https://github.com/minio/minio/releases/tag/RELEASE.2024-01-01T16-36-33Z
PR: 277578
Reported by: admin@hackacad.net
---
www/minio/Makefile | 5 ++---
www/minio/distinfo | 10 +++++-----
www/minio/files/minio.in | 13 +++++++++++++
3 files changed, 20 insertions(+), 8 deletions(-)
diff --git a/www/minio/Makefile b/www/minio/Makefile
index 6cc5a44e4f39..cd459e614a58 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= 6
CATEGORIES= www
DIST_SUBDIR= minio
@@ -11,10 +10,10 @@ WWW= https://minio.io/
LICENSE= AGPLv3
USES= compiler cpe go:modules
-GH_TAGNAME= RELEASE.2023-12-20T01-00-02Z
+GH_TAGNAME= RELEASE.2024-01-01T16-36-33Z
USE_RC_SUBR= ${PORTNAME}
-COMMIT_ID= 7a311a3b666a0e5476fbde24d4413220876d9df2
+COMMIT_ID= 8f13c8c3bfee304e11a56076039f13e343937124
GO_MODULE= github.com/minio/minio@v0.0.0-20231220010002-7a311a3b666a
GO_BUILDFLAGS= -ldflags=' \
diff --git a/www/minio/distinfo b/www/minio/distinfo
index 4f1f138430d2..5575cbe301f2 100644
--- a/www/minio/distinfo
+++ b/www/minio/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1703261431
-SHA256 (go/www_minio/minio-2023.12.20.01.00.02/v0.0.0-20231220010002-7a311a3b666a.mod) = f788f364417ab3afe831be3bba49130e9f095c3ce09ad367676e425edea37307
-SIZE (go/www_minio/minio-2023.12.20.01.00.02/v0.0.0-20231220010002-7a311a3b666a.mod) = 11873
-SHA256 (go/www_minio/minio-2023.12.20.01.00.02/v0.0.0-20231220010002-7a311a3b666a.zip) = bff6010763a41d038101667ca574f846293ad96462fd1cb620d07d89f13632fd
-SIZE (go/www_minio/minio-2023.12.20.01.00.02/v0.0.0-20231220010002-7a311a3b666a.zip) = 15146080
+TIMESTAMP = 1722239595
+SHA256 (go/www_minio/minio-2024.01.01.16.36.33/v0.0.0-20231220010002-7a311a3b666a.mod) = f788f364417ab3afe831be3bba49130e9f095c3ce09ad367676e425edea37307
+SIZE (go/www_minio/minio-2024.01.01.16.36.33/v0.0.0-20231220010002-7a311a3b666a.mod) = 11873
+SHA256 (go/www_minio/minio-2024.01.01.16.36.33/v0.0.0-20231220010002-7a311a3b666a.zip) = bff6010763a41d038101667ca574f846293ad96462fd1cb620d07d89f13632fd
+SIZE (go/www_minio/minio-2024.01.01.16.36.33/v0.0.0-20231220010002-7a311a3b666a.zip) = 15146080
diff --git a/www/minio/files/minio.in b/www/minio/files/minio.in
index 4ea13284066c..688557f0d975 100644
--- a/www/minio/files/minio.in
+++ b/www/minio/files/minio.in
@@ -23,6 +23,12 @@
# Set it to user to run minio under
# minio_group (str): Set to "minio" by default.
# Set it to group to run minio under
+# minio_root_user (str): Set to "minioadmin" by default.
+# Set root username
+# minio_root_password (str): Set to "minioadmin" by default.
+# Set root's password
+# minio_root_access (str): Set to "on" by default.
+# Set to "off" to disable root access
# minio_logfile (str): Set to "/var/log/minio.log" by default.
# Set it to file where stdout/stderr are logged.
# minio_syslog_enable (bool): Set to YES by default
@@ -49,9 +55,16 @@ load_rc_config ${name}
: ${minio_console_address=""}
: ${minio_user:="%%USER%%"}
: ${minio_group:="%%GROUP%%"}
+: ${minio_root_user:="minioadmin"}
+: ${minio_root_password:="minioadmin"}
+: ${minio_root_access:="on"}
: ${minio_syslog_enable:="YES"}
: ${minio_logfile:="/var/log/minio.log"}
+export MINIO_ROOT_USER="${minio_root_user}"
+export MINIO_ROOT_PASSWORD="${minio_root_password}"
+export MINIO_API_ROOT_ACCESS="${minio_root_access}"
+
start_precmd="minio_start_precmd"
if checkyesno minio_syslog_enable; then