On Sat, 26 Sep 2026 10:49:00 +0200,
David Uhden Collado <[email protected]> wrote:
>
> [1 <text/plain; UTF-8 (7bit)>]
> Hello,
>
> Please find attached a patch that updates devel/crush from version
> 0.95.0 to 0.96.1.
>
> The upstream release notes and full comparison are available at:
>
> https://github.com/charmbracelet/crush/releases/tag/v0.96.0
> https://github.com/charmbracelet/crush/releases/tag/v0.96.1
> https://github.com/charmbracelet/crush/compare/v0.95.0...v0.96.1
>
> Version 0.96.0 introduces theme support, including a new Themes dialog,
> live previews, a built-in Gruvbox Dark theme, and support for custom
> color palettes.
>
> The release also includes a number of user interface, shell tool and
> performance improvements. These include real-time Hyper credit display,
> a longer default request timeout, improved plan wrapping and extended
> help, better syntax highlighting for long shell commands, bounded
> bang-mode output, and several optimizations to session and message
> loading.
>
> Version 0.96.1 follows with a small breaking adjustment to the new theme
> API. The diff insertion and deletion background keys were renamed and
> prefixed consistently with the other diff-related theme settings.
>
> For the OpenBSD port, I updated MODGO_VERSION to v0.96.1 and regenerated
> modules.inc and distinfo for the current upstream Go dependency set.
> The only dependency change is an update to the charmtone module used by
> Crush.
>
> I also added MODGO_LDFLAGS to inject MODGO_VERSION into
> internal/version.Version. Upstream release builds set this value at link
> time, and doing the same in the port ensures that the installed binary
> reports the correct release version instead of the default development
> value.
>
> No local patches or package list changes are required.
>
> Thank you for your time and consideration.
>
Long story short: have you tested it?
> Best regards,
> David.
> [2 crush-0.96.1.patch <text/x-patch; UTF-8 (base64)>]
> Index: devel/crush/Makefile
> ===================================================================
> RCS file: /cvs/ports/devel/crush/Makefile,v
> diff -u -p -u -p -r1.4 Makefile
> --- devel/crush/Makefile 18 Sep 2026 17:05:24 -0000 1.4
> +++ devel/crush/Makefile 26 Sep 2026 08:43:42 -0000
> @@ -1,7 +1,7 @@
> COMMENT = coding agent with a rich terminal UI
>
> MODGO_MODNAME = github.com/charmbracelet/crush
> -MODGO_VERSION = v0.95.0
> +MODGO_VERSION = v0.96.1
>
> DISTNAME = crush-${MODGO_VERSION}
> WRKDIST = ${WRKDIR}/${MODGO_MODNAME}@${MODGO_VERSION}
> @@ -16,6 +16,9 @@ PERMIT_PACKAGE = Yes
> WANTLIB += c pthread
>
> MODULES = lang/go
> +
> +# Upstream release binaries inject the tag version into internal/version.
> +MODGO_LDFLAGS += -X
> github.com/charmbracelet/crush/internal/version.Version=${MODGO_VERSION}
>
> .include "modules.inc"
> .include <bsd.port.mk>
> Index: devel/crush/distinfo
> ===================================================================
> RCS file: /cvs/ports/devel/crush/distinfo,v
> diff -u -p -u -p -r1.3 distinfo
> --- devel/crush/distinfo 18 Sep 2026 17:05:24 -0000 1.3
> +++ devel/crush/distinfo 26 Sep 2026 08:43:43 -0000
> @@ -1,4 +1,4 @@
> -SHA256 (crush-v0.95.0.zip) = IizHELj+95cYFxl3/Ah/9zSQMeCgIPjw/YyPpxeCCjA=
> +SHA256 (crush-v0.96.1.zip) = ecbK8Qw9+c/vK4pbhjN6OaSjndRjLCmL6Ib4H50gk1k=
> SHA256 (go_modules/cel.dev/expr/@v/v0.24.0.mod) =
> wMexfwVuWHervPsGdEz1I4y5oLChoI4ThM8mhaIhFNE=
> SHA256 (go_modules/cel.dev/expr/@v/v0.25.2.mod) =
> Z0UnUNV+zK4mM7F05mRotyYy7edErdtN4sCybd04qOE=
> SHA256 (go_modules/cel.dev/expr/@v/v0.25.3.mod) =
> Z0UnUNV+zK4mM7F05mRotyYy7edErdtN4sCybd04qOE=
> @@ -262,8 +262,8 @@ SHA256 (go_modules/github.com/charmbrace
> SHA256 (go_modules/github.com/charmbracelet/x/etag/@v/v0.2.0.mod) =
> Iz4YV/ll4kubhl76NbvAuqe9wkAeoRUxpJ656No4TiI=
> SHA256 (go_modules/github.com/charmbracelet/x/etag/@v/v0.2.0.zip) =
> XA51uyZgQCyr6YdmOBtRZNlpEMk5ySUXKfHseVAXPIY=
> SHA256
> (go_modules/github.com/charmbracelet/x/exp/charmtone/@v/v0.0.0-20250603201427-c31516f43444.mod)
> = 9FKGgeUaG4abAAfEJZM9yI0G7QJOycqltyBQXJ/jBCk=
> -SHA256
> (go_modules/github.com/charmbracelet/x/exp/charmtone/@v/v0.0.0-20260527151214-009e6338d40d.mod)
> = mud6AvGtjnoO01Iw/u1ShI9wqCVm1ja5ldFvcnK0/p4=
> -SHA256
> (go_modules/github.com/charmbracelet/x/exp/charmtone/@v/v0.0.0-20260527151214-009e6338d40d.zip)
> = UCsyv63yywcr0SDRJ2Shm1M2zA7UU63K/13JciYg2x8=
> +SHA256
> (go_modules/github.com/charmbracelet/x/exp/charmtone/@v/v0.0.0-20260602025833-85a30b5e440a.mod)
> = mud6AvGtjnoO01Iw/u1ShI9wqCVm1ja5ldFvcnK0/p4=
> +SHA256
> (go_modules/github.com/charmbracelet/x/exp/charmtone/@v/v0.0.0-20260602025833-85a30b5e440a.zip)
> = GxbxWWn/IpZ8xVv9opJoCgTp9lUqZC6F0wb4tQYjrb8=
> SHA256
> (go_modules/github.com/charmbracelet/x/exp/golden/@v/v0.0.0-20241212170349-ad4b7ae0f25f.mod)
> = qOQi7fNKC26E5mkaeXSSaknqW54R3uh7Auc32goAc0s=
> SHA256
> (go_modules/github.com/charmbracelet/x/exp/golden/@v/v0.0.0-20250806222409-83e3a29d542f.mod)
> = G5O7ToP7cdWGmo3H9l73FikbKK9UB9aTCcbPlayXiAU=
> SHA256
> (go_modules/github.com/charmbracelet/x/exp/golden/@v/v0.0.0-20250806222409-83e3a29d542f.zip)
> = aGNrbN7A5PwLvgtQxO/FLILy4XXRGKkDNjGr3ZWUtSc=
> @@ -1272,7 +1272,7 @@ SHA256 (go_modules/mvdan.cc/sh/x/@v/v0.0
> SHA256 (go_modules/mvdan.cc/sh/x/@v/v0.0.0-20260907232430-b5028a3332a4.zip)
> = ihOUHozHP5hCTNIWJospN3T+SncrIUvrYra2L1LqlnU=
> SHA256 (go_modules/pack.ag/tftp/@v/v1.0.1-0.20181129014014-07909dfbde3c.mod)
> = VLlRy6/uldG7KTMZ+Tv09LQC1u1/6WsX67Gt9e3n6N8=
> SHA256 (go_modules/pack.ag/tftp/@v/v1.0.1-0.20181129014014-07909dfbde3c.zip)
> = EKKXbL6XnK6qqLJeM2X4BPxgi5er2IJEjs3r83uGeE0=
> -SIZE (crush-v0.95.0.zip) = 2889019
> +SIZE (crush-v0.96.1.zip) = 2932953
> SIZE (go_modules/cel.dev/expr/@v/v0.24.0.mod) = 231
> SIZE (go_modules/cel.dev/expr/@v/v0.25.2.mod) = 96
> SIZE (go_modules/cel.dev/expr/@v/v0.25.3.mod) = 96
> @@ -1536,8 +1536,8 @@ SIZE (go_modules/github.com/charmbracele
> SIZE (go_modules/github.com/charmbracelet/x/etag/@v/v0.2.0.mod) = 50
> SIZE (go_modules/github.com/charmbracelet/x/etag/@v/v0.2.0.zip) = 3197
> SIZE
> (go_modules/github.com/charmbracelet/x/exp/charmtone/@v/v0.0.0-20250603201427-c31516f43444.mod)
> = 110
> -SIZE
> (go_modules/github.com/charmbracelet/x/exp/charmtone/@v/v0.0.0-20260527151214-009e6338d40d.mod)
> = 59
> -SIZE
> (go_modules/github.com/charmbracelet/x/exp/charmtone/@v/v0.0.0-20260527151214-009e6338d40d.zip)
> = 5982
> +SIZE
> (go_modules/github.com/charmbracelet/x/exp/charmtone/@v/v0.0.0-20260602025833-85a30b5e440a.mod)
> = 59
> +SIZE
> (go_modules/github.com/charmbracelet/x/exp/charmtone/@v/v0.0.0-20260602025833-85a30b5e440a.zip)
> = 6626
> SIZE
> (go_modules/github.com/charmbracelet/x/exp/golden/@v/v0.0.0-20241212170349-ad4b7ae0f25f.mod)
> = 103
> SIZE
> (go_modules/github.com/charmbracelet/x/exp/golden/@v/v0.0.0-20250806222409-83e3a29d542f.mod)
> = 105
> SIZE
> (go_modules/github.com/charmbracelet/x/exp/golden/@v/v0.0.0-20250806222409-83e3a29d542f.zip)
> = 5037
> Index: devel/crush/modules.inc
> ===================================================================
> RCS file: /cvs/ports/devel/crush/modules.inc,v
> diff -u -p -u -p -r1.3 modules.inc
> --- devel/crush/modules.inc 18 Sep 2026 17:05:24 -0000 1.3
> +++ devel/crush/modules.inc 26 Sep 2026 08:43:43 -0000
> @@ -95,7 +95,7 @@ MODGO_MODULES = \
> github.com/charmbracelet/x/ansi
> v0.11.8 \
> github.com/charmbracelet/x/editor
> v0.2.0 \
> github.com/charmbracelet/x/etag
> v0.2.0 \
> - github.com/charmbracelet/x/exp/charmtone
> v0.0.0-20260527151214-009e6338d40d \
> + github.com/charmbracelet/x/exp/charmtone
> v0.0.0-20260602025833-85a30b5e440a \
> github.com/charmbracelet/x/exp/golden
> v0.0.0-20250806222409-83e3a29d542f \
> github.com/charmbracelet/x/exp/ordered
> v0.1.0 \
> github.com/charmbracelet/x/exp/slice
> v0.0.0-20260730164118-7e2d3e6c5238 \
--
wbr, Kirill