From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1448536-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits) server-digest SHA256) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 2A004158020 for <garchives@archives.gentoo.org>; Thu, 20 Oct 2022 07:06:42 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 55C5EE086A; Thu, 20 Oct 2022 07:06:41 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3D250E086A for <gentoo-commits@lists.gentoo.org>; Thu, 20 Oct 2022 07:06:41 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (4096 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 13D613406C0 for <gentoo-commits@lists.gentoo.org>; Thu, 20 Oct 2022 07:06:40 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id A8EF0617 for <gentoo-commits@lists.gentoo.org>; Thu, 20 Oct 2022 07:06:38 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org> Message-ID: <1662532509.2c69291b26fea14b6a93f1bf6b4f0bfd7f74f7b9.ulm@gentoo> Subject: [gentoo-commits] proj/pms:master commit in: / X-VCS-Repository: proj/pms X-VCS-Files: ebuild-format.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 2c69291b26fea14b6a93f1bf6b4f0bfd7f74f7b9 X-VCS-Branch: master Date: Thu, 20 Oct 2022 07:06:38 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7b42d667-c395-4f76-b10d-5c536cc2a301 X-Archives-Hash: 93fa4bf28709cb7631fa81d9fddd4e91 commit: 2c69291b26fea14b6a93f1bf6b4f0bfd7f74f7b9 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Sep 7 06:35:09 2022 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Wed Sep 7 06:35:09 2022 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=2c69291b ebuild-format.tex: Document that umask is set to 022 Portage has been doing this since 2001. Closes: https://bugs.gentoo.org/868669 Reported-by: Mike Frysinger <vapier <AT> gentoo.org> Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> ebuild-format.tex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ebuild-format.tex b/ebuild-format.tex index 25ba28e..cf06668 100644 --- a/ebuild-format.tex +++ b/ebuild-format.tex @@ -7,6 +7,9 @@ table~\ref{tab:bash-version}, or any later version. If possible, the package man the shell's compatibility level to the exact version specified. It must ensure that any such compatibility settings (e.\,g.\ the \t{BASH_COMPAT} variable) are not exported to external programs. +The file creation mask (\t{umask}) is set to \t{022} in the shell execution environment. It is +\emph{not} saved between phase functions but always reset to this initial value. + \featurelabel{failglob} For EAPIs listed such in table~\ref{tab:bash-version}, the \t{failglob} option of bash is set in the global scope of ebuilds. If set, failed pattern matches during filename expansion result in an error when the ebuild is being sourced. From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: <gentoo-commits+bounces-1490647-garchives=archives.gentoo.org@lists.gentoo.org> Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.3 with cipher TLS_AES_256_GCM_SHA384 (256/256 bits) key-exchange X25519 server-signature RSA-PSS (2048 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id E66EC158030 for <garchives@archives.gentoo.org>; Sun, 26 Feb 2023 17:42:57 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id BE891E085E; Sun, 26 Feb 2023 17:42:56 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 9ED25E085E for <gentoo-commits@lists.gentoo.org>; Sun, 26 Feb 2023 17:42:56 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id A9D63340D1D for <gentoo-commits@lists.gentoo.org>; Sun, 26 Feb 2023 17:42:55 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0272E807 for <gentoo-commits@lists.gentoo.org>; Sun, 26 Feb 2023 17:42:54 +0000 (UTC) From: "Ulrich Müller" <ulm@gentoo.org> To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Ulrich Müller" <ulm@gentoo.org> Message-ID: <1662532509.2c69291b26fea14b6a93f1bf6b4f0bfd7f74f7b9.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-9 commit in: / X-VCS-Repository: proj/pms X-VCS-Files: ebuild-format.tex X-VCS-Directories: / X-VCS-Committer: ulm X-VCS-Committer-Name: Ulrich Müller X-VCS-Revision: 2c69291b26fea14b6a93f1bf6b4f0bfd7f74f7b9 X-VCS-Branch: eapi-9 Date: Sun, 26 Feb 2023 17:42:54 +0000 (UTC) Precedence: bulk List-Post: <mailto:gentoo-commits@lists.gentoo.org> List-Help: <mailto:gentoo-commits+help@lists.gentoo.org> List-Unsubscribe: <mailto:gentoo-commits+unsubscribe@lists.gentoo.org> List-Subscribe: <mailto:gentoo-commits+subscribe@lists.gentoo.org> List-Id: Gentoo Linux mail <gentoo-commits.gentoo.org> X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: 7b81b94a-a7df-4094-bdaf-59714a6a57b1 X-Archives-Hash: 2bca7768c941bee874ff68ad84ba2a89 Message-ID: <20230226174254.7SDmKtQHcWWAy7tXXamV3DD3Lcfv_GAtFcrJyZoq8pQ@z> commit: 2c69291b26fea14b6a93f1bf6b4f0bfd7f74f7b9 Author: Ulrich Müller <ulm <AT> gentoo <DOT> org> AuthorDate: Wed Sep 7 06:35:09 2022 +0000 Commit: Ulrich Müller <ulm <AT> gentoo <DOT> org> CommitDate: Wed Sep 7 06:35:09 2022 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=2c69291b ebuild-format.tex: Document that umask is set to 022 Portage has been doing this since 2001. Closes: https://bugs.gentoo.org/868669 Reported-by: Mike Frysinger <vapier <AT> gentoo.org> Signed-off-by: Ulrich Müller <ulm <AT> gentoo.org> ebuild-format.tex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ebuild-format.tex b/ebuild-format.tex index 25ba28e..cf06668 100644 --- a/ebuild-format.tex +++ b/ebuild-format.tex @@ -7,6 +7,9 @@ table~\ref{tab:bash-version}, or any later version. If possible, the package man the shell's compatibility level to the exact version specified. It must ensure that any such compatibility settings (e.\,g.\ the \t{BASH_COMPAT} variable) are not exported to external programs. +The file creation mask (\t{umask}) is set to \t{022} in the shell execution environment. It is +\emph{not} saved between phase functions but always reset to this initial value. + \featurelabel{failglob} For EAPIs listed such in table~\ref{tab:bash-version}, the \t{failglob} option of bash is set in the global scope of ebuilds. If set, failed pattern matches during filename expansion result in an error when the ebuild is being sourced.