1 |
robbat2 09/02/11 11:28:16 |
2 |
|
3 |
Modified: mysql.eclass |
4 |
Log: |
5 |
Add useful output to track progress of install. |
6 |
|
7 |
Revision Changes Path |
8 |
1.105 eclass/mysql.eclass |
9 |
|
10 |
file : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.105&view=markup |
11 |
plain: http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?rev=1.105&content-type=text/plain |
12 |
diff : http://sources.gentoo.org/viewcvs.py/gentoo-x86/eclass/mysql.eclass?r1=1.104&r2=1.105 |
13 |
|
14 |
Index: mysql.eclass |
15 |
=================================================================== |
16 |
RCS file: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v |
17 |
retrieving revision 1.104 |
18 |
retrieving revision 1.105 |
19 |
diff -p -w -b -B -u -u -r1.104 -r1.105 |
20 |
--- mysql.eclass 11 Feb 2009 11:27:13 -0000 1.104 |
21 |
+++ mysql.eclass 11 Feb 2009 11:28:16 -0000 1.105 |
22 |
@@ -1,6 +1,6 @@ |
23 |
# Copyright 1999-2007 Gentoo Foundation |
24 |
# Distributed under the terms of the GNU General Public License v2 |
25 |
-# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.104 2009/02/11 11:27:13 robbat2 Exp $ |
26 |
+# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.105 2009/02/11 11:28:16 robbat2 Exp $ |
27 |
|
28 |
# Author: Francesco Riosa (Retired) <vivo@g.o> |
29 |
# Maintainer: MySQL Team <mysql-bugs@g.o> |
30 |
@@ -691,11 +691,13 @@ mysql_src_install() { |
31 |
doins "${MY_INCLUDEDIR}"/my_{config,dir}.h |
32 |
|
33 |
# Convenience links |
34 |
+ einfo "Making Convenience links for mysqlcheck multi-call binary" |
35 |
dosym "/usr/bin/mysqlcheck" "/usr/bin/mysqlanalyze" |
36 |
dosym "/usr/bin/mysqlcheck" "/usr/bin/mysqlrepair" |
37 |
dosym "/usr/bin/mysqlcheck" "/usr/bin/mysqloptimize" |
38 |
|
39 |
# Various junk (my-*.cnf moved elsewhere) |
40 |
+ einfo "Removing duplicate /usr/share/mysql files" |
41 |
rm -Rf "${D}/usr/share/info" |
42 |
for removeme in "mysql-log-rotate" mysql.server* \ |
43 |
binary-configure* my-*.cnf mi_test_all* |
44 |
@@ -705,6 +707,7 @@ mysql_src_install() { |
45 |
|
46 |
# Clean up stuff for a minimal build |
47 |
if use minimal ; then |
48 |
+ einfo "Remove all extra content for minimal build" |
49 |
rm -Rf "${D}${MY_SHAREDSTATEDIR}"/{mysql-test,sql-bench} |
50 |
rm -f "${D}"/usr/bin/{mysql{_install_db,manager*,_secure_installation,_fix_privilege_tables,hotcopy,_convert_table_format,d_multi,_fix_extensions,_zap,_explain_log,_tableinfo,d_safe,_install,_waitpid,binlog,test},myisam*,isam*,pack_isam} |
51 |
rm -f "${D}/usr/sbin/mysqld" |
52 |
@@ -717,6 +720,7 @@ mysql_src_install() { |
53 |
else |
54 |
mysql_mycnf_version="4.0" |
55 |
fi |
56 |
+ einfo "Building default my.cnf" |
57 |
insinto "${MY_SYSCONFDIR}" |
58 |
doins scripts/mysqlaccess.conf |
59 |
sed -e "s!@DATADIR@!${MY_DATADIR}!g" \ |
60 |
@@ -729,6 +733,7 @@ mysql_src_install() { |
61 |
|
62 |
# Minimal builds don't have the MySQL server |
63 |
if ! use minimal ; then |
64 |
+ einfo "Creating initial directories" |
65 |
# Empty directories ... |
66 |
diropts "-m0750" |
67 |
if [[ "${PREVIOUS_DATADIR}" != "yes" ]] ; then |
68 |
@@ -746,11 +751,13 @@ mysql_src_install() { |
69 |
fi |
70 |
|
71 |
# Docs |
72 |
+ einfo "Installing docs" |
73 |
dodoc README COPYING ChangeLog EXCEPTIONS-CLIENT INSTALL-SOURCE |
74 |
doinfo "${S}"/Docs/mysql.info |
75 |
|
76 |
# Minimal builds don't have the MySQL server |
77 |
if ! use minimal ; then |
78 |
+ einfo "Including support files and sample configurations" |
79 |
docinto "support-files" |
80 |
for script in \ |
81 |
"${S}"/support-files/my-*.cnf \ |