aboutsummaryrefslogtreecommitdiffstats
path: root/databases
diff options
context:
space:
mode:
Diffstat (limited to 'databases')
-rw-r--r--databases/mariadb101-server/Makefile11
-rw-r--r--databases/mariadb101-server/files/patch-scripts_wsrep__sst__mariabackup.sh11
2 files changed, 18 insertions, 4 deletions
diff --git a/databases/mariadb101-server/Makefile b/databases/mariadb101-server/Makefile
index 12131da5c971..7bab680c91d5 100644
--- a/databases/mariadb101-server/Makefile
+++ b/databases/mariadb101-server/Makefile
@@ -2,7 +2,7 @@
PORTNAME?= mariadb
PORTVERSION= 10.1.43
-PORTREVISION= 1
+PORTREVISION= 2
CATEGORIES= databases
MASTER_SITES= http://ftp.osuosl.org/pub/${SITESDIR}/ \
http://mirrors.supportex.net/${SITESDIR}/ \
@@ -128,9 +128,11 @@ CONNECT_EXTRA_LIB_DEPENDS= libodbc.so:databases/unixODBC
CONNECT_EXTRA_USES= gnome
CONNECT_EXTRA_USE= gnome=libxml2
GSSAPI_NONE_CMAKE_ON= -DPLUGIN_AUTH_GSSAPI=NO
-LZ4_CMAKE_BOOL= GRN_WITH_LZ4 WITH_INNODB_LZ4
+LZ4_CMAKE_ON= -DGRN_WITH_LZ4=ON -DWITH_INNODB_LZ4=ON
+LZ4_CMAKE_OFF= -DGRN_WITH_LZ4=OFF -DWITH_INNODB_LZ4=OFF
LZ4_LIB_DEPENDS= liblz4.so:archivers/liblz4
-LZO_CMAKE_BOOL= WITH_INNODB_LZO
+LZO_CMAKE_ON= -DWITH_INNODB_LZO=ON
+LZO_CMAKE_OFF= -DWITH_INNODB_LZO=OFF
LZO_LIB_DEPENDS= liblzo2.so:archivers/lzo2
MAXKEY_EXTRA_PATCHES+= ${FILESDIR}/extra-patch-include_my__compare.h
MROONGA_LIB_DEPENDS= liblz4.so:archivers/liblz4
@@ -138,7 +140,8 @@ MROONGA_VARS= LICENSE+=LGPL20 LICENSE_COMB=multi
MSGPACK_LIB_DEPENDS= libmsgpackc.so:devel/msgpack
OQGRAPH_LIB_DEPENDS= libboost_system.so:devel/boost-libs \
libJudy.so:devel/judy
-SNAPPY_CMAKE_BOOL= WITH_INNODB_SNAPPY
+SNAPPY_CMAKE_ON= -DWITH_INNODB_SNAPPY=ON
+SNAPPY_CMAKE_OFF= -DWITH_INNODB_SNAPPY=OFF
SNAPPY_LIB_DEPENDS= libsnappy.so:archivers/snappy
TOKUDB_IMPLIES= SNAPPY
TOKUDB_PORTDOCS= README.md
diff --git a/databases/mariadb101-server/files/patch-scripts_wsrep__sst__mariabackup.sh b/databases/mariadb101-server/files/patch-scripts_wsrep__sst__mariabackup.sh
new file mode 100644
index 000000000000..2b81b4eca7b8
--- /dev/null
+++ b/databases/mariadb101-server/files/patch-scripts_wsrep__sst__mariabackup.sh
@@ -0,0 +1,11 @@
+--- scripts/wsrep_sst_mariabackup.sh.orig 2019-12-11 19:29:57 UTC
++++ scripts/wsrep_sst_mariabackup.sh
+@@ -605,7 +605,7 @@ recv_joiner()
+ set +e
+
+ if [[ $tmt -gt 0 ]] && command -v timeout >/dev/null;then
+- if timeout --help | grep -q -- '-k';then
++ if timeout --help 2>&1 | grep -q -- '-k';then
+ ltcmd="timeout -k $(( tmt+10 )) $tmt $tcmd"
+ else
+ ltcmd="timeout -s9 $tmt $tcmd"