FreeBSD Bugzilla – Attachment 218740 Details for
Bug 250340
databases/mysql56-server databases/mysql57-server databases/mysql80-server: Fix pkg-messages
Home
|
New
|
Browse
|
Search
|
[?]
|
Reports
|
Help
|
New Account
|
Log In
Remember
[x]
|
Forgot Password
Login:
[x]
[patch]
Patch
mysql-servers-pkg-message.patch (text/plain), 6.09 KB, created by
Mateusz Piotrowski
on 2020-10-14 13:06:56 UTC
(
hide
)
Description:
Patch
Filename:
MIME Type:
Creator:
Mateusz Piotrowski
Created:
2020-10-14 13:06:56 UTC
Size:
6.09 KB
patch
obsolete
>Index: mysql56-server/Makefile >=================================================================== >--- mysql56-server/Makefile (revision 552328) >+++ mysql56-server/Makefile (working copy) >@@ -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 @@ > > USE_RC_SUBR= mysql-server > >-SUB_FILES= my.cnf.sample >+SUB_FILES= my.cnf.sample pkg-message > > USERS= mysql > GROUPS= mysql >Index: mysql56-server/files/pkg-message.in >=================================================================== >--- mysql56-server/files/pkg-message.in (nonexistent) >+++ mysql56-server/files/pkg-message.in (working copy) >@@ -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 >+} >+] >Index: mysql56-server/pkg-message >=================================================================== >--- mysql56-server/pkg-message (revision 552328) >+++ mysql56-server/pkg-message (nonexistent) >@@ -1,16 +0,0 @@ >-[ >-{ 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 "/usr/local/etc/mysql/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 >-} >-] >Index: mysql57-server/Makefile >=================================================================== >--- mysql57-server/Makefile (revision 552328) >+++ mysql57-server/Makefile (working copy) >@@ -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 @@ > > USE_RC_SUBR= mysql-server > >-SUB_FILES= my.cnf.sample >+SUB_FILES= my.cnf.sample pkg-message > > USERS= mysql > GROUPS= mysql >Index: mysql57-server/files/pkg-message.in >=================================================================== >--- mysql57-server/files/pkg-message.in (nonexistent) >+++ mysql57-server/files/pkg-message.in (working copy) >@@ -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 >+} >+] >Index: mysql57-server/pkg-message >=================================================================== >--- mysql57-server/pkg-message (revision 552328) >+++ mysql57-server/pkg-message (nonexistent) >@@ -1,19 +0,0 @@ >-[ >-{ 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 >-} >-] >Index: mysql80-server/Makefile >=================================================================== >--- mysql80-server/Makefile (revision 552328) >+++ mysql80-server/Makefile (working copy) >@@ -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 @@ > > USE_RC_SUBR= mysql-server > >-SUB_FILES= my.cnf.sample >+SUB_FILES= my.cnf.sample pkg-message > > USERS= mysql > GROUPS= mysql >Index: mysql80-server/files/pkg-message.in >=================================================================== >--- mysql80-server/files/pkg-message.in (nonexistent) >+++ mysql80-server/files/pkg-message.in (working copy) >@@ -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 >+} >+] >Index: mysql80-server/pkg-message >=================================================================== >--- mysql80-server/pkg-message (revision 552328) >+++ mysql80-server/pkg-message (nonexistent) >@@ -1,21 +0,0 @@ >-[ >-{ 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 >-} >-]
You cannot view the attachment while viewing its details because your browser does not support IFRAMEs.
View the attachment on a separate page
.
View Attachment As Diff
View Attachment As Raw
Actions:
View
|
Diff
Attachments on
bug 250340
: 218740