Created
December 8, 2023 21:50
-
-
Save orangecms/735c6dae22e19515ddfdab0af5701c96 to your computer and use it in GitHub Desktop.
FreeBSD port minio downgrade
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
From 482094ba156b7257ed88c396872e022bc299d629 Mon Sep 17 00:00:00 2001 | |
From: Daniel Maslowski <[email protected]> | |
Date: Fri, 8 Dec 2023 21:36:37 +0000 | |
Subject: [PATCH] www/minio: downgrade to RELEASE.2022-10-24T18-35-07Z | |
This is the tagged commit: `bd099f5e71d0ea511846372869bfcb280a5da2f6` | |
Using the release timestamp and hash to identify the module (variable | |
GO_MODULE) | |
errors when running `make makesum`, because the Go proxy does not know | |
it. | |
Fixed by running a normal install once: | |
``` | |
$ go install github.com/minio/[email protected] | |
go: downloading github.com/minio/minio | |
v0.0.0-20221024183507-fc6c7949727e | |
``` | |
and cancelling immediately; just had to get the output. | |
With `GO_MODULE = | |
github.com/minio/[email protected]`, | |
`make makesum` runs fine. | |
Note that those commits are way apart. No idea why/how this happens. | |
--- | |
www/minio/Makefile | 6 +++--- | |
www/minio/distinfo | 10 +++++----- | |
2 files changed, 8 insertions(+), 8 deletions(-) | |
diff --git a/www/minio/Makefile b/www/minio/Makefile | |
index 3a8b48a2a..49437ce15 100644 | |
--- a/www/minio/Makefile | |
+++ b/www/minio/Makefile | |
@@ -11,12 +11,12 @@ WWW= https://minio.io/ | |
LICENSE= AGPLv3 | |
USES= compiler cpe go:modules | |
-GH_TAGNAME= RELEASE.2023-04-20T17-56-55Z | |
+GH_TAGNAME= RELEASE.2022-10-24T18-35-07Z | |
USE_RC_SUBR= ${PORTNAME} | |
-COMMIT_ID= c61c4b71b26aad048b8f3abe0ee24547964fc49f | |
+COMMIT_ID= bd099f5e71d0ea511846372869bfcb280a5da2f6 | |
-GO_MODULE= github.com/minio/[email protected] | |
+GO_MODULE= github.com/minio/[email protected] | |
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} \ | |
diff --git a/www/minio/distinfo b/www/minio/distinfo | |
index e99b5112c..a28286acd 100644 | |
--- a/www/minio/distinfo | |
+++ b/www/minio/distinfo | |
@@ -1,5 +1,5 @@ | |
-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 | |
+TIMESTAMP = 1702066326 | |
+SHA256 (go/www_minio/minio-2022.10.24.18.35.07/v0.0.0-20221024183507-fc6c7949727e.mod) = 9c78aa71808a42ef4b2345ff44b426588ca6ae44855029ebbd326f239f5e6141 | |
+SIZE (go/www_minio/minio-2022.10.24.18.35.07/v0.0.0-20221024183507-fc6c7949727e.mod) = 10191 | |
+SHA256 (go/www_minio/minio-2022.10.24.18.35.07/v0.0.0-20221024183507-fc6c7949727e.zip) = fe5798dbe4335508b81ff81375d84f46db1cc9a05bce3e02a492a27d1700b8e5 | |
+SIZE (go/www_minio/minio-2022.10.24.18.35.07/v0.0.0-20221024183507-fc6c7949727e.zip) = 14182232 | |
-- | |
2.42.0 | |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
You need to do a migration (a bit unclear to me how exactly) for upgrading MinIO.
https://min.io/docs/minio/linux/operations/install-deploy-manage/migrate-fs-gateway.html