Bug 291075 - net/seaweedfs: Update to 4.00
Summary: net/seaweedfs: Update to 4.00
Status: New
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: freebsd-ports-bugs (Nobody)
URL:
Keywords:
Depends on:
Blocks:
 
Reported: 2025-11-18 12:35 UTC by Lapo Luchini
Modified: 2025-12-02 07:46 UTC (History)
1 user (show)

See Also:
drtr0jan: maintainer-feedback+


Attachments
seaweedfs.patch (1.84 KB, patch)
2025-12-02 07:46 UTC, Boris Korzun
no flags Details | Diff

Note You need to log in before you can comment on or make changes to this bug.
Description Lapo Luchini 2025-11-18 12:35:30 UTC
New release upstream:
https://github.com/seaweedfs/seaweedfs/releases/tag/4.00

PS: I asked on the seaweedfs Telegram channel and I was told that 4.xx is not a major release, just the usual release after 3.99
Comment 1 Lapo Luchini 2025-11-18 16:06:49 UTC
Upgrade seems pretty straighforward:

--- net/seaweedfs/Makefile
+++ net/seaweedfs/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=      seaweedfs
-DISTVERSION=   3.97
+DISTVERSION=   4.00
 CATEGORIES=    net sysutils

 MAINTAINER=    drtr0jan@yandex.ru
@@ -13,7 +13,7 @@ USES=         go:modules

 USE_RC_SUBR=   seaweedfs

-GO_MODULE=     github.com/seaweedfs/seaweedfs@v0.0.0-20250901063128-76452ab59399
+GO_MODULE=     github.com/seaweedfs/seaweedfs@v0.0.0-20251103213939-a154ef9a0fca
 GO_TARGET=     ./weed
 CGO_CFLAGS=    -I.
Comment 2 Boris Korzun 2025-11-18 18:48:43 UTC
(In reply to Lapo Luchini from comment #0)
Hi Lapo,

what about the SeaweedFS Admin Component?
Comment 3 Lapo Luchini 2025-11-19 09:29:00 UTC
Uh, I didn't notice about that…
Comment 4 Lapo Luchini 2025-11-28 00:44:57 UTC
4.01 is out now, too.
Comment 5 Boris Korzun 2025-11-28 07:53:50 UTC
(In reply to Lapo Luchini from comment #4)
There're at least nine 4.01 release announces (from e15a4a at 27 Nov 2025 12:03:37 -0800 to 626954b at 27 Nov 2025 23:20:05 -0800) yet. I think it is very early...
Comment 6 Lapo Luchini 2025-12-01 11:09:22 UTC
I updated locally to 4.01 and it's working fine for me, as I wanted the new metric including version, which I find very useful to monitor the cluster status from Grafana:

https://github.com/seaweedfs/seaweedfs/issues/6870

% xh localhost:9324/metrics | fgrep build_info
# HELP SeaweedFS_build_info A metric with a constant '1' value labeled by version, commit, sizelimit, goos, and goarch from which SeaweedFS was built.
# TYPE SeaweedFS_build_info gauge
SeaweedFS_build_info{commit="",goarch="amd64",goos="freebsd",sizelimit="30GB",version="4.01"} 1

On the other hand, the "commit" is (working locally but) missing from the Port probably because it uses `git describe` and that doesn't work on a downloaded ZIP as the Port is using (I think?).

Anyways I'm not in a hurry for the Port to be updated, I'm using my locally updated one anyways. πŸ˜‡
Comment 7 Boris Korzun 2025-12-01 15:12:05 UTC
(In reply to Lapo Luchini from comment #6)
Hah, I've prepared Makefile with COMMIT TAG at 8th November 2021 (without porting to the upstream)
I will backport it in the next commit.
Comment 8 Boris Korzun 2025-12-02 07:46:17 UTC
Created attachment 265767 [details]
seaweedfs.patch

(In reply to Lapo Luchini from comment #6)

Please check the attached patch.