From nobody Tue Jul 18 07:57:26 2023 X-Original-To: dev-commits-ports-main@mlmmj.nyi.freebsd.org Received: from mx1.freebsd.org (mx1.freebsd.org [IPv6:2610:1c1:1:606c::19:1]) by mlmmj.nyi.freebsd.org (Postfix) with ESMTP id 4R4rs31vwYz4nqs0; Tue, 18 Jul 2023 07:57:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from mxrelay.nyi.freebsd.org (mxrelay.nyi.freebsd.org [IPv6:2610:1c1:1:606c::19:3]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256 client-signature RSA-PSS (4096 bits) client-digest SHA256) (Client CN "mxrelay.nyi.freebsd.org", Issuer "R3" (verified OK)) by mx1.freebsd.org (Postfix) with ESMTPS id 4R4rs31D1Xz4FwQ; Tue, 18 Jul 2023 07:57:27 +0000 (UTC) (envelope-from git@FreeBSD.org) DKIM-Signature: v=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689667047; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BjntS4WQXecwSGlnjayKhvt1cQ2JMK/l8sIVNNb0H0Y=; b=L4I1E+udJcFVPS7gkPtQX5apWW5LyIZWBEEiQy/4Q0IA/0ptuG3NwhRKaEKsFXVEmmBgny V0dmmVhbFppk8QL+81NdtEZo/caImJ90jrop7Qr9XweS8vBvwNRnPFpdfHYx3k0F1XDzOL h2iikg6TWfS+pwSCGWG0IyPy3eO3a/GO/Kan4Q+u5nv9ntDaYk8OD6ZL1FFQ7ILe2zvMhk DB4WN8ghOM/K68lILUMXZXisy5tQMLVejtJSoeRHDP+q0o/9H/0AieHs0BNVuC/EuUgCqK p1GM5eaWfsIK8DG3IvoS+w7Y/XmaDzsLnfFgVBosGlrBZD991TvyQxNn9j3oMA== ARC-Message-Signature: i=1; a=rsa-sha256; c=relaxed/relaxed; d=freebsd.org; s=dkim; t=1689667047; h=from:from:reply-to:subject:subject:date:date:message-id:message-id: to:to:cc:mime-version:mime-version:content-type:content-type: content-transfer-encoding:content-transfer-encoding; bh=BjntS4WQXecwSGlnjayKhvt1cQ2JMK/l8sIVNNb0H0Y=; b=WZ4D5BKqLTsrr1bWskMORyT3sRKYYZoQ9nhyJ40Tt3BcMs9eE9wELYB4BSh+6VsXofs8Nl HEtoCzTAlvgtCXiUch4P1TwlaZMsX/8615KSzYOKpBSAJeKX9oDj61p3TplReWYGRvBYw1 iieOHc6pNFdg0Capcnb19Xo0UHQK3YdOeKAT65HIOnoVLZkfcHpTc94CVL51nbnZHJ8zZP xREjuAAseLD9Ji9cqNyQzZOEkscYcTPaxK4IlW1LPTAiemwpymmBqMGo5Ojm4uqazfntJi ZWX2M8meL9ngtliz8H0J89YL1iqCIoF57mY8vOCaZHfp6XiDDLLuKXLbI0C7jw== ARC-Authentication-Results: i=1; mx1.freebsd.org; none ARC-Seal: i=1; s=dkim; d=freebsd.org; t=1689667047; a=rsa-sha256; cv=none; b=hoIsx0UR5gLoI94Yex2XePVGVIRNW3nLcrRWDd+OSTeq/A1GS0f29A8Lygm/vpkOkbUeg8 VtuuziRIxwPd7SwPEFTC/74vlK54P+J1xWZxcA0cbRW6+maMqbSMsJtZfJTrcF2n+QBj0t aTj95Mc6kmiyyAD0obLf+lCto/Vi5vL9/DCZnlgLhk32sWk+vbBdLTNENFwpH/P97cZHdm Vb02LuLl7/6EopB9XMdqYmvmE9JYl9kLkm+BQncVC+0gNT2JX+XpDm+FAbb9FwjPyr17Bf CSzbvnYjq2Fdt86jfdsR+rBjKbxWMmGBbJFsG5hLpVGWPzhg4lM/QX0iHWbxJA== Received: from gitrepo.freebsd.org (gitrepo.freebsd.org [IPv6:2610:1c1:1:6068::e6a:5]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits) server-digest SHA256) (Client did not present a certificate) by mxrelay.nyi.freebsd.org (Postfix) with ESMTPS id 4R4rs30GVzzy5f; Tue, 18 Jul 2023 07:57:27 +0000 (UTC) (envelope-from git@FreeBSD.org) Received: from gitrepo.freebsd.org ([127.0.1.44]) by gitrepo.freebsd.org (8.17.1/8.17.1) with ESMTP id 36I7vQq8086732; Tue, 18 Jul 2023 07:57:26 GMT (envelope-from git@gitrepo.freebsd.org) Received: (from git@localhost) by gitrepo.freebsd.org (8.17.1/8.17.1/Submit) id 36I7vQrr086731; Tue, 18 Jul 2023 07:57:26 GMT (envelope-from git) Date: Tue, 18 Jul 2023 07:57:26 GMT Message-Id: <202307180757.36I7vQrr086731@gitrepo.freebsd.org> To: ports-committers@FreeBSD.org, dev-commits-ports-all@FreeBSD.org, dev-commits-ports-main@FreeBSD.org From: Hiroki Tagato Subject: git: 193166dd12bc - main - devel/electron2[2-5]: force directory/file permissions in yarn cache archive List-Id: Commits to the main branch of the FreeBSD ports repository List-Archive: https://lists.freebsd.org/archives/dev-commits-ports-main List-Help: List-Post: List-Subscribe: List-Unsubscribe: Sender: owner-dev-commits-ports-main@freebsd.org X-BeenThere: dev-commits-ports-main@freebsd.org MIME-Version: 1.0 Content-Type: text/plain; charset=utf-8 Content-Transfer-Encoding: 8bit X-Git-Committer: tagattie X-Git-Repository: ports X-Git-Refname: refs/heads/main X-Git-Reftype: branch X-Git-Commit: 193166dd12bcaa5e1df13202d794017e7cabc7a6 Auto-Submitted: auto-generated The branch main has been updated by tagattie: URL: https://cgit.FreeBSD.org/ports/commit/?id=193166dd12bcaa5e1df13202d794017e7cabc7a6 commit 193166dd12bcaa5e1df13202d794017e7cabc7a6 Author: Hiroki Tagato AuthorDate: 2023-07-18 07:54:02 +0000 Commit: Hiroki Tagato CommitDate: 2023-07-18 07:57:20 +0000 devel/electron2[2-5]: force directory/file permissions in yarn cache archive There has been a size/checksum mismatch when creating a yarn cache archive for users with umask other than 022. To ensure reproducibility of the cache file, force use of 755 and 644 permissions regardless of umask value. Reported by: Joe Hu (private mail) MFH: 2023Q3 --- devel/electron22/Makefile | 2 ++ devel/electron23/Makefile | 2 ++ devel/electron24/Makefile | 2 ++ devel/electron25/Makefile | 2 ++ 4 files changed, 8 insertions(+) diff --git a/devel/electron22/Makefile b/devel/electron22/Makefile index f50df653d65e..112363552c65 100644 --- a/devel/electron22/Makefile +++ b/devel/electron22/Makefile @@ -282,6 +282,8 @@ pre-fetch: ${MTREE_CMD} -cbnSp yarn-offline-cache | ${MTREE_CMD} -C | ${SED} \ -e 's:time=[0-9.]*:time=${YARN_TIMESTAMP}.000000000:' \ -e 's:\([gu]id\)=[0-9]*:\1=0:g' \ + -e 's:mode=\([0-9]\)7[0-9][0-9]:mode=\1755:' \ + -e 's:mode=\([0-9]\)6[0-9][0-9]:mode=\1644:' \ -e 's:flags=.*:flags=none:' \ -e 's:^\.:./yarn-offline-cache:' > yarn-offline-cache.mtree; \ ${TAR} cJf ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} \ diff --git a/devel/electron23/Makefile b/devel/electron23/Makefile index 2953e03844c9..6ca7fefa3221 100644 --- a/devel/electron23/Makefile +++ b/devel/electron23/Makefile @@ -283,6 +283,8 @@ pre-fetch: ${MTREE_CMD} -cbnSp yarn-offline-cache | ${MTREE_CMD} -C | ${SED} \ -e 's:time=[0-9.]*:time=${YARN_TIMESTAMP}.000000000:' \ -e 's:\([gu]id\)=[0-9]*:\1=0:g' \ + -e 's:mode=\([0-9]\)7[0-9][0-9]:mode=\1755:' \ + -e 's:mode=\([0-9]\)6[0-9][0-9]:mode=\1644:' \ -e 's:flags=.*:flags=none:' \ -e 's:^\.:./yarn-offline-cache:' > yarn-offline-cache.mtree; \ ${TAR} cJf ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} \ diff --git a/devel/electron24/Makefile b/devel/electron24/Makefile index 188650594abf..23b7bcacf836 100644 --- a/devel/electron24/Makefile +++ b/devel/electron24/Makefile @@ -282,6 +282,8 @@ pre-fetch: ${MTREE_CMD} -cbnSp yarn-offline-cache | ${MTREE_CMD} -C | ${SED} \ -e 's:time=[0-9.]*:time=${YARN_TIMESTAMP}.000000000:' \ -e 's:\([gu]id\)=[0-9]*:\1=0:g' \ + -e 's:mode=\([0-9]\)7[0-9][0-9]:mode=\1755:' \ + -e 's:mode=\([0-9]\)6[0-9][0-9]:mode=\1644:' \ -e 's:flags=.*:flags=none:' \ -e 's:^\.:./yarn-offline-cache:' > yarn-offline-cache.mtree; \ ${TAR} cJf ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} \ diff --git a/devel/electron25/Makefile b/devel/electron25/Makefile index 735a15b82c10..bdcd90640843 100644 --- a/devel/electron25/Makefile +++ b/devel/electron25/Makefile @@ -293,6 +293,8 @@ pre-fetch: ${MTREE_CMD} -cbnSp yarn-offline-cache | ${MTREE_CMD} -C | ${SED} \ -e 's:time=[0-9.]*:time=${YARN_TIMESTAMP}.000000000:' \ -e 's:\([gu]id\)=[0-9]*:\1=0:g' \ + -e 's:mode=\([0-9]\)7[0-9][0-9]:mode=\1755:' \ + -e 's:mode=\([0-9]\)6[0-9][0-9]:mode=\1644:' \ -e 's:flags=.*:flags=none:' \ -e 's:^\.:./yarn-offline-cache:' > yarn-offline-cache.mtree; \ ${TAR} cJf ${DISTDIR}/${DIST_SUBDIR}/electron-yarn-cache-${ELECTRON_VER}${EXTRACT_SUFX} \