diff options
author | Heinz Wiesinger <pprkut@liwjatan.at> | 2012-04-29 20:12:41 -0400 |
---|---|---|
committer | Erik Hanson <erik@slackbuilds.org> | 2012-04-30 00:40:05 -0500 |
commit | 8a700a5f5b9f3ce91e89c8b8df63a9a54ab248a3 (patch) | |
tree | 9ebddea8dcece3fa472ba81f8fc699e507e87530 /system/mariadb | |
parent | 90eea6baa1982b584fb64c09c157490ace0d59bd (diff) |
system/mariadb: Updated for version 5.3.6.
Signed-off-by: dsomero <xgizzmo@slackbuilds.org>
Diffstat (limited to 'system/mariadb')
-rw-r--r-- | system/mariadb/README | 8 | ||||
-rw-r--r-- | system/mariadb/mariadb.SlackBuild | 7 | ||||
-rw-r--r-- | system/mariadb/mariadb.info | 8 | ||||
-rw-r--r-- | system/mariadb/rc.mysqld | 5 |
4 files changed, 21 insertions, 7 deletions
diff --git a/system/mariadb/README b/system/mariadb/README index c10c1e258d5e..8b7d4ae2e670 100644 --- a/system/mariadb/README +++ b/system/mariadb/README @@ -4,10 +4,18 @@ engines, including the Aria storage engine. This conflicts with Slackware's mysql package. Do NOT install both! +This conflicts with mytop, as MariaDB already ships with its own +version of mytop. Note that mytop requires perl-TermReadKey at +runtime. + If you want to build the embedded mysql server (libmysqld), which you will need if you plan to (re)build amarok, then run the script with EMBEDDED=yes in the environment, but be aware that because mariadb builds this as shared library, applications linking it will no longer work with Slackware's mysql package. +Note that the default storage engine for InnoDB tables in MariaDB is +XtraDB. If you want to use Oracle's InnoDB plugin, read the notes +in rc.mysqld. + libevent is an optional dependency of mariadb. diff --git a/system/mariadb/mariadb.SlackBuild b/system/mariadb/mariadb.SlackBuild index 95685cd1a50d..f456750e20a8 100644 --- a/system/mariadb/mariadb.SlackBuild +++ b/system/mariadb/mariadb.SlackBuild @@ -27,7 +27,7 @@ # MariaDB version maintained by: Heinz Wiesinger <pprkut@liwjatan.at> PRGNAM=mariadb -VERSION=5.2.8 +VERSION=5.3.6 BUILD=${BUILD:-1} TAG=${TAG:-_SBo} @@ -99,7 +99,6 @@ CXX=g++ \ --with-big-tables \ --enable-local-infile \ --with-plugins=max \ - --without-plugin-innodb_plugin \ --build=$ARCH-slackware-linux \ $embed @@ -120,8 +119,12 @@ done install -m 0644 storage/maria/ma_{pagecache,loghandler_lsn}.h \ $PKG/usr/include/mysql/ +install -m 0644 storage/maria/ha_maria.h \ + $PKG/usr/include/mysql/ sed -i "s|../storage/maria/ma_pagecache.h|ma_pagecache.h|" \ $PKG/usr/include/mysql/maria.h +sed -i "s|../storage/maria/ha_maria.h|ha_maria.h|" \ + $PKG/usr/include/mysql/sql_select.h # Add some handy library symlinks: cd $PKG/usr/lib${LIBDIRSUFFIX} diff --git a/system/mariadb/mariadb.info b/system/mariadb/mariadb.info index 04120cff501e..262e800a0129 100644 --- a/system/mariadb/mariadb.info +++ b/system/mariadb/mariadb.info @@ -1,10 +1,10 @@ PRGNAM="mariadb" -VERSION="5.2.8" +VERSION="5.3.6" HOMEPAGE="http://mariadb.org/" -DOWNLOAD="http://ftp-stud.hs-esslingen.de/pub/Mirrors/mariadb/mariadb-5.2.8/kvm-tarbake-jaunty-x86/mariadb-5.2.8.tar.gz" -MD5SUM="7b78be87df6a59ecd7a8c06a7e72eb83" +DOWNLOAD="http://mirror2.hs-esslingen.de/mariadb/mariadb-5.3.6/kvm-tarbake-jaunty-x86/mariadb-5.3.6.tar.gz" +MD5SUM="1720dc637ae1b27a6147b166e53b52be" DOWNLOAD_x86_64="" MD5SUM_x86_64="" MAINTAINER="Heinz Wiesinger" EMAIL="pprkut@liwjatan.at" -APPROVED="rworkman" +APPROVED="dsomero" diff --git a/system/mariadb/rc.mysqld b/system/mariadb/rc.mysqld index 300e6eb2d37a..a509d68aca1c 100644 --- a/system/mariadb/rc.mysqld +++ b/system/mariadb/rc.mysqld @@ -31,6 +31,9 @@ # uncommented to improve system security. SKIP="--skip-networking" +# Uncomment the next line to use Oracle's InnoDB plugin instead of the included XtraDB +#INNODB="--ignore-builtin-innodb --plugin-load=innodb=ha_innodb_plugin.so" + # Start mysqld: mysqld_start() { if [ -x /usr/bin/mysqld_safe ]; then @@ -41,7 +44,7 @@ mysqld_start() { rm -f /var/run/mysql/mysql.pid fi fi - /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/run/mysql/mysql.pid $SKIP & + /usr/bin/mysqld_safe --datadir=/var/lib/mysql --pid-file=/var/run/mysql/mysql.pid $SKIP $INNODB & fi } |