/[gentoo-x86]/eclass/mysql.eclass
Gentoo

Diff of /eclass/mysql.eclass

Parent Directory Parent Directory | Revision Log Revision Log | View Patch Patch

Revision 1.46 Revision 1.51
1# Copyright 1999-2006 Gentoo Foundation 1# Copyright 1999-2006 Gentoo Foundation
2# Distributed under the terms of the GNU General Public License v2 2# Distributed under the terms of the GNU General Public License v2
3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.46 2006/12/10 01:11:47 vivo Exp $ 3# $Header: /var/cvsroot/gentoo-x86/eclass/mysql.eclass,v 1.51 2006/12/29 20:34:02 vivo Exp $
4 4
5# Author: Francesco Riosa <vivo@gentoo.org> 5# Author: Francesco Riosa <vivo@gentoo.org>
6# Maintainer: Luca Longinotti <chtekk@gentoo.org> 6# Maintainer: Luca Longinotti <chtekk@gentoo.org>
7 7
8# Both MYSQL_VERSION_ID and MYSQL_PATCHSET_REV must be set in the ebuild too 8# Both MYSQL_VERSION_ID and MYSQL_PATCHSET_REV must be set in the ebuild too
97 pkg_postinst pkg_config pkg_postrm 97 pkg_postinst pkg_config pkg_postrm
98 98
99# 99#
100# HELPER FUNCTIONS: 100# HELPER FUNCTIONS:
101# 101#
102
103bitkeeper_fetch() {
104
105 local tpv=( ${PV//[-._]/ } )
106 local reposuf="${tpv[0]}.${tpv[1]}"
107 useq "cluster" && reposuf="${reposuf}-ndb"
108 local repo_uri="bk://mysql.bkbits.net/mysql-${reposuf}"
109 ## -- ebk_store_dir: bitkeeper sources store directory
110 local ebk_store_dir="${PORTAGE_ACTUAL_DISTDIR-${DISTDIR}}/bk-src"
111 ## -- ebk_fetch_cmd: bitkeeper fetch command
112 # always fetch the latest revision, use -r<revision> if a specified revision is wanted
113 # hint: does not work
114 local ebk_fetch_cmd="sfioball"
115 ## -- ebk_update_cmd: bitkeeper update command
116 local ebk_update_cmd="update"
117
118 #addread "/etc/bitkeeper"
119 addwrite "${ebk_store_dir}"
120
121 if [[ ! -d "${ebk_store_dir}" ]]; then
122 debug-print "${FUNCNAME}: initial checkout. creating bitkeeper directory"
123 mkdir -p "${ebk_store_dir}" || die "${EBK}: can't mkdir ${ebk_store_dir}."
124 fi
125
126 pushd "${ebk_store_dir}" || die "${EBK}: can't chdir to ${ebk_store_dir}"
127
128 local wc_path=mysql-${reposuf}
129
130 if [[ ! -d "${wc_path}" ]]; then
131 local options="-r+"
132 # first check out
133 einfo "bitkeeper check out start -->"
134 einfo " repository: ${repo_uri}"
135 ${ebk_fetch_cmd} ${options} "${repo_uri}" ${wc_path} \
136 || die "${EBK}: can't fetch from ${repo_uri}."
137 else
138 if [[ ! -d "${wc_path}/BK" ]]; then
139 popd
140 die "Look like ${wc_path} is not a bitkeeper path."
141 fi
142
143 # update working copy
144 einfo "bitkeeper update start -->"
145 einfo " repository: ${repo_uri}"
146
147 ${ebk_update_cmd} "${repo_uri}" "${wc_path}" \
148 || die "BK: can't update from ${repo_uri} to ${wc_path}."
149
150 fi
151
152 einfo " working copy: ${wc_path}"
153 cd "${wc_path}"
154 rsync -rlpgo --exclude="BK/" . "${S}" || die "BK: can't export to ${S}."
155
156 echo
157 popd
158
159}
160
161mysql_disable_test() {
162 local testname="${1}" ; shift
163 local reason="${@}"
164 local mysql_disable_file="${S}/mysql-test/t/disabled.def"
165 echo ${testname} : ${reason} >> "${mysql_disable_file}"
166 ewarn "test \"${testname}\" disabled because: \"${reason}\""
167}
102 168
103# void mysql_init_vars() 169# void mysql_init_vars()
104# 170#
105# Initialize global variables 171# Initialize global variables
106# 2005-11-19 <vivo@gentoo.org> 172# 2005-11-19 <vivo@gentoo.org>
165 for i in ${minimal_exclude_list} ; do 231 for i in ${minimal_exclude_list} ; do
166 myconf="${myconf} --without-${i}" 232 myconf="${myconf} --without-${i}"
167 done 233 done
168 myconf="${myconf} --with-extra-charsets=none" 234 myconf="${myconf} --with-extra-charsets=none"
169 myconf="${myconf} --enable-local-infile" 235 myconf="${myconf} --enable-local-infile"
236
237 if useq "static" ; then
238 myconf="${myconf} --with-client-ldflags=-all-static"
239 myconf="${myconf} --disable-shared"
240 else
241 myconf="${myconf} --enable-shared --enable-static"
242 fi
243
244 if mysql_version_is_at_least "4.01.00.00" && ! useq "latin1" ; then
245 myconf="${myconf} --with-charset=utf8"
246 myconf="${myconf} --with-collation=utf8_general_ci"
247 else
248 myconf="${myconf} --with-charset=latin1"
249 myconf="${myconf} --with-collation=latin1_swedish_ci"
250 fi
170} 251}
171 252
172configure_common() { 253configure_common() {
173 myconf="${myconf} $(use_with big-tables)" 254 myconf="${myconf} $(use_with big-tables)"
174 myconf="${myconf} --enable-local-infile" 255 myconf="${myconf} --enable-local-infile"
188 269
189 if useq "debug" ; then 270 if useq "debug" ; then
190 myconf="${myconf} --with-debug=full" 271 myconf="${myconf} --with-debug=full"
191 else 272 else
192 myconf="${myconf} --without-debug" 273 myconf="${myconf} --without-debug"
193 mysql_version_is_at_least "4.01.03.00" \ 274 mysql_version_is_at_least "4.1.3" \
194 && useq "cluster" \ 275 && useq "cluster" \
195 && myconf="${myconf} --without-ndb-debug" 276 && myconf="${myconf} --without-ndb-debug"
196 fi 277 fi
197 278
198 if mysql_version_is_at_least "4.01.00.00" && ! useq "latin1" ; then 279 if mysql_version_is_at_least "4.1" && ! useq "latin1" ; then
199 myconf="${myconf} --with-charset=utf8" 280 myconf="${myconf} --with-charset=utf8"
200 myconf="${myconf} --with-collation=utf8_general_ci" 281 myconf="${myconf} --with-collation=utf8_general_ci"
201 else 282 else
202 myconf="${myconf} --with-charset=latin1" 283 myconf="${myconf} --with-charset=latin1"
203 myconf="${myconf} --with-collation=latin1_swedish_ci" 284 myconf="${myconf} --with-collation=latin1_swedish_ci"
217 myconf="${myconf} $(use_with perl bench)" 298 myconf="${myconf} $(use_with perl bench)"
218 myconf="${myconf} --enable-assembler" 299 myconf="${myconf} --enable-assembler"
219 myconf="${myconf} --with-extra-tools" 300 myconf="${myconf} --with-extra-tools"
220 myconf="${myconf} --with-innodb" 301 myconf="${myconf} --with-innodb"
221 myconf="${myconf} --without-readline" 302 myconf="${myconf} --without-readline"
222 mysql_version_is_at_least "5.00.00.00" || myconf="${myconf} $(use_with raid)" 303 mysql_version_is_at_least "5.0" || myconf="${myconf} $(use_with raid)"
223 304
224 if useq "ssl" ; then 305 if useq "ssl" ; then
225 # --with-vio is not needed anymore, it's on by default and 306 # --with-vio is not needed anymore, it's on by default and
226 # has been removed from configure 307 # has been removed from configure
227 mysql_version_is_at_least "5.00.04.00" || myconf="${myconf} --with-vio" 308 mysql_version_is_at_least "5.0.4" || myconf="${myconf} --with-vio"
228 if mysql_version_is_at_least "5.00.06.00" ; then 309 if mysql_version_is_at_least "5.0.6" ; then
229 # myconf="${myconf} --with-yassl" 310 # myconf="${myconf} --with-yassl"
230 myconf="${myconf} --with-openssl" 311 myconf="${myconf} --with-openssl"
231 else 312 else
232 myconf="${myconf} --with-openssl" 313 myconf="${myconf} --with-openssl"
233 fi 314 fi
247 else 328 else
248 myconf="${myconf} --without-berkeley-db" 329 myconf="${myconf} --without-berkeley-db"
249 fi 330 fi
250 fi 331 fi
251 332
252 if mysql_version_is_at_least "4.01.03.00" ; then 333 if mysql_version_is_at_least "4.1.3" ; then
253 myconf="${myconf} --with-geometry" 334 myconf="${myconf} --with-geometry"
254 myconf="${myconf} $(use_with cluster ndbcluster)" 335 myconf="${myconf} $(use_with cluster ndbcluster)"
255 fi 336 fi
256 337
257 if mysql_version_is_at_least "4.01.03.00" && useq "extraengine" ; then 338 if mysql_version_is_at_least "4.1.3" && useq "extraengine" ; then
258 # http://dev.mysql.com/doc/mysql/en/archive-storage-engine.html 339 # http://dev.mysql.com/doc/mysql/en/archive-storage-engine.html
259 myconf="${myconf} --with-archive-storage-engine" 340 myconf="${myconf} --with-archive-storage-engine"
260 341
261 # http://dev.mysql.com/doc/mysql/en/csv-storage-engine.html 342 # http://dev.mysql.com/doc/mysql/en/csv-storage-engine.html
262 myconf="${myconf} --with-csv-storage-engine" 343 myconf="${myconf} --with-csv-storage-engine"
265 myconf="${myconf} --with-blackhole-storage-engine" 346 myconf="${myconf} --with-blackhole-storage-engine"
266 347
267 # http://dev.mysql.com/doc/mysql/en/federated-storage-engine.html 348 # http://dev.mysql.com/doc/mysql/en/federated-storage-engine.html
268 # http://dev.mysql.com/doc/mysql/en/federated-description.html 349 # http://dev.mysql.com/doc/mysql/en/federated-description.html
269 # http://dev.mysql.com/doc/mysql/en/federated-limitations.html 350 # http://dev.mysql.com/doc/mysql/en/federated-limitations.html
270 if mysql_version_is_at_least "5.00.03.00" ; then 351 if mysql_version_is_at_least "5.0.3" ; then
271 elog "Before using the Federated storage engine, please be sure to read" 352 elog "Before using the Federated storage engine, please be sure to read"
272 elog "http://dev.mysql.com/doc/mysql/en/federated-limitations.html" 353 elog "http://dev.mysql.com/doc/mysql/en/federated-limitations.html"
273 myconf="${myconf} --with-federated-storage-engine" 354 myconf="${myconf} --with-federated-storage-engine"
274 fi 355 fi
275 fi 356 fi
276 357
277 mysql_version_is_at_least "5.00.18.00" \ 358 mysql_version_is_at_least "5.0.18" \
278 && useq "max-idx-128" \ 359 && useq "max-idx-128" \
279 && myconf="${myconf} --with-max-indexes=128" 360 && myconf="${myconf} --with-max-indexes=128"
280} 361}
281 362
282configure_51() { 363configure_51() {
314 fi 395 fi
315 396
316 myconf="${myconf} --with-plugins=${plugins}" 397 myconf="${myconf} --with-plugins=${plugins}"
317} 398}
318 399
400pbxt_src_compile() {
401 mysql_init_vars
402
403 pushd "${WORKDIR}/pbxt-${PBXT_VERSION}" &>/dev/null
404
405 einfo "Reconfiguring dir '${PWD}'"
406 AT_GNUCONF_UPDATE="yes" eautoreconf
407
408 local myconf
409 myconf="${myconf} --with-mysql=${S}"
410 mkdir -p ${T}/lib
411 myconf="${myconf} --libdir=${D}/${MY_LIBDIR}"
412 useq "debug" && myconf="${myconf} --with-debug=full"
413 # TODO is safe/needed to use econf here ?
414 ./configure ${myconf} || die "problem configuring pbxt storage engine"
415 # TODO is safe/needed to use emake here ?
416 make || die "problem making pbxt storage engine (${myconf})"
417
418 popd
419 # TODO: modify test suite
420}
421
422pbxt_src_install() {
423 pushd "${WORKDIR}/pbxt-${PBXT_VERSION}" &>/dev/null
424 make install || die "failed pbxt install"
425 popd
426}
427
319# 428#
320# EBUILD FUNCTIONS 429# EBUILD FUNCTIONS
321# 430#
322 431
323mysql_pkg_setup() { 432mysql_pkg_setup() {
324 enewgroup mysql 60 || die "problem adding 'mysql' group" 433 enewgroup mysql 60 || die "problem adding 'mysql' group"
325 enewuser mysql 60 -1 /dev/null mysql || die "problem adding 'mysql' user" 434 enewuser mysql 60 -1 /dev/null mysql || die "problem adding 'mysql' user"
326 435
327 if mysql_version_is_at_least "5.01.12.00" && useq "innodb" ; then
328 eerror "InnoDB now uses cmake to build, this is a TODO item, will be fixed shortly!"
329 die "InnoDB now uses cmake to build, this is a TODO item, will be fixed shortly!"
330 fi
331
332 # Check for USE flag problems in pkg_setup 436 # Check for USE flag problems in pkg_setup
333 if useq "static" && useq "ssl" ; then 437 if useq "static" && useq "ssl" ; then
334 eerror "MySQL does not support being built statically with SSL support enabled!" 438 eerror "MySQL does not support being built statically with SSL support enabled!"
335 die "MySQL does not support being built statically with SSL support enabled!" 439 die "MySQL does not support being built statically with SSL support enabled!"
336 fi 440 fi
337 441
338 if ! mysql_version_is_at_least "5.00.00.00" \ 442 if ! mysql_version_is_at_least "5.0" \
339 && useq "raid" \ 443 && useq "raid" \
340 && useq "static" ; then 444 && useq "static" ; then
341 eerror "USE flags 'raid' and 'static' conflict, you cannot build MySQL statically" 445 eerror "USE flags 'raid' and 'static' conflict, you cannot build MySQL statically"
342 eerror "with RAID support enabled." 446 eerror "with RAID support enabled."
343 die "USE flags 'raid' and 'static' conflict!" 447 die "USE flags 'raid' and 'static' conflict!"
344 fi 448 fi
345 449
346 if mysql_version_is_at_least "4.01.03.00" \ 450 if mysql_version_is_at_least "4.1.3" \
347 && ( useq "cluster" || useq "extraengine" ) \ 451 && ( useq "cluster" || useq "extraengine" ) \
348 && useq "minimal" ; then 452 && useq "minimal" ; then
349 eerror "USE flags 'cluster' and 'extraengine' conflict with 'minimal' USE flag!" 453 eerror "USE flags 'cluster' and 'extraengine' conflict with 'minimal' USE flag!"
350 die "USE flags 'cluster' and 'extraengine' conflict with 'minimal' USE flag!" 454 die "USE flags 'cluster' and 'extraengine' conflict with 'minimal' USE flag!"
351 fi 455 fi
352 456
353 mysql_check_version_range "4.00.00.00 to 5.00.99.99" \ 457 mysql_check_version_range "4.0 to 5.0.99.99" \
354 && useq "berkdb" \ 458 && useq "berkdb" \
355 && elog "Berkeley DB support is deprecated and will be removed in future versions!" 459 && elog "Berkeley DB support is deprecated and will be removed in future versions!"
356} 460}
357 461
358mysql_src_unpack() { 462mysql_src_unpack() {
392 -exec rm -f {} \; 496 -exec rm -f {} \;
393 rm -f "ltmain.sh" 497 rm -f "ltmain.sh"
394 rm -f "scripts/mysqlbug" 498 rm -f "scripts/mysqlbug"
395 fi 499 fi
396 500
397 local rebuilddirlist bdbdir d 501 local rebuilddirlist d
398 502
399 if mysql_version_is_at_least "5.01.12.00" ; then 503 if mysql_version_is_at_least "5.1.12" ; then
400 # TODO: innodb is using cmake now?
401 rebuilddirlist="." 504 rebuilddirlist="."
402 bdbdir='' 505 # TODO IMPO! Check this with a cmake expert
506 useq "innodb" \
507 && cmake \
508 -DCMAKE_C_COMPILER=$(which $(tc-getCC)) \
509 -DCMAKE_CXX_COMPILER=$(which $(tc-getCC)) \
510 "storage/innobase"
403 else 511 else
404 rebuilddirlist=". innobase" 512 rebuilddirlist=". innobase"
405 bdbdir='bdb/dist'
406 fi 513 fi
407 514
408 for d in ${rebuilddirlist} ; do 515 for d in ${rebuilddirlist} ; do
409 einfo "Reconfiguring dir '${d}'" 516 einfo "Reconfiguring dir '${d}'"
410 pushd "${d}" &>/dev/null 517 pushd "${d}" &>/dev/null
411 AT_GNUCONF_UPDATE="yes" eautoreconf 518 AT_GNUCONF_UPDATE="yes" eautoreconf
412 popd &>/dev/null 519 popd &>/dev/null
413 done 520 done
414 521
415 if mysql_check_version_range "4.01.00.00 to 5.00.99.99" \ 522 if mysql_check_version_range "4.1 to 5.0.99.99" \
416 && useq "berkdb" ; then 523 && useq "berkdb" ; then
417 [[ -w "${bdbdir}/ltmain.sh" ]] && cp -f "ltmain.sh" "${bdbdir}/ltmain.sh" 524 [[ -w "bdb/dist/ltmain.sh" ]] && cp -f "ltmain.sh" "bdb/dist/ltmain.sh"
418 pushd "${bdbdir}" \ 525 pushd "bdb/dist" \
419 && sh s_all \ 526 && sh s_all \
420 || die "Failed bdb reconfigure" \ 527 || die "Failed bdb reconfigure" \
421 &>/dev/null 528 &>/dev/null
422 popd &>/dev/null 529 popd &>/dev/null
423 fi 530 fi
432 539
433 if useq "minimal" ; then 540 if useq "minimal" ; then
434 configure_minimal 541 configure_minimal
435 else 542 else
436 configure_common 543 configure_common
437 if mysql_version_is_at_least "5.01.10.00" ; then 544 if mysql_version_is_at_least "5.1.10" ; then
438 configure_51 545 configure_51
439 else 546 else
440 configure_40_41_50 547 configure_40_41_50
441 fi 548 fi
442 fi 549 fi
445 filter-flags "-O" "-O[01]" 552 filter-flags "-O" "-O[01]"
446 553
447 # glib-2.3.2_pre fix, bug #16496 554 # glib-2.3.2_pre fix, bug #16496
448 append-flags "-DHAVE_ERRNO_AS_DEFINE=1" 555 append-flags "-DHAVE_ERRNO_AS_DEFINE=1"
449 556
450 append-flags "-fno-exceptions -fno-strict-aliasing" 557 CXXFLAGS="${CXXFLAGS} -fno-exceptions -fno-strict-aliasing"
451 CXXFLAGS="${CXXFLAGS} -felide-constructors -fno-rtti" 558 CXXFLAGS="${CXXFLAGS} -felide-constructors -fno-rtti"
452 mysql_version_is_at_least "5.00.00.00" \ 559 mysql_version_is_at_least "5.0" \
453 && CXXFLAGS="${CXXFLAGS} -fno-implicit-templates" 560 && CXXFLAGS="${CXXFLAGS} -fno-implicit-templates"
454 export CXXFLAGS 561 export CXXFLAGS
455 562
456 econf \ 563 econf \
457 --libexecdir="/usr/sbin" \ 564 --libexecdir="/usr/sbin" \
504 rm -f "${D}/usr/sbin/mysqld" 611 rm -f "${D}/usr/sbin/mysqld"
505 rm -f "${D}${MY_LIBDIR}"/lib{heap,merge,nisam,my{sys,strings,sqld,isammrg,isam},vio,dbug}.a 612 rm -f "${D}${MY_LIBDIR}"/lib{heap,merge,nisam,my{sys,strings,sqld,isammrg,isam},vio,dbug}.a
506 fi 613 fi
507 614
508 # Configuration stuff 615 # Configuration stuff
509 if mysql_version_is_at_least "4.01.00.00" ; then 616 if mysql_version_is_at_least "4.1" ; then
510 mysql_mycnf_version="4.1" 617 mysql_mycnf_version="4.1"
511 else 618 else
512 mysql_mycnf_version="4.0" 619 mysql_mycnf_version="4.0"
513 fi 620 fi
514 insinto "${MY_SYSCONFDIR}" 621 insinto "${MY_SYSCONFDIR}"
515 doins "scripts/mysqlaccess.conf" 622 doins "scripts/mysqlaccess.conf"
516 sed -e "s!@DATADIR@!${DATADIR}!g" \ 623 sed -e "s!@DATADIR@!${DATADIR}!g" \
517 "${FILESDIR}/my.cnf-${mysql_mycnf_version}" \ 624 "${FILESDIR}/my.cnf-${mysql_mycnf_version}" \
518 > "${TMPDIR}/my.cnf.ok" 625 > "${TMPDIR}/my.cnf.ok"
519 if mysql_version_is_at_least "4.01.00.00" && useq "latin1" ; then 626 if mysql_version_is_at_least "4.1" && useq "latin1" ; then
520 sed -e "s|utf8|latin1|g" -i "${TMPDIR}/my.cnf.ok" 627 sed -e "s|utf8|latin1|g" -i "${TMPDIR}/my.cnf.ok"
521 fi 628 fi
522 newins "${TMPDIR}/my.cnf.ok" my.cnf 629 newins "${TMPDIR}/my.cnf.ok" my.cnf
523 630
524 insinto "/etc/conf.d" 631 insinto "/etc/conf.d"
601 elog "if this is a new install." 708 elog "if this is a new install."
602 einfo 709 einfo
603 mysql_version_is_at_least "5.01.00.00" \ 710 mysql_version_is_at_least "5.01.00.00" \
604 || elog "InnoDB is *not* optional as of MySQL-4.0.24, at the request of upstream." 711 || elog "InnoDB is *not* optional as of MySQL-4.0.24, at the request of upstream."
605 fi 712 fi
606 mysql_check_version_range "4.00.00.00 to 5.00.99.99" \ 713 mysql_check_version_range "4.0 to 5.0.99.99" \
607 && useq "berkdb" \ 714 && useq "berkdb" \
608 && elog "Berkeley DB support is deprecated and will be removed in future versions!" 715 && elog "Berkeley DB support is deprecated and will be removed in future versions!"
609} 716}
610 717
611mysql_pkg_config() { 718mysql_pkg_config() {
612 # Make sure the vars are correctly initialized 719 # Make sure the vars are correctly initialized
613 mysql_init_vars 720 mysql_init_vars
614 721
615 [[ -z "${DATADIR}" ]] && die "Sorry, unable to find DATADIR" 722 [[ -z "${DATADIR}" ]] && die "Sorry, unable to find DATADIR"
616 723
617 if built_with_use dev-db/mysql minimal ; then 724 if built_with_use ${CATEGORY}/${PN} minimal ; then
618 die "Minimal builds do NOT include the MySQL server" 725 die "Minimal builds do NOT include the MySQL server"
619 fi 726 fi
620 727
621 local pwd1="a" 728 local pwd1="a"
622 local pwd2="b" 729 local pwd2="b"
658 [[ -f "${ROOT}/${DATADIR}/mysql/user.frm" ]] \ 765 [[ -f "${ROOT}/${DATADIR}/mysql/user.frm" ]] \
659 || die "MySQL databases not installed" 766 || die "MySQL databases not installed"
660 chown -R mysql:mysql "${ROOT}/${DATADIR}" 2> /dev/null 767 chown -R mysql:mysql "${ROOT}/${DATADIR}" 2> /dev/null
661 chmod 0750 "${ROOT}/${DATADIR}" 2> /dev/null 768 chmod 0750 "${ROOT}/${DATADIR}" 2> /dev/null
662 769
663 if mysql_version_is_at_least "4.01.03.00" ; then 770 if mysql_version_is_at_least "4.1.3" ; then
664 options="--skip-ndbcluster" 771 options="--skip-ndbcluster"
665 772
666 # Filling timezones, see 773 # Filling timezones, see
667 # http://dev.mysql.com/doc/mysql/en/time-zone-support.html 774 # http://dev.mysql.com/doc/mysql/en/time-zone-support.html
668 "${ROOT}/usr/bin/mysql_tzinfo_to_sql" "${ROOT}/usr/share/zoneinfo" > "${sqltmp}" 2>/dev/null 775 "${ROOT}/usr/bin/mysql_tzinfo_to_sql" "${ROOT}/usr/share/zoneinfo" > "${sqltmp}" 2>/dev/null
717 wait %1 824 wait %1
718 einfo "Done" 825 einfo "Done"
719} 826}
720 827
721mysql_pkg_postrm() { 828mysql_pkg_postrm() {
722 mysql_lib_symlinks 829 : #mysql_lib_symlinks
723} 830}

Legend:
Removed from v.1.46  
changed lines
  Added in v.1.51

  ViewVC Help
Powered by ViewVC 1.1.20