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 006631382C5 for ; Sun, 21 Mar 2021 15:12:45 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 40407E0849; Sun, 21 Mar 2021 15:12:45 +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 255F5E0849 for ; Sun, 21 Mar 2021 15:12:45 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 1B45E335C36 for ; Sun, 21 Mar 2021 15:12:44 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 641284EE for ; Sun, 21 Mar 2021 15:12:42 +0000 (UTC) From: "Mike Gilbert" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Mike Gilbert" Message-ID: <1616339381.786ecd5f4c84942af2dc178c2ac9fcaab224a7c9.floppym@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-admin/sudo/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-admin/sudo/sudo-1.9.6_p1-r1.ebuild app-admin/sudo/sudo-9999.ebuild X-VCS-Directories: app-admin/sudo/ X-VCS-Committer: floppym X-VCS-Committer-Name: Mike Gilbert X-VCS-Revision: 786ecd5f4c84942af2dc178c2ac9fcaab224a7c9 X-VCS-Branch: master Date: Sun, 21 Mar 2021 15:12:42 +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: 784f0e42-692a-4f66-ac20-54a28780a898 X-Archives-Hash: a41bc056b98547c506bf90c0a0e8d89b commit: 786ecd5f4c84942af2dc178c2ac9fcaab224a7c9 Author: Mike Gilbert gentoo org> AuthorDate: Sun Mar 21 15:09:41 2021 +0000 Commit: Mike Gilbert gentoo org> CommitDate: Sun Mar 21 15:09:41 2021 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=786ecd5f app-admin/sudo: remove obsolete comments The built-in secure_path should be viewed as a reasonable fallback. The sysadmin may in fact customize it via sudoers at runtime. Also drop the useless einfo output: this function takes a fraction of a second to complete, and there is no need for a status message. Bug: https://bugs.gentoo.org/777267 Signed-off-by: Mike Gilbert gentoo.org> app-admin/sudo/sudo-1.9.6_p1-r1.ebuild | 7 ------- app-admin/sudo/sudo-9999.ebuild | 7 ------- 2 files changed, 14 deletions(-) diff --git a/app-admin/sudo/sudo-1.9.6_p1-r1.ebuild b/app-admin/sudo/sudo-1.9.6_p1-r1.ebuild index 6f0b7c8646a..32c7ad77309 100644 --- a/app-admin/sudo/sudo-1.9.6_p1-r1.ebuild +++ b/app-admin/sudo/sudo-1.9.6_p1-r1.ebuild @@ -80,11 +80,6 @@ src_prepare() { } set_secure_path() { - # FIXME: secure_path is a compile time setting. using PATH or - # ROOTPATH is not perfect, env-update may invalidate this, but until it - # is available as a sudoers setting this will have to do. - einfo "Setting secure_path ..." - # first extract the default ROOTPATH from build env SECURE_PATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; echo "${ROOTPATH}") @@ -122,8 +117,6 @@ set_secure_path() { SECURE_PATH=${newpath#:} } rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*' - - einfo "... done" } src_configure() { diff --git a/app-admin/sudo/sudo-9999.ebuild b/app-admin/sudo/sudo-9999.ebuild index 6f0b7c8646a..32c7ad77309 100644 --- a/app-admin/sudo/sudo-9999.ebuild +++ b/app-admin/sudo/sudo-9999.ebuild @@ -80,11 +80,6 @@ src_prepare() { } set_secure_path() { - # FIXME: secure_path is a compile time setting. using PATH or - # ROOTPATH is not perfect, env-update may invalidate this, but until it - # is available as a sudoers setting this will have to do. - einfo "Setting secure_path ..." - # first extract the default ROOTPATH from build env SECURE_PATH=$(unset ROOTPATH; . "${EPREFIX}"/etc/profile.env; echo "${ROOTPATH}") @@ -122,8 +117,6 @@ set_secure_path() { SECURE_PATH=${newpath#:} } rmpath '*/gcc-bin/*' '*/gnat-gcc-bin/*' '*/gnat-gcc/*' - - einfo "... done" } src_configure() {