# --- T2-COPYRIGHT-BEGIN --- # t2/package/*/mysql/mysql.conf # Copyright (C) 2004 - 2025 The T2 SDE Project # Copyright (C) 1998 - 2003 ROCK Linux Project # SPDX-License-Identifier: GPL-2.0 # --- T2-COPYRIGHT-END --- var_append confopt ' ' --with-berkeley-db var_append confopt ' ' --with-ssl var_append confopt ' ' --with-embedded-server #needed by bacula var_append confopt ' ' --enable-thread-safe-client if [ $prefix_auto = 1 ]; then prefix="opt/mysql" set_confopt fi var_append cmakeopt ' ' -DINSTALL_LIBDIR=$libdir/mysql if [ "$SDECFG_PKG_MYSQL_CLIENTONLY" = "1" ]; then var_append confopt ' ' --without-server fi # create mysql db directory with suitable ownership, mysql_db_install in postinstall hook_add postmake 5 "mkdir -p $root$localstatedir/mysql; chown 39:39 $root$localstatedir/mysql"