@ -32,7 +32,7 @@ CONF_DIR:=/etc/mysql
PLUGIN_DIR := /usr/lib/mariadb/plugin
PLUGIN_DIR := /usr/lib/mariadb/plugin
SHARE_DIR := /usr/share/mariadb
SHARE_DIR := /usr/share/mariadb
MARIADB_SOCKET = /var/run/mysqld /mysqld .sock
MARIADB_SOCKET = /var/run/mysql/mysql.sock
MARIADB_DISABLE_ENGINES := \
MARIADB_DISABLE_ENGINES := \
cassandra \
cassandra \
@ -213,7 +213,8 @@ define Package/mariadb-client
$( call Package/mariadb/Default)
$( call Package/mariadb/Default)
TITLE:= MariaDB database client
TITLE:= MariaDB database client
MENU:= 1
MENU:= 1
DEPENDS:= mariadb-client-base
DEPENDS:= $( MARIADB_COMMON_DEPENDS) \
+libedit
e n d e f
e n d e f
d e f i n e P a c k a g e / 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 / m a r i a d b - c l i e n t / d e s c r i p t i o n
@ -225,26 +226,6 @@ $(subst $(space),$(newline),$(MARIADB_CLIENT))
e n d e f
e n d e f
d e f i n e P a c k a g e / m a r i a d b - c l i e n t - b a s e
$( call Package/mariadb/Default)
TITLE:= MariaDB database client base
DEPENDS:= mariadb-common \
$( MARIADB_COMMON_DEPENDS) \
+libedit
e n d e f
d e f i n e P a c k a g e / m a r i a d b - c l i e n t - b a s e / c o n f f i l e s
$( CONF_DIR ) / c o n f . d / 5 0 - m y s q l - c l i e n t s . c n f
e n d e f
d e f i n e P a c k a g e / m a r i a d b - c l i e n t - b a s e / 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 p r o v i d e s t h e f o u n d a t i o n f o r m a r i a d b - c l i e n t . I t i n s t a l l s t h e
c o n f i g u r a t i o n a n d t h e d e p e n d e n c i e s .
e n d e f
d e f i n e P a c k a g e / m a r i a d b - c l i e n t - e x t r a
d e f i n e P a c k a g e / m a r i a d b - c l i e n t - e x t r a
$( call Package/mariadb/Default)
$( call Package/mariadb/Default)
TITLE:= MariaDB database client extra
TITLE:= MariaDB database client extra
@ -268,10 +249,6 @@ define Package/mariadb-server
PROVIDES:= mysql-server
PROVIDES:= mysql-server
e n d e f
e n d e f
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
/ u s r / b i n / m y s q l d _ s a f e
e n d e f
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 / d e s c r i p t i o n
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 / d e s c r i p t i o n
$( call Package /mariadb /description /Default )
$( call Package /mariadb /description /Default )
@ -283,7 +260,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 - b a s e
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 - b a s e
$( call Package/mariadb/Default)
$( call Package/mariadb/Default)
DEPENDS:= mariadb-common \
DEPENDS:= \
$( MARIADB_COMMON_DEPENDS) \
$( MARIADB_COMMON_DEPENDS) \
+!KERNEL_IO_URING:libaio \
+!KERNEL_IO_URING:libaio \
+KERNEL_IO_URING:liburing \
+KERNEL_IO_URING:liburing \
@ -295,6 +272,7 @@ define Package/mariadb-server-base
e n d e f
e n d e f
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 - b a s e / c o n f f i l e s
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 - b a s e / c o n f f i l e s
$( CONF_DIR ) / m y . c n f
$( CONF_DIR ) / c o n f . d / 5 0 - s e r v e r . c n f
$( CONF_DIR ) / c o n f . d / 5 0 - s e r v e r . c n f
$( CONF_DIR ) / c o n f . d / 6 0 - g a l e r a . c n f
$( CONF_DIR ) / c o n f . d / 6 0 - g a l e r a . c n f
/ e t c / c o n f i g / m y s q l d
/ e t c / c o n f i g / m y s q l d
@ -359,6 +337,8 @@ CMAKE_OPTIONS += \
-DCONNECT_WITH_MONGO= NO \
-DCONNECT_WITH_MONGO= NO \
-DCONNECT_WITH_ODBC= NO \
-DCONNECT_WITH_ODBC= NO \
-DDISABLE_SHARED= NO \
-DDISABLE_SHARED= NO \
-DDEFAULT_CHARSET= utf8mb4 \
-DDEFAULT_COLLATION= utf8mb4_general_ci \
-DENABLED_PROFILING= OFF \
-DENABLED_PROFILING= OFF \
-DENABLE_STATIC_LIBS= OFF \
-DENABLE_STATIC_LIBS= OFF \
-DINSTALL_DOCDIR= share/doc/mariadb \
-DINSTALL_DOCDIR= share/doc/mariadb \
@ -370,6 +350,7 @@ CMAKE_OPTIONS += \
-DINSTALL_PAMDATADIR= "/etc/security" \
-DINSTALL_PAMDATADIR= "/etc/security" \
-DINSTALL_PAMDIR= "/lib/security" \
-DINSTALL_PAMDIR= "/lib/security" \
-DINSTALL_PLUGINDIR= lib/mariadb/plugin \
-DINSTALL_PLUGINDIR= lib/mariadb/plugin \
-DINSTALL_PREFIX= "/usr" \
-DINSTALL_SBINDIR= bin \
-DINSTALL_SBINDIR= bin \
-DINSTALL_SCRIPTDIR= bin \
-DINSTALL_SCRIPTDIR= bin \
-DINSTALL_SQLBENCHDIR= "" \
-DINSTALL_SQLBENCHDIR= "" \
@ -482,11 +463,6 @@ define Package/mariadb-client/install
cd $( 1) /usr/bin; $( LN) mysqlcheck mysqloptimize
cd $( 1) /usr/bin; $( LN) mysqlcheck mysqloptimize
e n d e f
e n d e f
d e f i n e P a c k a g e / m a r i a d b - c l i e n t - b a s e / i n s t a l l
$( INSTALL_DIR) $( 1) $( CONF_DIR) /conf.d
$( INSTALL_DATA) conf/50-mysql-clients.cnf $( 1) $( CONF_DIR) /conf.d
e n d e f
d e f i n e P a c k a g e / m a r i a d b - c l i e n t - e x t r a / i n s t a l l
d e f i n e P a c k a g e / m a r i a d b - c l i e n t - e x t r a / i n s t a l l
$( INSTALL_DIR) $( 1) /usr/bin
$( INSTALL_DIR) $( 1) /usr/bin
$( foreach b,$( MARIADB_CLIENT_EXTRA) ,$( call Package/mariadb/install/bin,$( 1) ,$( b) ) ; )
$( foreach b,$( MARIADB_CLIENT_EXTRA) ,$( call Package/mariadb/install/bin,$( 1) ,$( b) ) ; )
@ -507,6 +483,7 @@ define Package/mariadb-server-base/install
$( SED) '/^[a-z]/s/^/#/' $( PKG_INSTALL_DIR) $( SHARE_DIR) /wsrep.cnf
$( SED) '/^[a-z]/s/^/#/' $( PKG_INSTALL_DIR) $( SHARE_DIR) /wsrep.cnf
$( INSTALL_DATA) $( PKG_INSTALL_DIR) $( SHARE_DIR) /wsrep.cnf $( 1) $( CONF_DIR) /conf.d/60-galera.cnf
$( INSTALL_DATA) $( PKG_INSTALL_DIR) $( SHARE_DIR) /wsrep.cnf $( 1) $( CONF_DIR) /conf.d/60-galera.cnf
$( INSTALL_DATA) conf/50-server.cnf $( 1) $( CONF_DIR) /conf.d
$( INSTALL_DATA) conf/50-server.cnf $( 1) $( CONF_DIR) /conf.d
$( INSTALL_DATA) conf/my.cnf $( 1) $( CONF_DIR)
$( INSTALL_CONF) files/mysqld.config $( 1) /etc/config/mysqld
$( INSTALL_CONF) files/mysqld.config $( 1) /etc/config/mysqld
$( INSTALL_DATA) $( PKG_INSTALL_DIR) $( SHARE_DIR) /charsets/* $( 1) $( SHARE_DIR) /charsets
$( INSTALL_DATA) $( PKG_INSTALL_DIR) $( SHARE_DIR) /charsets/* $( 1) $( SHARE_DIR) /charsets
$( INSTALL_DATA) $( PKG_INSTALL_DIR) $( SHARE_DIR) /english/errmsg.sys $( 1) $( SHARE_DIR) /english
$( INSTALL_DATA) $( PKG_INSTALL_DIR) $( SHARE_DIR) /english/errmsg.sys $( 1) $( SHARE_DIR) /english
@ -567,7 +544,6 @@ endef
$( eval $ ( call HostBuild ) )
$( eval $ ( call HostBuild ) )
$( eval $ ( call BuildPackage ,mariadb -client ) )
$( eval $ ( call BuildPackage ,mariadb -client ) )
$( eval $ ( call BuildPackage ,mariadb -client -base ) )
$( eval $ ( call BuildPackage ,mariadb -client -extra ) )
$( eval $ ( call BuildPackage ,mariadb -client -extra ) )
$( eval $ ( call BuildPackage ,mariadb -server ) )
$( eval $ ( call BuildPackage ,mariadb -server ) )
$( eval $ ( call BuildPackage ,mariadb -server -base ) )
$( eval $ ( call BuildPackage ,mariadb -server -base ) )