@ -8,7 +8,7 @@
i n c l u d e $( TOPDIR ) / r u l e s . m k
PKG_NAME := mariadb
PKG_VERSION := 10.1.33
PKG_VERSION := 10.2.16
PKG_RELEASE := 1
PKG_SOURCE := $( PKG_NAME) -$( PKG_VERSION) .tar.gz
@ -18,10 +18,10 @@ PKG_SOURCE_URL := \
https://ftp.yz.yamagata-u.ac.jp/pub/dbms/mariadb/$( PKG_NAME) -$( PKG_VERSION) /source \
https://downloads.mariadb.org/interstitial/$( PKG_NAME) -$( PKG_VERSION) /source
PKG_HASH := 94312c519f2c0c25e1964c64e22aff0036fb22dfb2685638f43a6b2211395d2d
PKG_HASH := c182ee93bacee9c1395a4cece56acfc433bc5153ec627c4898927b93eee54dc4
PKG_MAINTAINER := Sebastian Kemper <sebastian_ml@gmx.net>
PKG_LICENSE := GPL-2.0
PKG_LICENSE_FILES := COPYING
PKG_LICENSE := GPL-2.0 LGPL-2.1
PKG_LICENSE_FILES := COPYING libmariadb/COPYING.LIB
HOST_BUILD_PARALLEL := 1
PKG_BUILD_PARALLEL := 1
@ -60,7 +60,6 @@ MARIADB_SERVER_PLUGINS := \
ha_example \
ha_federated \
ha_federatedx \
ha_innodb \
ha_spider \
ha_test_sql_discovery \
handlersocket \
@ -102,7 +101,6 @@ plugin-ha_connect := PLUGIN_CONNECT
plugin-ha_example := PLUGIN_EXAMPLE
plugin-ha_federated := PLUGIN_FEDERATED
plugin-ha_federatedx := PLUGIN_FEDERATEDX
plugin-ha_innodb := PLUGIN_INNOBASE
plugin-ha_spider := PLUGIN_SPIDER
plugin-ha_test_sql_discovery := PLUGIN_TEST_SQL_DISCOVERY
plugin-handlersocket := PLUGIN_HANDLERSOCKET
@ -183,16 +181,16 @@ database query language in the world. The main goals of MariaDB are
s p e e d , r o b u s t n e s s a n d e a s e o f u s e .
e n d e f
d e f i n e P a c k a g e / l i b m a r i a d b c l i e n t
d e f i n e P a c k a g e / l i b m a r i a d b
SECTION:= libs
CATEGORY:= Libraries
DEPENDS:= $( MARIADB_COMMON_DEPENDS)
TITLE:= MariaDB database client library
URL:= https://mariadb.org/
PROVIDES:= libmysqlclient libmysqlclient-r
PROVIDES:= libmariadbclient libm ysqlclient libmysqlclient-r
e n d e f
d e f i n e P a c k a g e / l i b m a r i a d b c l i e n t / d e s c r i p t i o n
d e f i n e P a c k a g e / l i b m a r i a d b / d e s c r i p t i o n
$( call Package /mariadb /description /Default )
T h i s p a c k a g e i n c l u d e s t h e c l i e n t l i b r a r y .
@ -247,7 +245,6 @@ endef
d e f i n e P a c k a g e / m a r i a d b - e x t r a - c h a r s e t s / d e s c r i p t i o n
$( call Package /mariadb /description /Default )
T h e M a r i a D B s e r v e r p a c k a g e d b y O p e n W r t o n l y p r o v i d e s s u p p o r t f o r U T F - 8 .
T h i s p a c k a g e c o n t a i n s s i n g l e B y t e c h a r a c t e r s e t s a n d c o l l a t i o n s t h a t c a n
b e a d d e d a t r u n t i m e .
@ -346,7 +343,7 @@ CMAKE_OPTIONS += \
-DSKIP_TESTS= ON \
-DWITH_ASAN= OFF \
-DWITH_EMBEDDED_SERVER= OFF \
-DWITH_EXTRA_CHARSETS= none \
-DWITH_EXTRA_CHARSETS= complex \
-DWITH_INNODB_BZIP2= OFF \
-DWITH_INNODB_LZ4= OFF \
-DWITH_INNODB_LZMA= ON \
@ -425,15 +422,15 @@ define Build/InstallDev
$( INSTALL_BIN) $( PKG_INSTALL_DIR) /usr/bin/mysql_config $( 1) /usr/bin
$( LN) $( STAGING_DIR) /usr/bin/mysql_config $( 2) /bin
$( CP) $( PKG_INSTALL_DIR) /usr/include/mysql $( 1) /usr/include
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libmysqlclient*.so* $( 1) /usr/lib
cd $( 1) /usr/lib/mysql; $( LN) ../libmysqlclient*.so* .
$( CP) $( PKG_INSTALL_DIR) /usr/lib/lib{ mariadb, mysqlclient} *.so* $( 1) /usr/lib
cd $( 1) /usr/lib/mysql; $( LN) ../lib{ mariadb, mysqlclient} *.so* .
$( INSTALL_DATA) $( PKG_INSTALL_DIR) /usr/share/pkgconfig/mariadb.pc $( 1) /usr/lib/pkgconfig
$( INSTALL_DATA) $( PKG_INSTALL_DIR) /usr/share/aclocal/mysql.m4 $( 1) /usr/share/aclocal
e n d e f
d e f i n e P a c k a g e / l i b m a r i a d b c l i e n t / i n s t a l l
d e f i n e P a c k a g e / l i b m a r i a d b / i n s t a l l
$( INSTALL_DIR) $( 1) $( PLUGIN_DIR)
$( CP) $( PKG_INSTALL_DIR) /usr/lib/libmysqlclient*.so* $( 1) /usr/lib
$( CP) $( PKG_INSTALL_DIR) /usr/lib/lib{ mariadb, mysqlclient} *.so* $( 1) /usr/lib
$( INSTALL_BIN) $( PKG_INSTALL_DIR) $( PLUGIN_DIR) /dialog.so $( 1) $( PLUGIN_DIR)
$( INSTALL_BIN) $( PKG_INSTALL_DIR) $( PLUGIN_DIR) /mysql_clear_password.so $( 1) $( PLUGIN_DIR)
e n d e f
@ -478,7 +475,7 @@ endef
d e f i n e P a c k a g e / m a r i a d b - s e r v e r / c o n f f i l e s
/ e t c / m y s q l / m y . c n f
/ u s r / l i b / m y s q l / p l u g i n / d a e m o n _ e x a m p l e . i n i
$( PLUGIN_DIR ) / d a e m o n _ e x a m p l e . i n i
e n d e f
d e f i n e B u i l d P l u g i n
@ -503,7 +500,7 @@ This package provides the $(1) plugin.
e n d e f
$( eval $ ( call HostBuild ) )
$( eval $ ( call BuildPackage ,libmariadbclient ) )
$( eval $ ( call BuildPackage ,libmariadb ) )
$( eval $ ( call BuildPackage ,mariadb -client ) )
$( eval $ ( call BuildPackage ,mariadb -client -extra ) )
$( eval $ ( call BuildPackage ,mariadb -extra -charsets ) )
@ -527,7 +524,6 @@ $(eval $(call BuildPlugin,ha_blackhole,))
$( eval $ ( call BuildPlugin ,ha_connect ,+libxml 2) )
$( eval $ ( call BuildPlugin ,ha_federated ,) )
$( eval $ ( call BuildPlugin ,ha_federatedx ,) )
$( eval $ ( call BuildPlugin ,ha_innodb ,) )
$( eval $ ( call BuildPlugin ,ha_spider ,) )
$( eval $ ( call BuildPlugin ,ha_test_sql_discovery ,) )
$( eval $ ( call BuildPlugin ,handlersocket ,) )