Date: Wed, 08 Apr 2026 16:57:07 +0000 From: Yuri Victorovich <yuri@FreeBSD.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org Subject: git: 21608fab86f6 - main - misc/claude-code: update 2.1.9=?utf-8?Q?0 =E2=86=92 2.?=1.96 Message-ID: <69d688e3.1e1da.5e7f14ea@gitrepo.freebsd.org>
index | next in thread | raw e-mail
The branch main has been updated by yuri: URL: https://cgit.FreeBSD.org/ports/commit/?id=21608fab86f6a175296c45de599f8b8359400138 commit 21608fab86f6a175296c45de599f8b8359400138 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-04-08 16:56:01 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-04-08 16:56:42 +0000 misc/claude-code: update 2.1.90 → 2.1.96 --- misc/claude-code/Makefile | 9 +++++---- misc/claude-code/distinfo | 6 +++--- misc/claude-code/files/package-lock.json | 8 ++++---- misc/claude-code/pkg-plist | 1 - 4 files changed, 12 insertions(+), 12 deletions(-) diff --git a/misc/claude-code/Makefile b/misc/claude-code/Makefile index a4ed33fc45eb..fc11d0f679ec 100644 --- a/misc/claude-code/Makefile +++ b/misc/claude-code/Makefile @@ -1,6 +1,5 @@ PORTNAME= claude-code -DISTVERSION= 2.1.90 -PORTREVISION= 2 +DISTVERSION= 2.1.96 CATEGORIES= misc # machine-learning DISTFILES= ${PORTNAME}-${DISTVERSION}${EXTRACT_SUFX} @@ -65,7 +64,7 @@ do-fetch-AUDIO_CAPTURE-on: # Raise API and MCP transport timeouts to 24 hours for slow (e.g. CPU-based) servers post-extract: - ${REINPLACE_CMD} \ + ${REINPLACE_CMD} -i '' \ -e 's/var EP5=60000;/var EP5=86400000;/' \ -e 's/API_TIMEOUT_MS||String(600000)/API_TIMEOUT_MS||String(86400000)/' \ -e 's/DEFAULT_TIMEOUT=600000;/DEFAULT_TIMEOUT=86400000;/' \ @@ -73,7 +72,7 @@ post-extract: post-extract-AUDIO_CAPTURE-on: # patch cli.js to load audio-capture on FreeBSD - ${REINPLACE_CMD} \ + ${REINPLACE_CMD} -i '' \ -e 's|q!=="darwin"&&q!=="linux"&&q!=="win32"|q!=="darwin"\&\&q!=="linux"\&\&q!=="win32"\&\&q!=="freebsd"|' \ ${CLI_JS} @@ -98,6 +97,8 @@ do-install: ${INSTALL_LIB} ${AUDIO_CAPTURE_WRKSRC}/target/release/libaudio_capture.so \ ${STAGEDIR}${PREFIX}/lib/node_modules/${PACKAGE_NAME}/vendor/audio-capture/x64-freebsd/audio-capture.node .endif + # remove Linux-only seccomp binaries (seccomp is a Linux kernel API, guarded by process.platform==="linux" in cli.js) + @${RM} -r ${STAGEDIR}${PREFIX}/lib/node_modules/${PACKAGE_NAME}/vendor/seccomp # remove bundled ripgrep @${RM} -r ${STAGEDIR}${PREFIX}/lib/node_modules/${PACKAGE_NAME}/vendor/ripgrep # remove empty vendor subdirectories (and vendor/ itself when AUDIO_CAPTURE=OFF) diff --git a/misc/claude-code/distinfo b/misc/claude-code/distinfo index 27017760fd71..f7caafcf21cb 100644 --- a/misc/claude-code/distinfo +++ b/misc/claude-code/distinfo @@ -1,5 +1,5 @@ -TIMESTAMP = 1775631098 -SHA256 (claude-code-2.1.90.tar.gz) = debb5e196531112978820e5c9b374eca1d6db6dda9098a3c6bae79c9e14320a6 -SIZE (claude-code-2.1.90.tar.gz) = 16070380 +TIMESTAMP = 1775666012 +SHA256 (claude-code-2.1.96.tar.gz) = d72ee548f25de6d3ba5b4b68e1efb9c9d0f2b2ebde21a7c2d94099361f5071a3 +SIZE (claude-code-2.1.96.tar.gz) = 18041559 SHA256 (audio-capture-bb370f75235254da2c3d34f6168fc4a9902d9090.tar.gz) = d6a4e0ff2666efd60efd4259c0e29d6878975cc6f41a2171ff5a12b75e6ef7c6 SIZE (audio-capture-bb370f75235254da2c3d34f6168fc4a9902d9090.tar.gz) = 26840618 diff --git a/misc/claude-code/files/package-lock.json b/misc/claude-code/files/package-lock.json index fc22e1e5359d..dba963d0620e 100644 --- a/misc/claude-code/files/package-lock.json +++ b/misc/claude-code/files/package-lock.json @@ -8,13 +8,13 @@ "name": "@anthropic-ai/claude-code-installer", "version": "1.0.0", "dependencies": { - "@anthropic-ai/claude-code": "^2.1.90" + "@anthropic-ai/claude-code": "^2.1.96" } }, "node_modules/@anthropic-ai/claude-code": { - "version": "2.1.90", - "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.1.90.tgz", - "integrity": "sha512-orm8uULh71ow5yA27PXMGYZrNlEAUmmGOwPrOava6wuai1wAC7J7ZOvx2cbM2u8GJBDkdiNSFdUwYmzc6QsWDQ==", + "version": "2.1.96", + "resolved": "https://registry.npmjs.org/@anthropic-ai/claude-code/-/claude-code-2.1.96.tgz", + "integrity": "sha512-ETrc0+1qWHaqtKi+ixbsAecZyM+H52VIJj+zWIvw3jBU/JZ9v5vnE2kHShM1lcpr+Gji7GXk23l0CMGLA7hC0g==", "license": "SEE LICENSE IN README.md", "bin": { "claude": "cli.js" diff --git a/misc/claude-code/pkg-plist b/misc/claude-code/pkg-plist index 89fe5b22a3c6..5be9d82f85d9 100644 --- a/misc/claude-code/pkg-plist +++ b/misc/claude-code/pkg-plist @@ -2,7 +2,6 @@ bin/claude lib/node_modules/.bin/claude lib/node_modules/@anthropic-ai/claude-code/LICENSE.md lib/node_modules/@anthropic-ai/claude-code/README.md -lib/node_modules/@anthropic-ai/claude-code/bun.lock lib/node_modules/@anthropic-ai/claude-code/cli.js lib/node_modules/@anthropic-ai/claude-code/package.json lib/node_modules/@anthropic-ai/claude-code/sdk-tools.d.tshome | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d688e3.1e1da.5e7f14ea>
