Date: Wed, 08 Apr 2026 16:57:06 +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: 42b528cda5f1 - main - misc/claude-code: Fix fetch Message-ID: <69d688e2.1d5b3.7af30467@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=42b528cda5f1c18d00618f046ef695444018b829 commit 42b528cda5f1c18d00618f046ef695444018b829 Author: Yuri Victorovich <yuri@FreeBSD.org> AuthorDate: 2026-04-08 16:26:25 +0000 Commit: Yuri Victorovich <yuri@FreeBSD.org> CommitDate: 2026-04-08 16:56:42 +0000 misc/claude-code: Fix fetch --- misc/claude-code/Makefile | 5 +++-- misc/claude-code/distinfo | 2 +- misc/claude-code/files/audio-capture-fetch.sh | 10 ++++++++-- 3 files changed, 12 insertions(+), 5 deletions(-) diff --git a/misc/claude-code/Makefile b/misc/claude-code/Makefile index c37c62ea81a8..a4ed33fc45eb 100644 --- a/misc/claude-code/Makefile +++ b/misc/claude-code/Makefile @@ -8,8 +8,10 @@ MAINTAINER= yuri@FreeBSD.org COMMENT= Agentic coding tool from Anthropic that lives in your terminal WWW= https://github.com/anthropics/claude-code -FETCH_DEPENDS= npm:www/npm \ +FETCH_DEPENDS= cargo:lang/rust \ + curl:ftp/curl \ jq:textproc/jq \ + npm:www/npm \ ${LOCALBASE}/share/certs/ca-root-nss.crt:security/ca_root_nss RUN_DEPENDS= rg:textproc/ripgrep @@ -40,7 +42,6 @@ AUDIO_CAPTURE_WRKSRC= ${WRKDIR}/audio-capture-${AUDIO_CAPTURE_COMMIT} ONLY_FOR_ARCHS= amd64 ONLY_FOR_ARCHS_REASON= audio capture module only supports amd64 DISTFILES+= audio-capture-${AUDIO_CAPTURE_COMMIT}${EXTRACT_SUFX}:audio_capture_src -MASTER_SITES+= https://github.com/kstonekuan/audio-capture/archive/:audio_capture_src .else NO_BUILD= yes NO_ARCH= yes diff --git a/misc/claude-code/distinfo b/misc/claude-code/distinfo index da7b2c9116c7..27017760fd71 100644 --- a/misc/claude-code/distinfo +++ b/misc/claude-code/distinfo @@ -1,4 +1,4 @@ -TIMESTAMP = 1775147894 +TIMESTAMP = 1775631098 SHA256 (claude-code-2.1.90.tar.gz) = debb5e196531112978820e5c9b374eca1d6db6dda9098a3c6bae79c9e14320a6 SIZE (claude-code-2.1.90.tar.gz) = 16070380 SHA256 (audio-capture-bb370f75235254da2c3d34f6168fc4a9902d9090.tar.gz) = d6a4e0ff2666efd60efd4259c0e29d6878975cc6f41a2171ff5a12b75e6ef7c6 diff --git a/misc/claude-code/files/audio-capture-fetch.sh b/misc/claude-code/files/audio-capture-fetch.sh index 532a1b72fac5..032f24083761 100644 --- a/misc/claude-code/files/audio-capture-fetch.sh +++ b/misc/claude-code/files/audio-capture-fetch.sh @@ -9,7 +9,10 @@ # Usage: $0 <commit> <output-tarball> # Example: $0 bb370f75235254da2c3d34f6168fc4a9902d9090 /distfiles/audio-capture-bb370f75.tar.gz -set -eu +set -euo pipefail + +export LC_ALL=C +umask 002 AUDIO_CAPTURE_COMMIT="$1" PACKAGE_TARBALL_OUTPUT="$2" @@ -67,9 +70,12 @@ rustflags = ["-C", "link-args=-undefined dynamic_lookup"] rustflags = ["-C", "link-args=-undefined dynamic_lookup"] EOF -# Create a deterministic tarball (normalise timestamps, sort entries) +# Create a deterministic tarball (normalise timestamps, permissions, sort entries) echo "===> Creating tarball" cd "${BUILD_DIR}" +find "${SRC}" -type d -exec chmod 755 {} \; +find "${SRC}" -type f ! -perm -0100 -exec chmod 644 {} \; +find "${SRC}" -type f -perm -0100 -exec chmod 755 {} \; find "${SRC}" -and -exec touch -h -d 1970-01-01T00:00:00Z {} \; find "${SRC}" -print0 | sort -z | \ tar czf "${PACKAGE_TARBALL_OUTPUT}" \home | help
Want to link to this message? Use this
URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?69d688e2.1d5b3.7af30467>
