mariadb-vl.spec 32 KB

123456789101112131415161718192021222324252627282930313233343536373839404142434445464748495051525354555657585960616263646566676869707172737475767778798081828384858687888990919293949596979899100101102103104105106107108109110111112113114115116117118119120121122123124125126127128129130131132133134135136137138139140141142143144145146147148149150151152153154155156157158159160161162163164165166167168169170171172173174175176177178179180181182183184185186187188189190191192193194195196197198199200201202203204205206207208209210211212213214215216217218219220221222223224225226227228229230231232233234235236237238239240241242243244245246247248249250251252253254255256257258259260261262263264265266267268269270271272273274275276277278279280281282283284285286287288289290291292293294295296297298299300301302303304305306307308309310311312313314315316317318319320321322323324325326327328329330331332333334335336337338339340341342343344345346347348349350351352353354355356357358359360361362363364365366367368369370371372373374375376377378379380381382383384385386387388389390391392393394395396397398399400401402403404405406407408409410411412413414415416417418419420421422423424425426427428429430431432433434435436437438439440441442443444445446447448449450451452453454455456457458459460461462463464465466467468469470471472473474475476477478479480481482483484485486487488489490491492493494495496497498499500501502503504505506507508509510511512513514515516517518519520521522523524525526527528529530531532533534535536537538539540541542543544545546547548549550551552553554555556557558559560561562563564565566567568569570571572573574575576577578579580581582583584585586587588589590591592593594595596597598599600601602603604605606607608609610611612613614615616617618619620621622623624625626627628629630631632633634635636637638639640641642643644645646647648649650651652653654655656657658659660661662663664665666667668669670671672673674675676677678679680681682683684685686687688689690691692693694695696697698699700701702703704705706707708709710711712713714715716717718719720721722723724725726727728729730731732733734735736737738739740741742743744745746747748749750751752753754755756757758759760761762763764765766767768769770771772773774775776777778779780781782783784785786787788789790791792793794795796797798799800801802803804805806807808809810811812813814815816817818819820821822823824825826827828829830831832833834835836837838839840841842843844845846847848849850851852853854855856857858859860861862863864865866867868869870871872873874875876877878879880881882883884885886887888889890891892893894895896897898899900901902903904905906907908909910911912913914915916917918919920921922923924925926927928929930931932933934935936937938939940941942943944945946947948949950951952
  1. %bcond_with source
  2. %define mysqld_user mysql
  3. %define mysqld_group mysql
  4. %define mysqldatadir /var/lib/mysql
  5. # Working around perl dependency problem
  6. %global __perl_requires %{SOURCE998}
  7. %global __perllib_requires %{SOURCE998}
  8. %define _unpackaged_files_terminate_build 1
  9. %define mariadb_base_version 10.0
  10. %define mariadb_version 10.1.9
  11. %define mroonga_version 5.10
  12. %define client_version 18
  13. Vendor: Project Vine
  14. Distribution: Vine Linux
  15. Packager: tomop
  16. Name: mariadb
  17. Summary: MariaDB: a very fast and robust SQL database server
  18. Version: %{mariadb_version}
  19. Release: 4%{_dist_release}
  20. Group: Applications/Databases
  21. License: GPL2
  22. URL: http://www.mariadb.org/
  23. Source: mariadb-%{version}.tar.gz
  24. # Don't depend on lib::mtr*
  25. Source998: perl-requires.sh
  26. Source1000: macros.mariadb.in
  27. # mroonga 5.04 -> git master
  28. patch1000: mariadb-10.1.9-mroonga-master.patch
  29. #
  30. #Patch2000: mysql-srv_buf_size.patch
  31. BuildRoot: %{_tmppath}/%{name}-%{version}-root
  32. BuildRequires: bison, cmake, gcc-c++, groff
  33. BuildRequires: libaio-devel, libboost-devel, libevent-devel, libxml2-devel
  34. BuildRequires: ncurses-devel, perl, openssl-devel, readline-devel
  35. BuildRequires: jemalloc-devel
  36. BuildRequires: zlib-devel
  37. BuildRequires: mecab-devel
  38. Requires: fileutils sh-utils
  39. Provides: msqlormysql MySQL mysql
  40. Obsoletes: mysql MySQL5
  41. # From the manual
  42. %description
  43. MariaDB: a very fast and robust SQL database server
  44. It is GPL v2 licensed, which means you can use the it free of charge under the
  45. conditions of the GNU General Public License Version 2 (http://www.gnu.org/licenses/).
  46. MariaDB documentation can be found at http://kb.askmonty.org/
  47. MariaDB bug reports should be submitted through https://mariadb.atlassian.net/
  48. %package server
  49. Version: %{mariadb_version}
  50. Release: %{release}
  51. Summary: MariaDB: a very fast and robust SQL database server
  52. Group: Applications/Databases
  53. Requires: fileutils sh-utils net-tools mariadb-common
  54. Requires(post): mariadb-common
  55. Provides: mysql-server mysql MySQL MySQL-server mariadbserver-%{mariadb_base_version}
  56. Obsoletes: MySQL mysql mysql-server
  57. Obsoletes: MySQL-server < 5.6.0
  58. %description server
  59. MariaDB: a very fast and robust SQL database server
  60. It is GPL v2 licensed, which means you can use the it free of charge under the
  61. conditions of the GNU General Public License Version 2 (http://www.gnu.org/licenses/).
  62. MariaDB documentation can be found at http://kb.askmonty.org/
  63. MariaDB bug reports should be submitted through https://mariadb.atlassian.net/
  64. %package mroonga
  65. ##Version: %{mroonga_version}
  66. Version: %{mariadb_version}
  67. Summary: A fast fulltext searchable storage engine for MariaDB.
  68. Group: Applications/Databases
  69. Requires(pre): mariadb-server = %{mariadb_version}-%{release}
  70. Requires: mariadb-server = %{mariadb_version}-%{release}
  71. Obsoletes: MySQL-mroonga < 4.02
  72. Obsoletes: mariadb-mroonga < 4.07
  73. Obsoletes: mariadb-mroonga-doc < 4.07
  74. %description mroonga
  75. Mroonga is a fast fulltext searchable storage plugin for MariaDB.
  76. It is based on groonga that is a fast fulltext search engine and
  77. column store. Groonga is good at real-time update.
  78. %package client
  79. Version: %{mariadb_version}
  80. Summary: MariaDB - Client
  81. Group: Applications/Databases
  82. Obsoletes: mysql-client MySQL-client < 5.6.0
  83. Provides: mysql-client MySQL-client mariadbclient-%{mariadb_base_version}
  84. %description client
  85. This package contains the standard MariaDB clients and administration tools.
  86. %package devel
  87. Version: %{mariadb_version}
  88. Summary: MariaDB - Development libraries and headers
  89. Group: Development/Libraries
  90. Requires: %{name}-static, openssl-devel, zlib-devel
  91. Conflicts: MySQL-devel < 5.6.0
  92. Conflicts: libmysqlclient-devel
  93. %description devel
  94. This package contains the development libraries and headers to develop
  95. MariaDB server components (e.g. plugins or embedded applications).
  96. %package static
  97. Version: %{mariadb_version}
  98. Summary: MariaDB - static libraries
  99. Group: Development/Libraries
  100. Requires: %{name}-devel
  101. %description static
  102. This package provides static libraries of MariaDB.
  103. %if %{with source}
  104. %package source
  105. Version: %{mariadb_version}
  106. Summary: MariaDB - Source
  107. Group: Development/Libraries
  108. Requires: mariadb-devel = %{version}-%{release}
  109. Obsoletes: MySQL-source < 5.6.0
  110. AutoReqProv: no
  111. %description source
  112. This package contains the sources files of MariaDB.
  113. %endif
  114. %package test
  115. Version: %{mariadb_version}
  116. Requires: %{name}-client = %{version}-%{release} perl-DBI perl
  117. Summary: MariaDB - Test suite
  118. Group: Applications/Databases
  119. Obsoletes: mysql-bench MySQL5-bench MySQL-bench MySQL-test < 5.6.0
  120. Provides: perl(mtr_misc.pl)
  121. %description test
  122. This package contains the MariaDB regression test suite.
  123. %package embedded
  124. Version: %{mariadb_version}
  125. Summary: MariaDB as an embeddable library
  126. Group: System Environment/Libraries
  127. Obsoletes: mysql-embedded MySQL-embedded
  128. Provides: mysql-embedded MySQL-embedded
  129. %description embedded
  130. This package contains a version of the MariaDB server that can be embedded
  131. into a client application instead of running as a separate process.
  132. %prep
  133. %setup -q
  134. %patch1000 -p1 -b .mroonga
  135. #%patch2000 -p1 -b .srv_buf_size
  136. %build
  137. # Be strict about variables, bail at earliest opportunity, etc.
  138. set -eu
  139. # Optional package files
  140. touch optional-files-devel
  141. export CFLAGS=${MYSQL_BUILD_CFLAGS:-${CFLAGS:-$RPM_OPT_FLAGS}}
  142. export CXXFLAGS=${MYSQL_BUILD_CXXFLAGS:-${CXXFLAGS:-$RPM_OPT_FLAGS -felide-constructors -fno-exceptions -fno-rtti}}
  143. # Build full release
  144. mkdir release
  145. (
  146. cd release
  147. cmake ../ \
  148. -DINSTALL_LAYOUT=RPM \
  149. -DBUILD_CONFIG=mysql_release \
  150. -DCMAKE_BUILD_TYPE=Release \
  151. -DINSTALL_UNIX_ADDRDIR="/var/lib/mysql/mysql.sock" \
  152. -DCOMPILATION_COMMENT="Vine Linux MariaDB RPM" \
  153. -DWITH_PIC="ON" \
  154. -DWITH_EMBEDDED_SERVER="ON" \
  155. -DWITH_ZLIB="system" \
  156. -DWITH_LOCALES="yes" \
  157. -DWITH_UNIT_TESTS="no" \
  158. -DWITH_CONNECT_STORAGE_ENGINE="ON" \
  159. -DWITH_SEQUENCE_STORAGE_ENGINE="ON" \
  160. -DWITH_XTRADB_STORAGE_ENGINE="ON" \
  161. -DWITH_JEMALLOC="yes" \
  162. -DGRN_WITH_MECAB="yes" \
  163. -DGRN_WITH_ONIGMO="no"
  164. # -DWITHOUT_TOKUDB="yes"
  165. # -DWITH_PCRE="system"
  166. echo BEGIN_NORMAL_CONFIG ; egrep '^#define' include/config.h ; echo END_NORMAL_CONFIG
  167. make %{?_smp_mflags} VERBOSE=1
  168. )
  169. %install
  170. rm -rf %{buildroot}
  171. install -d %{buildroot}%{mysqldatadir}/mysql
  172. install -d %{buildroot}%{_infodir}
  173. # Install all binaries
  174. (
  175. cd release
  176. make DESTDIR=%{buildroot} install
  177. )
  178. install -m 0644 Docs/mysql.info %{buildroot}%{_infodir}
  179. rm -rf ./doc
  180. mv -f %{buildroot}%{_docdir} ./
  181. mv -f %{buildroot}%{_datadir}/groonga ./
  182. %if %{with source}
  183. mkdir -p %{buildroot}%{_datadir}/%{name}-source
  184. pushd %{buildroot}%{_datadir}/%{name}-source
  185. tar zxf %{SOURCE0}
  186. find %{buildroot}%{_datadir}/%{name}-source -type f -exec chmod ugo-x {} \;
  187. popd
  188. %endif
  189. install -d %{buildroot}%{_sysconfdir}/rpm
  190. sed -e 's/@BASEVERSION@/%{mariadb_base_version}/' -e 's/@VERSION@/%{version}/' -e 's/@RELEASE@/%{release}/' < %{SOURCE1000} > %{buildroot}%{_sysconfdir}/rpm/macros.mariadb
  191. rm -f %{buildroot}%{_mandir}/man1/mysql_fix_privilege_tables.1*
  192. rm -f %{buildroot}%{_mandir}/man8/mysqlmanager.8*
  193. rm -f %{buildroot}%{_sysconfdir}/my.cnf
  194. rm -f %{buildroot}%{_sysconfdir}/my.cnf.d/client.cnf
  195. rm -f %{buildroot}%{_libdir}/libmysqlclient*.so*
  196. rm -f %{buildroot}%{_libdir}/mysql/plugin/daemon_example.ini
  197. # force linking statically.
  198. perl -pi -e 's,-lmysqlclient_r,%{_libdir}/libmysqlclient_r.a,' %{buildroot}%{_bindir}/mysql_config
  199. perl -pi -e 's,-lmysqlclient,%{_libdir}/libmysqlclient.a,' %{buildroot}%{_bindir}/mysql_config
  200. perl -pi -e 's,-lmysqlclient,%{_libdir}/libmysqlclient.a,' %{buildroot}%{_datadir}/pkgconfig/mariadb.pc
  201. ##############################################################################
  202. %pre server
  203. # Create a MySQL user and group. Do not report any problems if it already
  204. # exists.
  205. datadir=/var/lib/mysql
  206. groupadd -r mysql 2> /dev/null || true
  207. useradd -M -r -d $datadir -s /bin/bash -c "MySQL server" -g mysql mysql 2> /dev/null || true
  208. # The user may already exist, make sure it has the proper group nevertheless (BUG#12823)
  209. usermod -g mysql mysql 2> /dev/null || true
  210. %post server
  211. # Make MySQL start/shutdown automatically when the machine does it.
  212. if [ $1 = 1 ] ; then
  213. if [ -x /sbin/chkconfig ] ; then
  214. /sbin/chkconfig --add mysql
  215. fi
  216. basedir=`/usr/bin/my_print_defaults --mysqld|sed -ne 's/^--basedir=//p'|tail -1`
  217. if [ -z "$basedir" ] ; then
  218. basedir=/usr
  219. fi
  220. datadir=`/usr/bin/my_print_defaults --mysqld|sed -ne 's/^--datadir=//p'|tail -1`
  221. if [ -z "$datadir" ] ; then
  222. datadir=/var/lib/mysql
  223. else
  224. # datadir may be relative to a basedir!
  225. if ! expr $datadir : / > /dev/null; then
  226. datadir=$basedir/$datadir
  227. fi
  228. fi
  229. tmpdir=`/usr/bin/my_print_defaults --mysqld|sed -ne 's/^--datadir=//p'|tail -1`
  230. if [ -z "$datadir" ] ; then
  231. datadir=/var/lib/mysql
  232. else
  233. # datadir may be relative to a basedir!
  234. if ! expr $datadir : / > /dev/null; then
  235. datadir=$basedir/$datadir
  236. fi
  237. fi
  238. # Change permissions so that the user that will run the MySQL daemon
  239. # owns all database files.
  240. chown -R mysql:mysql $datadir
  241. if [ ! -e $datadir/mysql ]; then
  242. # Create data directory
  243. mkdir -p $datadir/{mysql,test}
  244. chown -R mysql:mysql $datadir
  245. # Initiate databases
  246. /usr/bin/mysql_install_db --rpm --user=mysql
  247. fi
  248. # Change permissions again to fix any new files.
  249. chown -R mysql:mysql $datadir
  250. # Fix permissions for the permission database so that only the user
  251. # can read them.
  252. chmod -R og-rw $datadir/mysql
  253. fi
  254. %preun server
  255. if [ $1 = 0 ] ; then
  256. # Stop MySQL before uninstalling it
  257. if [ -x /etc/init.d/mysql ] ; then
  258. /etc/init.d/mysql stop > /dev/null
  259. fi
  260. # Don't start it automatically anymore
  261. if [ -x /sbin/chkconfig ] ; then
  262. /sbin/chkconfig --del mysql
  263. fi
  264. fi
  265. %postun server
  266. if [ $1 -ge 1 ]; then
  267. if [ -x /etc/init.d/mysql ] ; then
  268. # only restart the server if it was alredy running
  269. /etc/init.d/mysql status > /dev/null 2>&1 && \
  270. /etc/init.d/mysql restart
  271. fi
  272. fi
  273. %pre mroonga
  274. if [ $1 -gt 1 ]; then
  275. /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/uninstall.sql || cat <<EOF
  276. An error occured when to unregister plugin.
  277. Please run a command below:
  278. /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/uninstall.sql
  279. EOF
  280. fi
  281. %post mroonga
  282. if [ $1 -eq 1 ] ; then
  283. /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/install.sql || cat <<EOF
  284. An error occured when to register plugin.
  285. Please run a command below:
  286. /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/install.sql
  287. EOF
  288. fi
  289. %postun mroonga
  290. if [ $1 -gt 0 ] ; then
  291. /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/install.sql || cat <<EOF
  292. An error occured when to register plugin.
  293. Please run a command below:
  294. /usr/bin/mysql -u root < %{_datadir}/mysql/mroonga/install.sql
  295. EOF
  296. fi
  297. # Clean up the BuildRoot
  298. %clean
  299. [ "$RPM_BUILD_ROOT" != "/" ] && [ -d $RPM_BUILD_ROOT ] && rm -rf $RPM_BUILD_ROOT;
  300. %files server
  301. %defattr(-,root,root)
  302. %doc doc/*
  303. %doc release/support-files/my-*.cnf
  304. %doc %{_infodir}/mysql.info*
  305. %doc %{_mandir}/man1/aria_*.1*
  306. %doc %{_mandir}/man1/innochecksum.1*
  307. %doc %{_mandir}/man1/my_print_defaults.1*
  308. %doc %{_mandir}/man1/myisam_ftdump.1*
  309. %doc %{_mandir}/man1/myisamchk.1*
  310. %doc %{_mandir}/man1/myisamlog.1*
  311. %doc %{_mandir}/man1/myisampack.1*
  312. %doc %{_mandir}/man1/mysql_convert_table_format.1*
  313. %doc %{_mandir}/man1/mysql_fix_extensions.1*
  314. %doc %{_mandir}/man8/mysqld.8*
  315. %doc %{_mandir}/man1/mysqld_multi.1*
  316. %doc %{_mandir}/man1/mysqld_safe.1*
  317. %doc %{_mandir}/man1/mysqldumpslow.1*
  318. %doc %{_mandir}/man1/mysql_install_db.1*
  319. %doc %{_mandir}/man1/mysql_plugin.1*
  320. %doc %{_mandir}/man1/mysql_secure_installation.1*
  321. %doc %{_mandir}/man1/mysql_setpermission.1*
  322. %doc %{_mandir}/man1/mysql_upgrade.1*
  323. %doc %{_mandir}/man1/mysqlhotcopy.1*
  324. %doc %{_mandir}/man1/mysql.server.1*
  325. %doc %{_mandir}/man1/mysqltest.1*
  326. %doc %{_mandir}/man1/mysql_tzinfo_to_sql.1*
  327. %doc %{_mandir}/man1/mysql_zap.1*
  328. %doc %{_mandir}/man1/mysqlbug.1*
  329. %doc %{_mandir}/man1/perror.1*
  330. %doc %{_mandir}/man1/replace.1*
  331. %doc %{_mandir}/man1/resolve_stack_dump.1*
  332. %doc %{_mandir}/man1/resolveip.1*
  333. %{_bindir}/aria_*
  334. %{_bindir}/innochecksum
  335. %{_bindir}/my_print_defaults
  336. %{_bindir}/myisam_ftdump
  337. %{_bindir}/myisamchk
  338. %{_bindir}/myisamlog
  339. %{_bindir}/myisampack
  340. %{_bindir}/mysql_convert_table_format
  341. %{_bindir}/mysql_fix_extensions
  342. %{_bindir}/mysql_install_db
  343. %{_bindir}/mysql_plugin
  344. %{_bindir}/mysql_secure_installation
  345. %{_bindir}/mysql_setpermission
  346. %{_bindir}/mysql_tzinfo_to_sql
  347. %{_bindir}/mysql_upgrade
  348. %{_bindir}/mysql_zap
  349. %{_bindir}/mysqlbug
  350. %{_bindir}/mysqld_multi
  351. %{_bindir}/mysqld_safe
  352. %{_bindir}/mysqldumpslow
  353. %{_bindir}/mysqlhotcopy
  354. %{_bindir}/mysqltest
  355. %{_bindir}/perror
  356. %{_bindir}/replace
  357. %{_bindir}/resolve_stack_dump
  358. %{_bindir}/resolveip
  359. %ifarch x86_64
  360. %{_bindir}/tokuft*
  361. %endif
  362. %{_bindir}/wsrep*
  363. %{_sbindir}/mysqld
  364. %{_sbindir}/rcmysql
  365. %exclude %{_libdir}/mysql/plugin/ha_mroonga.so
  366. %exclude %{_datadir}/mysql/mroonga
  367. %{_libdir}/mysql
  368. %config(noreplace) %{_sysconfdir}/my.cnf.d/enable_encryption.preset
  369. %config(noreplace) %{_sysconfdir}/my.cnf.d/server.cnf
  370. %ifarch x86_64
  371. %config(noreplace) %{_sysconfdir}/my.cnf.d/tokudb.cnf
  372. %endif
  373. %config(noreplace,missingok) %{_sysconfdir}/logrotate.d/mysql
  374. %{_sysconfdir}/init.d/mysql
  375. %{_datadir}/mysql
  376. %attr(755, mysql, mysql) %dir %{mysqldatadir}
  377. %files mroonga
  378. %defattr(-, root, root)
  379. %doc groonga
  380. %{_libdir}/mysql/plugin/ha_mroonga.so
  381. %{_datadir}/mysql/mroonga
  382. %files client
  383. %defattr(-, root, root)
  384. %config(noreplace) %{_sysconfdir}/my.cnf.d/mysql-clients.cnf
  385. %{_bindir}/msql2mysql
  386. %{_bindir}/mysql
  387. %{_bindir}/mysql_find_rows
  388. %{_bindir}/mysql_waitpid
  389. %{_bindir}/mysqlaccess
  390. %{_bindir}/mysqladmin
  391. %{_bindir}/mysqlbinlog
  392. %{_bindir}/mysqlcheck
  393. %{_bindir}/mysqldump
  394. %{_bindir}/mysqlimport
  395. %{_bindir}/mysqlshow
  396. %{_bindir}/mysqlslap
  397. %{_bindir}/mytop
  398. %doc %{_mandir}/man1/msql2mysql.1*
  399. %doc %{_mandir}/man1/mysql.1*
  400. %doc %{_mandir}/man1/mysql_find_rows.1*
  401. %doc %{_mandir}/man1/mysql_waitpid.1*
  402. %doc %{_mandir}/man1/mysqlaccess.1*
  403. %doc %{_mandir}/man1/mysqladmin.1*
  404. %doc %{_mandir}/man1/mysqlbinlog.1*
  405. %doc %{_mandir}/man1/mysqlcheck.1*
  406. %doc %{_mandir}/man1/mysqldump.1*
  407. %doc %{_mandir}/man1/mysqlimport.1*
  408. %doc %{_mandir}/man1/mysqlshow.1*
  409. %doc %{_mandir}/man1/mysqlslap.1*
  410. %files devel -f optional-files-devel
  411. %defattr(-, root, root)
  412. %doc %{_mandir}/man1/mysql_config.1*
  413. %{_bindir}/mysql_config
  414. %{_includedir}/mysql
  415. %{_datadir}/aclocal/mysql.m4
  416. %{_datadir}/pkgconfig/mariadb.pc
  417. %{_libdir}/*.so
  418. %{_sysconfdir}/rpm/*
  419. %{_bindir}/mysql_embedded
  420. %files static
  421. %defattr(-,root,root)
  422. %{_libdir}/lib*.a
  423. %if %{with source}
  424. %files source
  425. %defattr(-, root, root)
  426. %{_datadir}/mariadb-source
  427. %endif
  428. %files test
  429. %defattr(-, root, root)
  430. %attr(-, root, root) %{_datadir}/mysql-test
  431. %{_bindir}/mysql_client_test
  432. %{_bindir}/mysql_client_test_embedded
  433. %{_bindir}/mysqltest_embedded
  434. %doc %{_mandir}/man1/mysql_client_test.1*
  435. %doc %{_mandir}/man1/mysql-stress-test.pl.1*
  436. %doc %{_mandir}/man1/mysql-test-run.pl.1*
  437. %doc %{_mandir}/man1/mysql_client_test_embedded.1*
  438. %doc %{_mandir}/man1/mysqltest_embedded.1*
  439. %files embedded
  440. %defattr(-,root,root)
  441. %{_libdir}/libmysqld.so.*
  442. %changelog
  443. * Sun Nov 29 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.9-4
  444. - replaced patch1000 to update Mroonga to git HEAD.
  445. * Sat Nov 28 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.9-3
  446. - replaced patch1000 to update Mroonga to git HEAD.
  447. * Thu Nov 26 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.9-2
  448. - replaced patch1000 to update Mroonga to git HEAD.
  449. * Tue Nov 24 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.9-1
  450. - new upstream release.
  451. - replaced patch1000 to update Mroonga to git HEAD.
  452. * Fri Oct 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.8-3
  453. - added BR:jemalloc-devel.
  454. * Thu Oct 29 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.8-2
  455. - replaced patch1000 to update Mroonga to 5.09.
  456. * Wed Oct 21 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.1.8-1
  457. - new upstream release.
  458. - replaced patch1000 for MariaDB 10.1.8.
  459. * Fri Oct 9 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.21-3
  460. - replaced patch1000 to update Mroonga to 5.08.
  461. * Mon Aug 31 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.21-2
  462. - replaced patch1000 to update Mroonga to 5.06.
  463. * Mon Aug 10 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.21-1
  464. - new upstream release.
  465. - added patch1000 to update Mroonga from 5.02 to 5.05.
  466. * Tue Jun 30 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.20-2
  467. - fixed dependencies.
  468. * Fri Jun 19 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.20-1
  469. - new upstream release.
  470. * Sun May 10 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.19-1
  471. - new upstream release.
  472. * Fri May 8 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.18-1
  473. - new upstream release.
  474. * Tue Mar 3 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.17-1
  475. - new upstream release.
  476. * Wed Jan 28 2015 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.16-1
  477. - new upstream release.
  478. * Wed Nov 26 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.15-1
  479. - new upstream release.
  480. - enabled bundled Mroonga.
  481. * Mon Sep 29 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.14-1
  482. - new upstream release.
  483. * Sat May 31 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.11-1
  484. - new upstream release.
  485. * Sun Apr 13 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.10-2
  486. - fixed Conflicts: and Obsoletes:.
  487. * Mon Mar 31 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.10-1
  488. - new upstream release.
  489. * Mon Mar 24 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.9-1
  490. - new upstream release.
  491. * Tue Feb 11 2014 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.8-1
  492. - new upstream release.
  493. * Sat Dec 07 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.6-2
  494. - removed duplicated files.
  495. * Wed Dec 04 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 10.0.6-1
  496. - switched to MariaDB.
  497. * Wed Feb 20 2013 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.30-1
  498. - new upstream release.
  499. * Fri Nov 16 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.28-1
  500. - new upstream release.
  501. * Sat Sep 15 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.27-1
  502. - new upstream release.
  503. - added a sub-package 'MySQL-source".
  504. - added some macros for rpm.
  505. * Thu Jun 21 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.25-1
  506. - new upstream release.
  507. * Thu May 10 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.24-1
  508. - new upstream release.
  509. * Tue May 01 2012 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.23-1
  510. - new upstream release.
  511. - added "Vendor:" and "Distribution:" tag.
  512. * Tue Aug 23 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.5.15-1
  513. - new upstream release.
  514. - removed NDB cluster support.
  515. * Mon Apr 18 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.56-3
  516. - Added "BR: zlib-devel" to MySQL-devel.
  517. * Sun Apr 03 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.56-2
  518. - Added "BR: openssl-devel" to MySQL-devel.
  519. * Fri Mar 11 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.56-1
  520. - new upstream release.
  521. * Mon Jan 10 2011 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.54-1
  522. - new upstream release.
  523. - updated jp-patch.
  524. - added ssl support.
  525. * Sat Nov 06 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.52-1
  526. - new upstream release.
  527. - replaced '%%__find_requires' to '%%__perl_requires'.
  528. - updated jp-patch.
  529. * Fri Oct 29 2010 Shu KONNO <owa@bg.wakwak.com> 5.1.44-3
  530. - added mysql-5.1.44-lib64.patch (on x86_64)
  531. - added -fPIC (on x86_64)
  532. * Sun Oct 17 2010 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 5.1.44-2
  533. - made embedded package again
  534. * Fri Mar 05 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.44-1
  535. - new upstream release.
  536. - updated jp-patch.
  537. * Thu Feb 04 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.43-2
  538. - VineSeed: rebuilt with new toolchain.
  539. * Wed Feb 03 2010 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.43-1
  540. - new upstream release.
  541. - fixed CVE-2009-4484.
  542. * Fri Nov 20 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.41-1
  543. - new upstream release.
  544. * Thu Nov 19 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.40-2
  545. - added net-tools to 'Requires'.
  546. - added groff to 'BuildRequires'.
  547. - renamed subpackage 'MySQL-shared' to 'libmysqlclient16' (VineSeed only).
  548. * Tue Nov 10 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.40-1
  549. - new upstream release.
  550. * Sat Sep 26 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.39-1
  551. - new upstream release.
  552. * Sun Jul 5 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.36-1
  553. - new upstream release.
  554. - dropped %%Patch100 (fixed in upstream).
  555. * Sat Jun 6 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.35-1
  556. - new upstream release.
  557. - add %%Patch100 (no longer needed for MySQL-5.1.36 or later).
  558. * Thu May 21 2009 Tomohiro "Tomo-p" KATO <tomop@teamgedoh.net> 5.1.34-1
  559. - new upstream release.
  560. - rename 'MySQL-bench' to 'MySQL-test'.
  561. - update Patch0.
  562. - change default charset to 'utf8'.
  563. * Sat Apr 12 2008 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.51a-1
  564. - new upstream release.
  565. - update Patch0.
  566. - add "--with-client-charset=ujis".
  567. - sync %%files to official RPM.
  568. - remove MySQL-Max.
  569. * Thu Dec 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.0.27-0vl7
  570. - for VineSeed
  571. * Thu Dec 13 2007 MATSUBAYASHI Kohji <shaolin@vinelinux.org> 5.0.27-0vl6
  572. - move shared library from /usr/lib/ to /usr/lib/mysql/
  573. - add /etc/ld.so.conf.d/*.conf
  574. - fix broken libmysqlcient*.la files (or should we remove them permanently?)
  575. * Sat Jun 16 2007 IWAI, Masaharu <iwai@alib.jp> 5.0.27-0vl5
  576. - rebuild <BTS:VineLinux:534>
  577. * Mon Nov 13 2006 NAKAMURA Kenta <kenta@vinelinux.org> 5.0.27-0vl4
  578. - added -fPIC
  579. * Mon Oct 30 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.27-0vl3
  580. - fixed dependency. <BTS:338>
  581. * Mon Oct 30 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.27-0vl2
  582. - add %%Patch1. <BTS:320>
  583. * Sat Oct 28 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.27-0vl1
  584. - new upstream release.
  585. * Fri Oct 27 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.26-0vl1
  586. - new upstream release.
  587. * Sat Jun 3 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.22-0vl1
  588. - new upstream release.
  589. * Sat May 13 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.21-0vl1
  590. - release++.
  591. * Wed May 10 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 5.0.21-0vl0
  592. - new upstream release.
  593. - for VineSeed.
  594. * Wed Feb 8 2006 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 4.1.16-0vl0
  595. - new upstream release.
  596. - replace Patch0 for MySQL-4.1.16.
  597. * Thu Oct 6 2005 Tomohiro 'Tomo-p' KATO <tomop@teamgedoh.net> 4.1.14-0vl0
  598. - new upstream release.
  599. - add Patch0.
  600. * Tue Sep 6 2005 Takeyuki FUJIOKA <fuji@ftserve.net> 4.0.25-0vl0
  601. - new upstream version
  602. -- mysql-4.0.25
  603. * Fri Jan 21 2005 Takeyuki FUJIOKA <fuji@ftserve.net> 4.0.23-0vl0
  604. - new upstream version
  605. -- mysql-4.0.23
  606. * Tue Sep 28 2004 Takeyuki FUJIOKA <fuji@ftserve.net> 4.0.22-0vl0
  607. - new upstream version
  608. -- mysql-4.0.22
  609. * Tue Sep 28 2004 Takeyuki FUJIOKA <fuji@ftserve.net> 4.0.21-0vl1
  610. - new upstream version
  611. -- mysql-4.0.21
  612. * Fri May 21 2004 Satoshi MACHINO <machino@vinelinux.org> 4.0.20-0vl1
  613. - new upstream version
  614. -- mysql-4.0.20
  615. * Tue May 04 2004 Tomoya TAKA <taka@vinelinux.org> 4.0.18-0vl2
  616. - modify CFLAGS, CXXFLAGS and configure options for alpha
  617. * Tue Mar 23 2004 Satoshi MACHINO <machino@vinelinux.org> 4.0.18-0vl1
  618. - Upgraded to MySQL-4
  619. - added "with-charset=ujis" and "without-readline" to configure (vineseed-plus-02150)
  620. - merged to MySQL Official packages
  621. -- renamed package "MySQL" to "MySQL-server"
  622. -- when using gcc, _always_ use CXX=gcc
  623. -- replaced Copyright with License field (Copyright is obsolete)
  624. -- added myisam_ftdump to the Server package
  625. -- marked /etc/logrotate.d/mysql as a config file (BUG 2156)
  626. -- fixed file permissions (BUG 1672)
  627. -- removed dependency on MySQL-client from the MySQL-devel subpackage
  628. -- as it is not really required. (BUG 1610)
  629. -- Fixed BUG 1162 (removed macro names from the changelog)
  630. -- Really fixed BUG 998 (disable the checking for installed but
  631. -- unpackaged files)
  632. -- Fixed BUG 959 (libmysqld not being compiled properly)
  633. -- Fixed BUG 998 (RPM build errors): added missing files to the
  634. -- distribution (mysql_fix_extensions, mysql_tableinfo, mysqldumpslow,
  635. -- mysql_fix_privilege_tables.1), removed "-n" from install section.
  636. -- removed the GIF Icon (file was not included in the sources anyway)
  637. -- removed unused variable shared_lib_version
  638. -- do not run automake before building the standard binary
  639. -- (should not be necessary)
  640. -- add server suffix '-standard' to standard binary (to be in line
  641. -- with the binary tarball distributions)
  642. -- allow overriding CC and CXX (required when building
  643. -- with other compilers)
  644. * Mon Apr 14 2003 KOBAYASHI R. Taizo <tkoba@vinelinux.org> 3.23.56-0vl5
  645. - added BuildRequires: automake16
  646. * Thu Apr 03 2003 Tomoya TAKA <taka@vinelinux.org> 3.23.56-0vl3
  647. - add '-fPIC -DPIC' to CFLAGS on alpha
  648. - little fix of spec file
  649. * Thu Mar 27 2003 Tomoya TAKA <taka@vinelinux.org> 3.23.56-0vl2
  650. - enable MySQL-shared subpackage for alpha
  651. - delete 'BuildPrereq: kernel24-headers' for alpha
  652. - fix shared %files (exclude sparc)
  653. * Tue Mar 18 2003 Satoshi MACHINO <machino@vinelinux.org> 3.23.56-0vl1
  654. - new upstream version
  655. * Sun Mar 9 2003 Ryoichi INAGAKI <ryo1@bc.wakwak.com> 3.23.55-0vl2
  656. - fixed devel %files (dropped *.la files)
  657. * Tue Jan 28 2003 Satoshi MACHINO <machino@vinelinux.org> 3.23.55-0vl1
  658. - new upstream version
  659. - fixed document permission
  660. * Sat Dec 21 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.54a-0vl1
  661. - new upstream version
  662. * Sat Oct 19 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.53-0vl2
  663. - dropped MySQL-Max sub-pakage for sparc/sparc64/alpha
  664. -- don't work
  665. * Wed Oct 16 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.53-0vl1
  666. - new upstream version
  667. - diseble-assembler in configure on sparc,sparc64,alpha
  668. * Wed Aug 21 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.52-0vl1
  669. - new upstream version
  670. - moved some man files to main package
  671. - added enable-local-infile in configure
  672. - changed --with-extra-charsets=all in configure
  673. * Fri Jun 14 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.51-0vl2
  674. - fixed changelog
  675. * Thu Jun 13 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.51-0vl1
  676. - updated to mysql-3.23.51
  677. * Fri Mar 15 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.49-0vl2
  678. - rebuild on zlib-1.1.4(security fix.)
  679. * Mon Feb 18 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.49-0vl1
  680. - updated to mysql-2.23.49
  681. * Tue Feb 12 2002 Tomoya TAKA <taka@vinelinux.org> 3.23.48-0vl2
  682. - add 'BuildPrereq: kernel24-headers' on alpha
  683. - remove shared library and max on alpha
  684. * Tue Feb 12 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.48-0vl1
  685. - updated to mysql-3.23.48
  686. * Thu Jan 03 2002 Satoshi MACHINO <machino@vinelinux.org> 3.23.47-0vl1
  687. - updated to mysql-3.23.47
  688. * Wed Dec 05 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.46-0vl1
  689. - updated to mysql-3.23.46
  690. * Thu Nov 29 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.45-0vl1
  691. - updated to mysql-3.23.45
  692. * Mon Nov 12 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.44-0vl1
  693. - updated to mysql-3.23.44
  694. * Sat Oct 13 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.43-0vl1
  695. - updated to mysql-3.23.43
  696. - removed shared library and max on sparc
  697. * Wed Sep 12 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.42-0vl1
  698. - updated to mysql-3.23.42
  699. - changed MYSQL_BUILD_CC: and MYSQL_BUILD_XCC: to -gcc
  700. * Thu Aug 30 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.41-0vl1
  701. - updated to mysql-3.23.41
  702. * Wed Aug 22 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.40-0vl1
  703. - updated to mysql-3.23.40
  704. * Tue Jul 10 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.39-0vl1
  705. - updated to mysql-3.23.39
  706. * Fri Jun 15 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.38-1vl2
  707. - added configure --with-charset=ujis
  708. * Sun May 27 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.38-1vl2
  709. - used some rpmmacro
  710. * Fri May 25 2001 Satoshi MACHINO <machino@vinelinux.org> 3.23.38-1vl1
  711. - updated to MySQL-3.23.38
  712. * Thu Dec 07 2000 Satoshi MACHINO <machino@vinelinux.org> 3.23.28-1vl2
  713. - removed Bench pakages
  714. * Tue Dec 05 2000 Satoshi MACHINO <machino@vinelinux.org> 3.23.28-1vl1
  715. - removed pt_BR locale
  716. - build on Vine Linux
  717. - partially used rpmmacros
  718. - added %clean tag
  719. * Fri Aug 18 2000 Tim Smith <tim@mysql.com>
  720. - Added separate libmysql_r directory; now both a threaded
  721. and non-threaded library is shipped.
  722. * Tue Sep 28 1999 David Axmark <davida@mysql.com>
  723. - Added the support-files/my-example.cnf to the docs directory.
  724. - Removed devel dependency on base since it is about client
  725. development.
  726. * Wed Sep 8 1999 David Axmark <davida@mysql.com>
  727. - Cleaned up some for 3.23.
  728. * Thu Jul 1 1999 David Axmark <davida@mysql.com>
  729. - Added support for shared libraries in a separate sub
  730. package. Original fix by David Fox (dsfox@cogsci.ucsd.edu)
  731. - The --enable-assembler switch is now automatically disables on
  732. platforms there assembler code is unavailable. This should allow
  733. building this RPM on non i386 systems.
  734. * Mon Feb 22 1999 David Axmark <david@detron.se>
  735. - Removed unportable cc switches from the spec file. The defaults can
  736. now be overridden with environment variables. This feature is used
  737. to compile the official RPM with optimal (but compiler version
  738. specific) switches.
  739. - Removed the repetitive description parts for the sub rpms. Maybe add
  740. again if RPM gets a multiline macro capability.
  741. - Added support for a pt_BR translation. Translation contributed by
  742. Jorge Godoy <jorge@bestway.com.br>.
  743. * Wed Nov 4 1998 David Axmark <david@detron.se>
  744. - A lot of changes in all the rpm and install scripts. This may even
  745. be a working RPM :-)
  746. * Sun Aug 16 1998 David Axmark <david@detron.se>
  747. - A developers changelog for MySQL is available in the source RPM. And
  748. there is a history of major user visible changed in the Reference
  749. Manual. Only RPM specific changes will be documented here.