From mboxrd@z Thu Jan 1 00:00:00 1970 Return-Path: Received: from lists.gentoo.org (pigeon.gentoo.org [208.92.234.80]) by finch.gentoo.org (Postfix) with ESMTP id 0F9E113829C for ; Sat, 4 Jun 2016 18:07:11 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 8DF2A254020; Sat, 4 Jun 2016 18:07:10 +0000 (UTC) Received: from smtp.gentoo.org (smtp.gentoo.org [140.211.166.183]) (using TLSv1.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 3EB62254020 for ; Sat, 4 Jun 2016 18:07:10 +0000 (UTC) Received: from localhost.localdomain (d202-252.icpnet.pl [109.173.202.252]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-SHA256 (128/128 bits)) (No client certificate requested) (Authenticated sender: mgorny) by smtp.gentoo.org (Postfix) with ESMTPSA id 969C6340BF6; Sat, 4 Jun 2016 18:07:08 +0000 (UTC) From: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= To: gentoo-pms@lists.gentoo.org Cc: =?UTF-8?q?Micha=C5=82=20G=C3=B3rny?= Subject: [gentoo-pms] [PATCH] Ebuild env: make it clear that accessing parent directories is illegal Date: Sat, 4 Jun 2016 20:07:00 +0200 Message-Id: <20160604180700.2625-1-mgorny@gentoo.org> X-Mailer: git-send-email 2.8.3 Precedence: bulk List-Post: List-Help: List-Unsubscribe: List-Subscribe: List-Id: Gentoo Package Manager Specification discussions X-BeenThere: gentoo-pms@gentoo.org X-BeenThere: gentoo-pms@lists.gentoo.org Reply-To: gentoo-pms@lists.gentoo.org X-Archives-Salt: 747e81d8-9bdc-4e5d-b79d-98cef2172d06 X-Archives-Hash: dcd50796d9cee5a1e9e9df21e2c51024 --- ebuild-env-vars.tex | 3 +++ 1 file changed, 3 insertions(+) diff --git a/ebuild-env-vars.tex b/ebuild-env-vars.tex index 7a58f05..21d4200 100644 --- a/ebuild-env-vars.tex +++ b/ebuild-env-vars.tex @@ -11,6 +11,9 @@ phases as would normally happen due to environment saving (see~\ref{sec:ebuild-e different \t{pkg\_*} phases. Ebuilds must recalculate any variable they derive from an inconsistent variable. +If a variable defines a directory path, ebuilds must not attempt to reference or access the parent +directory of that directory. + \begin{landscape} \reversemarginpar \addtolength{\marginparsep}{-25mm} -- 2.8.3