Bug 296003 - net/seaweedfs: Update to 4.40
Summary: net/seaweedfs: Update to 4.40
Status: In Progress
Alias: None
Product: Ports & Packages
Classification: Unclassified
Component: Individual Port(s) (show other bugs)
Version: Latest
Hardware: Any Any
: --- Affects Some People
Assignee: Vladimir Druzenko
URL:
Keywords:
: 297084 (view as bug list)
Depends on:
Blocks:
 
Reported: 2026-06-11 14:02 UTC by Lapo Luchini
Modified: 2026-08-05 01:08 UTC (History)
3 users (show)

See Also:
drtr0jan: maintainer-feedback+


Attachments
seaweedfs.patch (3.46 KB, patch)
2026-07-21 19:18 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 2026-06-11 14:02:03 UTC
A lot of upstream changes:
https://github.com/seaweedfs/seaweedfs/releases/tag/4.33

I updated myself a few days ago up to 4.31 with the easiest diff which was quite enough, so I guess it's the same for 4.33, but I didn't chek yet.

Following diff and them "make makesum" to update distinfo.

diff --git a/net/seaweedfs/Makefile b/net/seaweedfs/Makefile
index cc7285f355..bdf97fa4a3 100644
--- a/net/seaweedfs/Makefile
+++ b/net/seaweedfs/Makefile
@@ -1,5 +1,5 @@
 PORTNAME=      seaweedfs
-DISTVERSION=   4.26
+DISTVERSION=   4.31
 CATEGORIES=    net sysutils

 MAINTAINER=    drtr0jan@yandex.ru
@@ -13,7 +13,7 @@

 USE_RC_SUBR=   seaweedfs

-GO_MODULE=     github.com/seaweedfs/seaweedfs@v0.0.0-20260518061204-01b3e4a71cd5
+GO_MODULE=     github.com/seaweedfs/seaweedfs@v0.0.0-20260602063204-2a46d457ac3a
 GO_TARGET=     ./weed
 GO_BUILDFLAGS= -ldflags "-s -w -X github.com/seaweedfs/seaweedfs/weed/util/version.COMMIT=${GO_MODULE:C/.*-//}"
 CGO_CFLAGS=    -I.
Comment 1 Lapo Luchini 2026-07-21 08:03:54 UTC
I'm currently testing 4.40 and it's working fine.
(no new files, changing two lines of Makefile and rebuild distinfo is enough)
Comment 2 Vladimir Druzenko freebsd_committer freebsd_triage 2026-07-21 15:07:49 UTC
(In reply to Lapo Luchini from comment #1)
1. What value in this line:
GO_MODULE=     github.com/seaweedfs/seaweedfs@v0.0.0-20260602063204-2a46d457ac3a

2. Current version in ports is 4.12:
https://cgit.freebsd.org/ports/tree/net/seaweedfs/Makefile#n2
Comment 3 Boris Korzun 2026-07-21 19:18:41 UTC
Created attachment 273065 [details]
seaweedfs.patch

(In reply to Lapo Luchini from comment #1)
Plz check the attachment.

(In reply to Vladimir Druzenko from comment #2)
> What value in this line
> GO_MODULE=     github.com/seaweedfs/seaweedfs@v0.0.0-20260602063204-2a46d457ac3a

It's correct tag while seaweedfs doesn't follow the Go Module version numbering requirement (https://go.dev/doc/modules/version-numbers). It uses pseudo-version number only.

Also excluded weed-db/weed-sql to the COMMANDS option (https://github.com/seaweedfs/seaweedfs/pull/8417).
Comment 4 Vladimir Druzenko freebsd_committer freebsd_triage 2026-07-22 12:33:19 UTC
Maybe:
@sample %%ETCDIR%%/filer.toml.sample
@sample %%ETCDIR%%/master.toml.sample
@sample %%ETCDIR%%/notification.toml.sample
@sample %%ETCDIR%%/replication.toml.sample
@sample %%ETCDIR%%/security.toml.sample
?
Comment 5 Vladimir Druzenko freebsd_committer freebsd_triage 2026-07-22 13:23:31 UTC
Also port needs:
OPTIONS_SUB=            yes
Comment 6 Lapo Luchini 2026-07-23 07:41:27 UTC
I know nothing about weed-db and weed-sql but the rest of your patch is identical to the one I created locally, so I won't need to re-test it.
Comment 7 Vladimir Druzenko freebsd_committer freebsd_triage 2026-07-26 02:08:51 UTC
Boris, friendly ping.
Comment 8 Vladimir Druzenko freebsd_committer freebsd_triage 2026-08-05 01:08:43 UTC
*** Bug 297084 has been marked as a duplicate of this bug. ***