From: Brian Evans Date: Fri, 26 Jul 2019 12:40:51 +0000 (-0400) Subject: dev-db/mysql-init-scripts: Revbump to fix supervise-daemon syntax change X-Git-Url: http://git.tremily.us/gitweb.cgi?a=commitdiff_plain;h=57f61a80872e0ceb8e89d2a2472e03e65a8f0320;p=gentoo.git dev-db/mysql-init-scripts: Revbump to fix supervise-daemon syntax change Package-Manager: Portage-2.3.69, Repoman-2.3.16 Signed-off-by: Brian Evans --- diff --git a/dev-db/mysql-init-scripts/files/init.d-supervise-2.3 b/dev-db/mysql-init-scripts/files/init.d-supervise-2.3 index e611995b9a04..d0cbb312ccac 100644 --- a/dev-db/mysql-init-scripts/files/init.d-supervise-2.3 +++ b/dev-db/mysql-init-scripts/files/init.d-supervise-2.3 @@ -121,7 +121,7 @@ start() { # local startup_early_timeout=${STARTUP_EARLY_TIMEOUT:-1000} local tmpnice="${NICE:+"--nicelevel "}${NICE}" local tmpionice="${IONICE:+"--ionice "}${IONICE}" - supervise-daemon \ + supervise-daemon "${SVCNAME}" \ ${DEBUG:+"--verbose"} \ --pidfile "/run/${SVCNAME}.pid" \ ${tmpnice} \ @@ -146,7 +146,7 @@ stop() { ebegin "Stopping $(mysql_svcname)" - supervise-daemon \ + supervise-daemon "${SVCNAME}" \ ${DEBUG:+"--verbose"} \ --stop \ --pidfile "/run/${SVCNAME}.pid" diff --git a/dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r1.ebuild b/dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r1.ebuild new file mode 100644 index 000000000000..b3283cf3ba24 --- /dev/null +++ b/dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r1.ebuild @@ -0,0 +1,67 @@ +# Copyright 1999-2019 Gentoo Authors +# Distributed under the terms of the GNU General Public License v2 + +EAPI=6 + +inherit systemd s6 tmpfiles + +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 +# mysql-connector-c needed for my_print_defaults +RDEPEND=" + !