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 0B7AD158094 for ; Sat, 23 Jul 2022 12:50:31 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 9F525E0DBF; Sat, 23 Jul 2022 12:50:29 +0000 (UTC) Received: from smtp.gentoo.org (woodpecker.gentoo.org [140.211.166.183]) (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 8241CE0DBF for ; Sat, 23 Jul 2022 12:50:29 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (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 9FFBF340EFA for ; Sat, 23 Jul 2022 12:50:28 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id C10E854C for ; Sat, 23 Jul 2022 12:50:25 +0000 (UTC) From: "Joonas Niilola" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Joonas Niilola" Message-ID: <1658580617.4be63a6fbf68a239d28e28bddce2f81b57d470c1.juippis@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: sys-cluster/glusterfs/files/, sys-cluster/glusterfs/ X-VCS-Repository: repo/gentoo X-VCS-Files: sys-cluster/glusterfs/files/glusterd-10.2-r1.initd sys-cluster/glusterfs/files/glusterd-10.2.initd sys-cluster/glusterfs/glusterfs-10.2-r1.ebuild sys-cluster/glusterfs/glusterfs-10.2.ebuild X-VCS-Directories: sys-cluster/glusterfs/files/ sys-cluster/glusterfs/ X-VCS-Committer: juippis X-VCS-Committer-Name: Joonas Niilola X-VCS-Revision: 4be63a6fbf68a239d28e28bddce2f81b57d470c1 X-VCS-Branch: master Date: Sat, 23 Jul 2022 12:50:25 +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: 02058a6b-a113-43e3-b85c-588406ae7e77 X-Archives-Hash: c3a100fbac8a03a3fe2ed183be496655 commit: 4be63a6fbf68a239d28e28bddce2f81b57d470c1 Author: Jaco Kroon uls co za> AuthorDate: Mon Jul 11 20:34:58 2022 +0000 Commit: Joonas Niilola gentoo org> CommitDate: Sat Jul 23 12:50:17 2022 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=4be63a6f sys-cluster/glusterfs: revbump to fix init.d file Fix initd $(( ... )) vs (( ... )). The former returns the result, then attempts to execute it, the latter merely executes the math. Package-Manager: Portage-3.0.30, Repoman-3.0.3 Signed-off-by: Jaco Kroon uls.co.za> Closes: https://github.com/gentoo/gentoo/pull/26354 Signed-off-by: Joonas Niilola gentoo.org> .../glusterfs/files/{glusterd-10.2.initd => glusterd-10.2-r1.initd} | 2 +- .../glusterfs/{glusterfs-10.2.ebuild => glusterfs-10.2-r1.ebuild} | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/sys-cluster/glusterfs/files/glusterd-10.2.initd b/sys-cluster/glusterfs/files/glusterd-10.2-r1.initd similarity index 98% rename from sys-cluster/glusterfs/files/glusterd-10.2.initd rename to sys-cluster/glusterfs/files/glusterd-10.2-r1.initd index af8f941d87d7..f5210ef7cd1c 100644 --- a/sys-cluster/glusterfs/files/glusterd-10.2.initd +++ b/sys-cluster/glusterfs/files/glusterd-10.2-r1.initd @@ -23,7 +23,7 @@ start_post() { local c=0 ebegin "Waiting for glusterd to start up" while ! /usr/sbin/gluster volume list >/dev/null 2>&1 && [ "${c}" -lt "${glusterd_max_wait_start-60}" ]; do - $(( c=c+1 )) + (( c=c+1 )) done [ "${c}" -lt "${glusterd_max_wait_start-60}" ] eend $? diff --git a/sys-cluster/glusterfs/glusterfs-10.2.ebuild b/sys-cluster/glusterfs/glusterfs-10.2-r1.ebuild similarity index 99% rename from sys-cluster/glusterfs/glusterfs-10.2.ebuild rename to sys-cluster/glusterfs/glusterfs-10.2-r1.ebuild index 2551faf99a31..9f76a974689c 100644 --- a/sys-cluster/glusterfs/glusterfs-10.2.ebuild +++ b/sys-cluster/glusterfs/glusterfs-10.2-r1.ebuild @@ -150,7 +150,7 @@ src_install() { chmod 0755 "${ED}"/usr/share/glusterfs/scripts/*.sh || die newinitd "${FILESDIR}/glusterfsd-10.2.initd" glusterfsd - newinitd "${FILESDIR}/glusterd-10.2.initd" glusterd + newinitd "${FILESDIR}/glusterd-10.2-r1.initd" glusterd newconfd "${FILESDIR}/${PN}.confd" glusterfsd keepdir /var/log/${PN}