git: 4dce75a1385b - main - Tools/scripts: Prevent tarball format variabilities due to the pax sparse format extension

From: Yuri Victorovich <yuri_at_FreeBSD.org>
Date: Thu, 04 Dec 2025 22:56:56 UTC
The branch main has been updated by yuri:

URL: https://cgit.FreeBSD.org/ports/commit/?id=4dce75a1385bee1b5610eb26ae9bed33e863b271

commit 4dce75a1385bee1b5610eb26ae9bed33e863b271
Author:     Yuri Victorovich <yuri@FreeBSD.org>
AuthorDate: 2025-12-04 21:46:32 +0000
Commit:     Yuri Victorovich <yuri@FreeBSD.org>
CommitDate: 2025-12-04 22:56:48 +0000

    Tools/scripts: Prevent tarball format variabilities due to the pax sparse format extension
---
 Tools/scripts/npmjs-fetch-with-dependencies.sh | 2 +-
 1 file changed, 1 insertion(+), 1 deletion(-)

diff --git a/Tools/scripts/npmjs-fetch-with-dependencies.sh b/Tools/scripts/npmjs-fetch-with-dependencies.sh
index b440340d7e93..4884de6724fe 100755
--- a/Tools/scripts/npmjs-fetch-with-dependencies.sh
+++ b/Tools/scripts/npmjs-fetch-with-dependencies.sh
@@ -133,6 +133,6 @@ find ${PACKAGE_NAME_PURE}-${PACKAGE_VERSION} -type d -name '@*' -empty -delete
 
 find ${PACKAGE_NAME_PURE}-${PACKAGE_VERSION} -and -exec touch -h -d 1970-01-01T00:00:00Z {} \;
 find ${PACKAGE_NAME_PURE}-${PACKAGE_VERSION} -print0 | sort -z | \
-      	tar czf ${PACKAGE_TARBALL_OUTPUT} --format=bsdtar --gid 0 --uid 0 --options gzip:!timestamp --no-recursion --null -T -
+      	tar czf ${PACKAGE_TARBALL_OUTPUT} --format=bsdtar --no-read-sparse --gid 0 --uid 0 --options gzip:!timestamp --no-recursion --null -T -
 rm -rf ${PACKAGE_NAME_PURE}-${PACKAGE_VERSION}
 echo "INFO: created package tarball with dependencies at: ${PACKAGE_TARBALL_OUTPUT}"