* [gentoo-commits] gentoo-x86 commit in dev-db/mysql-init-scripts: mysql-init-scripts-2.0_pre1-r7.ebuild ChangeLog mysql-init-scripts-2.0_pre1-r2.ebuild mysql-init-scripts-2.0_pre1-r3.ebuild
@ 2014-05-16 1:49 Brian Evans (grknight)
0 siblings, 0 replies; only message in thread
From: Brian Evans (grknight) @ 2014-05-16 1:49 UTC (permalink / raw
To: gentoo-commits
grknight 14/05/16 01:49:43
Modified: ChangeLog
Added: mysql-init-scripts-2.0_pre1-r7.ebuild
Removed: mysql-init-scripts-2.0_pre1-r2.ebuild
mysql-init-scripts-2.0_pre1-r3.ebuild
Log:
Revbump to fix bug 491348, remove old
(Portage version: 2.2.8-r1/cvs/Linux x86_64, signed Manifest commit with key 67C78E1D)
Revision Changes Path
1.39 dev-db/mysql-init-scripts/ChangeLog
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-init-scripts/ChangeLog?rev=1.39&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-init-scripts/ChangeLog?rev=1.39&content-type=text/plain
diff : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-init-scripts/ChangeLog?r1=1.38&r2=1.39
Index: ChangeLog
===================================================================
RCS file: /var/cvsroot/gentoo-x86/dev-db/mysql-init-scripts/ChangeLog,v
retrieving revision 1.38
retrieving revision 1.39
diff -u -r1.38 -r1.39
--- ChangeLog 11 Jan 2014 09:33:00 -0000 1.38
+++ ChangeLog 16 May 2014 01:49:43 -0000 1.39
@@ -1,6 +1,14 @@
# ChangeLog for dev-db/mysql-init-scripts
# Copyright 1999-2014 Gentoo Foundation; Distributed under the GPL v2
-# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-init-scripts/ChangeLog,v 1.38 2014/01/11 09:33:00 pacho Exp $
+# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-init-scripts/ChangeLog,v 1.39 2014/05/16 01:49:43 grknight Exp $
+
+*mysql-init-scripts-2.0_pre1-r7 (16 May 2014)
+
+ 16 May 2014; Brian Evans <grknight@gentoo.org> +files/mysql-5.1.67-init.d-r1,
+ +mysql-init-scripts-2.0_pre1-r7.ebuild, -files/mysql-5.1.53-init.d,
+ -mysql-init-scripts-2.0_pre1-r2.ebuild,
+ -mysql-init-scripts-2.0_pre1-r3.ebuild:
+ Revbump to fix bug 491348, remove old
11 Jan 2014; Pacho Ramos <pacho@gentoo.org>
mysql-init-scripts-2.0_pre1-r6.ebuild:
1.1 dev-db/mysql-init-scripts/mysql-init-scripts-2.0_pre1-r7.ebuild
file : http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-init-scripts/mysql-init-scripts-2.0_pre1-r7.ebuild?rev=1.1&view=markup
plain: http://sources.gentoo.org/viewvc.cgi/gentoo-x86/dev-db/mysql-init-scripts/mysql-init-scripts-2.0_pre1-r7.ebuild?rev=1.1&content-type=text/plain
Index: mysql-init-scripts-2.0_pre1-r7.ebuild
===================================================================
# Copyright 1999-2014 Gentoo Foundation
# Distributed under the terms of the GNU General Public License v2
# $Header: /var/cvsroot/gentoo-x86/dev-db/mysql-init-scripts/mysql-init-scripts-2.0_pre1-r7.ebuild,v 1.1 2014/05/16 01:49:43 grknight Exp $
EAPI=5
inherit systemd
DESCRIPTION="Gentoo MySQL init scripts."
HOMEPAGE="http://www.gentoo.org/"
SRC_URI=""
LICENSE="GPL-2"
SLOT="0"
KEYWORDS="~alpha ~amd64 ~arm ~hppa ~ia64 ~mips ~ppc ~ppc64 ~s390 ~sh ~sparc ~x86 ~sparc-fbsd ~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.
RDEPEND="!<dev-db/mysql-5.1"
# Need to set S due to PMS saying we need it existing, but no SRC_URI
S=${WORKDIR}
src_install() {
newconfd "${FILESDIR}/mysql-5.1.53-conf.d" "mysql"
newinitd "${FILESDIR}/mysql-5.1.67-init.d-r1" "mysql"
# systemd unit installation
exeinto /usr/libexec
doexe "${FILESDIR}"/mysqld-wait-ready
systemd_dounit "${FILESDIR}/mysqld.service"
systemd_newunit "${FILESDIR}/mysqld_at.service" "mysqld@.service"
systemd_dotmpfilesd "${FILESDIR}/mysql.conf"
insinto /etc/logrotate.d
newins "${FILESDIR}/logrotate.mysql" "mysql"
}
pkg_postinst() {
grep -sq mysql_slot "${ROOT}"/etc/conf.d/mysql
old_conf_present=$?
grep -sq get_slot_config "${ROOT}"/etc/init.d/mysql
old_init_present=$?
egrep -sq 'MY_CNF|MY_ARGS|(STARTUP|STOP)_TIMEOUT' "${ROOT}"/etc/conf.d/mysql
new_conf_present=$?
egrep -sq 'MY_ARGS|STOP_TIMEOUT' "${ROOT}"/etc/init.d/mysql
new_init_present=$?
einfo "Please note that if you are using multiple internal 'slots' in the"
einfo "old conf.d file, you should use multiple init files now."
echo old $old_conf_present $old_init_present
echo new $new_conf_present $new_init_present
# new scripts present
if [ $new_conf_present -eq 0 -a $new_init_present -eq 0 -a \
$old_conf_present -eq 1 -a $old_init_present -eq 1 ]; then
:
elif [ $old_conf_present -eq 0 -a $old_init_present -eq 0 -a \
$new_conf_present -eq 1 -a $new_init_present -eq 1 ]; then
ewarn "Old /etc/init.d/mysql and /etc/conf.d/mysql still present!"
ewarn "Update both of those files to the new versions!"
else
eerror "DANGER, mixed update of /etc/init.d/mysql and /etc/conf.d/mysql"
eerror "detected! You must update BOTH to the new versions"
fi
}
^ permalink raw reply [flat|nested] only message in thread
only message in thread, other threads:[~2014-05-16 1:49 UTC | newest]
Thread overview: (only message) (download: mbox.gz follow: Atom feed
-- links below jump to the message on this page --
2014-05-16 1:49 [gentoo-commits] gentoo-x86 commit in dev-db/mysql-init-scripts: mysql-init-scripts-2.0_pre1-r7.ebuild ChangeLog mysql-init-scripts-2.0_pre1-r2.ebuild mysql-init-scripts-2.0_pre1-r3.ebuild Brian Evans (grknight)
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox