mysql: update to 5.6.19; switch to libressl.

This commit is contained in:
Juan RP 2014-07-15 19:22:00 +02:00
parent 906a36ee4c
commit 5bad332c36
1 changed files with 8 additions and 5 deletions

View File

@ -1,7 +1,7 @@
# Template file for 'mysql'
pkgname=mysql
version=5.6.14
revision=3
version=5.6.19
revision=1
build_style=cmake
configure_args="-DSYSCONFDIR=/etc/mysql -DMYSQL_DATADIR=/var/lib/mysql
-DMYSQL_UNIX_ADDR=/run/mysqld/mysqld.sock -DDEFAULT_CHARSET=utf8
@ -16,10 +16,10 @@ configure_args="-DSYSCONFDIR=/etc/mysql -DMYSQL_DATADIR=/var/lib/mysql
-DWITH_INNOBASE_STORAGE_ENGINE=1 -DWITH_PARTITION_STORAGE_ENGINE=1
-DWITHOUT_EXAMPLE_STORAGE_ENGINE=1 -DWITHOUT_ARCHIVE_STORAGE_ENGINE=1
-DWITHOUT_BLACKHOLE_STORAGE_ENGINE=1 -DWITHOUT_FEDERATED_STORAGE_ENGINE=1
-DSTACK_DIRECTION=1"
-DSTACK_DIRECTION=1 -DHAVE_LLVM_LIBCPP_EXITCODE=0"
lib32disabled=yes
hostmakedepends="perl cmake bison ncurses-devel"
makedepends="zlib-devel ncurses-devel openssl-devel readline-devel"
makedepends="zlib-devel ncurses-devel libressl-devel readline-devel"
depends="shadow mysql-client"
conf_files="/etc/mysql/my.cnf"
systemd_services="mysqld.service on"
@ -30,9 +30,12 @@ maintainer="Juan RP <xtraeme@gmail.com>"
homepage="https://www.mysql.com/products/community/"
license="GPL-2"
distfiles="http://files.directadmin.com/services/all/mysql/mysql-${version}.tar.gz"
checksum=7136963e07726abfb543b618cf368c8bb9480b5113327ca4a8f94c86f24b22c7
checksum=80ef3aae048866539380e7e330d9f1034f0ee50ddfb9c662570132492678b09f
pre_configure() {
# libressl major detection.
sed -i '/OPENSSL_MAJOR_VERSION/s/1/2/' cmake/ssl.cmake
# We need some host binaries before starting cross compilation.
if [ "$CROSS_BUILD" ]; then
CC= CXX= CPP= LD= AR= AS= RANLIB= CFLAGS= CXXFLAGS= LDFLAGS= cmake .