# HG changeset patch # User Migration Sync # Date 1588281302 0 # Node ID ca0e4676139f14c6195e5e34321a1ad523c948a9 # Parent 9b9f918d87958fa2236eae538554ada00a848143 [sync] imported 161b374..110a8a8 from upstream commit 110a8a81a82c0fb9b3a0064ad8b2f80814b71ebc Author: Daniel Neugebauer Date: Thu Apr 30 23:07:56 2020 +0200 app-admin/boinc-status: added version 3.10 diff -r 9b9f918d8795 -r ca0e4676139f app-admin/boinc-status/Manifest --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-admin/boinc-status/Manifest Thu Apr 30 21:15:02 2020 +0000 @@ -0,0 +1,3 @@ +AUX boinc-status-3.10.patch 899 BLAKE2B 211fc4104c67316eb7b9c583417095ae61e2fdb8aee44efa91f5c6b29c20a0acdc7739c45b96835c8b2f833fa4ec9975bb91968999645ff462ce171578b0afa2 SHA512 c97487aa8fa207a9c1e47804311a7333da207671393449fd736627adedb8c4f43fd92050e0344fdfa160969ab60c4ff9dd293ed59452784d512293dabeff1ab4 +DIST boinc-status-3.10.tar.xz 22088 BLAKE2B c2c7f3cdf8b6b1ee20a6bdecd593e3b1b8d1409fdd83d11ba132c931441e21629a567a2285fd7fec6ee437713fba8480c33e51be6f257a4f78a5572fb4c0f52b SHA512 b0476ea80871c95bbe48c82627214b0a559f8f26536c29fa03b939c55f181e372469aa48229bc786098604705fe4e741d4ea54966c78924a494041d13a27dfea +EBUILD boinc-status-3.10.ebuild 591 BLAKE2B 2de3ab897815f3b4c6de8d3e33a959bd7b308b647d9c090417d3f1564e58941e41bc3e36f1094997d69b56b813455052afd6008a3d5886ca332517a9806d3d91 SHA512 cae0aab50b3c299cb71d31e84e1a67ca6824f0df3e735834d7c94ed7521dcbef164dd4dcce1706ff210e23c624aed149baa06c3b9e4802e1cb529a0aa41605c8 diff -r 9b9f918d8795 -r ca0e4676139f app-admin/boinc-status/boinc-status-3.10.ebuild --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-admin/boinc-status/boinc-status-3.10.ebuild Thu Apr 30 21:15:02 2020 +0000 @@ -0,0 +1,33 @@ +# Copyright 1999-2020 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 +# $Header: $ + +EAPI=7 + +DESCRIPTION="bash script to monitor BOINC status" +HOMEPAGE="http://www.jpmr.org/" +SRC_URI="mirror://sourceforge/boinc/${P/-status/}.tar.xz -> ${P}.tar.xz" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~x86 ~amd64" +IUSE="" + +DEPEND="" +RDEPEND="" + +PATCHES=( + "${FILESDIR}/${P}.patch" +) + +src_unpack() { + unpack ${A} + mv boinc-${PV} ${P} || die "Failed to rename directory" +} + +src_install() { + exeinto /usr/bin + doexe boinc-status + + dodoc AUTHOR CHANGES COPYING README TODO +} diff -r 9b9f918d8795 -r ca0e4676139f app-admin/boinc-status/files/boinc-status-3.10.patch --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/app-admin/boinc-status/files/boinc-status-3.10.patch Thu Apr 30 21:15:02 2020 +0000 @@ -0,0 +1,31 @@ +--- a/boinc-status 2020-04-30 22:57:38.099918744 +0200 ++++ b/boinc-status 2020-04-30 22:57:13.059591555 +0200 +@@ -11,7 +11,7 @@ + # Parameters to be set before using the script + + # The path where BOINC state files reside +-BOINC_PATH=/var/lib/boinc-client ++BOINC_PATH=/var/lib/boinc + + # The path where BOINC client executable resides (without the client name) + # If client 'boinc' is in /usr/bin, you'll have BOINC_BIN_PATH=/usr/bin +@@ -39,7 +39,7 @@ + AUTHOR="Jean Philippe EIMER" + EMAIL="phil@jpmr.org" + +-BOINC_EXEC=boinc ++BOINC_EXEC=boinc_client + + # LOG file for BOINC, with its absolute path + BOINC_LOG_FILE=$BOINC_PATH/stdoutdae.txt +@@ -47,8 +47,8 @@ + STATE_FILE=$BOINC_PATH/client_state.xml + TASK_STATE_FILE=$BOINC_PATH/slots/SLOT/boinc_task_state.xml + +-if [ -x /bin/pidof ]; then +- PID_CMD=/bin/pidof ++if [ -x /usr/bin/pidof ]; then ++ PID_CMD=/usr/bin/pidof + else + PID_CMD=/sbin/pidof + fi