From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id B9AAE13835A for ; Sat, 5 Jun 2021 08:57:08 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DB2CCE083E; Sat, 5 Jun 2021 08:57:07 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C4541E083E for ; Sat, 5 Jun 2021 08:57:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id E5D97340C50 for ; Sat, 5 Jun 2021 08:57:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 0786A7A5 for ; Sat, 5 Jun 2021 08:57:04 +0000 (UTC) From: "Ulrich Müller" 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" Message-ID: <1622883334.3f93cb5890b64d642a68aafa3997abe9dda46a10.ulm@gentoo> Subject: [gentoo-commits] proj/pms:eapi-8 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: 3f93cb5890b64d642a68aafa3997abe9dda46a10 X-VCS-Branch: eapi-8 Date: Sat, 5 Jun 2021 08:57:04 +0000 (UTC) Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Linux mail X-BeenThere: gentoo-commits@lists.gentoo.org X-Auto-Response-Suppress: DR, RN, NRN, OOF, AutoReply X-Archives-Salt: ef7baf2c-f745-480d-bdc9-b82f56a9d1a1 X-Archives-Hash: c4bf0dd9100d5f04e59a8c76eb6e8e28 commit: 3f93cb5890b64d642a68aafa3997abe9dda46a10 Author: Ulrich Müller gentoo org> AuthorDate: Tue May 25 15:59:13 2021 +0000 Commit: Ulrich Müller gentoo org> CommitDate: Sat Jun 5 08:55:34 2021 +0000 URL: https://gitweb.gentoo.org/proj/pms.git/commit/?id=3f93cb58 Ban nameref variables from exported and default scope Bug: https://bugs.gentoo.org/636652 Signed-off-by: Ulrich Müller gentoo.org> ebuild-format.tex | 2 ++ 1 file changed, 2 insertions(+) diff --git a/ebuild-format.tex b/ebuild-format.tex index 4929ba4..25ba28e 100644 --- a/ebuild-format.tex +++ b/ebuild-format.tex @@ -11,6 +11,8 @@ compatibility settings (e.\,g.\ the \t{BASH_COMPAT} variable) are not exported t 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. +Name reference variables (introduced in bash version~4.3) must not be used, except in local scope. + The file encoding must be UTF-8 with Unix-style newlines. When sourced, the ebuild must define certain variables and functions (see chapters~\ref{ch:ebuild-vars} and~\ref{ch:ebuild-functions} for specific information), and must not call any external programs, write anything to standard