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 2734E1581C1 for ; Sun, 14 Jul 2024 07:27:34 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id DBB45E2AEF; Sun, 14 Jul 2024 07:27:32 +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) server-digest SHA256) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id BCAB2E2AEA for ; Sun, 14 Jul 2024 07:27:32 +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 C989E340CC9 for ; Sun, 14 Jul 2024 07:27:31 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 2E57A1E22 for ; Sun, 14 Jul 2024 07:27:30 +0000 (UTC) From: "Anna Vyalkova" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Anna Vyalkova" Message-ID: <1720941739.3a44a689c61265e859ff37a535c2c87a2359757d.cybertailor@gentoo> Subject: [gentoo-commits] repo/proj/guru:dev commit in: eclass/ X-VCS-Repository: repo/proj/guru X-VCS-Files: eclass/boinc-app.eclass X-VCS-Directories: eclass/ X-VCS-Committer: cybertailor X-VCS-Committer-Name: Anna Vyalkova X-VCS-Revision: 3a44a689c61265e859ff37a535c2c87a2359757d X-VCS-Branch: dev Date: Sun, 14 Jul 2024 07:27:30 +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: f7588353-cf07-4128-b3f4-4ba6eb342637 X-Archives-Hash: c49d7270fcf574f846445d3ca6b8f179 commit: 3a44a689c61265e859ff37a535c2c87a2359757d Author: Anna (cybertailor) Vyalkova sysrq in> AuthorDate: Tue Jul 9 15:38:31 2024 +0000 Commit: Anna Vyalkova sysrq in> CommitDate: Sun Jul 14 07:22:19 2024 +0000 URL: https://gitweb.gentoo.org/repo/proj/guru.git/commit/?id=3a44a689 boinc-app.eclass: allow non-standard runtime dir Signed-off-by: Anna (cybertailor) Vyalkova sysrq.in> eclass/boinc-app.eclass | 12 ++++++++---- 1 file changed, 8 insertions(+), 4 deletions(-) diff --git a/eclass/boinc-app.eclass b/eclass/boinc-app.eclass index a20c800cb..00ffd39ed 100644 --- a/eclass/boinc-app.eclass +++ b/eclass/boinc-app.eclass @@ -71,6 +71,12 @@ if [[ ! ${_BOINC_APP_ECLASS} ]]; then You have to attach to the corresponding project in order to use this application with BOINC.} +# @ECLASS_VARIABLE: BOINC_RUNTIMEDIR +# @USER_VARIABLE +# @DEFAULT_UNSET +# @DESCRIPTION: +# Directory with BOINC runtime data. + # @FUNCTION: boinc-app_add_deps # @USAGE: [--wrapper] # @DESCRIPTION: @@ -104,11 +110,9 @@ boinc_master_url_check() { # @FUNCTION: get_boincdir # @USAGE: -# @RETURN: non-prefixed default BOINC runtime directory +# @RETURN: non-prefixed BOINC runtime directory get_boincdir() { - debug-print-function ${FUNCNAME} "${@}" - - echo /var/lib/boinc + echo "${BOINC_RUNTIMEDIR:-/var/lib/boinc}" } # @FUNCTION: get_project_dirname