commit:     83ef73dd92299da24b4248f2fb6a0012e8418bdc
Author:     Brian Evans <grknight <AT> gentoo <DOT> org>
AuthorDate: Wed Jul 26 20:54:27 2017 +0000
Commit:     Brian Evans <grknight <AT> gentoo <DOT> org>
CommitDate: Wed Jul 26 20:54:27 2017 +0000
URL:        https://gitweb.gentoo.org/repo/gentoo.git/commit/?id=83ef73dd

dev-db/mariadb: Add elog message about the configuration changes

Package-Manager: Portage-2.3.6, Repoman-2.3.3

 dev-db/mariadb/mariadb-10.2.7.ebuild | 14 ++++++++++++++
 1 file changed, 14 insertions(+)

diff --git a/dev-db/mariadb/mariadb-10.2.7.ebuild 
b/dev-db/mariadb/mariadb-10.2.7.ebuild
index b3a418dee7b..9e83778c592 100644
--- a/dev-db/mariadb/mariadb-10.2.7.ebuild
+++ b/dev-db/mariadb/mariadb-10.2.7.ebuild
@@ -108,6 +108,20 @@ pkg_preinst() {
        fi
 }
 
+pkg_postinst() {
+       mysql-multilib-r1_pkg_postinst
+
+       # Note about configuration change
+       einfo
+       elog "This version of mariadb reorganizes the configuration from a 
single my.cnf"
+       elog "to several files in /etc/mysql/${PN}.d."
+       elog "Please backup any changes you made to /etc/mysql/my.cnf"
+       elog "and add them as a new file under /etc/mysql/${PN}.d with a .cnf 
extension."
+       elog "You may have as many files as needed and they are read 
alphabetically."
+       elog "Be sure the options have the appropitate section headers, i.e. 
[mysqld]."
+       einfo
+}
+
 src_prepare() {
        java-pkg-opt-2_src_prepare
        if use tcmalloc; then

Reply via email to