You can not select more than 25 topics Topics must start with a letter or number, can include dashes ('-') and can be up to 35 characters long.

543 lines
17 KiB

  1. #
  2. # Copyright (C) 2018 Sebastian Kemper <sebastian_ml@gmx.net>
  3. #
  4. # This is free software, licensed under the GNU General Public License v2.
  5. # See /LICENSE for more information.
  6. #
  7. include $(TOPDIR)/rules.mk
  8. PKG_NAME:=mariadb
  9. PKG_VERSION:=10.1.32
  10. PKG_RELEASE:=1
  11. PKG_SOURCE:=$(PKG_NAME)-$(PKG_VERSION).tar.gz
  12. PKG_SOURCE_URL:=https://downloads.mariadb.org/interstitial/$(PKG_NAME)-$(PKG_VERSION)/source
  13. PKG_HASH:=0e2aae6a6a190d07c8e36e87dd43377057fa82651ca3c583462563f3e9369096
  14. PKG_MAINTAINER:=Sebastian Kemper <sebastian_ml@gmx.net>
  15. PKG_LICENSE:=GPL-2.0
  16. PKG_LICENSE_FILES:=COPYING
  17. HOST_BUILD_PARALLEL:=1
  18. PKG_BUILD_PARALLEL:=1
  19. PKG_USE_MIPS16:=0
  20. HOST_BUILD_DEPENDS:=libxml2/host
  21. # Without libevent2 tests/async_queries sporadically fails on the bots
  22. PKG_BUILD_DEPENDS:=libevent2 mariadb/host
  23. CMAKE_INSTALL:=1
  24. PLUGIN_DIR:=/usr/lib/mysql/plugin
  25. MARIADB_COMMON_DEPENDS := \
  26. +libatomic \
  27. +libopenssl \
  28. +libstdcpp \
  29. +zlib
  30. MARIADB_SERVER_PLUGINS := \
  31. adt_null \
  32. auth_0x0100 \
  33. auth_ed25519 \
  34. auth_socket \
  35. auth_test_plugin \
  36. client_ed25519 \
  37. debug_key_management \
  38. dialog_examples \
  39. disks \
  40. example_key_management \
  41. feedback \
  42. file_key_management \
  43. ha_archive \
  44. ha_blackhole \
  45. ha_connect \
  46. ha_example \
  47. ha_federated \
  48. ha_federatedx \
  49. ha_innodb \
  50. ha_spider \
  51. ha_test_sql_discovery \
  52. handlersocket \
  53. libdaemon_example \
  54. locales \
  55. metadata_lock_info \
  56. mypluglib \
  57. qa_auth_client \
  58. qa_auth_interface \
  59. qa_auth_server \
  60. query_cache_info \
  61. query_response_time \
  62. semisync_master \
  63. semisync_slave \
  64. server_audit \
  65. simple_password_check \
  66. sql_errlog \
  67. wsrep_info
  68. PKG_CONFIG_DEPENDS := \
  69. $(patsubst %,CONFIG_PACKAGE_$(PKG_NAME)-server-plugin-%,$(subst _,-,$(MARIADB_SERVER_PLUGINS))) \
  70. CONFIG_PACKAGE_mariadb-server
  71. plugin-adt_null := PLUGIN_AUDIT_NULL
  72. plugin-auth_0x0100 := PLUGIN_AUTH_0X0100
  73. plugin-auth_ed25519 := PLUGIN_AUTH_ED25519
  74. plugin-auth_socket := PLUGIN_AUTH_SOCKET
  75. plugin-auth_test_plugin := PLUGIN_AUTH_TEST_PLUGIN
  76. plugin-client_ed25519 := PLUGIN_CLIENT_ED25519
  77. plugin-debug_key_management := PLUGIN_DEBUG_KEY_MANAGEMENT
  78. plugin-dialog_examples := PLUGIN_DIALOG_EXAMPLES
  79. plugin-disks := PLUGIN_DISKS
  80. plugin-example_key_management := PLUGIN_EXAMPLE_KEY_MANAGEMENT
  81. plugin-feedback := PLUGIN_FEEDBACK
  82. plugin-file_key_management := PLUGIN_FILE_KEY_MANAGEMENT
  83. plugin-ha_archive := PLUGIN_ARCHIVE
  84. plugin-ha_blackhole := PLUGIN_BLACKHOLE
  85. plugin-ha_connect := PLUGIN_CONNECT
  86. plugin-ha_example := PLUGIN_EXAMPLE
  87. plugin-ha_federated := PLUGIN_FEDERATED
  88. plugin-ha_federatedx := PLUGIN_FEDERATEDX
  89. plugin-ha_innodb := PLUGIN_INNOBASE
  90. plugin-ha_spider := PLUGIN_SPIDER
  91. plugin-ha_test_sql_discovery := PLUGIN_TEST_SQL_DISCOVERY
  92. plugin-handlersocket := PLUGIN_HANDLERSOCKET
  93. plugin-libdaemon_example := PLUGIN_DAEMON_EXAMPLE
  94. plugin-locales := PLUGIN_LOCALES
  95. plugin-metadata_lock_info := PLUGIN_METADATA_LOCK_INFO
  96. plugin-mypluglib := PLUGIN_FTEXAMPLE
  97. plugin-qa_auth_client := PLUGIN_QA_AUTH_CLIENT
  98. plugin-qa_auth_interface := PLUGIN_QA_AUTH_INTERFACE
  99. plugin-qa_auth_server := PLUGIN_QA_AUTH_SERVER
  100. plugin-query_cache_info := PLUGIN_QUERY_CACHE_INFO
  101. plugin-query_response_time := PLUGIN_QUERY_RESPONSE_TIME
  102. plugin-semisync_master := PLUGIN_SEMISYNC_MASTER
  103. plugin-semisync_slave := PLUGIN_SEMISYNC_SLAVE
  104. plugin-server_audit := PLUGIN_SERVER_AUDIT
  105. plugin-simple_password_check := PLUGIN_SIMPLE_PASSWORD_CHECK
  106. plugin-sql_errlog := PLUGIN_SQL_ERRLOG
  107. plugin-wsrep_info := PLUGIN_WSREP_INFO
  108. MARIADB_CLIENT := \
  109. mysql \
  110. mysqlcheck
  111. MARIADB_CLIENT_EXTRA := \
  112. mysql_find_rows \
  113. mysql_waitpid \
  114. mysqlaccess \
  115. mysqladmin \
  116. mysqldump \
  117. mysqlimport \
  118. mysqlshow \
  119. mysqlslap \
  120. mytop
  121. MARIADB_SERVER := \
  122. innochecksum \
  123. my_print_defaults \
  124. mysql_install_db \
  125. mysql_upgrade \
  126. mysqld
  127. MARIADB_SERVER_EXTRA := \
  128. aria* \
  129. mariabackup \
  130. msql2mysql \
  131. myisam_ftdump \
  132. myisamchk \
  133. myisamlog \
  134. myisampack \
  135. mysql_convert_table_format \
  136. mysql_fix_extensions \
  137. mysql_plugin \
  138. mysql_secure_installation \
  139. mysql_setpermission \
  140. mysql_tzinfo_to_sql \
  141. mysqlbinlog \
  142. mysqld_multi \
  143. mysqld_safe \
  144. mysqld_safe_helper \
  145. mysqldumpslow \
  146. mysqlhotcopy \
  147. perror \
  148. replace \
  149. resolve_stack_dump
  150. include $(INCLUDE_DIR)/package.mk
  151. include $(INCLUDE_DIR)/host-build.mk
  152. include $(INCLUDE_DIR)/cmake.mk
  153. define Package/mariadb/install/bin
  154. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/$(2) $(1)/usr/bin
  155. endef
  156. define Package/mariadb/description/Default
  157. MariaDB is a fast, stable and true multi-user, multi-threaded SQL
  158. database server. SQL (Structured Query Language) is the most popular
  159. database query language in the world. The main goals of MariaDB are
  160. speed, robustness and ease of use.
  161. endef
  162. define Package/libmariadbclient
  163. SECTION:=libs
  164. CATEGORY:=Libraries
  165. DEPENDS:=$(MARIADB_COMMON_DEPENDS)
  166. TITLE:=MariaDB database client library
  167. URL:=https://mariadb.org/
  168. PROVIDES:=libmysqlclient libmysqlclient-r
  169. endef
  170. define Package/libmariadbclient/description
  171. $(call Package/mariadb/description/Default)
  172. This package includes the client library.
  173. endef
  174. define Package/mariadb/Default
  175. SECTION:=utils
  176. CATEGORY:=Utilities
  177. URL:=https://mariadb.org/
  178. SUBMENU:=database
  179. endef
  180. define Package/mariadb-client
  181. $(call Package/mariadb/Default)
  182. TITLE:=MariaDB database core client binaries
  183. DEPENDS:= \
  184. $(MARIADB_COMMON_DEPENDS) \
  185. +libncursesw
  186. endef
  187. define Package/mariadb-client/description
  188. $(call Package/mariadb/description/Default)
  189. This package includes the following core client binaries:
  190. $(subst $(space),$(newline),$(MARIADB_CLIENT))
  191. endef
  192. define Package/mariadb-client-extra
  193. $(call Package/mariadb/Default)
  194. TITLE:=MariaDB database extra client binaries
  195. DEPENDS:=mariadb-client
  196. endef
  197. define Package/mariadb-client-extra/description
  198. $(call Package/mariadb/description/Default)
  199. This package includes the following extra client binaries:
  200. $(subst $(space),$(newline),$(MARIADB_CLIENT_EXTRA))
  201. endef
  202. define Package/mariadb-extra-charsets
  203. $(call Package/mariadb/Default)
  204. TITLE:=MariaDB database extra character sets
  205. DEPENDS:=mariadb-server
  206. endef
  207. define Package/mariadb-extra-charsets/description
  208. $(call Package/mariadb/description/Default)
  209. The MariaDB server packaged by OpenWrt only provides support for UTF-8.
  210. This package contains single Byte character sets and collations that can
  211. be added at run time.
  212. endef
  213. define Package/mariadb-server
  214. $(call Package/mariadb/Default)
  215. DEPENDS:= \
  216. $(MARIADB_COMMON_DEPENDS) \
  217. +!arc:libaio \
  218. +liblzma \
  219. +libpcre \
  220. +resolveip
  221. TITLE:=MariaDB database core server binaries
  222. MENU:=1
  223. PROVIDES:=mysql-server
  224. endef
  225. define Package/mariadb-server/description
  226. $(call Package/mariadb/description/Default)
  227. This package includes the following core server binaries:
  228. $(subst $(space),$(newline),$(MARIADB_SERVER))
  229. endef
  230. define Package/mariadb-server-extra
  231. $(call Package/mariadb/Default)
  232. TITLE:=MariaDB database extra server binaries
  233. DEPENDS:=mariadb-server
  234. endef
  235. define Package/mariadb-server-extra/description
  236. $(call Package/mariadb/description/Default)
  237. This package includes the following extra server binaries:
  238. $(subst $(space),$(newline),$(MARIADB_SERVER_EXTRA))
  239. endef
  240. # We won't need unit tests
  241. CMAKE_OPTIONS += -DWITH_UNIT_TESTS=0
  242. # This value is determined automatically during straight compile by compiling
  243. # and running a test code. You cannot do that during cross-compile. However the
  244. # stack grows downward in most if not all modern systems. The only exception
  245. # according to buildroot is PA-RISC which is not supported by OpenWrt as far as
  246. # I know. Therefore it makes sense to hardcode the value. If an arch is added
  247. # the stack of which grows up one should expect unpredictable behavior at run
  248. # time.
  249. CMAKE_OPTIONS += -DSTACK_DIRECTION=-1
  250. # Jemalloc was added for TokuDB. Since its configure script seems somewhat broken
  251. # when it comes to cross-compilation we shall disable it and also disable TokuDB.
  252. CMAKE_OPTIONS += -DWITH_JEMALLOC=no -DWITHOUT_TOKUDB=1
  253. # Make it explicit that we are cross-compiling
  254. CMAKE_OPTIONS += -DCMAKE_CROSSCOMPILING=1
  255. # Explicitly disable dtrace to avoid detection of a host version
  256. CMAKE_OPTIONS += -DENABLE_DTRACE=0
  257. # Prevent mariadb from messing with OpenWrt's C(XX)FLAGS
  258. CMAKE_OPTIONS += -DSECURITY_HARDENED=OFF
  259. ifeq ($(CONFIG_PACKAGE_mariadb-server),)
  260. CMAKE_OPTIONS += -DWITHOUT_SERVER=ON
  261. else
  262. CMAKE_OPTIONS += -DWITHOUT_SERVER=OFF
  263. endif
  264. CMAKE_OPTIONS += \
  265. -DCONNECT_WITH_JDBC=NO \
  266. -DCONNECT_WITH_LIBXML2=system \
  267. -DCONNECT_WITH_ODBC=NO \
  268. -DDEFAULT_CHARSET=utf8 \
  269. -DDEFAULT_COLLATION=utf8_general_ci \
  270. -DDISABLE_SHARED=NO \
  271. -DENABLED_PROFILING=OFF \
  272. -DENABLE_STATIC_LIBS=OFF \
  273. -DINSTALL_DOCDIR=share/doc/mariadb \
  274. -DINSTALL_DOCREADMEDIR=share/doc/mariadb \
  275. -DINSTALL_MANDIR=share/man \
  276. -DINSTALL_MYSQLSHAREDIR=share/mysql \
  277. -DINSTALL_MYSQLTESTDIR="" \
  278. -DINSTALL_PLUGINDIR=lib/mysql/plugin \
  279. -DINSTALL_SBINDIR=bin \
  280. -DINSTALL_SCRIPTDIR=bin \
  281. -DINSTALL_SQLBENCHDIR="" \
  282. -DINSTALL_SUPPORTFILESDIR=share/mysql \
  283. -DMYSQLD_USER=root \
  284. -DMYSQL_DATADIR=/var/lib/mysql \
  285. -DMYSQL_UNIX_ADDR=/var/run/mysqld.sock \
  286. -DSKIP_TESTS=ON \
  287. -DWITH_ASAN=OFF \
  288. -DWITH_EMBEDDED_SERVER=OFF \
  289. -DWITH_EXTRA_CHARSETS=none \
  290. -DWITH_INNODB_BZIP2=OFF \
  291. -DWITH_INNODB_LZ4=OFF \
  292. -DWITH_INNODB_LZMA=ON \
  293. -DWITH_INNODB_LZO=OFF \
  294. -DWITH_INNODB_SNAPPY=OFF \
  295. -DWITH_LIBEDIT=OFF \
  296. -DWITH_LIBNUMA=NO \
  297. -DWITH_LIBWRAP=OFF \
  298. -DWITH_LIBWSEP=OFF \
  299. -DWITH_MARIABACKUP=ON \
  300. -DWITH_PCRE=system \
  301. -DWITH_READLINE=OFF \
  302. -DWITH_SAFEMALLOC=OFF \
  303. -DWITH_SSL=system \
  304. -DWITH_SYSTEMD=no \
  305. -DWITH_VALGRIND=OFF \
  306. -DWITH_ZLIB=system
  307. # Default-disable some modules
  308. CMAKE_OPTIONS += \
  309. -DPLUGIN_CASSANDRA=NO \
  310. -DPLUGIN_MROONGA=NO \
  311. -DPLUGIN_OQGRAPH=NO \
  312. -DPLUGIN_ROCKSDB=NO \
  313. -DPLUGIN_SPHINX=NO \
  314. -DPLUGIN_TOKUDB=NO \
  315. -DPLUGIN_AUTH_PAM=NO \
  316. -DPLUGIN_AUTH_GSSAPI=NO \
  317. -DPLUGIN_AUTH_GSSAPI_CLIENT=NO \
  318. -DPLUGIN_CRACKLIB_PASSWORD_CHECK=NO
  319. CMAKE_OPTIONS += \
  320. $(foreach p,$(MARIADB_SERVER_PLUGINS),-D$(plugin-$(p))=$(if $(CONFIG_PACKAGE_$(PKG_NAME)-server-plugin-$(subst _,-,$(p))),DYNAMIC,NO))
  321. # Set CMAKE_FIND_ROOT_PATH_MODE_INCLUDE and CMAKE_FIND_ROOT_PATH_MODE_LIBRARY
  322. # to BOTH as otherwise the host build will not find some required dependencies
  323. # installed on the host machine, like ncurses.
  324. #
  325. # Add "$(STAGING_DIR_HOSTPKG)/lib" to the RPATH of the host helpers,
  326. # otherwise they might not find the location of a library at run time.
  327. CMAKE_HOST_OPTIONS += \
  328. -DCMAKE_BUILD_WITH_INSTALL_RPATH=TRUE \
  329. -DCMAKE_FIND_ROOT_PATH_MODE_INCLUDE=BOTH \
  330. -DCMAKE_FIND_ROOT_PATH_MODE_LIBRARY=BOTH \
  331. -DCMAKE_INSTALL_RPATH="$(STAGING_DIR_HOSTPKG)/lib" \
  332. -DCMAKE_SKIP_RPATH=FALSE \
  333. -DWITHOUT_SERVER=OFF \
  334. -DWITHOUT_TOKUDB=1
  335. # Some helpers must be compiled for host in order to crosscompile mariadb for
  336. # the target. They are then included by import_executables.cmake which is
  337. # generated during the build of the host helpers. It is not necessary to build
  338. # the whole host package, only the "import_executables" target.
  339. # -DIMPORT_EXECUTABLES=$(HOST_BUILD_DIR)/import_executables.cmake
  340. # must then be passed to cmake during target build.
  341. # see also https://mariadb.com/kb/en/mariadb/cross-compiling-mariadb/
  342. CMAKE_OPTIONS += -DIMPORT_EXECUTABLES=$(STAGING_DIR_HOSTPKG)/share/mariadb/import_executables.cmake
  343. define Host/Compile
  344. $(call Host/Compile/Default,import_executables)
  345. endef
  346. define Host/Install
  347. $(SED) 's|$(HOST_BUILD_DIR)|$(STAGING_DIR_HOSTPKG)/share/mariadb|' $(HOST_BUILD_DIR)/import_executables.cmake
  348. $(INSTALL_DIR) $(1)/share/mariadb/{dbug,extra,scripts,sql}
  349. $(INSTALL_BIN) $(HOST_BUILD_DIR)/dbug/factorial $(1)/share/mariadb/dbug
  350. $(INSTALL_BIN) $(HOST_BUILD_DIR)/extra/comp_err $(1)/share/mariadb/extra
  351. $(INSTALL_BIN) $(HOST_BUILD_DIR)/scripts/comp_sql $(1)/share/mariadb/scripts
  352. $(INSTALL_BIN) $(HOST_BUILD_DIR)/sql/{gen_lex_hash,gen_lex_token} $(1)/share/mariadb/sql
  353. $(INSTALL_DATA) $(HOST_BUILD_DIR)/import_executables.cmake $(1)/share/mariadb
  354. endef
  355. define Build/InstallDev
  356. $(INSTALL_DIR) $(2)/bin $(1)/usr/bin $(1)/usr/include $(1)/usr/lib/pkgconfig $(1)/usr/share/aclocal
  357. $(INSTALL_BIN) $(PKG_INSTALL_DIR)/usr/bin/mysql_config $(1)/usr/bin/
  358. $(LN) $(STAGING_DIR)/usr/bin/mysql_config $(2)/bin/
  359. $(CP) $(PKG_INSTALL_DIR)/usr/include/mysql $(1)/usr/include/
  360. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmysqlclient*.so* $(1)/usr/lib/
  361. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/pkgconfig/mariadb.pc $(1)/usr/lib/pkgconfig
  362. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/aclocal/mysql.m4 $(1)/usr/share/aclocal
  363. endef
  364. define Package/libmariadbclient/install
  365. $(INSTALL_DIR) $(1)$(PLUGIN_DIR)
  366. $(CP) $(PKG_INSTALL_DIR)/usr/lib/libmysqlclient*.so* $(1)/usr/lib/
  367. $(INSTALL_BIN) $(PKG_INSTALL_DIR)$(PLUGIN_DIR)/dialog.so $(1)$(PLUGIN_DIR)
  368. $(INSTALL_BIN) $(PKG_INSTALL_DIR)$(PLUGIN_DIR)/mysql_clear_password.so $(1)$(PLUGIN_DIR)
  369. endef
  370. define Package/mariadb-client/install
  371. $(INSTALL_DIR) $(1)/usr/bin
  372. $(foreach b,$(MARIADB_CLIENT),$(call Package/mariadb/install/bin,$(1),$(b));)
  373. endef
  374. define Package/mariadb-client-extra/install
  375. $(INSTALL_DIR) $(1)/usr/bin
  376. $(foreach b,$(MARIADB_CLIENT_EXTRA),$(call Package/mariadb/install/bin,$(1),$(b));)
  377. endef
  378. define Package/mariadb-extra-charsets/install
  379. $(INSTALL_DIR) $(1)/usr/share/mysql/charsets
  380. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/mysql/charsets/* $(1)/usr/share/mysql/charsets
  381. endef
  382. define Package/mariadb-server/install
  383. $(INSTALL_DIR) $(1)/usr/bin
  384. $(foreach b,$(MARIADB_SERVER),$(call Package/mariadb/install/bin,$(1),$(b));)
  385. $(INSTALL_DIR) $(1)/etc/init.d/
  386. $(INSTALL_DIR) $(1)/etc/mysql
  387. $(INSTALL_BIN) files/mysqld.init $(1)/etc/init.d/mysqld
  388. $(INSTALL_CONF) conf/my.cnf $(1)/etc/mysql
  389. $(INSTALL_DIR) $(1)$(PLUGIN_DIR)
  390. $(INSTALL_CONF) $(PKG_INSTALL_DIR)$(PLUGIN_DIR)/daemon_example.ini $(1)$(PLUGIN_DIR)
  391. $(INSTALL_DIR) $(1)/usr/share/mysql/english
  392. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/mysql/english/errmsg.sys $(1)/usr/share/mysql/english
  393. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/mysql/fill_help_tables.sql $(1)/usr/share/mysql/
  394. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/mysql/maria_add_gis_sp_bootstrap.sql $(1)/usr/share/mysql/
  395. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/mysql/mysql_performance_tables.sql $(1)/usr/share/mysql/
  396. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/mysql/mysql_system_tables.sql $(1)/usr/share/mysql/
  397. $(INSTALL_DATA) $(PKG_INSTALL_DIR)/usr/share/mysql/mysql_system_tables_data.sql $(1)/usr/share/mysql/
  398. endef
  399. define Package/mariadb-server-extra/install
  400. $(INSTALL_DIR) $(1)/usr/bin
  401. $(foreach b,$(MARIADB_SERVER_EXTRA),$(call Package/mariadb/install/bin,$(1),$(b));)
  402. endef
  403. define Package/mariadb-server/conffiles
  404. /etc/mysql/my.cnf
  405. /usr/lib/mysql/plugin/daemon_example.ini
  406. endef
  407. define BuildPlugin
  408. define Package/$(PKG_NAME)-server-plugin-$(subst _,-,$(1))
  409. $$(call Package/mariadb/Default)
  410. TITLE:=MariaDB database plugin
  411. DEPENDS:=mariadb-server $(patsubst +%,+PACKAGE_$(PKG_NAME)-server-plugin-$(subst _,-,$(1)):%,$(2))
  412. endef
  413. define Package/$(PKG_NAME)-server-plugin-$(subst _,-,$(1))/description
  414. $$(call Package/mariadb/description/Default)
  415. This package provides the $(1) plugin.
  416. endef
  417. define Package/$(PKG_NAME)-server-plugin-$(subst _,-,$(1))/install
  418. $(INSTALL_DIR) $$(1)$(PLUGIN_DIR)
  419. $(INSTALL_BIN) \
  420. $(PKG_INSTALL_DIR)$(PLUGIN_DIR)/$(1).so \
  421. $$(1)$(PLUGIN_DIR)
  422. endef
  423. $$(eval $$(call BuildPackage,$(PKG_NAME)-server-plugin-$(subst _,-,$(1))))
  424. endef
  425. $(eval $(call HostBuild))
  426. $(eval $(call BuildPackage,libmariadbclient))
  427. $(eval $(call BuildPackage,mariadb-client))
  428. $(eval $(call BuildPackage,mariadb-client-extra))
  429. $(eval $(call BuildPackage,mariadb-extra-charsets))
  430. $(eval $(call BuildPackage,mariadb-server))
  431. $(eval $(call BuildPackage,mariadb-server-extra))
  432. $(eval $(call BuildPlugin,adt_null,))
  433. $(eval $(call BuildPlugin,auth_0x0100,))
  434. $(eval $(call BuildPlugin,auth_ed25519,))
  435. $(eval $(call BuildPlugin,auth_socket,))
  436. $(eval $(call BuildPlugin,auth_test_plugin,))
  437. $(eval $(call BuildPlugin,client_ed25519,))
  438. $(eval $(call BuildPlugin,debug_key_management,))
  439. $(eval $(call BuildPlugin,dialog_examples,))
  440. $(eval $(call BuildPlugin,disks,))
  441. $(eval $(call BuildPlugin,example_key_management,))
  442. $(eval $(call BuildPlugin,feedback,))
  443. $(eval $(call BuildPlugin,file_key_management,))
  444. $(eval $(call BuildPlugin,ha_archive,))
  445. $(eval $(call BuildPlugin,ha_blackhole,))
  446. $(eval $(call BuildPlugin,ha_connect,+libxml2))
  447. $(eval $(call BuildPlugin,ha_federated,))
  448. $(eval $(call BuildPlugin,ha_federatedx,))
  449. $(eval $(call BuildPlugin,ha_innodb,))
  450. $(eval $(call BuildPlugin,ha_spider,))
  451. $(eval $(call BuildPlugin,ha_test_sql_discovery,))
  452. $(eval $(call BuildPlugin,handlersocket,))
  453. $(eval $(call BuildPlugin,libdaemon_example,))
  454. $(eval $(call BuildPlugin,locales,))
  455. $(eval $(call BuildPlugin,metadata_lock_info,))
  456. $(eval $(call BuildPlugin,mypluglib,))
  457. $(eval $(call BuildPlugin,qa_auth_client,))
  458. $(eval $(call BuildPlugin,qa_auth_interface,))
  459. $(eval $(call BuildPlugin,qa_auth_server,))
  460. $(eval $(call BuildPlugin,query_cache_info,))
  461. $(eval $(call BuildPlugin,query_response_time,))
  462. $(eval $(call BuildPlugin,semisync_master,))
  463. $(eval $(call BuildPlugin,semisync_slave,))
  464. $(eval $(call BuildPlugin,server_audit,))
  465. $(eval $(call BuildPlugin,simple_password_check,))
  466. $(eval $(call BuildPlugin,sql_errlog,))
  467. $(eval $(call BuildPlugin,wsrep_info,))