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.2 with cipher ECDHE-RSA-AES256-GCM-SHA384 (256/256 bits)) (No client certificate requested) by finch.gentoo.org (Postfix) with ESMTPS id A087D1382C5 for ; Wed, 24 Jan 2018 21:55:55 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 92E0BE0864; Wed, 24 Jan 2018 21:55:54 +0000 (UTC) Received: from smtp.gentoo.org (dev.gentoo.org [IPv6:2001:470:ea4a:1:5054:ff:fec7:86e4]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by pigeon.gentoo.org (Postfix) with ESMTPS id 640D3E0864 for ; Wed, 24 Jan 2018 21:55:54 +0000 (UTC) Received: from oystercatcher.gentoo.org (unknown [IPv6:2a01:4f8:202:4333:225:90ff:fed9:fc84]) (using TLSv1.2 with cipher ECDHE-RSA-AES128-GCM-SHA256 (128/128 bits)) (No client certificate requested) by smtp.gentoo.org (Postfix) with ESMTPS id 21939335C0B for ; Wed, 24 Jan 2018 21:55:53 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id DC44719B for ; Wed, 24 Jan 2018 21:55:51 +0000 (UTC) From: "Brian Evans" To: gentoo-commits@lists.gentoo.org Content-Transfer-Encoding: 8bit Content-type: text/plain; charset=UTF-8 Reply-To: gentoo-dev@lists.gentoo.org, "Brian Evans" Message-ID: <1516830936.a51d8843bdf6d39c7964abac3b751f658ed4a078.grknight@gentoo> Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mysql-init-scripts/, dev-db/mysql-init-scripts/files/ X-VCS-Repository: repo/gentoo X-VCS-Files: dev-db/mysql-init-scripts/files/init.d-2.2 dev-db/mysql-init-scripts/mysql-init-scripts-2.2-r3.ebuild X-VCS-Directories: dev-db/mysql-init-scripts/files/ dev-db/mysql-init-scripts/ X-VCS-Committer: grknight X-VCS-Committer-Name: Brian Evans X-VCS-Revision: a51d8843bdf6d39c7964abac3b751f658ed4a078 X-VCS-Branch: master Date: Wed, 24 Jan 2018 21:55:51 +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-Archives-Salt: 414787bf-1437-47b8-82a1-b171c0bcedcf X-Archives-Hash: c01ca5c498c0a8edfe02b7070f7c9f5c commit: a51d8843bdf6d39c7964abac3b751f658ed4a078 Author: Brian Evans gentoo org> AuthorDate: Wed Jan 24 21:50:44 2018 +0000 Commit: Brian Evans gentoo org> CommitDate: Wed Jan 24 21:55:36 2018 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=a51d8843 dev-db/mysql-init-scripts: Add 'keyword -timeout' It may take longer than 60 seconds to startup. Let the script handle any timeouts. Package-Manager: Portage-2.3.20, Repoman-2.3.6 dev-db/mysql-init-scripts/files/init.d-2.2 | 5 +- .../mysql-init-scripts-2.2-r3.ebuild | 64 ++++++++++++++++++++++ 2 files changed, 68 insertions(+), 1 deletion(-) diff --git a/dev-db/mysql-init-scripts/files/init.d-2.2 b/dev-db/mysql-init-scripts/files/init.d-2.2 index f6ad52496e4..5603f9e6031 100644 --- a/dev-db/mysql-init-scripts/files/init.d-2.2 +++ b/dev-db/mysql-init-scripts/files/init.d-2.2 @@ -1,5 +1,5 @@ #!/sbin/openrc-run -# Copyright 1999-2017 Gentoo Foundation +# Copyright 1999-2018 Gentoo Foundation # Distributed under the terms of the GNU General Public License v2 extra_commands="checkconfig" @@ -12,6 +12,9 @@ depend() { use net.lo # localmount needed for $basedir need localmount + # This service has its own timeout and may need to wait for repairs + # or remote synchronization + keyword -timeout } get_config() { diff --git a/dev-db/mysql-init-scripts/mysql-init-scripts-2.2-r3.ebuild b/dev-db/mysql-init-scripts/mysql-init-scripts-2.2-r3.ebuild new file mode 100644 index 00000000000..f405a38a67f --- /dev/null +++ b/dev-db/mysql-init-scripts/mysql-init-scripts-2.2-r3.ebuild @@ -0,0 +1,64 @@ +# Copyright 1999-2018 Gentoo Foundation +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit systemd s6 + +DESCRIPTION="Gentoo MySQL init scripts." +HOMEPAGE="https://www.gentoo.org/" +SRC_URI="" + +LICENSE="GPL-2" +SLOT="0" +KEYWORDS="~alpha ~amd64 ~arm ~arm64 ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~x86-fbsd" +IUSE="" + +DEPEND="" +# This _will_ break with MySQL 5.0, 4.x, 3.x +# It also NEEDS openrc for the save_options/get_options builtins. +# The s6 support was added after openrc 0.16.2 +RDEPEND=" + !