Gentoo Archives: gentoo-commits

From: Brian Evans <grknight@g.o>
To: gentoo-commits@l.g.o
Subject: [gentoo-commits] repo/gentoo:master commit in: dev-db/mariadb/
Date: Wed, 26 Jul 2017 20:56:41
Message-Id: 1501102467.83ef73dd92299da24b4248f2fb6a0012e8418bdc.grknight@gentoo
1 commit: 83ef73dd92299da24b4248f2fb6a0012e8418bdc
2 Author: Brian Evans <grknight <AT> gentoo <DOT> org>
3 AuthorDate: Wed Jul 26 20:54:27 2017 +0000
4 Commit: Brian Evans <grknight <AT> gentoo <DOT> org>
5 CommitDate: Wed Jul 26 20:54:27 2017 +0000
6 URL: https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83ef73dd
7
8 dev-db/mariadb: Add elog message about the configuration changes
9
10 Package-Manager: Portage-2.3.6, Repoman-2.3.3
11
12 dev-db/mariadb/mariadb-10.2.7.ebuild | 14 ++++++++++++++
13 1 file changed, 14 insertions(+)
14
15 diff --git a/dev-db/mariadb/mariadb-10.2.7.ebuild b/dev-db/mariadb/mariadb-10.2.7.ebuild
16 index b3a418dee7b..9e83778c592 100644
17 --- a/dev-db/mariadb/mariadb-10.2.7.ebuild
18 +++ b/dev-db/mariadb/mariadb-10.2.7.ebuild
19 @@ -108,6 +108,20 @@ pkg_preinst() {
20 fi
21 }
22
23 +pkg_postinst() {
24 + mysql-multilib-r1_pkg_postinst
25 +
26 + # Note about configuration change
27 + einfo
28 + elog "This version of mariadb reorganizes the configuration from a single my.cnf"
29 + elog "to several files in /etc/mysql/${PN}.d."
30 + elog "Please backup any changes you made to /etc/mysql/my.cnf"
31 + elog "and add them as a new file under /etc/mysql/${PN}.d with a .cnf extension."
32 + elog "You may have as many files as needed and they are read alphabetically."
33 + elog "Be sure the options have the appropitate section headers, i.e. [mysqld]."
34 + einfo
35 +}
36 +
37 src_prepare() {
38 java-pkg-opt-2_src_prepare
39 if use tcmalloc; then