aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--main/mariadb/APKBUILD18
1 files changed, 16 insertions, 2 deletions
diff --git a/main/mariadb/APKBUILD b/main/mariadb/APKBUILD
index e599b0bb52..e3f0ab38bd 100644
--- a/main/mariadb/APKBUILD
+++ b/main/mariadb/APKBUILD
@@ -23,8 +23,8 @@ makedepends="$depends_dev bison cmake curl-dev libaio-dev libarchive-dev libeven
install="$pkgname.pre-install"
subpackages="$pkgname-static $pkgname-test:mytest $pkgname-embedded-dev:_embedded_dev
$pkgname-doc $pkgname-dev $pkgname-common $pkgname-openrc
- $pkgname-backup $pkgname-embedded $pkgname-server-utils:_server_utils
$pkgname-client $pkgname-bench $pkgname-backup $pkgname-embedded $pkgname-mytop
+ $pkgname-server-utils:_server_utils $pkgname-plugin-rocksdb:_plugin_rocksdb
mysql mysql-client:_compat_client mysql-bench:_compat_bench"
source="https://downloads.mariadb.org/interstitial/mariadb-$pkgver/source/mariadb-$pkgver.tar.gz
$pkgname.initd
@@ -106,7 +106,7 @@ build() {
-DPLUGIN_MROONGA=NO \
-DPLUGIN_OQGRAPH=NO \
-DPLUGIN_PARTITION=YES \
- -DPLUGIN_ROCKSDB=NO \
+ -DPLUGIN_ROCKSDB=YES \
-DPLUGIN_SPHINX=NO \
-DPLUGIN_TOKUDB=NO \
-DPLUGIN_AUTH_PAM=NO \
@@ -121,6 +121,11 @@ build() {
-DWITH_INNODB_LZMA=ON \
-DWITH_INNODB_LZO=OFF \
-DWITH_INNODB_SNAPPY=OFF \
+ -DWITH_ROCKSDB_BZIP2=OFF \
+ -DWITH_ROCKSDB_JEMALLOC=OFF \
+ -DWITH_ROCKSDB_LZ4=OFF \
+ -DWITH_ROCKSDB_ZSTD=OFF \
+ -DWITH_ROCKSDB_SNAPPY=OFF \
-DWITH_JEMALLOC=NO \
-DWITH_LIBARCHIVE=system \
-DWITH_LIBNUMA=NO \
@@ -316,6 +321,15 @@ _server_utils() {
"$subpkgdir"/usr/bin/
}
+_plugin_rocksdb() {
+ pkgdesc="MariaDB plugin for RocksDB (MyRocks)"
+ url="https://mariadb.com/kb/en/library/myrocks/"
+ depends="$pkgname=$pkgver-r$pkgrel"
+ mkdir -p "$subpkgdir"/usr/lib/mariadb/plugin
+ mv "$pkgdir"/usr/lib/mariadb/plugin/ha_rocksdb.so \
+ "$subpkgdir"/usr/lib/mariadb/plugin/ha_rocksdb.so
+}
+
sha512sums="7702af8787973b15784dc8a89f9d56765725a420e2e68f1924b67c88c134c7d83d3249dddd16707fa9e5f05ed747f813f16feefbb477e999a6698b1dcfb5a88f mariadb-10.2.15.tar.gz
06751768cb00d2e433655635c38d267ef25084a5830ff40e719ac579223c7192dc34b43f919ab6faf480094632327511cbd22456064dde2d04dc15648b9e3b9f mariadb.initd
88d9084c8ca3a94e6e1a7fa91091f577ee063f4b13046cc805f61f3be37993b98c79665e5995d8b6b7fa10efbe00fcbde638db5b0b59f0d5e0e951b24b5108e9 fix-mysql-install-db-path.patch