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 (4096 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id 3F6BA158042 for ; Sat, 19 Oct 2024 00:05:44 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 6B096E088A; Sat, 19 Oct 2024 00:05:41 +0000 (UTC) Received: from smtp.gentoo.org (mail.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)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id C0EA0E088B for ; Sat, 19 Oct 2024 00:05:40 +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)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id C16A73430F0 for ; Sat, 19 Oct 2024 00:05:39 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 26F0A227B for ; Sat, 19 Oct 2024 00:05:37 +0000 (UTC) From: "David Roman" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "David Roman" Message-ID: <1729261458.ea3ff719b1395d31235029ef86ae290a5872382c.davidroman@gentoo> Subject: [gentoo-commits] repo/proj/guru:master commit in: eclass/ X-VCS-Repository: repo/proj/guru X-VCS-Files: eclass/boinc-app.eclass X-VCS-Directories: eclass/ X-VCS-Committer: davidroman X-VCS-Committer-Name: David Roman X-VCS-Revision: ea3ff719b1395d31235029ef86ae290a5872382c X-VCS-Branch: master Date: Sat, 19 Oct 2024 00:05:37 +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: c069bae1-2c36-457a-88a9-fb21d679cc71 X-Archives-Hash: 06b4b42a20ba646f1ae95abd23e710c1 commit: ea3ff719b1395d31235029ef86ae290a5872382c Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Wed Oct 16 10:15:51 2024 +0000 Commit: David Roman gmail com> CommitDate: Fri Oct 18 14:24:18 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=ea3ff719 boinc-app.eclass: replace symlink with shell wrapper Closes: https://bugs.gentoo.org/941384 Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> eclass/boinc-app.eclass | 9 ++++++--- 1 file changed, 6 insertions(+), 3 deletions(-) diff --git a/eclass/boinc-app.eclass b/eclass/boinc-app.eclass index 822c84397..1658315cc 100644 --- a/eclass/boinc-app.eclass +++ b/eclass/boinc-app.eclass @@ -88,6 +88,7 @@ boinc-app_add_deps() { local depend rdepend if [[ ${1} == "--wrapper" ]]; then + inherit wrapper rdepend="sci-misc/boinc-wrapper" else depend="sci-misc/boinc" @@ -258,8 +259,8 @@ boinc-app_foreach_wrapper_job() { # # 1. Installs A.xml in the project's root directory, renaming it to B.xml # -# 2. Installs boinc-example_wrapper symlink, which points -# to /usr/bin/boinc-wrapper, in the project's root directory +# 2. Installs boinc-example_wrapper shell script, which executes +# /usr/bin/boinc-wrapper, in the project's root directory # # Example: # @CODE @@ -296,7 +297,9 @@ boinc_install_wrapper() { ) || die "failed to install ${exe:?} wrapper job" rm -f "${T:?}/${job_dest:?}" - dosym -r /usr/bin/boinc-wrapper "$(get_project_root)/${exe:?}" + # Make a shell wrapper instead of symlink to pass filesize validation on + # updates, bug 941384 + make_wrapper "${exe:?}" /usr/bin/boinc-wrapper "" "" "$(get_project_root)" _boinc-app_fix_permissions }