[arch-commits] Commit in percona-server/trunk (PKGBUILD)

Jan de Groot jgc at archlinux.org
Tue Mar 21 09:52:24 UTC 2017


    Date: Tuesday, March 21, 2017 @ 09:52:23
  Author: jgc
Revision: 217994

upgpkg: percona-server 5.7.17_11-2

Build with bundled SSL implementation instead of OpenSSL

Modified:
  percona-server/trunk/PKGBUILD

----------+
 PKGBUILD |   16 +++++++++++-----
 1 file changed, 11 insertions(+), 5 deletions(-)

Modified: PKGBUILD
===================================================================
--- PKGBUILD	2017-03-21 09:49:28 UTC (rev 217993)
+++ PKGBUILD	2017-03-21 09:52:23 UTC (rev 217994)
@@ -7,9 +7,9 @@
 _boost_ver=1.59.0
 _pkgver=${pkgver/_/-}
 _myver=${pkgver/_rel*}
-pkgrel=1
+pkgrel=2
 arch=('i686' 'x86_64')
-makedepends=('cmake' 'openssl' 'zlib' 'libaio' 'systemd-tools' 'valgrind' 'pam' 'numactl' 'jemalloc')
+makedepends=('cmake' 'zlib' 'libaio' 'systemd-tools' 'valgrind' 'pam' 'numactl' '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"
@@ -21,6 +21,12 @@
             '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}
@@ -55,7 +61,7 @@
 		-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 \
@@ -83,7 +89,7 @@
 
 package_libperconaserverclient() {
 	pkgdesc='Percona Server client libraries'
-	depends=('openssl' 'zlib')
+	depends=('zlib')
 
 	cd build
 	for dir in include libmysql libmysqld libservices; do
@@ -100,7 +106,7 @@
 
 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")
 


More information about the arch-commits mailing list