From: Brian Evans Date: Wed, 24 Jan 2018 21:50:44 +0000 (-0500) Subject: dev-db/mysql-init-scripts: Add 'keyword -timeout' X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=a51d8843bdf6d39c7964abac3b751f658ed4a078;p=gentoo.git 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 --- 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 f6ad52496e4e..5603f9e60310 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 000000000000..f405a38a67f6 --- /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=" + !