svn commit: r552522 - in head/databases: mysql56-server mysql56-server/files mysql57-server mysql57-server/files mysql80-server mysql80-server/files
Jochen Neumeister
joneum at FreeBSD.org
Fri Oct 16 20:43:59 UTC 2020
Author: joneum
Date: Fri Oct 16 20:43:57 2020
New Revision: 552522
URL: https://svnweb.freebsd.org/changeset/ports/552522
Log:
Fix pkg-messages
PR: 250340
Submitted by: 0mp
Sponsored by: Netzkommune GmbH
Added:
head/databases/mysql56-server/files/pkg-message.in (contents, props changed)
head/databases/mysql57-server/files/pkg-message.in (contents, props changed)
head/databases/mysql80-server/files/pkg-message.in (contents, props changed)
Deleted:
head/databases/mysql56-server/pkg-message
head/databases/mysql57-server/pkg-message
head/databases/mysql80-server/pkg-message
Modified:
head/databases/mysql56-server/Makefile
head/databases/mysql57-server/Makefile
head/databases/mysql80-server/Makefile
Modified: head/databases/mysql56-server/Makefile
==============================================================================
--- head/databases/mysql56-server/Makefile Fri Oct 16 19:56:25 2020 (r552521)
+++ head/databases/mysql56-server/Makefile Fri Oct 16 20:43:57 2020 (r552522)
@@ -3,7 +3,7 @@
PORTNAME?= mysql
PORTVERSION= 5.6.49
-PORTREVISION?= 0
+PORTREVISION?= 1
CATEGORIES= databases
MASTER_SITES= MYSQL/MySQL-5.6
PKGNAMESUFFIX?= 56-server
@@ -87,7 +87,7 @@ CONFLICTS_INSTALL= mysql5[0-57-9]-server-* \
USE_RC_SUBR= mysql-server
-SUB_FILES= my.cnf.sample
+SUB_FILES= my.cnf.sample pkg-message
USERS= mysql
GROUPS= mysql
Added: head/databases/mysql56-server/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/mysql56-server/files/pkg-message.in Fri Oct 16 20:43:57 2020 (r552522)
@@ -0,0 +1,16 @@
+[
+{ type: install
+ message: <<EOM
+Please keep in mind that the default location for my.cnf will be changed
+from "/var/db/mysql/my.cnf" to "%%ETCDIR%%/my.cnf" in the near
+future. If you do not want to move your my.cnf to the new location then
+you must set "mysql_optfile" in /etc/rc.conf to "/var/db/mysql/my.cnf".
+EOM
+}
+{ type: upgrade
+ message: <<EOM
+Remember to run mysql_upgrade the first time you start the MySQL server
+after an upgrade from an earlier version.
+EOM
+}
+]
Modified: head/databases/mysql57-server/Makefile
==============================================================================
--- head/databases/mysql57-server/Makefile Fri Oct 16 19:56:25 2020 (r552521)
+++ head/databases/mysql57-server/Makefile Fri Oct 16 20:43:57 2020 (r552522)
@@ -3,7 +3,7 @@
PORTNAME?= mysql
PORTVERSION= 5.7.31
-PORTREVISION?= 1
+PORTREVISION?= 2
CATEGORIES= databases
MASTER_SITES= MYSQL/MySQL-5.7
PKGNAMESUFFIX?= 57-server
@@ -91,7 +91,7 @@ CONFLICTS_INSTALL= mysql5[0-68-9]-server-* \
USE_RC_SUBR= mysql-server
-SUB_FILES= my.cnf.sample
+SUB_FILES= my.cnf.sample pkg-message
USERS= mysql
GROUPS= mysql
Added: head/databases/mysql57-server/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/mysql57-server/files/pkg-message.in Fri Oct 16 20:43:57 2020 (r552522)
@@ -0,0 +1,19 @@
+[
+{ type: install
+ message: <<EOM
+Initial password for first time use of MySQL is saved in $HOME/.mysql_secret
+ie. when you want to use "mysql -u root -p" first you should see password
+in /root/.mysql_secret
+
+MySQL57 has a default %%ETCDIR%%/my.cnf,
+remember to replace it wit your own
+or set `mysql_optfile="$YOUR_CNF_FILE` in rc.conf.
+EOM
+}
+{ type: upgrade
+ message: <<EOM
+Remember to run mysql_upgrade the first time you start the MySQL server
+after an upgrade from an earlier version.
+EOM
+}
+]
Modified: head/databases/mysql80-server/Makefile
==============================================================================
--- head/databases/mysql80-server/Makefile Fri Oct 16 19:56:25 2020 (r552521)
+++ head/databases/mysql80-server/Makefile Fri Oct 16 20:43:57 2020 (r552522)
@@ -3,7 +3,7 @@
PORTNAME?= mysql
PORTVERSION= 8.0.21
-PORTREVISION?= 2
+PORTREVISION?= 3
CATEGORIES= databases
MASTER_SITES= MYSQL/MySQL-8.0
PKGNAMESUFFIX?= 80-server
@@ -120,7 +120,7 @@ CONFLICTS_INSTALL= mysql8[1-9]-server-* \
USE_RC_SUBR= mysql-server
-SUB_FILES= my.cnf.sample
+SUB_FILES= my.cnf.sample pkg-message
USERS= mysql
GROUPS= mysql
Added: head/databases/mysql80-server/files/pkg-message.in
==============================================================================
--- /dev/null 00:00:00 1970 (empty, because file is newly added)
+++ head/databases/mysql80-server/files/pkg-message.in Fri Oct 16 20:43:57 2020 (r552522)
@@ -0,0 +1,21 @@
+[
+{ type: install
+ message: <<EOM
+There is no initial password for first time use of MySQL.
+Keep in mind to reset it to a secure password.
+
+MySQL80 has a default %%ETCDIR%%/my.cnf,
+remember to replace it with your own
+or set `mysql_optfile="$YOUR_CNF_FILE` in rc.conf.
+EOM
+}
+{ type: upgrade
+ message: <<EOM
+As of MySQL 8.0.16, the MySQL server performs the upgrade tasks previously
+handled by mysql_upgrade. Consequently, mysql_upgrade is unneeded and is
+deprecated as of that version, and will be removed in a future MySQL version.
+Because mysql_upgrade no longer performs upgrade tasks,
+it exits with status 0 unconditionally.
+EOM
+}
+]
More information about the svn-ports-head
mailing list