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.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 2246015800F for ; Sat, 14 Jan 2023 17:10:51 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 468C7E0536; Sat, 14 Jan 2023 17:10:50 +0000 (UTC) Received: from smtp.gentoo.org (dev.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 2DA1DE0536 for ; Sat, 14 Jan 2023 17:10:50 +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 42CA1340A5D for ; Sat, 14 Jan 2023 17:10:49 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id E86447FC for ; Sat, 14 Jan 2023 17:10:45 +0000 (UTC) From: "Sam James" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Sam James" Message-ID: <1673716202.75180a96ea6c34e3f37b5c623ceeae66119d5bd7.sam@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: app-arch/gzip/ X-VCS-Repository: repo/gentoo X-VCS-Files: app-arch/gzip/gzip-1.12-r3.ebuild app-arch/gzip/gzip-1.12-r4.ebuild app-arch/gzip/gzip-1.12_p20221228-r1.ebuild app-arch/gzip/gzip-1.12_p20221228.ebuild X-VCS-Directories: app-arch/gzip/ X-VCS-Committer: sam X-VCS-Committer-Name: Sam James X-VCS-Revision: 75180a96ea6c34e3f37b5c623ceeae66119d5bd7 X-VCS-Branch: master Date: Sat, 14 Jan 2023 17:10:45 +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: b9979d35-3496-484b-a4fa-31d3e330d16e X-Archives-Hash: 4b6eac4b5d532684b53605ff1754030f commit: 75180a96ea6c34e3f37b5c623ceeae66119d5bd7 Author: Patrick Williams stwcx xyz> AuthorDate: Sat Jan 14 15:57:17 2023 +0000 Commit: Sam James gentoo org> CommitDate: Sat Jan 14 17:10:02 2023 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=75180a96 app-arch/gzip: remove gzip-reference exec fixups `gunzip` and `zcat` are shellscripts provided by gzip that redirect to the `gzip` executable (with flags added for the desired behavior). Some development tools, such as bitbake from Yocto Linux, sanitize the PATH to remove `/usr/bin` and `/bin`, but create symlinks for specific tools into a directory that is in the path ('hosttools' for Yocto/bitbake). This means that the original executables (gzip, gunzip zcat) are in the PATH but the new `*-reference` files are not. Remove the fixups from `gunzip` and `zcat` that exec to `gzip-reference` directly and instead let them use the `gzip` (which is likely symlinked to the real `gzip-reference`) directly. Signed-off-by: Patrick Williams stwcx.xyz> Closes: https://github.com/gentoo/gentoo/pull/29104 Signed-off-by: Sam James gentoo.org> app-arch/gzip/{gzip-1.12-r3.ebuild => gzip-1.12-r4.ebuild} | 2 -- .../gzip/{gzip-1.12_p20221228.ebuild => gzip-1.12_p20221228-r1.ebuild} | 2 -- 2 files changed, 4 deletions(-) diff --git a/app-arch/gzip/gzip-1.12-r3.ebuild b/app-arch/gzip/gzip-1.12-r4.ebuild similarity index 96% rename from app-arch/gzip/gzip-1.12-r3.ebuild rename to app-arch/gzip/gzip-1.12-r4.ebuild index 652ddbb3151e..acc085235bb1 100644 --- a/app-arch/gzip/gzip-1.12-r3.ebuild +++ b/app-arch/gzip/gzip-1.12-r4.ebuild @@ -56,8 +56,6 @@ src_install() { for x in gunzip gzip zcat; do mv "${ED}/usr/bin/${x}" "${ED}/bin/${x}-reference" || die done - sed -i -e 's:exec gzip:&-reference:' \ - "${ED}"/bin/{gunzip,zcat}-reference || die mv "${ED}"/usr/share/man/man1/gzip{,-reference}.1 || die rm "${ED}"/usr/share/man/man1/{gunzip,zcat}.1 || die } diff --git a/app-arch/gzip/gzip-1.12_p20221228.ebuild b/app-arch/gzip/gzip-1.12_p20221228-r1.ebuild similarity index 96% rename from app-arch/gzip/gzip-1.12_p20221228.ebuild rename to app-arch/gzip/gzip-1.12_p20221228-r1.ebuild index 5e5dd9d96e0a..23e799f74e59 100644 --- a/app-arch/gzip/gzip-1.12_p20221228.ebuild +++ b/app-arch/gzip/gzip-1.12_p20221228-r1.ebuild @@ -71,8 +71,6 @@ src_install() { for x in gunzip gzip zcat; do mv "${ED}/usr/bin/${x}" "${ED}/bin/${x}-reference" || die done - sed -i -e 's:exec gzip:&-reference:' \ - "${ED}"/bin/{gunzip,zcat}-reference || die mv "${ED}"/usr/share/man/man1/gzip{,-reference}.1 || die rm "${ED}"/usr/share/man/man1/{gunzip,zcat}.1 || die }