git: 5bb6023efa1d - main - misc/crush: Update to 0.98.1
- Go to: [ bottom of page ] [ top of archives ] [ this month ]
Date: Fri, 09 Oct 2026 13:47:54 UTC
The branch main has been updated by tagattie:
URL: https://cgit.FreeBSD.org/ports/commit/?id=5bb6023efa1d87a697845e49e99aa0544d59cae3
commit 5bb6023efa1d87a697845e49e99aa0544d59cae3
Author: Hiroki Tagato <tagattie@FreeBSD.org>
AuthorDate: 2026-10-09 13:46:46 +0000
Commit: Hiroki Tagato <tagattie@FreeBSD.org>
CommitDate: 2026-10-09 13:47:47 +0000
misc/crush: Update to 0.98.1
While here, simplify shell completions installation.
Changelog:
- https://github.com/charmbracelet/crush/releases/tag/v0.98.0
- https://github.com/charmbracelet/crush/releases/tag/v0.98.1
Reported by: GitHub (watch releases)
---
misc/crush/Makefile | 17 ++++++-----------
misc/crush/distinfo | 10 +++++-----
misc/crush/files/extra-patch-disable-command-blocking | 4 ++--
3 files changed, 13 insertions(+), 18 deletions(-)
diff --git a/misc/crush/Makefile b/misc/crush/Makefile
index 4e614d459501..cfe87585f8a3 100644
--- a/misc/crush/Makefile
+++ b/misc/crush/Makefile
@@ -1,7 +1,6 @@
PORTNAME= crush
DISTVERSIONPREFIX= v
-DISTVERSION= 0.97.1
-PORTREVISION= 1
+DISTVERSION= 0.98.1
CATEGORIES= misc devel
MAINTAINER= tagattie@FreeBSD.org
@@ -47,15 +46,11 @@ post-build-MANPAGES-on:
${GO_WRKDIR_BIN}/${PORTNAME} man > ${GO_WRKSRC}/manpages/${PORTNAME}.1
post-install-COMPLETIONS-on:
- @${MKDIR} ${STAGEDIR}${PREFIX}/etc/bash_completion.d \
- ${STAGEDIR}${PREFIX}/share/fish/completions \
- ${STAGEDIR}${PREFIX}/share/zsh/site-functions
- ${INSTALL_DATA} ${GO_WRKSRC}/completions/${PORTNAME}.bash \
- ${STAGEDIR}${PREFIX}/etc/bash_completion.d/${PORTNAME}
- ${INSTALL_DATA} ${GO_WRKSRC}/completions/${PORTNAME}.fish \
- ${STAGEDIR}${PREFIX}/share/fish/completions/${PORTNAME}.fish
- ${INSTALL_DATA} ${GO_WRKSRC}/completions/${PORTNAME}.zsh \
- ${STAGEDIR}${PREFIX}/share/zsh/site-functions/_${PORTNAME}
+ @${MKDIR} ${COMPLETIONS_PLIST_FILES:H:S|^|${STAGEDIR}${PREFIX}/|}
+.for sh in bash fish zsh
+ ${INSTALL_DATA} ${GO_WRKSRC}/completions/${PORTNAME}.${sh} \
+ ${COMPLETIONS_PLIST_FILES:M*${sh}*:S|^|${STAGEDIR}${PREFIX}/|}
+.endfor
post-install-DOCS-on:
@${MKDIR} ${STAGEDIR}${DOCSDIR}
diff --git a/misc/crush/distinfo b/misc/crush/distinfo
index 08b4045cf778..481a3c5428dc 100644
--- a/misc/crush/distinfo
+++ b/misc/crush/distinfo
@@ -1,5 +1,5 @@
-TIMESTAMP = 1791156928
-SHA256 (go/misc_crush/crush-v0.97.1/v0.97.1.mod) = 4beca258380d6aaece97f22b67992835e360b2a5da37451e16ebec9d3311c488
-SIZE (go/misc_crush/crush-v0.97.1/v0.97.1.mod) = 9725
-SHA256 (go/misc_crush/crush-v0.97.1/v0.97.1.zip) = fca9c79d40a6136248b1ebd5937fc5e208c63b2cb55cc11b4da61574e581ebd6
-SIZE (go/misc_crush/crush-v0.97.1/v0.97.1.zip) = 2988298
+TIMESTAMP = 1791552915
+SHA256 (go/misc_crush/crush-v0.98.1/v0.98.1.mod) = 9f03d6799e516542e885da6b549773d666009c59bfe5078aa052bc365456cd41
+SIZE (go/misc_crush/crush-v0.98.1/v0.98.1.mod) = 9697
+SHA256 (go/misc_crush/crush-v0.98.1/v0.98.1.zip) = b42eec44e66d81a388cc672bd7eb45acb91fb33986cb618ac608e1a5df73ec46
+SIZE (go/misc_crush/crush-v0.98.1/v0.98.1.zip) = 3040232
diff --git a/misc/crush/files/extra-patch-disable-command-blocking b/misc/crush/files/extra-patch-disable-command-blocking
index 58371ac95583..5a41b6bd9233 100644
--- a/misc/crush/files/extra-patch-disable-command-blocking
+++ b/misc/crush/files/extra-patch-disable-command-blocking
@@ -11,7 +11,7 @@
tools.NewMultiEditTool(nil, env.permissions, env.history, *env.filetracker, env.workingDir),
--- internal/agent/coordinator.go.orig 1979-11-29 15:00:00 UTC
+++ internal/agent/coordinator.go
-@@ -874,7 +874,7 @@ func (c *coordinator) buildTools(ctx context.Context,
+@@ -878,7 +878,7 @@ func (c *coordinator) buildTools(ctx context.Context,
allTools = append(
allTools,
@@ -100,7 +100,7 @@
func TestBashTool_ChainedCommandsRequirePermission(t *testing.T) {
--- internal/config/config.go.orig 1979-11-29 15:00:00 UTC
+++ internal/config/config.go
-@@ -458,6 +458,7 @@ type Options struct {
+@@ -463,6 +463,7 @@ type Options struct {
Debug bool `json:"debug,omitempty" jsonschema:"description=Enable debug logging,default=false"`
DebugLSP bool `json:"debug_lsp,omitempty" jsonschema:"description=Enable debug logging for LSP servers,default=false"`
DisableAutoSummarize bool `json:"disable_auto_summarize,omitempty" jsonschema:"description=Disable automatic conversation summarization,default=false"`