From 5bad332c364fc50f0675ed1d0e48df31557b8651 Mon Sep 17 00:00:00 2001 From: Juan RP Date: Tue, 15 Jul 2014 19:22:00 +0200 Subject: [PATCH] mysql: update to 5.6.19; switch to libressl. --- srcpkgs/mysql/template | 13 ++++++++----- 1 file changed, 8 insertions(+), 5 deletions(-) diff --git a/srcpkgs/mysql/template b/srcpkgs/mysql/template index ddd2446d848..e45769c29c0 100644 --- a/srcpkgs/mysql/template +++ b/srcpkgs/mysql/template @@ -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 " 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 .