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 0DF9E138359 for ; Sat, 7 Nov 2020 14:25:29 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 23F32E07D7; Sat, 7 Nov 2020 14:25:28 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.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 107ACE07D7 for ; Sat, 7 Nov 2020 14:25:28 +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 02380335D55 for ; Sat, 7 Nov 2020 14:25:27 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id EA4553BE for ; Sat, 7 Nov 2020 14:25:24 +0000 (UTC) From: "Sven Eden" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sven Eden" Message-ID: <1604759116.0755fcf420d120b978cf6cf9364a26c6c0e67c0b.yamakuzure@gentoo> Subject: [gentoo-commits] proj/ufed:master commit in: / X-VCS-Repository: proj/ufed X-VCS-Files: Portage.pm X-VCS-Directories: / X-VCS-Committer: yamakuzure X-VCS-Committer-Name: Sven Eden X-VCS-Revision: 0755fcf420d120b978cf6cf9364a26c6c0e67c0b X-VCS-Branch: master Date: Sat, 7 Nov 2020 14:25:24 +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: 701dd5cc-7ef6-4eb1-9faf-7983e3303d9d X-Archives-Hash: b417a5a719f93e4a3c96a177fdd91082 commit: 0755fcf420d120b978cf6cf9364a26c6c0e67c0b Author: Sven Eden prydeworx com> AuthorDate: Sat Nov 7 14:25:16 2020 +0000 Commit: Sven Eden gmx de> CommitDate: Sat Nov 7 14:25:16 2020 +0000 URL: https://gitweb.gentoo.org/proj/ufed.git/commit/?id=0755fcf4 Remove -* from flag list as being very dangerous. (Bug 722856) Signed-off-by: Sven Eden prydeworx.com> Portage.pm | 15 +-------------- 1 file changed, 1 insertion(+), 14 deletions(-) diff --git a/Portage.pm b/Portage.pm index 3b1791e..706af38 100644 --- a/Portage.pm +++ b/Portage.pm @@ -431,22 +431,9 @@ sub _determine_profiles # No parameters accepted sub _final_cleaning { - # The "disable all" flag is truncated to '*' by the parsing, but - # it has to read '-*'. - _add_temp("-*", "global"); - - $_use_temp->{'-*'}{global}{descr} = "{Never enable any flags other than those specified in make.conf}"; - $_use_temp->{'-*'}{global}{conf} = 0; ## Can never be -1 - - # Set it from the truncated config: - if (defined($_use_temp->{'*'}{global})) { - $_use_temp->{'*'}{global}{conf} > -1 - and $_use_temp->{'-*'}{global}{conf} = 1; - } - # The following use flags are dangerous or internal only # and must no be available using ufed: - defined($_use_temp->{"*"}) and delete($_use_temp->{"*"}); + defined($_use_temp->{"*"}) and delete($_use_temp->{"*"}); ## USE="-*" defined($_use_temp->{"bootstrap"}) and delete($_use_temp->{"bootstrap"}); defined($_use_temp->{"build"}) and delete($_use_temp->{"build"}); defined($_use_temp->{"livecd"}) and delete($_use_temp->{"livecd"});