head 1.3; access; symbols OPENPKG_E1_MP_HEAD:1.3 OPENPKG_E1_MP:1.3 OPENPKG_2_2_RELEASE:1.2 OPENPKG_2_2_SOLID:1.2.0.4 OPENPKG_2_2_SOLID_BP:1.2 OPENPKG_2_1_RELEASE:1.2 OPENPKG_2_1_SOLID:1.2.0.2 OPENPKG_2_1_SOLID_BP:1.2 OPENPKG_2_0_RELEASE:1.1 OPENPKG_2_0_SOLID:1.1.0.2 OPENPKG_2_0_SOLID_BP:1.1; locks; strict; comment @# @; 1.3 date 2004.12.17.09.13.31; author rse; state dead; branches; next 1.2; 1.2 date 2004.07.01.17.37.46; author rse; state Exp; branches; next 1.1; 1.1 date 2004.01.05.14.44.25; author rse; state Exp; branches; next ; desc @@ 1.3 log @In preparation to OpenPKG 2.3, finally remove obsoleted/end-of-life MySQL versions 3.23 and 4.0 in favor to the current stable production version 4.1 and the development version 5.0. The following shifting was done: none -> PLUS mysql40 4.0.22 BASE mysql 4.0.22 -> BASE mysql 4.1.8 PLUS mysql41 4.1.8 -> none EVAL mysql3 3.23.58 -> none @ text @Index: mysys/default.c --- mysys/default.c.orig 2004-06-27 23:56:50 +0200 +++ mysys/default.c 2004-07-01 19:20:13 +0200 @@@@ -48,7 +48,7 @@@@ #elif defined(__NETWARE__) "sys:/etc/", #else -"/etc/", +"@@l_prefix@@/etc/mysql/", #endif #ifdef DATADIR DATADIR, Index: scripts/msql2mysql.sh --- scripts/msql2mysql.sh.orig 2004-06-27 23:57:02 +0200 +++ scripts/msql2mysql.sh 2004-07-01 19:20:13 +0200 @@@@ -13,4 +13,4 @@@@ # described in the License. Among other things, the License requires that # the copyright notice and this notice be preserved on all copies. -@@bindir@@/replace msqlConnect mysql_connect msqlListDBs mysql_list_dbs msqlNumRows mysql_num_rows msqlFetchRow mysql_fetch_row msqlFetchField mysql_fetch_field msqlFreeResult mysql_free_result msqlListFields mysql_list_fields msqlListTables mysql_list_tables msqlErrMsg 'mysql_error(mysql)' msqlStoreResult mysql_store_result msqlQuery mysql_query msqlField mysql_field msqlSelect mysql_select msqlSelectDB mysql_select_db msqlNumFields mysql_num_fields msqlClose mysql_close msqlDataSeek mysql_data_seek m_field MYSQL_FIELD m_result MYSQL_RES m_row MYSQL_ROW msql mysql mSQL mySQL MSQL MYSQL msqlCreateDB mysql_create_db msqlDropDB mysql_drop_db msqlFieldSeek mysql_field_seek -- $* +@@libexecdir@@/replace msqlConnect mysql_connect msqlListDBs mysql_list_dbs msqlNumRows mysql_num_rows msqlFetchRow mysql_fetch_row msqlFetchField mysql_fetch_field msqlFreeResult mysql_free_result msqlListFields mysql_list_fields msqlListTables mysql_list_tables msqlErrMsg 'mysql_error(mysql)' msqlStoreResult mysql_store_result msqlQuery mysql_query msqlField mysql_field msqlSelect mysql_select msqlSelectDB mysql_select_db msqlNumFields mysql_num_fields msqlClose mysql_close msqlDataSeek mysql_data_seek m_field MYSQL_FIELD m_result MYSQL_RES m_row MYSQL_ROW msql mysql mSQL mySQL MSQL MYSQL msqlCreateDB mysql_create_db msqlDropDB mysql_drop_db msqlFieldSeek mysql_field_seek -- $* Index: scripts/mysql_install_db.sh --- scripts/mysql_install_db.sh.orig 2004-06-27 23:56:51 +0200 +++ scripts/mysql_install_db.sh 2004-07-01 19:20:13 +0200 @@@@ -186,9 +186,8 @@@@ if test ! -d $ldata; then mkdir $ldata; chmod 700 $ldata ; fi if test ! -d $ldata/mysql; then mkdir $ldata/mysql; chmod 700 $ldata/mysql ; fi - if test ! -d $ldata/test; then mkdir $ldata/test; chmod 700 $ldata/test ; fi if test -w / -a ! -z "$user"; then - chown $user $ldata $ldata/mysql $ldata/test; + chown $user $ldata $ldata/mysql fi if test ! -f $mdata/db.frm @@@@ -262,10 +261,7 @@@@ if test "$in_rpm" = "0" then echo "You can start the MySQL daemon with:" - echo "cd @@prefix@@ ; $bindir/mysqld_safe &" - echo - echo "You can test the MySQL daemon with the benchmarks in the 'sql-bench' directory:" - echo "cd sql-bench ; perl run-all-tests" + echo "@@l_prefix@@/etc/rc mysql start" echo fi echo "Please report any problems with the @@scriptdir@@/mysqlbug script!" Index: scripts/mysql_create_system_tables.sh --- scripts/mysql_create_system_tables.sh.orig 2004-06-27 23:57:01 +0200 +++ scripts/mysql_create_system_tables.sh 2004-07-01 19:23:36 +0200 @@@@ -70,9 +70,6 @@@@ c_d="$c_d KEY User (User)" c_d="$c_d )" c_d="$c_d comment='Database privileges';" - - i_d="INSERT INTO db VALUES ('%','test','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y'); - INSERT INTO db VALUES ('%','test\_%','','Y','Y','Y','Y','Y','Y','N','Y','Y','Y','Y','Y');" fi if test ! -f $mdata/host.frm @@@@ -147,17 +144,13 @@@@ then i_u="INSERT INTO user VALUES ('localhost','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0); INSERT INTO user VALUES ('$hostname','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0); - REPLACE INTO user VALUES ('127.0.0.1','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0); - INSERT INTO user (host,user) values ('localhost',''); - INSERT INTO user (host,user) values ('$hostname','');" + REPLACE INTO user VALUES ('127.0.0.1','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);" else i_u="INSERT INTO user VALUES ('localhost','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);" if test "$windows" = "0" then i_u="$i_u - INSERT INTO user VALUES ('$hostname','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0); - INSERT INTO user (host,user) values ('$hostname',''); - INSERT INTO user (host,user) values ('localhost','');" + INSERT INTO user VALUES ('$hostname','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);" else i_u="$i_u INSERT INTO user VALUES ('%','root','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0); @ 1.2 log @upgrading package: mysql41 4.1.2 -> 4.1.3 @ text @@ 1.1 log @new package: mysql41 4.1.1 (Fast Relational Database Management System) @ text @d2 2 a3 2 --- mysys/default.c.orig 2003-12-01 13:55:03.000000000 +0100 +++ mysys/default.c 2004-01-05 14:12:26.000000000 +0100 d14 2 a15 2 --- scripts/msql2mysql.sh.orig 2003-12-01 13:55:06.000000000 +0100 +++ scripts/msql2mysql.sh 2004-01-05 14:12:26.000000000 +0100 d23 3 a25 3 --- scripts/mysql_install_db.sh.orig 2003-12-01 13:55:04.000000000 +0100 +++ scripts/mysql_install_db.sh 2004-01-05 14:12:26.000000000 +0100 @@@@ -177,9 +177,8 @@@@ d36 1 a36 1 @@@@ -234,10 +233,7 @@@@ d49 3 a51 3 --- scripts/mysql_create_system_tables.sh.orig 2003-12-01 13:55:05.000000000 +0100 +++ scripts/mysql_create_system_tables.sh 2004-01-05 15:25:57.000000000 +0100 @@@@ -68,9 +68,6 @@@@ d61 1 a61 1 @@@@ -145,17 +142,13 @@@@ d73 1 a73 1 i_u="$i_u d79 2 a80 2 i_u="INSERT INTO user VALUES ('localhost','','','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','Y','','','','',0,0,0);" fi @