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 089F5138334 for ; Fri, 26 Jul 2019 12:41:09 +0000 (UTC) Received: from pigeon.gentoo.org (localhost [127.0.0.1]) by pigeon.gentoo.org (Postfix) with SMTP id 3E724E0824; Fri, 26 Jul 2019 12:41:08 +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 1102DE0824 for ; Fri, 26 Jul 2019 12:41:07 +0000 (UTC) Received: from oystercatcher.gentoo.org (oystercatcher.gentoo.org [148.251.78.52]) (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 5A2C2348BAD for ; Fri, 26 Jul 2019 12:41:06 +0000 (UTC) Received: from localhost.localdomain (localhost [IPv6:::1]) by oystercatcher.gentoo.org (Postfix) with ESMTP id 59C64608 for ; Fri, 26 Jul 2019 12:41:04 +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: <1564144851.57f61a80872e0ceb8e89d2a2472e03e65a8f0320.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-supervise-2.3 dev-db/mysql-init-scripts/mysql-init-scripts-2.3-r1.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: 57f61a80872e0ceb8e89d2a2472e03e65a8f0320 X-VCS-Branch: master Date: Fri, 26 Jul 2019 12:41:04 +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: b387dcb6-6e9d-4ec0-a603-4b83765a077b X-Archives-Hash: 27c17e203d9c5753ece84dd4faaeee51 commit: 57f61a80872e0ceb8e89d2a2472e03e65a8f0320 Author: Brian Evans gentoo org> AuthorDate: Fri Jul 26 12:40:51 2019 +0000 Commit: Brian Evans gentoo org> CommitDate: Fri Jul 26 12:40:51 2019 +0000 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=57f61a80 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 gentoo.org> .../mysql-init-scripts/files/init.d-supervise-2.3 | 4 +- .../mysql-init-scripts-2.3-r1.ebuild | 67 ++++++++++++++++++++++ 2 files changed, 69 insertions(+), 2 deletions(-) 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 e611995b9a0..d0cbb312cca 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 00000000000..b3283cf3ba2 --- /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=" + !