Sunday, March 22, 2026

Maintainer update: net/ergo

Index: Makefile
===================================================================
RCS file: /cvs/ports/net/ergo/Makefile,v
diff -u -p -r1.4 Makefile
--- Makefile 30 Dec 2025 23:27:47 -0000 1.4
+++ Makefile 23 Mar 2026 00:05:00 -0000
@@ -1,6 +1,6 @@
COMMENT = modern IRC server written in Go

-DIST_TUPLE += github ergochat ergo v2.17.0 .
+DIST_TUPLE += github ergochat ergo v2.18.0 .
CATEGORIES = net

HOMEPAGE = https://ergo.chat/
@@ -12,6 +12,7 @@ PERMIT_PACKAGE = Yes
WANTLIB += c pthread

MODULES = lang/go
+MODGO_FLAGS += -tags "i18n mysql postgresql sqlite"

ALL_TARGET = github.com/ergochat/ergo

Index: distinfo
===================================================================
RCS file: /cvs/ports/net/ergo/distinfo,v
diff -u -p -r1.3 distinfo
--- distinfo 30 Dec 2025 23:27:47 -0000 1.3
+++ distinfo 23 Mar 2026 00:05:00 -0000
@@ -1,2 +1,2 @@
-SHA256 (ergochat-ergo-v2.17.0.tar.gz) = v9or6CqhM93XoDwhIdaAfIobn1wFXwu7kEUbqioknOQ=
-SIZE (ergochat-ergo-v2.17.0.tar.gz) = 3754831
+SHA256 (ergochat-ergo-v2.18.0.tar.gz) = Xa/NybHq7QJz1U3CdKBQ2YP3kFf7xSmvDFJwSxpUBoA=
+SIZE (ergochat-ergo-v2.18.0.tar.gz) = 47486778
Hi all, attached is a diff for ergo 2.18.0, which notably brings
Postgres and SQLite support for persistent storage.
This introduced build tags, and I for now very crudely replicated them
in the port Makefile as in the upstream Makefile's "maximalist"
configuration (i.e. all features enabled). I personally don't find the
use case here enough of a concern to have flavours, but if there are
objections, I can make them to match the tags; maybe auto-generating
flavours based on build tags could be a nice feature for go.port.mk.

No comments:

Post a Comment