mirror of
https://github.com/archlinuxarm/PKGBUILDs.git
synced 2025-01-17 23:34:07 +00:00
community/percona-server to 5.7.17_12-1
This commit is contained in:
parent
86bbde87b8
commit
3f3205f2d1
1 changed files with 12 additions and 6 deletions
|
@ -8,24 +8,30 @@
|
|||
|
||||
pkgbase=percona-server
|
||||
pkgname=('libperconaserverclient' 'percona-server-clients' 'percona-server')
|
||||
pkgver=5.7.17_11
|
||||
pkgver=5.7.17_12
|
||||
_boost_ver=1.59.0
|
||||
_pkgver=${pkgver/_/-}
|
||||
_myver=${pkgver/_rel*}
|
||||
pkgrel=1
|
||||
arch=('i686' 'x86_64')
|
||||
makedepends=('cmake' 'openssl' 'zlib' 'libaio' 'systemd-tools' 'pam' 'jemalloc')
|
||||
makedepends=('cmake' 'zlib' 'libaio' 'systemd-tools' 'pam' 'jemalloc')
|
||||
license=('GPL' 'AGPL')
|
||||
url="https://www.percona.com/software/mysql-database/percona-server"
|
||||
source=("https://www.percona.com/downloads/Percona-Server-${pkgver%.*_*}/Percona-Server-$_pkgver/source/tarball/percona-server-$_pkgver.tar.gz"
|
||||
"https://sourceforge.net/projects/boost/files/boost/${_boost_ver}/boost_${_boost_ver//./_}.tar.gz"
|
||||
'my.cnf'
|
||||
'mysql-user.conf')
|
||||
sha256sums=('755742455a370ae0b10ee2533a4e32a1c02585075ce2460bdbfa2cf9a3b89c8c'
|
||||
sha256sums=('2f89b40c940009bb54093c6740024c2dda918859ba731d03e76340e83e0a47b5'
|
||||
'47f11c8844e579d02691a607fbd32540104a9ac7a2534a8ddaef50daf502baac'
|
||||
'ae451839c368f0db25a63bb0a6a890194897a8e74818bd4245140933c29e5f83'
|
||||
'e638a2657085f15b6728f43c1fd6aa551b27608fbf6b435e33afd3606a0cfb0e')
|
||||
|
||||
# This ships with bundled SSL library until proper support for openssl 1.1.0
|
||||
# is available.
|
||||
# TODO: Switch back to system openssl
|
||||
# -> add 'openssl' to dependencies
|
||||
# -> switch to '-DWITH_SSL=system' in cmake command
|
||||
|
||||
prepare() {
|
||||
cd $pkgbase-$_pkgver
|
||||
rm -v sql/sql_yacc.{cc,h}
|
||||
|
@ -62,7 +68,7 @@ build() {
|
|||
-DINSTALL_DOCDIR=share/mysql/docs \
|
||||
-DINSTALL_SHAREDIR=share/mysql \
|
||||
-DWITH_ZLIB=system \
|
||||
-DWITH_SSL=system \
|
||||
-DWITH_SSL=bundled \
|
||||
-DWITH_LIBWRAP=OFF \
|
||||
-DCMAKE_EXE_LINKER_FLAGS='-ljemalloc' \
|
||||
-DWITH_UNIT_TESTS=OFF \
|
||||
|
@ -90,7 +96,7 @@ build() {
|
|||
|
||||
package_libperconaserverclient() {
|
||||
pkgdesc='Percona Server client libraries'
|
||||
depends=('openssl' 'zlib')
|
||||
depends=('zlib')
|
||||
|
||||
cd build
|
||||
for dir in include libmysql libmysqld libservices; do
|
||||
|
@ -107,7 +113,7 @@ package_libperconaserverclient() {
|
|||
|
||||
package_percona-server-clients() {
|
||||
pkgdesc='Percona Server client tools'
|
||||
depends=('libperconaserverclient' 'zlib' 'openssl' 'jemalloc')
|
||||
depends=('libperconaserverclient' 'zlib' 'jemalloc' 'readline')
|
||||
conflicts=('mysql-clients')
|
||||
provides=("mysql-clients=$_myver" "mariadb-clients=$_myver")
|
||||
|
||||
|
|
Loading…
Reference in a new issue