Ravenports generated: 18 Jan 2021 12:16
[ravenports.git] / bucket_3D / mariadb104
1 # Buildsheet autogenerated by ravenadm tool -- Do not edit.
2
3 NAMEBASE=               mariadb104
4 VERSION=                10.4.17
5 KEYWORDS=               databases
6 VARIANTS=               standard
7 SDESC[standard]=        Fast SQL database server, derived from MySQL
8 HOMEPAGE=               https://mariadb.org/
9 CONTACT=                nobody
10
11 DOWNLOAD_GROUPS=        main
12 SITES[main]=            https://downloads.mariadb.com/MariaDB/mariadb-10.4.17/source/
13 DISTFILE[1]=            mariadb-10.4.17.tar.gz:main
14 DF_INDEX=               1
15 SPKGS[standard]=        complete
16                         server
17                         client
18                         docs
19
20 OPTIONS_AVAILABLE=      none
21 OPTIONS_STANDARD=       none
22
23 BUILD_DEPENDS=          bison:primary:standard
24 BUILDRUN_DEPENDS=       boost-libraries:rest:python_used
25                         snappy:single:standard
26                         msgpack:single:standard
27                         judy:primary:standard
28                         krb5:primary:standard
29
30 USERS=                  mysql
31 GROUPS=                 mysql
32 USERGROUP_SPKG=         server
33
34 USES=                   cmake zlib ssl readline ncurses shebangfix cpe
35                         python:build perl:build pkgconfig iconv:translit
36                         zstd lz4 lzo bz2 execinfo
37 GNOME_COMPONENTS=       libxml2
38
39 DISTNAME=               mariadb-10.4.17
40
41 LICENSE=                GPLv2:server
42 LICENSE_TERMS=          server:{{WRKDIR}}/TERMS
43 LICENSE_FILE=           GPLv2:{{WRKSRC}}/COPYING
44 LICENSE_AWK=            TERMS:"^\#include"
45 LICENSE_SOURCE=         TERMS:{{WRKSRC}}/libmysqld/libmysqld.c
46 LICENSE_SCHEME=         solo
47
48 CPE_PRODUCT=            mariadb
49 CPE_VENDOR=             mariadb
50 FPC_EQUIVALENT=         databases/mariadb104-server
51 SHEBANG_FILES=          scripts/*.sh
52
53 INSTALL_REQ_TOOLCHAIN=  yes
54
55 CMAKE_ARGS=             -DCOMPILATION_COMMENT="Ravenports"
56                         -DINSTALL_INCLUDEDIR=include/mysql
57                         -DINSTALL_PLUGINDIR=lib/mysql/plugin
58                         -DINSTALL_SHAREDIR=share
59                         -DINSTALL_SUPPORTFILESDIR=share/mysql
60                         -DINSTALL_MYSQLSHAREDIR=share/mysql
61                         -DINSTALL_DOCREADMEDIR=share/doc/mariadb104
62                         -DINSTALL_DOCDIR=share/doc/mariadb104
63                         -DINSTALL_LIBDIR=lib/mysql
64                         -DINSTALL_MANDIR=share/man
65                         -DINSTALL_SCRIPTDIR=bin
66                         -DINSTALL_MYSQLTESTDIR=
67                         -DINSTALL_SQLBENCHDIR=
68                         -DDEFAULT_CHARSET=utf8mb4
69                         -DDEFAULT_COLLATION=utf8mb4_unicode_ci
70                         -DDEFAULT_SYSCONFDIR="{{PREFIX}}/etc"
71                         -DENABLED_LOCAL_INFILE=ON
72                         -DPLUGIN_EXAMPLE=NO
73                         -DPLUGIN_FEEDBACK=NO
74                         -DPLUGIN_TOKUDB=NO
75                         -DWITH_EMBEDDED_SERVER=ON
76                         -DWITH_EXTRA_CHARSETS=complex
77                         -DWITH_JEMALLOC=NO
78                         -DWITH_SYSTEMD=no
79                         -DWITH_LIBWRAP=OFF
80                         -DWITH_UNIT_TESTS=OFF
81                         -DWITH_READLINE=system
82                         -DWITH_SSL="{{OPENSSLBASE}}"
83                         -DWITH_ZLIB=system
84                         -DWITH_PCRE=bundled
85                         -Wno-dev
86 VAR_OPSYS[freebsd]=     CXXFLAGS=-DHAVE_POSIX_MEMALIGN=1
87
88 post-patch:
89         ${REINPLACE_CMD} 's|/usr/bin/env python|${PYTHON_CMD}|' \
90                 ${WRKSRC}/CMakeLists.txt
91         ${REINPLACE_CMD} 's|%%PREFIX%%|${PREFIX}|g' \
92                 ${WRKSRC}/mysys/my_default.c
93         ${REINPLACE_CMD} 's|%%LOCALBASE%%|${LOCALBASE}|g' \
94                 ${WRKSRC}/scripts/mysql_config.sh \
95                 ${WRKSRC}/scripts/CMakeLists.txt
96         ${CP} ${WRKSRC}/cmake/os/FreeBSD.cmake \
97                 ${WRKSRC}/cmake/os/DragonFly.cmake
98
99 post-install:
100         ${RM} ${STAGEDIR}${STD_DOCDIR}/COPYING
101         ${MV} ${STAGEDIR}${PREFIX}/lib/mysql/pkgconfig/mariadb.pc \
102                 ${STAGEDIR}${PREFIX}/lib/pkgconfig/
103         ${RMDIR} ${STAGEDIR}${PREFIX}/lib/mysql/pkgconfig
104         # strip plugins and libraries
105         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mysql/libmariadb.so
106         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mysql/libmariadbd.so
107         ${STRIP_CMD} ${STAGEDIR}${PREFIX}/lib/mysql/plugin/*.so
108         # strip binaries
109         @flist=$$(${FIND} ${STAGEDIR}${PREFIX}/bin -type f -perm /111 -print) ;\
110         for f in $$flist; do \
111                 (${FILE} $$f | ${GREP} -Fq ", not stripped")\
112                 && ${ECHO_CMD} "Auto-stripping $$f"\
113                 && ${STRIP_CMD} $$f || ${TRUE} ;\
114         done
115
116 post-configure:
117         ${REINPLACE_CMD} -Ee 's|(#define INCLUDE.*)"$$|\1 -I${PREFIX}/include"|' \
118                 -e 's|(#define LIBS .*)"$$|\1 -L${PREFIX}/lib"|' \
119                 ${BUILD_WRKSRC}/libmariadb/mariadb_config/mariadb_config.c
120         ${REINPLACE_CMD} -e 's| ${PREFIX}/lib/liblz4.so\(.* ${PREFIX}/lib/liblz4.so.*\)|\1|' \
121                 -e 's| ${PREFIX}/lib/liblzo2.so\(.* ${PREFIX}/lib/liblzo2.so.*\)|\1|' \
122                 -e 's| ${PREFIX}/lib/libsnappy.so\(.* ${PREFIX}/lib/libsnappy.so\)|\1|' \
123                 -e 's| -llzma\(.* -llzma\)|\1|;s| -lbz2\(.* -lbz2\)|\1|;' \
124                 ${BUILD_WRKSRC}/extra/mariabackup/CMakeFiles/mbstream.dir/link.txt
125
126 [FILE:807:descriptions/desc.server]
127 MariaDB Server is one of the most popular database servers in the world.
128 It's made by the original developers of MySQL and guaranteed to stay open
129 source. Notable users include Wikipedia, WordPress.com and Google.
130
131 MariaDB turns data into structured information in a wide array of
132 applications, ranging from banking to websites. It is an enhanced, drop-in
133 replacement for MySQL. MariaDB is used because it is fast, scalable and
134 robust, with a rich ecosystem of storage engines, plugins and many other
135 tools make it very versatile for a wide variety of use cases.
136
137 MariaDB is developed as open source software and as a relational database
138 it provides an SQL interface for accessing data. The latest versions of
139 MariaDB also include GIS and JSON features.
140
141 This package contains the server and related files.
142
143
144 [FILE:267:descriptions/desc.client]
145 MariaDB Server is one of the most popular database servers in the world.
146 It's made by the original developers of MySQL and guaranteed to stay open
147 source. Notable users include Wikipedia, WordPress.com and Google.
148
149 This package contains the client and related files.
150
151
152 [FILE:101:distinfo]
153 a7b104e264311cd46524ae546ff0c5107978373e4a01cf7fd8a241454548d16e     80986181 mariadb-10.4.17.tar.gz
154
155
156 [FILE:10934:manifests/plist.server]
157 %%ONLY-LINUX%%lib/mysql/plugin/disks.so
158 bin/
159  aria_chk
160  aria_dump_log
161  aria_ftdump
162  aria_pack
163  aria_read_log
164  innochecksum
165  mariabackup
166  mariadb-backup
167  mariadb-client-test
168  mariadb-client-test-embedded
169  mariadb-dumpslow
170  mariadb-embedded
171  mariadb-fix-extensions
172  mariadb-install-db
173  mariadb-ldb
174  mariadb-secure-installation
175  mariadb-test
176  mariadb-test-embedded
177  mariadb-tzinfo-to-sql
178  mariadb-upgrade
179  mariadb-waitpid
180  mariadbd
181  mariadbd-multi
182  mariadbd-safe
183  mariadbd-safe-helper
184  mbstream
185  my_print_defaults
186  myisam_ftdump
187  myisamchk
188  myisamlog
189  myisampack
190  myrocks_hotbackup
191  mysql_client_test
192  mysql_client_test_embedded
193  mysql_embedded
194  mysql_fix_extensions
195  mysql_install_db
196  mysql_ldb
197  mysql_plugin
198  mysql_secure_installation
199  mysql_tzinfo_to_sql
200  mysql_upgrade
201  mysql_waitpid
202  mysqld
203  mysqld_multi
204  mysqld_safe
205  mysqld_safe_helper
206  mysqldumpslow
207  mysqltest
208  mysqltest_embedded
209  perror
210  resolve_stack_dump
211  resolveip
212  sst_dump
213  test-connect-t
214  wsrep_sst_common
215  wsrep_sst_mariabackup
216  wsrep_sst_mysqldump
217  wsrep_sst_rsync
218  wsrep_sst_rsync_wan
219 include/mysql/server/
220  big_endian.h
221  byte_order_generic.h
222  byte_order_generic_x86.h
223  byte_order_generic_x86_64.h
224  decimal.h
225  errmsg.h
226  handler_ername.h
227  handler_state.h
228  json_lib.h
229  keycache.h
230  little_endian.h
231  m_ctype.h
232  m_string.h
233  ma_dyncol.h
234  my_alloc.h
235  my_attribute.h
236  my_byteorder.h
237  my_compiler.h
238  my_config.h
239  my_dbug.h
240  my_decimal_limits.h
241  my_dir.h
242  my_getopt.h
243  my_global.h
244  my_list.h
245  my_net.h
246  my_pthread.h
247  my_sys.h
248  my_valgrind.h
249  my_xml.h
250  mysql.h
251  mysql_com.h
252  mysql_com_server.h
253  mysql_embed.h
254  mysql_time.h
255  mysql_version.h
256  mysqld_ername.h
257  mysqld_error.h
258  pack.h
259  sql_common.h
260  sql_state.h
261  sslopt-case.h
262  sslopt-longopts.h
263  sslopt-vars.h
264  typelib.h
265 include/mysql/server/mysql/
266  auth_dialog_client.h
267  client_plugin.h
268  plugin.h
269  plugin_audit.h
270  plugin_auth.h
271  plugin_auth_common.h
272  plugin_encryption.h
273  plugin_ftparser.h
274  plugin_password_validation.h
275  service_base64.h
276  service_debug_sync.h
277  service_encryption.h
278  service_encryption_scheme.h
279  service_json.h
280  service_kill_statement.h
281  service_logger.h
282  service_md5.h
283  service_my_crypt.h
284  service_my_print_error.h
285  service_my_snprintf.h
286  service_progress_report.h
287  service_sha1.h
288  service_sha2.h
289  service_thd_alloc.h
290  service_thd_autoinc.h
291  service_thd_error_context.h
292  service_thd_rnd.h
293  service_thd_specifics.h
294  service_thd_timezone.h
295  service_thd_wait.h
296  service_wsrep.h
297  services.h
298 include/mysql/server/mysql/psi/
299  mysql_file.h
300  mysql_idle.h
301  mysql_socket.h
302  mysql_stage.h
303  mysql_statement.h
304  mysql_table.h
305  mysql_thread.h
306  psi.h
307  psi_abi_v0.h
308  psi_abi_v1.h
309  psi_abi_v2.h
310  psi_base.h
311  psi_memory.h
312 include/mysql/server/private/
313  aria_backup.h
314  authors.h
315  backup.h
316  bounded_queue.h
317  client_settings.h
318  compat56.h
319  config.h
320  contributors.h
321  create_options.h
322  custom_conf.h
323  datadict.h
324  debug_sync.h
325  derived_handler.h
326  derror.h
327  des_key_file.h
328  discover.h
329  dur_prop.h
330  embedded_priv.h
331  event_data_objects.h
332  event_db_repository.h
333  event_parse_data.h
334  event_queue.h
335  event_scheduler.h
336  events.h
337  field.h
338  field_comp.h
339  filesort.h
340  filesort_utils.h
341  ft_global.h
342  gcalc_slicescan.h
343  gcalc_tools.h
344  group_by_handler.h
345  gstream.h
346  ha_partition.h
347  ha_sequence.h
348  handle_connections_win.h
349  handler.h
350  hash.h
351  hash_filo.h
352  heap.h
353  hostname.h
354  ilist.h
355  init.h
356  innodb_priv.h
357  item.h
358  item_cmpfunc.h
359  item_create.h
360  item_func.h
361  item_geofunc.h
362  item_inetfunc.h
363  item_jsonfunc.h
364  item_row.h
365  item_strfunc.h
366  item_subselect.h
367  item_sum.h
368  item_timefunc.h
369  item_vers.h
370  item_windowfunc.h
371  item_xmlfunc.h
372  key.h
373  keycaches.h
374  lex.h
375  lex_string.h
376  lex_symbol.h
377  lf.h
378  lock.h
379  log.h
380  log_event.h
381  log_event_old.h
382  log_slow.h
383  maria.h
384  mariadb.h
385  mdl.h
386  mem_root_array.h
387  message.h
388  multi_range_read.h
389  my_alarm.h
390  my_apc.h
391  my_atomic.h
392  my_atomic_wrapper.h
393  my_base.h
394  my_bit.h
395  my_bitmap.h
396  my_check_opt.h
397  my_compare.h
398  my_context.h
399  my_counter.h
400  my_cpu.h
401  my_crypt.h
402  my_decimal.h
403  my_default.h
404  my_handler_errors.h
405  my_json_writer.h
406  my_libwrap.h
407  my_md5.h
408  my_nosys.h
409  my_rdtsc.h
410  my_rnd.h
411  my_service_manager.h
412  my_stacktrace.h
413  my_time.h
414  my_tree.h
415  my_uctype.h
416  my_user.h
417  myisam.h
418  myisamchk.h
419  myisammrg.h
420  myisampack.h
421  mysql_async.h
422  mysqld.h
423  mysqld_default_groups.h
424  mysqld_suffix.h
425  mysys_err.h
426  nt_servc.h
427  opt_range.h
428  opt_subselect.h
429  opt_trace.h
430  opt_trace_context.h
431  parse_file.h
432  partition_element.h
433  partition_info.h
434  password.h
435  pcre.h
436  probes_mysql.h
437  probes_mysql_nodtrace.h
438  procedure.h
439  protocol.h
440  proxy_protocol.h
441  queues.h
442  records.h
443  repl_failsafe.h
444  replication.h
445  rijndael.h
446  rowid_filter.h
447  rpl_constants.h
448  rpl_filter.h
449  rpl_gtid.h
450  rpl_injector.h
451  rpl_mi.h
452  rpl_parallel.h
453  rpl_record.h
454  rpl_record_old.h
455  rpl_reporting.h
456  rpl_rli.h
457  rpl_tblmap.h
458  rpl_utility.h
459  scheduler.h
460  scope.h
461  select_handler.h
462  semisync.h
463  semisync_master.h
464  semisync_master_ack_receiver.h
465  semisync_slave.h
466  service_versions.h
467  session_tracker.h
468  set_var.h
469  slave.h
470  source_revision.h
471  sp.h
472  sp_cache.h
473  sp_head.h
474  sp_pcontext.h
475  sp_rcontext.h
476  span.h
477  spatial.h
478  sql_acl.h
479  sql_admin.h
480  sql_alloc.h
481  sql_alter.h
482  sql_analyse.h
483  sql_analyze_stmt.h
484  sql_array.h
485  sql_audit.h
486  sql_base.h
487  sql_basic_types.h
488  sql_binlog.h
489  sql_bitmap.h
490  sql_bootstrap.h
491  sql_cache.h
492  sql_callback.h
493  sql_class.h
494  sql_cmd.h
495  sql_connect.h
496  sql_const.h
497  sql_crypt.h
498  sql_cte.h
499  sql_cursor.h
500  sql_db.h
501  sql_delete.h
502  sql_derived.h
503  sql_digest.h
504  sql_digest_stream.h
505  sql_do.h
506  sql_error.h
507  sql_explain.h
508  sql_expression_cache.h
509  sql_get_diagnostics.h
510  sql_handler.h
511  sql_help.h
512  sql_hset.h
513  sql_insert.h
514  sql_join_cache.h
515  sql_lex.h
516  sql_lifo_buffer.h
517  sql_list.h
518  sql_load.h
519  sql_locale.h
520  sql_manager.h
521  sql_mode.h
522  sql_parse.h
523  sql_partition.h
524  sql_partition_admin.h
525  sql_plist.h
526  sql_plugin.h
527  sql_plugin_compat.h
528  sql_prepare.h
529  sql_priv.h
530  sql_profile.h
531  sql_reload.h
532  sql_rename.h
533  sql_repl.h
534  sql_schema.h
535  sql_select.h
536  sql_sequence.h
537  sql_servers.h
538  sql_show.h
539  sql_signal.h
540  sql_sort.h
541  sql_statistics.h
542  sql_string.h
543  sql_table.h
544  sql_tablespace.h
545  sql_test.h
546  sql_time.h
547  sql_trigger.h
548  sql_truncate.h
549  sql_tvc.h
550  sql_type.h
551  sql_type_int.h
552  sql_type_json.h
553  sql_type_real.h
554  sql_udf.h
555  sql_union.h
556  sql_update.h
557  sql_view.h
558  sql_window.h
559  ssl_compat.h
560  strfunc.h
561  structs.h
562  sys_vars_shared.h
563  t_ctype.h
564  table.h
565  table_cache.h
566  thr_alarm.h
567  thr_lock.h
568  thr_malloc.h
569  thr_timer.h
570  thread_pool_priv.h
571  threadpool.h
572  transaction.h
573  tzfile.h
574  tztime.h
575  uniques.h
576  unireg.h
577  vers_string.h
578  vers_utils.h
579  violite.h
580  waiting_threads.h
581  welcome_copyright_notice.h
582  win_tzname_data.h
583  winservice.h
584  wqueue.h
585  wsrep.h
586  wsrep_applier.h
587  wsrep_binlog.h
588  wsrep_client_service.h
589  wsrep_client_state.h
590  wsrep_condition_variable.h
591  wsrep_high_priority_service.h
592  wsrep_mutex.h
593  wsrep_mysqld.h
594  wsrep_mysqld_c.h
595  wsrep_priv.h
596  wsrep_schema.h
597  wsrep_server_service.h
598  wsrep_server_state.h
599  wsrep_sst.h
600  wsrep_storage_service.h
601  wsrep_thd.h
602  wsrep_trans_observer.h
603  wsrep_types.h
604  wsrep_utils.h
605  wsrep_var.h
606  wsrep_xid.h
607  xa.h
608 include/mysql/server/private/atomic/
609  gcc_builtins.h
610  generic-msvc.h
611  solaris.h
612 lib/mysql/
613  libmariadbd.a
614  libmariadbd.so
615  libmariadbd.so.19
616  libmysqld.a
617  libmysqld.so
618 lib/mysql/plugin/
619  adt_null.so
620  auth_0x0100.so
621  auth_ed25519.so
622  auth_gssapi.so
623  auth_gssapi_client.so
624  auth_test_plugin.so
625  caching_sha2_password.so
626  debug_key_management.so
627  dialog_examples.so
628  example_key_management.so
629  file_key_management.so
630  ha_archive.so
631  ha_blackhole.so
632  ha_connect.so
633  ha_federated.so
634  ha_federatedx.so
635  ha_mroonga.so
636  ha_oqgraph.so
637  ha_rocksdb.so
638  ha_sphinx.so
639  ha_spider.so
640  ha_test_sql_discovery.so
641  handlersocket.so
642  libdaemon_example.so
643  locales.so
644  metadata_lock_info.so
645  mypluglib.so
646  qa_auth_client.so
647  qa_auth_interface.so
648  qa_auth_server.so
649  query_cache_info.so
650  query_response_time.so
651  server_audit.so
652  simple_password_check.so
653  sql_errlog.so
654  test_versioning.so
655  wsrep_info.so
656 share/aclocal/mysql.m4
657 share/groonga/
658  COPYING
659  README.md
660 share/groonga-normalizer-mysql/
661  README.md
662  lgpl-2.0.txt
663 share/man/man1/
664  aria_chk.1.gz
665  aria_dump_log.1.gz
666  aria_ftdump.1.gz
667  aria_pack.1.gz
668  aria_read_log.1.gz
669  galera_new_cluster.1.gz
670  galera_recovery.1.gz
671  innochecksum.1.gz
672  mariabackup.1.gz
673  mariadb-backup.1.gz
674  mariadb-client-test-embedded.1.gz
675  mariadb-client-test.1.gz
676  mariadb-dumpslow.1.gz
677  mariadb-embedded.1.gz
678  mariadb-fix-extensions.1.gz
679  mariadb-install-db.1.gz
680  mariadb-ldb.1.gz
681  mariadb-secure-installation.1.gz
682  mariadb-service-convert.1.gz
683  mariadb-test-embedded.1.gz
684  mariadb-test.1.gz
685  mariadb-tzinfo-to-sql.1.gz
686  mariadb-upgrade.1.gz
687  mariadb-waitpid.1.gz
688  mariadbd-multi.1.gz
689  mariadbd-safe-helper.1.gz
690  mariadbd-safe.1.gz
691  mbstream.1.gz
692  my_print_defaults.1.gz
693  myisam_ftdump.1.gz
694  myisamchk.1.gz
695  myisamlog.1.gz
696  myisampack.1.gz
697  mysql.server.1.gz
698  mysql_client_test.1.gz
699  mysql_client_test_embedded.1.gz
700  mysql_embedded.1.gz
701  mysql_fix_extensions.1.gz
702  mysql_install_db.1.gz
703  mysql_ldb.1.gz
704  mysql_secure_installation.1.gz
705  mysql_tzinfo_to_sql.1.gz
706  mysql_upgrade.1.gz
707  mysqld_multi.1.gz
708  mysqld_safe.1.gz
709  mysqld_safe_helper.1.gz
710  mysqldumpslow.1.gz
711  mysqltest.1.gz
712  mysqltest_embedded.1.gz
713  perror.1.gz
714  resolve_stack_dump.1.gz
715  resolveip.1.gz
716  wsrep_sst_common.1.gz
717  wsrep_sst_mariabackup.1.gz
718  wsrep_sst_mysqldump.1.gz
719  wsrep_sst_rsync.1.gz
720  wsrep_sst_rsync_wan.1.gz
721 share/man/man8/
722  mariadbd.8.gz
723  mysqld.8.gz
724 share/mysql/
725  binary-configure
726  errmsg-utf8.txt
727  fill_help_tables.sql
728  install_spider.sql
729  magic
730  maria_add_gis_sp.sql
731  maria_add_gis_sp_bootstrap.sql
732  mysql-log-rotate
733  mysql.server
734  mysql_performance_tables.sql
735  mysql_system_tables.sql
736  mysql_system_tables_data.sql
737  mysql_test_data_timezone.sql
738  mysql_test_db.sql
739  mysql_to_mariadb.sql
740  mysqld_multi.server
741  wsrep.cnf
742  wsrep_notify
743 share/mysql/charsets/
744  Index.xml
745  README
746  armscii8.xml
747  ascii.xml
748  cp1250.xml
749  cp1251.xml
750  cp1256.xml
751  cp1257.xml
752  cp850.xml
753  cp852.xml
754  cp866.xml
755  dec8.xml
756  geostd8.xml
757  greek.xml
758  hebrew.xml
759  hp8.xml
760  keybcs2.xml
761  koi8r.xml
762  koi8u.xml
763  latin1.xml
764  latin2.xml
765  latin5.xml
766  latin7.xml
767  macce.xml
768  macroman.xml
769  swe7.xml
770 share/mysql/czech/errmsg.sys
771 share/mysql/danish/errmsg.sys
772 share/mysql/dutch/errmsg.sys
773 share/mysql/english/errmsg.sys
774 share/mysql/estonian/errmsg.sys
775 share/mysql/french/errmsg.sys
776 share/mysql/german/errmsg.sys
777 share/mysql/greek/errmsg.sys
778 share/mysql/hindi/errmsg.sys
779 share/mysql/hungarian/errmsg.sys
780 share/mysql/italian/errmsg.sys
781 share/mysql/japanese/errmsg.sys
782 share/mysql/korean/errmsg.sys
783 share/mysql/mroonga/
784  AUTHORS
785  COPYING
786  install.sql
787  uninstall.sql
788 share/mysql/norwegian/errmsg.sys
789 share/mysql/norwegian-ny/errmsg.sys
790 share/mysql/policy/apparmor/
791  README
792  usr.sbin.mysqld
793  usr.sbin.mysqld.local
794 share/mysql/policy/selinux/
795  README
796  mariadb-server.fc
797  mariadb-server.te
798  mariadb.te
799 share/mysql/polish/errmsg.sys
800 share/mysql/portuguese/errmsg.sys
801 share/mysql/romanian/errmsg.sys
802 share/mysql/russian/errmsg.sys
803 share/mysql/serbian/errmsg.sys
804 share/mysql/slovak/errmsg.sys
805 share/mysql/spanish/errmsg.sys
806 share/mysql/swedish/errmsg.sys
807 share/mysql/ukrainian/errmsg.sys
808
809
810 [FILE:1879:manifests/plist.client]
811 bin/
812  mariadb
813  mariadb-access
814  mariadb-admin
815  mariadb-binlog
816  mariadb-check
817  mariadb-convert-table-format
818  mariadb-dump
819  mariadb-find-rows
820  mariadb-hotcopy
821  mariadb-import
822  mariadb-plugin
823  mariadb-setpermission
824  mariadb-show
825  mariadb-slap
826  mariadb_config
827  msql2mysql
828  mysql
829  mysql_config
830  mysql_convert_table_format
831  mysql_find_rows
832  mysql_setpermission
833  mysqlaccess
834  mysqladmin
835  mysqlbinlog
836  mysqlcheck
837  mysqldump
838  mysqlhotcopy
839  mysqlimport
840  mysqlshow
841  mysqlslap
842  mytop
843  replace
844 include/mysql/
845  errmsg.h
846  ma_list.h
847  ma_pvio.h
848  ma_tls.h
849  mariadb_com.h
850  mariadb_ctype.h
851  mariadb_dyncol.h
852  mariadb_rpl.h
853  mariadb_stmt.h
854  mariadb_version.h
855  my_config.h
856  my_global.h
857  my_sys.h
858  mysql.h
859  mysql_com.h
860  mysql_version.h
861  mysqld_error.h
862 include/mysql/mariadb/ma_io.h
863 include/mysql/mysql/
864  client_plugin.h
865  plugin_auth.h
866  plugin_auth_common.h
867 lib/mysql/
868  libmariadb.so
869  libmariadb.so.3
870  libmariadbclient.a
871  libmysqlclient.a
872  libmysqlclient.so
873  libmysqlclient_r.a
874  libmysqlclient_r.so
875  libmysqlservices.a
876 lib/mysql/plugin/
877  client_ed25519.so
878  daemon_example.ini
879  dialog.so
880  mysql_clear_password.so
881  sha256_password.so
882 lib/pkgconfig/
883  libmariadb.pc
884  mariadb.pc
885 share/man/man1/
886  mariadb-access.1.gz
887  mariadb-admin.1.gz
888  mariadb-binlog.1.gz
889  mariadb-check.1.gz
890  mariadb-convert-table-format.1.gz
891  mariadb-dump.1.gz
892  mariadb-find-rows.1.gz
893  mariadb-hotcopy.1.gz
894  mariadb-import.1.gz
895  mariadb-plugin.1.gz
896  mariadb-setpermission.1.gz
897  mariadb-show.1.gz
898  mariadb-slap.1.gz
899  mariadb.1.gz
900  msql2mysql.1.gz
901  my_safe_process.1.gz
902  mysql-stress-test.pl.1.gz
903  mysql-test-run.pl.1.gz
904  mysql.1.gz
905  mysql_config.1.gz
906  mysql_convert_table_format.1.gz
907  mysql_find_rows.1.gz
908  mysql_plugin.1.gz
909  mysql_setpermission.1.gz
910  mysql_waitpid.1.gz
911  mysqlaccess.1.gz
912  mysqladmin.1.gz
913  mysqlbinlog.1.gz
914  mysqlcheck.1.gz
915  mysqldump.1.gz
916  mysqlhotcopy.1.gz
917  mysqlimport.1.gz
918  mysqlshow.1.gz
919  mysqlslap.1.gz
920  replace.1.gz
921
922
923 [FILE:103:manifests/plist.docs]
924 share/doc/mariadb104/
925  CREDITS
926  EXCEPTIONS-CLIENT
927  INSTALL-BINARY
928  README-wsrep
929  README.md
930  THIRDPARTY
931
932
933 [FILE:328:patches/patch-MDEV-20248]
934 --- storage/rocksdb/rocksdb/port/jemalloc_helper.h.orig 2020-11-10 10:29:18 UTC
935 +++ storage/rocksdb/rocksdb/port/jemalloc_helper.h
936 @@ -26,6 +26,10 @@
937  #include <jemalloc/jemalloc.h>
938  #endif
939  
940 +#ifdef __FreeBSD__
941 +#define JEMALLOC_USABLE_SIZE_CONST const
942 +#endif
943 +
944  #ifndef JEMALLOC_CXX_THROW
945  #define JEMALLOC_CXX_THROW
946  #endif
947
948
949 [FILE:572:patches/patch-client_mysql.cc]
950 --- client/mysql.cc.orig        2020-11-10 10:29:17 UTC
951 +++ client/mysql.cc
952 @@ -61,8 +61,8 @@ static char *server_version= NULL;
953  
954  extern "C" {
955  #if defined(HAVE_CURSES_H) && defined(HAVE_TERM_H)
956 -#include <curses.h>
957 -#include <term.h>
958 +#include <ncurses/curses.h>
959 +#include <ncurses/term.h>
960  #else
961  #if defined(HAVE_TERMIOS_H)
962  #include <termios.h>
963 @@ -81,7 +81,7 @@ extern "C" {
964  #endif
965  #undef SYSV                            // hack to avoid syntax error
966  #ifdef HAVE_TERM_H
967 -#include <term.h>
968 +#include <ncurses/term.h>
969  #endif
970  #endif
971  #endif /* defined(HAVE_CURSES_H) && defined(HAVE_TERM_H) */
972
973
974 [FILE:1958:patches/patch-cmake_readline.cmake]
975 --- cmake/readline.cmake.orig   2020-11-10 10:29:17 UTC
976 +++ cmake/readline.cmake
977 @@ -52,40 +52,17 @@ MACRO (MYSQL_CHECK_MULTIBYTE)
978  ENDMACRO()
979  
980  MACRO (FIND_CURSES)
981 + SET(CURSES_NEED_NCURSES True)
982   FIND_PACKAGE(Curses) 
983   MARK_AS_ADVANCED(CURSES_CURSES_H_PATH CURSES_FORM_LIBRARY CURSES_HAVE_CURSES_H)
984   IF(NOT CURSES_FOUND)
985     SET(ERRORMSG "Curses library not found. Please install appropriate package,
986      remove CMakeCache.txt and rerun cmake.")
987 -   IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
988 -    SET(ERRORMSG ${ERRORMSG} 
989 -    "On Debian/Ubuntu, package name is libncurses5-dev, on Redhat and derivates " 
990 -    "it is ncurses-devel.")
991 -   ENDIF()
992     MESSAGE(FATAL_ERROR ${ERRORMSG})
993   ENDIF()
994  
995 - IF(CURSES_HAVE_CURSES_H)
996 -   SET(HAVE_CURSES_H 1 CACHE INTERNAL "")
997 - ENDIF()
998 - IF(CMAKE_SYSTEM_NAME MATCHES "HP")
999 -   # CMake uses full path to library /lib/libcurses.sl 
1000 -   # On Itanium, it results into architecture mismatch+
1001 -   # the library is for  PA-RISC
1002 -   SET(CURSES_LIBRARY "curses" CACHE INTERNAL "" FORCE)
1003 - ENDIF()
1004 + SET(HAVE_CURSES_H 1 CACHE INTERNAL "")
1005  
1006 - IF(CMAKE_SYSTEM_NAME MATCHES "Linux")
1007 -   # -Wl,--as-needed breaks linking with -lcurses, e.g on Fedora 
1008 -   # Lower-level libcurses calls are exposed by libtinfo
1009 -   CHECK_LIBRARY_EXISTS(${CURSES_LIBRARY} tputs "" HAVE_TPUTS_IN_CURSES)
1010 -   IF(NOT HAVE_TPUTS_IN_CURSES)
1011 -     CHECK_LIBRARY_EXISTS(tinfo tputs "" HAVE_TPUTS_IN_TINFO)
1012 -     IF(HAVE_TPUTS_IN_TINFO)
1013 -       SET(CURSES_LIBRARY tinfo)
1014 -     ENDIF()
1015 -   ENDIF() 
1016 - ENDIF()
1017   CHECK_LIBRARY_EXISTS(${CURSES_LIBRARY} setupterm "" HAVE_SETUPTERM)
1018   CHECK_LIBRARY_EXISTS(${CURSES_LIBRARY} vidattr "" HAVE_VIDATTR)
1019  ENDMACRO()
1020 @@ -220,6 +197,8 @@ MACRO (MYSQL_CHECK_READLINE)
1021      SET(CMAKE_REQUIRED_LIBRARIES)
1022      SET(CMAKE_REQUIRED_INCLUDES)
1023    ENDIF(NOT WIN32)
1024 +  SET(CMAKE_REQUIRED_INCLUDES ${CURSES_INCLUDE_DIR}/ncurses)
1025    CHECK_INCLUDE_FILES ("curses.h;term.h" HAVE_TERM_H)
1026 +  SET(CMAKE_REQUIRED_INCLUDES)
1027  ENDMACRO()
1028  
1029
1030
1031 [FILE:349:patches/patch-extra_readline_CMakeLists.txt]
1032 --- extra/readline/CMakeLists.txt.orig  2020-11-10 10:29:17 UTC
1033 +++ extra/readline/CMakeLists.txt
1034 @@ -56,4 +56,4 @@ ADD_LIBRARY(readline STATIC
1035  
1036  # Declare dependency
1037  # so every executable that links with readline links with curses as well
1038 -TARGET_LINK_LIBRARIES(readline ${CURSES_LIBRARY})
1039 +TARGET_LINK_LIBRARIES(readline ${CURSES_LIBRARY} tinfo)
1040
1041
1042 [FILE:1672:patches/patch-mysys_my__default.c]
1043 --- mysys/my_default.c.orig     2020-11-10 10:29:18 UTC
1044 +++ mysys/my_default.c
1045 @@ -784,7 +784,7 @@ static int search_default_file_with_ext(
1046    {
1047      MY_STAT stat_info;
1048      if (!my_stat(name,&stat_info,MYF(0)))
1049 -      return 1;
1050 +      return 0;
1051      /*
1052        Ignore world-writable regular files.
1053        This is mainly done to protect us to not read a file created by
1054 @@ -802,6 +802,14 @@ static int search_default_file_with_ext(
1055    if (!(fp= mysql_file_fopen(key_file_cnf, name, O_RDONLY, MYF(0))))
1056      return 1;                                  /* Ignore wrong files */
1057  
1058 +  if (strstr(name, "/etc") == name)
1059 +  {
1060 +    fprintf(stderr,
1061 +             "error: Config file %s in invalid location, please move to or merge with %%PREFIX%%%s\n",
1062 +             name,name);
1063 +      goto err;
1064 +  }
1065 +
1066    while (mysql_file_fgets(buff, sizeof(buff) - 1, fp))
1067    {
1068      line++;
1069 @@ -1076,7 +1084,8 @@ void my_print_default_files(const char *
1070            if (name[0] == FN_HOMELIB)   /* Add . to filenames in home */
1071              *end++= '.';
1072            strxmov(end, conf_file, *ext, " ", NullS);
1073 -          fputs(name, stdout);
1074 +          if (strstr(name, "/etc") != name)
1075 +            fputs(name, stdout);
1076          }
1077        }
1078      }
1079 @@ -1203,13 +1212,10 @@ static const char **init_default_directo
1080  
1081  #else
1082  
1083 -#if defined(DEFAULT_SYSCONFDIR)
1084 -  if (DEFAULT_SYSCONFDIR[0])
1085 -    errors += add_directory(alloc, DEFAULT_SYSCONFDIR, dirs);
1086 -#else
1087    errors += add_directory(alloc, "/etc/", dirs);
1088    errors += add_directory(alloc, "/etc/mysql/", dirs);
1089 -#endif /* DEFAULT_SYSCONFDIR */
1090 +  errors += add_directory(alloc, "%%PREFIX%%/etc/", dirs);
1091 +  errors += add_directory(alloc, "%%PREFIX%%/etc/mysql/", dirs);
1092  
1093  #endif
1094  
1095
1096
1097 [FILE:1167:patches/patch-oqgraph-MDEV-15291]
1098 --- storage/oqgraph/oqgraph_judy.cc.orig        2020-11-10 10:29:19 UTC
1099 +++ storage/oqgraph/oqgraph_judy.cc
1100 @@ -27,7 +27,7 @@
1101  /*
1102    Currently the only active code that can return error is:
1103      judy_bitset::reset()/J1U()
1104 -    judy_bitset::setbit()/J1S()
1105 +    judy_bitset::jsetbit()/J1S()
1106  
1107    In most cases errors are either about wrong parameters passed to Judy
1108    functions or internal structures corruption. These definitely deserve
1109 @@ -60,7 +60,7 @@ bool open_query::judy_bitset::test(size_
1110    return rc == 1;
1111  }
1112  
1113 -open_query::judy_bitset& open_query::judy_bitset::setbit(size_type n)
1114 +open_query::judy_bitset& open_query::judy_bitset::jsetbit(size_type n)
1115  {
1116    int rc;
1117    J1S(rc, array, n);
1118 --- storage/oqgraph/oqgraph_judy.h.orig 2020-11-10 10:29:19 UTC
1119 +++ storage/oqgraph/oqgraph_judy.h
1120 @@ -63,7 +63,7 @@ namespace open_query
1121        if (!val)
1122          return reset(n);
1123        else
1124 -        return setbit(n);
1125 +        return jsetbit(n);
1126      }
1127  
1128      judy_bitset& set(const judy_bitset& src);
1129 @@ -115,7 +115,7 @@ namespace open_query
1130    private:
1131      mutable void* array;
1132  
1133 -    judy_bitset& setbit(size_type n);
1134 +    judy_bitset& jsetbit(size_type n);
1135    };
1136  }
1137  
1138
1139
1140 [FILE:399:patches/patch-scripts_CMakeLists.txt]
1141 --- scripts/CMakeLists.txt.orig 2020-11-10 10:29:18 UTC
1142 +++ scripts/CMakeLists.txt
1143 @@ -121,11 +121,7 @@ IF(CMAKE_GENERATOR MATCHES "Makefiles|Ni
1144  ENDIF()
1145  
1146  
1147 -IF(CMAKE_SYSTEM_NAME MATCHES "FreeBSD")
1148 -  SET (PERL_PATH "/usr/local/bin/perl")
1149 -ELSE()
1150 -  SET (PERL_PATH "/usr/bin/perl")
1151 -ENDIF()
1152 +SET (PERL_PATH "%%LOCALBASE%%/bin/perl")
1153  
1154  IF(UNIX)
1155    # FIND_PROC and CHECK_PID are used by mysqld_safe
1156
1157
1158 [FILE:403:patches/patch-scripts_mysql__config.sh]
1159 --- scripts/mysql_config.sh.orig        2020-11-10 10:29:18 UTC
1160 +++ scripts/mysql_config.sh
1161 @@ -87,7 +87,9 @@ fi
1162  
1163  # Create options 
1164  libs="-L$pkglibdir @RPATH_OPTION@ @LIBS_FOR_CLIENTS@"
1165 +libs="$libs -L%%LOCALBASE%%/lib "
1166  embedded_libs="-L$pkglibdir @RPATH_OPTION@ @EMB_LIBS_FOR_CLIENTS@"
1167 +embedded_libs="$embedded_libs -L%%LOCALBASE%%/lib "
1168  
1169  include="-I$pkgincludedir"
1170  if [ "$basedir" != "/usr" ]; then
1171
1172
1173 [FILE:446:patches/patch-scripts_mysqld__safe.sh]
1174 --- scripts/mysqld_safe.sh.orig 2020-11-10 10:29:18 UTC
1175 +++ scripts/mysqld_safe.sh
1176 @@ -555,11 +555,11 @@ fi
1177  
1178  if test -z "$MYSQL_HOME"
1179  then 
1180 -  if test -r "$DATADIR/my.cnf"
1181 +  if test -r "$DATADIR/etc/my.cnf"
1182    then
1183      log_error "WARNING: Found $DATADIR/my.cnf
1184  The data directory is not a valid location for my.cnf, please move it to
1185 -$MY_BASEDIR_VERSION/my.cnf"
1186 +$MY_BASEDIR_VERSION/etc/my.cnf"
1187    fi
1188    MYSQL_HOME=$MY_BASEDIR_VERSION
1189  fi
1190
1191
1192 [FILE:437:patches/patch-scripts_wsrep__sst__mariabackup.sh]
1193 --- scripts/wsrep_sst_mariabackup.sh.orig       2020-11-10 10:29:18 UTC
1194 +++ scripts/wsrep_sst_mariabackup.sh
1195 @@ -613,7 +613,7 @@ recv_joiner()
1196      set +e
1197  
1198      if [[ $tmt -gt 0 ]] && command -v timeout >/dev/null;then
1199 -        if timeout --help | grep -q -- '-k';then 
1200 +        if timeout --help 2>&1 | grep -q -- '-k';then 
1201              ltcmd="timeout -k $(( tmt+10 )) $tmt $tcmd"
1202          else 
1203              ltcmd="timeout -s9 $tmt $tcmd"
1204
1205
1206 [FILE:540:patches/patch-sql_mysqld.cc]
1207 --- sql/mysqld.cc.orig  2020-11-10 10:29:18 UTC
1208 +++ sql/mysqld.cc
1209 @@ -3288,7 +3288,11 @@ pthread_handler_t signal_hand(void *arg
1210        }
1211        break;
1212      case SIGHUP:
1213 +#ifdef SI_KERNEL
1214        if (!abort_loop && origin != SI_KERNEL)
1215 +#else
1216 +      if (!abort_loop)
1217 +#endif
1218        {
1219          int not_used;
1220         mysql_print_status();           // Print some debug info
1221 @@ -4757,8 +4761,9 @@ static void init_ssl()
1222          sql_print_warning("SSL error: %s",buf);
1223        }
1224      }
1225 -    else
1226 +    else {
1227        ERR_remove_state(0);
1228 +    }
1229    }
1230    else
1231    {
1232
1233
1234 [FILE:1422:patches/patch-storage_innobase_lz4.cmake]
1235 --- storage/innobase/lz4.cmake.orig     2020-11-10 10:29:19 UTC
1236 +++ storage/innobase/lz4.cmake
1237 @@ -17,21 +17,29 @@ SET(WITH_INNODB_LZ4 AUTO CACHE STRING
1238  
1239  MACRO (MYSQL_CHECK_LZ4)
1240    IF (WITH_INNODB_LZ4 STREQUAL "ON" OR WITH_INNODB_LZ4 STREQUAL "AUTO")
1241 -    CHECK_INCLUDE_FILES(lz4.h HAVE_LZ4_H)
1242 -    CHECK_LIBRARY_EXISTS(lz4 LZ4_compress_limitedOutput "" HAVE_LZ4_SHARED_LIB)
1243 -    CHECK_LIBRARY_EXISTS(lz4 LZ4_compress_default "" HAVE_LZ4_COMPRESS_DEFAULT)
1244 +    find_path(LZ4_INCLUDE_DIR NAMES lz4.h)
1245 +    find_library(LZ4_LIBRARY NAMES lz4)
1246 +    IF (LZ4_LIBRARY)
1247 +    get_filename_component(LZ4_LIBDIR ${LZ4_LIBRARY} DIRECTORY)
1248 +#MESSAGE(STATUS "LZ4_INCLUDE_DIR=${LZ4_INCLUDE_DIR} LZ4_LIBRARY=${LZ4_LIBRARY} LZ4_LIBDIR=${LZ4_LIBDIR}")
1249 +    IF (LZ4_INCLUDE_DIR)
1250 +      SET(HAVE_LZ4_H YES)
1251 +    ENDIF()
1252 +    CHECK_LIBRARY_EXISTS(lz4 LZ4_compress_limitedOutput ${LZ4_LIBDIR} HAVE_LZ4_SHARED_LIB)
1253 +    CHECK_LIBRARY_EXISTS(lz4 LZ4_compress_default ${LZ4_LIBDIR} HAVE_LZ4_COMPRESS_DEFAULT)
1254  
1255      IF (HAVE_LZ4_SHARED_LIB AND HAVE_LZ4_H)
1256        ADD_DEFINITIONS(-DHAVE_LZ4=1)
1257        IF (HAVE_LZ4_COMPRESS_DEFAULT)
1258         ADD_DEFINITIONS(-DHAVE_LZ4_COMPRESS_DEFAULT=1)
1259        ENDIF()
1260 -      LINK_LIBRARIES(lz4)
1261 +      LINK_LIBRARIES(innobase ${LZ4_LIBRARY})
1262      ELSE()
1263        IF (WITH_INNODB_LZ4 STREQUAL "ON")
1264         MESSAGE(FATAL_ERROR "Required lz4 library is not found")
1265        ENDIF()
1266      ENDIF()
1267 +    ENDIF()
1268    ENDIF()
1269  ENDMACRO()
1270  
1271
1272
1273 [FILE:1513:patches/patch-storage_innobase_lzo.cmake]
1274 --- storage/innobase/lzo.cmake.orig     2020-11-10 10:29:19 UTC
1275 +++ storage/innobase/lzo.cmake
1276 @@ -17,12 +17,10 @@ SET(WITH_INNODB_LZO AUTO CACHE STRING
1277  
1278  MACRO (MYSQL_CHECK_LZO_STATIC)
1279    IF (WITH_INNODB_LZO STREQUAL "ON" OR WITH_INNODB_LZO STREQUAL "AUTO")
1280 -    CHECK_INCLUDE_FILES(lzo/lzo1x.h HAVE_LZO_H)
1281 -    CHECK_LIBRARY_EXISTS(liblzo2.a lzo1x_1_compress "" HAVE_LZO_LIB)
1282 -
1283 +    CHECK_LIBRARY_EXISTS(lzo2 lzo1x_1_compress "${LZO_LIBDIR}" HAVE_LZO_LIB)
1284      IF(HAVE_LZO_LIB AND HAVE_LZO_H)
1285        ADD_DEFINITIONS(-DHAVE_LZO=1)
1286 -      LINK_LIBRARIES(liblzo2.a)
1287 +      LINK_LIBRARIES(lzo2)
1288      ELSE()
1289        IF (WITH_INNODB_LZO STREQUAL "ON")
1290         MESSAGE(FATAL_ERROR "Required lzo library is not found")
1291 @@ -33,12 +31,16 @@ ENDMACRO()
1292  
1293  MACRO (MYSQL_CHECK_LZO)
1294    IF (WITH_INNODB_LZO STREQUAL "ON" OR WITH_INNODB_LZO STREQUAL "AUTO")
1295 -    CHECK_INCLUDE_FILES(lzo/lzo1x.h HAVE_LZO_H)
1296 -    CHECK_LIBRARY_EXISTS(lzo2 lzo1x_1_compress "" HAVE_LZO_SHARED_LIB)
1297 -
1298 +    find_path(LZO_INCLUDE NAMES lzo/lzo1x.h)
1299 +    find_library(LZO_LIBRARY NAMES lzo2)
1300 +    get_filename_component(LZO_LIBDIR ${LZO_LIBRARY} DIRECTORY)
1301 +    IF (LZO_INCLUDE)
1302 +      SET(HAVE_LZO_H 1)
1303 +    ENDIF()
1304 +    CHECK_LIBRARY_EXISTS(lzo2 lzo1x_1_compress ${LZO_LIBDIR} HAVE_LZO_SHARED_LIB)
1305      IF(HAVE_LZO_SHARED_LIB AND HAVE_LZO_H)
1306        ADD_DEFINITIONS(-DHAVE_LZO=1)
1307 -      LINK_LIBRARIES(lzo2)
1308 +      LINK_LIBRARIES(${LZO_LIBRARY})
1309      ELSE()
1310        IF (WITH_INNODB_LZO STREQUAL "ON")
1311         MESSAGE(FATAL_ERROR "Required lzo library is not found")
1312
1313
1314 [FILE:1855:patches/patch-storage_rocksdb_ha__rocksdb.cc]
1315 --- storage/rocksdb/ha_rocksdb.cc.orig  2020-11-10 10:29:19 UTC
1316 +++ storage/rocksdb/ha_rocksdb.cc
1317 @@ -260,7 +260,7 @@ Rdb_cf_manager cf_manager;
1318  Rdb_ddl_manager ddl_manager;
1319  Rdb_binlog_manager binlog_manager;
1320  
1321 -#if !defined(_WIN32) && !defined(__APPLE__)
1322 +#if defined(HAVE_TIMER_DELETE) && !defined(_WIN32) && !defined(__APPLE__)
1323  Rdb_io_watchdog *io_watchdog = nullptr;
1324  #endif
1325  /**
1326 @@ -842,7 +842,7 @@ static void rocksdb_set_io_write_timeout
1327      void *const var_ptr MY_ATTRIBUTE((__unused__)), const void *const save) {
1328    DBUG_ASSERT(save != nullptr);
1329    DBUG_ASSERT(rdb != nullptr);
1330 -#if !defined(_WIN32) && !defined(__APPLE__)
1331 +#if defined(HAVE_TIMER_DELETE) && !defined(_WIN32) && !defined(__APPLE__)
1332    DBUG_ASSERT(io_watchdog != nullptr);
1333  #endif
1334  
1335 @@ -851,7 +851,7 @@ static void rocksdb_set_io_write_timeout
1336    const uint32_t new_val = *static_cast<const uint32_t *>(save);
1337  
1338    rocksdb_io_write_timeout_secs = new_val;
1339 -#if !defined(_WIN32) && !defined(__APPLE__)
1340 +#if defined(HAVE_TIMER_DELETE) && !defined(_WIN32) && !defined(__APPLE__)
1341    io_watchdog->reset_timeout(rocksdb_io_write_timeout_secs);
1342  #endif
1343    RDB_MUTEX_UNLOCK_CHECK(rdb_sysvars_mutex);
1344 @@ -5741,7 +5741,7 @@ static int rocksdb_init_func(void *const
1345      directories.push_back(myrocks::rocksdb_wal_dir);
1346    }
1347  
1348 -#if !defined(_WIN32) && !defined(__APPLE__)
1349 +#if defined(HAVE_TIMER_DELETE) && !defined(_WIN32) && !defined(__APPLE__)
1350    io_watchdog = new Rdb_io_watchdog(std::move(directories));
1351    io_watchdog->reset_timeout(rocksdb_io_write_timeout_secs);
1352  #endif
1353 @@ -5848,7 +5848,7 @@ static int rocksdb_done_func(void *const
1354    delete commit_latency_stats;
1355    commit_latency_stats = nullptr;
1356  
1357 -#if !defined(_WIN32) && !defined(__APPLE__)
1358 +#if defined(HAVE_TIMER_DELETE) && !defined(_WIN32) && !defined(__APPLE__)
1359    delete io_watchdog;
1360    io_watchdog = nullptr;
1361  #endif
1362
1363
1364 [FILE:249:patches/patch-storage_rocksdb_rdb__buff.h]
1365 --- storage/rocksdb/rdb_buff.h.orig     2020-11-10 10:29:19 UTC
1366 +++ storage/rocksdb/rdb_buff.h
1367 @@ -40,6 +40,8 @@
1368  #define be16toh(x) OSSwapBigToHostInt16(x)
1369  #endif
1370  
1371 +#include "port/port_posix.h"
1372 +
1373  /* MySQL header files */
1374  #include "./my_global.h"
1375  
1376
1377
1378 [FILE:493:patches/patch-storage_rocksdb_ut0counter.h]
1379 --- storage/rocksdb/ut0counter.h.orig   2020-11-10 10:29:19 UTC
1380 +++ storage/rocksdb/ut0counter.h
1381 @@ -30,6 +30,12 @@ Created 2012/04/12 by Sunny Bains
1382  
1383  #ifdef __WIN__
1384  #define get_curr_thread_id() GetCurrentThreadId()
1385 +#elif defined __FreeBSD__
1386 +#include <pthread_np.h>
1387 +#define get_curr_thread_id() pthread_getthreadid_np()
1388 +#elif defined __DragonFly__
1389 +#include <sys/syscall.h>
1390 +#define get_curr_thread_id() syscall(SYS_lwp_gettid)
1391  #else
1392  #define get_curr_thread_id() pthread_self()
1393  #endif
1394