Merge lp:~otto/maria/maria-fix-debpkg-5.5 into lp:maria/5.5

Proposed by Otto Kekäläinen on 2014-05-30
Status: Needs review
Proposed branch: lp:~otto/maria/maria-fix-debpkg-5.5
Merge into: lp:maria/5.5
Diff against target: 11747 lines (+4517/-4706) (has conflicts)
125 files modified
CMakeLists.txt (+0/-6)
debian/README.Maintainer (+123/-114)
debian/additions/innotop/changelog.innotop (+0/-357)
debian/additions/my.cnf (+0/-171)
debian/additions/mysql_tableinfo.1.OTHER (+322/-0)
debian/apparmor-profile (+15/-0)
debian/autobake-deb.sh (+0/-37)
debian/changelog (+8/-23)
debian/clean (+3/-0)
debian/compat (+1/-1)
debian/control (+259/-0)
debian/copyright (+1004/-60)
debian/dist/Debian/mariadb-server-5.5.README.Debian (+0/-109)
debian/dist/Debian/mariadb-server-5.5.dirs (+0/-10)
debian/dist/Debian/mariadb-server-5.5.files.in (+0/-75)
debian/dist/Debian/mariadb-server-5.5.postinst (+0/-268)
debian/dist/Debian/mariadb-server-5.5.postrm (+0/-83)
debian/dist/Ubuntu/apparmor-profile (+0/-15)
debian/dist/Ubuntu/mariadb-server-5.5.README.Debian (+0/-109)
debian/dist/Ubuntu/mariadb-server-5.5.dirs (+0/-10)
debian/dist/Ubuntu/mariadb-server-5.5.postinst (+0/-284)
debian/dist/Ubuntu/mariadb-server-5.5.postrm (+0/-86)
debian/dist/Ubuntu/mariadb-server-5.5.py (+0/-52)
debian/gbp.conf (+3/-0)
debian/libmariadbclient-dev.files (+0/-7)
debian/libmariadbclient-dev.install (+8/-0)
debian/libmariadbclient-dev.links (+0/-2)
debian/libmariadbclient-dev.lintian-overrides (+2/-0)
debian/libmariadbclient-dev.manpages (+1/-0)
debian/libmariadbclient18.files (+0/-3)
debian/libmariadbclient18.install (+3/-0)
debian/libmariadbclient18.lintian-overrides (+8/-0)
debian/libmariadbclient18.postinst (+8/-5)
debian/libmariadbclient18.symbols (+374/-0)
debian/libmariadbd-dev.files (+0/-2)
debian/libmariadbd-dev.install (+2/-0)
debian/libmariadbd-dev.lintian-overrides (+11/-0)
debian/libmariadbd-dev.postinst (+9/-0)
debian/license-reconcile.yml (+179/-0)
debian/mariadb-client-5.5.docs (+0/-1)
debian/mariadb-client-5.5.install (+14/-0)
debian/mariadb-client-5.5.lintian-overrides (+13/-3)
debian/mariadb-client-5.5.manpages (+16/-0)
debian/mariadb-client-5.5.menu (+1/-1)
debian/mariadb-client-core-5.5.files (+0/-4)
debian/mariadb-client-core-5.5.install (+2/-0)
debian/mariadb-client-core-5.5.lintian-overrides (+5/-0)
debian/mariadb-client-core-5.5.manpages (+2/-0)
debian/mariadb-client.lintian-overrides (+3/-0)
debian/mariadb-common.files (+0/-1)
debian/mariadb-common.lintian-overrides (+3/-0)
debian/mariadb-common.postrm (+0/-8)
debian/mariadb-server-5.5.NEWS (+0/-34)
debian/mariadb-server-5.5.README.Debian (+109/-0)
debian/mariadb-server-5.5.config (+4/-2)
debian/mariadb-server-5.5.dirs (+7/-0)
debian/mariadb-server-5.5.install (+72/-0)
debian/mariadb-server-5.5.lintian-overrides (+10/-5)
debian/mariadb-server-5.5.manpages (+22/-0)
debian/mariadb-server-5.5.mysql.init (+3/-3)
debian/mariadb-server-5.5.postinst (+267/-0)
debian/mariadb-server-5.5.postrm (+83/-0)
debian/mariadb-server-5.5.preinst (+22/-8)
debian/mariadb-server-5.5.prerm (+3/-1)
debian/mariadb-server-5.5.py (+52/-0)
debian/mariadb-server-5.5.templates (+14/-9)
debian/mariadb-server-core-5.5.files (+0/-26)
debian/mariadb-server-core-5.5.install (+25/-0)
debian/mariadb-server-core-5.5.lintian-overrides (+4/-0)
debian/mariadb-server-core-5.5.manpages (+1/-0)
debian/mariadb-server.lintian-overrides (+2/-0)
debian/mariadb-test-5.5.dirs (+0/-18)
debian/mariadb-test-5.5.files (+0/-19)
debian/mariadb-test-5.5.install (+15/-0)
debian/mariadb-test-5.5.lintian-overrides (+9/-0)
debian/mariadb-test-5.5.manpages (+4/-0)
debian/mariadb-test.lintian-overrides (+2/-0)
debian/mysql-common.dirs (+0/-1)
debian/mysql-common.files (+0/-3)
debian/mysql-common.lintian-overrides (+0/-2)
debian/mysql-common.postrm (+0/-7)
debian/patches/00list (+0/-11)
debian/patches/01_MAKEFILES__Docs_Images_Makefile.in.dpatch (+0/-776)
debian/patches/01_MAKEFILES__Docs_Makefile.in.dpatch (+0/-776)
debian/patches/02_no_builtin_ndbcluster_plugin.dpatch (+0/-18)
debian/patches/21_init__openquery_configtest.dpatch (+0/-33)
debian/patches/33_scripts__mysql_create_system_tables__no_test.diff (+28/-0)
debian/patches/33_scripts__mysql_create_system_tables__no_test.dpatch (+0/-30)
debian/patches/38_scripts__mysqld_safe.sh__signals.diff (+40/-0)
debian/patches/38_scripts__mysqld_safe.sh__signals.dpatch (+0/-43)
debian/patches/41_scripts__mysql_install_db.sh__no_test.diff (+17/-0)
debian/patches/41_scripts__mysql_install_db.sh__no_test.dpatch (+0/-20)
debian/patches/44_scripts__mysql_config__libs.diff (+19/-0)
debian/patches/44_scripts__mysql_config__libs.dpatch (+0/-24)
debian/patches/50_mysql-test__db_test.diff (+20/-0)
debian/patches/50_mysql-test__db_test.dpatch (+0/-24)
debian/patches/60_zlib_innodb_workaround.dpatch (+0/-31)
debian/patches/61_replace_dash_with_bash_mbug675185.diff (+16/-0)
debian/patches/61_replace_dash_with_bash_mbug675185.dpatch (+0/-20)
debian/patches/82_extend_default_test_timeout_for_tokudb.diff (+14/-0)
debian/patches/series (+7/-0)
debian/po/ar.po (+46/-29)
debian/po/ca.po (+50/-33)
debian/po/cs.po (+46/-29)
debian/po/da.po (+78/-234)
debian/po/de.po (+47/-29)
debian/po/es.po (+46/-29)
debian/po/eu.po (+46/-29)
debian/po/fr.po (+63/-41)
debian/po/gl.po (+46/-29)
debian/po/it.po (+46/-29)
debian/po/ja.po (+44/-36)
debian/po/nb.po (+52/-35)
debian/po/nl.po (+52/-35)
debian/po/pt.po (+46/-29)
debian/po/pt_BR.po (+47/-29)
debian/po/ro.po (+52/-35)
debian/po/ru.po (+61/-53)
debian/po/sv.po (+46/-29)
debian/po/templates.pot (+37/-28)
debian/po/tr.po (+50/-33)
debian/rules (+206/-0)
debian/source.lintian-overrides (+11/-1)
debian/source/format (+1/-0)
debian/watch (+5/-1)
Contents conflict in debian/additions/mysql_tableinfo.1
Contents conflict in debian/dist/Debian/rules
Contents conflict in debian/dist/Ubuntu/rules
Contents conflict in debian/mariadb-client-5.5.files
To merge this branch: bzr merge lp:~otto/maria/maria-fix-debpkg-5.5
Reviewer Review Type Date Requested Status
Sergei Golubchik 2014-05-30 Needs Fixing on 2014-06-03
Review via email: mp+221576@code.launchpad.net

Description of the change

To post a comment you must log in.
lp:~otto/maria/maria-fix-debpkg-5.5 updated on 2014-05-30
4201. By Otto Kekäläinen on 2014-05-30

Typofix

Sergei Golubchik (sergii) wrote :

just testing new inline diff comments on launchpad :)

Sergei Golubchik (sergii) wrote :

This doesn't work at all, no control file. Perhaps, you've forgot to check it in?

review: Needs Fixing
lp:~otto/maria/maria-fix-debpkg-5.5 updated on 2014-06-03
4202. By Otto Kekäläinen on 2014-06-03

Reviewed whole folder, minor fixes done

Otto Kekäläinen (otto) wrote :

Hmm, I must have typoed something. I am a git man you know :)

Anyway, new commit pushed: https://bazaar.launchpad.net/~otto/maria/maria-fix-debpkg-5.5/revision/4202

If the branch merge is smart, it should now automatically point to the latest commit in this fix branch.

Unmerged revisions

4202. By Otto Kekäläinen on 2014-06-03

Reviewed whole folder, minor fixes done

4201. By Otto Kekäläinen on 2014-05-30

Typofix

4200. By Otto Kekäläinen on 2014-05-30

Merged with 5.5 packaging in Debian

Preview Diff

[H/L] Next/Prev Comment, [J/K] Next/Prev File, [N/P] Next/Prev Hunk
1=== modified file 'CMakeLists.txt'
2--- CMakeLists.txt 2014-05-31 11:18:56 +0000
3+++ CMakeLists.txt 2014-06-03 12:03:30 +0000
4@@ -443,12 +443,6 @@
5 CONFIGURE_FILE(
6 ${CMAKE_SOURCE_DIR}/cmake/info_macros.cmake.in ${CMAKE_BINARY_DIR}/info_macros.cmake @ONLY)
7
8-IF(DEB)
9- CONFIGURE_FILE(
10- ${CMAKE_SOURCE_DIR}/debian/mariadb-server-5.5.files.in
11- ${CMAKE_SOURCE_DIR}/debian/mariadb-server-5.5.files)
12-ENDIF(DEB)
13-
14 # Handle the "INFO_*" files.
15 INCLUDE(${CMAKE_BINARY_DIR}/info_macros.cmake)
16 # Source: This can be done during the cmake phase, all information is
17
18=== modified file 'debian/README.Maintainer'
19--- debian/README.Maintainer 2012-01-23 11:20:16 +0000
20+++ debian/README.Maintainer 2014-06-03 12:03:30 +0000
21@@ -1,114 +1,123 @@
22-
23-###########################
24-## FIXME for 5.1 ##
25-###########################
26-
27-* put this trigger-recreation thing into the init scripts -- what?!
28-
29-###########################################################################
30-# Here are some information that are only of interest for the current and #
31-# following Debian maintainers of MySQL. #
32-###########################################################################
33-
34-The debian/ directory is under SVN control, see debian/control for URL.
35-
36-#
37-# Preparing a new version
38-#
39-The new orig.tar.gz (without non-free documentation) is created in /tmp/ when
40-running this command:
41-
42-debian/rules get-orig-source
43-
44-#
45-# mysqlreport
46-#
47-The authors e-mail address is <public@codenode.com>.
48-
49-#
50-# Remarks to dependencies
51-#
52-libwrap0-dev (>= 7.6-8.3)
53- According to bug report 114582 where where build problems on
54- IA-64/sid with at least two prior versions.
55-psmisc
56- /usr/bin/killall in the initscript
57-
58-zlib1g in libmysqlclient-dev:
59- "mysql_config --libs" ads "-lz"
60-
61-Build-Dep:
62-
63-debhelper (>=4.1.16):
64- See po-debconf(7).
65-
66-autoconf (>= 2.13-20), automake1.7
67- Try to get rid of them.
68-
69-doxygen, tetex-bin, tetex-extra, gs
70- for ndb/docs/*tex
71-
72-#
73-# Remarks to the start scripts
74-#
75-
76-## initscripts rely on mysqladmin from a different package
77-We have the problem that "/etc/init.d/mysql stop" relies on mysqladmin which
78-is in another package (mysql-client) and a passwordless access that's maybe
79-only available if the user configured his /root/.my.cnf. Can this be a problem?
80-* normal mode: not because the user is required to have it. Else:
81-* purge/remove: not, same as normal mode
82-* upgrade: not, same as normal mode
83-* first install: not, it depends on mysql-client which at least is unpacked
84- so mysqladmin is there (to ping). It is not yet configured
85- passwordles but if there's a server running then there's a
86- /root/.my.cnf. Anyways, we simply kill anything that's mysqld.
87-
88-## Passwordless access for the maintainer scripts
89-Another issue is that the scripts needs passwordless access. To ensure this
90-a debian-sys-maint user is configured which has process and shutdown privs.
91-The file with the randomly (that's important!) generated password must be
92-present as long as the databases remain installed because else a new install
93-would have no access. This file should be used like:
94- mysqladmin --defaults-file=/etc/mysql/debian.cnf restart
95-to avoid providing the password in plaintext on a commandline where it would
96-be visible to any user via the "ps" command.
97-
98-## When to start the daemon?
99-We aim to give the admin full control on when MySQL is running.
100-Issues to be faced here:
101-OLD:
102- 1. Debconf asks whether MySQL should be started on boot so update-rc.d is
103- only run if the answer has been yes. The admin is likely to forget
104- this decision but update-rc.d checks for an existing line in
105- /etc/runlevel.conf and leaves it intact.
106- 2. On initial install, if the answer is yes, the daemon has to be started.
107- 3. On upgrades it should only be started if it was already running, everything
108- else is confusing. Especiall relying on an debconf decision made month ago
109- is considered suboptimal. See bug #274264
110- Implementation so far:
111- prerm (called on upgrade before stopping the server):
112- check for a running server and set flag if necessary
113- preinst (called on initial install and before unpacking when upgrading):
114- check for the debconf variable and set flag if necessary
115- postinst (called on initial install and after each upgrade after unpacking):
116- call update-rc.d if debconf says yes
117- call invoce-rc.d if the flag has been set
118- Problems remaining:
119- dpkg-reconfigure and setting mysql start on boot to yes did not start mysql
120- (ok "start on boot" literally does not mean "start now" so that might have been ok)
121-NEW:
122- 1. --- no debconf anymore for the sake of simplicity. We have runlevel.conf,
123- the admin should use it
124- 2. On initial install the server is started.
125- 3. On upgrades the server is started exactly if it was running before so the
126- runlevel configuration is irrelevant. It will be preserved by the mean of
127- update-rc.d's builtin check.
128- Implementation:
129- prerm (called on upgrade before stopping the server):
130- check for a running server and set flag if necessary
131- preinst (called on initial install and before unpacking when upgrading):
132- check for $1 beeing (initial) "install" and set flag
133- postinst (called on initial install and after each upgrade after unpacking):
134- call update-rc.d
135- call invoce-rc.d if the flag has been set
136+## Building from sources with git-buildpackage ##
137+
138+
139+Clone sources with all branches
140+ sudo apt-get install git-buildpackage
141+ gbp-clone --pristine-tar git://git.debian.org/git/pkg-mysql/mariadb-5.5.git
142+
143+Aalternatively use Github mirror at https://github.com/ottok/mariadb-5.5.git
144+
145+On later runs make sure to have latest version of sources
146+ gbp-pull --pristine-tar --force
147+
148+Install all build dependencies manually (see debian/control for latest full list)
149+ sudo apt-get install bison chrpath cmake debhelper hardening-wrapper libaio-dev libboost-dev libjemalloc-dev libjudy-dev libncurses5-dev libpam0g-dev libreadline-gplv2-dev libssl-dev libwrap0-dev lsb-release perl po-debconf psmisc zlib1g-dev
150+
151+Build
152+ git-buildpackage --git-pristine-tar
153+
154+For a more elaborate setup with automatic build dependency installation and multi-target chroot usage check out how http://labs.seravo.fi/~otto/mariadb-repo/build.sh uses git-buildpackage with pbuilder.
155+
156+If the build fails the easiest way to clean up before a new run is
157+ git clean -f -d && git reset --hard
158+
159+
160+### Tip ###
161+
162+ Don't run the mysql-test-run test suite as part of build.
163+ It takes a lot of time, and we will do a better test anyway in
164+ Buildbot, running the test suite from installed .debs on a clean VM.
165+
166+ export DEB_BUILD_OPTIONS="nocheck"
167+
168+
169+## Importing initial sources from upstream the first fime ##
170+
171+Create repository
172+ mkdir mariadb-5.5
173+ cd mariadb-5.5
174+ git init
175+ git branch upstream
176+ git-import-orig --pristine-tar ../../upstream/mariadb-5.5.36
177+
178+Fill in values prompted
179+ What will be the source package name? [mariadb] mariadb-5.5
180+ What is the upstream version? [5.5.36]
181+
182+Checkout master into working dir and finish up manually what needs to be done
183+ git checkout master
184+
185+Eventually commit and push, build, test binaries, test packages etc..
186+ git commit -m "Created Debian packaging using git-buildpackage for easy maintenance"
187+ git push --all
188+ git push --tags
189+
190+
191+## Upgrading sources from upstream ##
192+
193+Download new source package
194+ cd pkg-mariadb-5.5
195+ uscan --verbose
196+
197+Enter git repostitory path and apply new sources
198+ cd mariadb-5.5
199+ git-import-orig --pristine-tar ../mariadb-5.5.36.tar.gz
200+
201+Generate new debian/changelog entry
202+ dch -v 5.5.36-1 -D unstable
203+
204+Manually merge what needs to be done
205+
206+Commit and push
207+ git commit -am "Merged with upstream 5.5.36"
208+ git push --all; git push --all github
209+ git push --tags; git push --tags github
210+
211+Note that in above if you want to sync to Github directly you need to have collaborator rights to the Github repo and you need to add it as a secondary remote location with:
212+ git remote add origin git@github.com:ottok/mariadb-5.5.git
213+
214+
215+### Maintaining symbols file for libmariadbclient18 et al ###
216+
217+Update symbols file:
218+ dpkg-gensymbols -plibmysqlclient18 -Idebian/libmariadbclient18.symbols -Pdebian/libmariadbclient18 -edebian/libmariadbclient18/usr/lib/mysql/plugin/mysql_clear_password.so -edebian/libmariadbclient18/usr/lib/mysql/plugin/dialog.so -edebian/libmariadbclient18/usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0 > symbols.patch
219+
220+ patch debian/libmariadbclient18.symbols symbols.patch
221+
222+Finish it manually by e.g. making sure there are no '-1' file versions, upstream versions is enough. Finally remember to selectively commit:
223+ git add debian/libmariadbclient18.symbols
224+ git commit -m "Updated symbols file"
225+
226+
227+### Maintaining debian/copyright ###
228+
229+Check if licenses match
230+ license-reconcile
231+
232+Create new copyright file
233+ licensecheck --copyright -r . -c . | /usr/lib/cdbs/licensecheck2dep5 > /tmp/copyright
234+
235+..but you need to do lots of manual work to merge the new file with the old, as liscensecheck has a lot of cruft and the original copyright file already had those cleaned up.
236+
237+
238+### Quality control ###
239+
240+Run wrap-and-sort to style contents in debian/*
241+ wrap-and-sort
242+
243+Once packages are done check their quality with Lintian
244+ lintian -EvIL +pedantic --color=always *.deb
245+
246+
247+## Uploading to Ubuntu PPA for testing ##
248+
249+Make sure you have key ID set up in ~/.devscripts to avoid using -k parameter
250+ DEBSIGN_KEYID=B7F7E4E1
251+
252+These are good to have as environment variables (replace values with your own)
253+ DEBEMAIL="otto@seravo.fi"
254+ DEBFULLNAME="Otto Kekäläinen"
255+ export DEBEMAIL DEBFULLNAME
256+
257+The run the commands to automatically change version and upload
258+ backportpackage -u ppa:mysql-ubuntu/mariadb -d precise -r *.dsc -S ~ppa1 -y
259
260=== removed file 'debian/additions/innotop/changelog.innotop'
261--- debian/additions/innotop/changelog.innotop 2012-01-23 11:20:16 +0000
262+++ debian/additions/innotop/changelog.innotop 1970-01-01 00:00:00 +0000
263@@ -1,357 +0,0 @@
264-Changelog for innotop:
265-
266-2009-03-09: version 1.7.1
267-
268- Changes:
269- * Don't display the CXN column if only one connection is active in
270- the current view
271-
272- Bugs fixed:
273- * fixed bug where trying to aggregate the time column would result
274- in a crash if the time column had an undef value in it, which is
275- the case when a thread is in the 'Connect' state
276- * updated innotop.spec file to reflect current version
277-
278-2009-02-23: version 1.7.0
279-
280- Changes:
281- * supports a central config (/etc/innotop/innotop.conf)
282- * changed the default home directory config to ~/.innotop/innotop.conf
283- (away from .ini)
284- * embedded InnoDBParser.pm into innotop so it can be run with no
285- installation
286- * no longer writes a new config file by default
287- * added --skipcentral (skip reading central config) and --write (write
288- a config if none were loaded at start-up)
289- * if no config file is loaded, connect to a MySQL database on
290- localhost using mysql_read_default_group=client
291- * embedded maatkit's DSNParser.pm and added support for --user,
292- --password, --host, --port
293- * changed default mode from T (InnoDB Transactions) to Q (Query List)
294- * in addition to connected threads, now displays running and cached
295- threads in statusbar
296- * don't load connections from a config file if any DSN information or
297- a username or password is specified on the command-line
298-
299- Bugs fixed:
300- * fixed bug preventing utilization of command-line options that
301- override default config settings if no config file was loaded
302- * fixed a bug where migrating from an old version of the config will
303- delete ~/innotop.ini, if it exists. Now uses File::Temp::tempfile().
304-
305-2007-11-09: version 1.6.0
306-
307- * S mode crashed on non-numeric values.
308- * New user-defined columns crashed upon restart.
309- * Added --color option to control terminal coloring.
310-
311-2007-09-18: version 1.5.2
312-
313- * Added the ability to monitor InnoDB status from a file.
314- * Changed W mode to L mode; it monitors all locks, not just lock waits.
315-
316-2007-09-16: version 1.5.1
317-
318- * Added C (Command Summary) mode.
319- * Fixed a bug in the 'avg' aggregate function.
320-
321-2007-09-10: version 1.5.0
322-
323- Changes:
324- * Added plugin functionality.
325- * Added group-by functionality.
326- * Moved the configuration file to a directory.
327- * Enhanced filtering and sorting on pivoted tables.
328- * Many small bug fixes.
329-
330-2007-07-16: version 1.4.3
331-
332- Changes:
333- * Added standard --version command-line option
334- * Changed colors to cyan instead of blue; more visible on dark terminals.
335- * Added information to the filter-choosing dialog.
336- * Added column auto-completion when entering a filter expression.
337- * Changed Term::ReadKey from optional to mandatory.
338- * Clarified username in password prompting.
339- * Ten thousand words of documentation!
340-
341- Bugs fixed:
342- * innotop crashed in W mode when InnoDB status data was truncated.
343- * innotop didn't display errors in tables if debug was enabled.
344- * The colored() subroutine wasn't being created in non-interactive mode.
345- * Don't prompt to save password except the first time.
346-
347-2007-05-03: version 1.4.2
348-
349- This version contains all changes to the trunk until revision 239; some
350- changes in revisions 240:250 are included.
351-
352- MAJOR CHANGES:
353-
354- * Quick-filters to easily filter any column in any display
355- * Compatibility with MySQL 3.23 through 6.0
356- * Improved error handling when a server is down, permissions denied, etc
357- * Use additional SHOW INNODB STATUS information in 5.1.x
358- * Make all modes use tables consistently, so they can all be edited,
359- filtered, colored and sorted consistently
360- * Combine V, G and S modes into S mode, with v, g, and s hot-keys
361- * Let DBD driver read MySQL option files; permit connections without
362- user/pass/etc
363- * Compile SQL-like expressions into Perl subroutines; eliminate need to
364- know Perl
365- * Do not save all config data to config file, only save user's customizations
366- * Rewritten and improved command-line option handling
367- * Added --count, --delay, and other command-line options to support
368- run-and-exit operation
369- * Improve built-in variable sets
370- * Improve help screen with three-part balanced-column layout
371- * Simplify table-editor and improve hotkey support
372- * Require Perl to have high-resolution time support (Time::HiRes)
373- * Help the user choose a query to analyze or kill
374- * Enable EXPLAIN, show-full-query in T mode just like Q mode
375- * Let data-extraction access current, previous and incremental data sets
376- all at once
377-
378- MINOR CHANGES:
379-
380- * Column stabilizing for Q mode
381- * New color rules for T, Q, W modes
382- * Apply slave I/O filter to Q mode
383- * Improve detection of server version and other meta-data
384- * Make connection timeout a config variable
385- * Improve cross-version-compatible SQL syntax
386- * Get some information from the DBD driver instead of asking MySQL for it
387- * Improved error messages
388- * Improve server group creation/editing
389- * Improve connection/thread killing
390- * Fix broken key bindings and restore previously mapped hot-keys for
391- choosing columns
392- * Some documentation updates (but not nearly enough)
393- * Allow the user to specify graphing char in S mode (formerly G mode)
394- * Allow easy switching between variable sets in S mode
395- * Bind 'n' key globally to choose the 'next' server connection
396- * Bind '%' key globally to filter displayed tables
397- * Allow aligning columns on the decimal place for easy readability
398- * Add hide_hdr config variable to hide column headers in tables
399- * Add a feature to smartly run PURGE MASTER LOGS in Replication mode
400- * Enable debug mode as a globally configurable variable
401- * Improve error messages when an expression or filter doesn't compile or has
402- a run-time error; die on error when debug is enabled
403- * Allow user-configurable delays after executing SQL (to let the server
404- settle down before taking another measurement)
405- * Add an expression to show how long until a transaction is finished
406- * Add skip_innodb as a global config variable
407- * Add '%' after percentages to help disambiguate (user-configurable)
408- * Add column to M mode to help see how fast slave is catching up to master
409-
410- BUG FIXES:
411-
412- * T and W modes had wrong value for wait_status column
413- * Error tracking on connections didn't reset when the connection recovered
414- * wait_timeout on connections couldn't be set before MySQL 4.0.3
415- * There was a crash on 3.23 when wiping deadlocks
416- * Lettercase changes in some result sets (SHOW MASTER/SLAVE STATUS) between
417- MySQL versions crashed innotop
418- * Inactive connections crashed innotop upon access to DBD driver
419- * set_precision did not respect user defaults for number of digits
420- * --inc command-line option could not be negated
421- * InnoDB status parsing was not always parsing all needed information
422- * S mode (formerly G mode) could crash trying to divide non-numeric data
423- * M table didn't show Slave_open_temp_tables variable; incorrect lettercase
424- * DBD drivers with broken AutoCommit would crash innotop
425- * Some key bindings had incorrect labels
426- * Some config-file loading routines could load data for things that didn't
427- exist
428- * Headers printed too often in S mode
429- * High-resolution time was not used even when the user had it
430- * Non-interactive mode printed blank lines sometimes
431- * Q-mode header and statusbar showed different QPS numbers
432- * Formulas for key-cache and query-cache hit ratios were wrong
433- * Mac OS "Darwin" machines were mis-identified as Microsoft Windows
434- * Some multiplications crashed when given undefined input
435- * The commify transformation did not check its input and could crash
436- * Specifying an invalid mode on the command line or config file could crash
437- innotop
438-
439-2007-03-29: version 1.4.1
440-
441- * More tweaks to display of connection errors.
442- * Fixed a problem with skip-innodb in MySQL 5.1.
443- * Fix a bug with dead connections in single-connection mode.
444- * Fix a regex to allow parsing more data from truncated deadlocks.
445- * Don't load active cxns from the config file if the cxn isn't defined.
446-
447-2007-03-03: version 1.4.0
448-
449- * Further tweak error handling and display of connection errors
450- * More centralization of querying
451- * Fix forking so it doesn't kill all database connections
452- * Allow user to run innotop without permissions for GLOBAL variables and status
453-
454-2007-02-11: version 1.3.6
455-
456- * Handle some connection failures so innotop doesn't crash because of one server.
457- * Enable incremental display in more modes.
458- * Tweaks to colorizing, color editor, and default color rules.
459- * Tweaks to default sorting rules.
460- * Use prepared statements for efficiency.
461- * Bug fixes and code cleanups.
462- * Data storage is keyed on clock ticks now.
463-
464-2007-02-03: version 1.3.5
465-
466- * Bug fixes.
467- * More tools for editing configuration from within innotop.
468- * Filters and transformations are constrained to valid values.
469- * Support for colorizing rows.
470- * Sorting by multiple columns.
471- * Compress headers when display is very wide.
472- * Stabilize and limit column widths.
473- * Check config file formats when upgrading so upgrades go smoothly.
474- * Make D mode handle many connections at once.
475- * Extract simple expressions from data sets in column src property.
476- This makes innotop more awk-ish.
477-
478-2007-01-16: version 1.3
479-
480- * Readline support.
481- * Can be used unattended, or in a pipe-and-filter mode
482- where it outputs tab-separated data to standard output.
483- * You can specify a config file on the command line.
484- Config files can be marked read-only.
485- * Monitor multiple servers simultaneously.
486- * Server groups to help manage many servers conveniently.
487- * Monitor master/slave status, and control slaves.
488- * Columns can have user-defined expressions as their data sources.
489- * Better configuration tools.
490- * InnoDB status information is merged into SHOW VARIABLES and
491- SHOW STATUS information, so you can access it all together.
492- * High-precision time support in more places.
493- * Lots of tweaks to make things display more readably and compactly.
494- * Column transformations and filters.
495-
496-2007-01-16: version 1.0.1
497- * NOTE: innotop is now hosted at Sourceforge, in Subversion not CVS.
498- The new project homepage is http://sourceforge.net/projects/innotop/
499- * Tweak default T/Q mode sort columns to match what people expect.
500- * Fix broken InnoDBParser.pm documentation (and hence man page).
501-
502-2007-01-06: version 1.0
503- * NOTE: innotop is now hosted at Sourceforge, in Subversion not CVS.
504- The new project homepage is http://sourceforge.net/projects/innotop/
505- * Prevent control characters from freaking terminal out.
506- * Set timeout to keep busy servers from closing connection.
507- * There is only one InnoDB insert buffer.
508- * Make licenses clear and consistent.
509-
510-2006-11-14: innotop 0.1.160, InnoDBParser version 1.69
511- * Support for ANSI color on Microsoft Windows (more readable, compact
512- display; thanks Gisbert W. Selke).
513- * Better handling of $ENV{HOME} on Windows.
514- * Added a LICENSE file to the package as per Gentoo bug:
515- http://bugs.gentoo.org/show_bug.cgi?id=147600
516-
517-2006-11-11: innotop 0.1.157, InnoDBParser version 1.69
518- * Add Microsoft Windows support.
519-
520-2006-10-19: innotop 0.1.154, InnoDBParser version 1.69
521- * Add O (Open Tables) mode
522- * Add some more checks to handle incomplete InnoDB status information
523-
524-2006-09-30: innotop 0.1.152, InnoDBParser version 1.69
525- * Figured out what was wrong with package $VERSION variable: it wasn't
526- after the package declaration!
527-
528-2006-09-28: innotop 0.1.152, InnoDBParser version 1.67
529- * Make more efforts towards crash-resistance and tolerance of completely
530- messed-up inputs. If innotop itself is broken, it is now much harder to
531- tell, because it just keeps on running without complaining.
532- * Fix a small bug parsing out some information and displaying it.
533-
534-2006-09-05: innotop 0.1.149, InnoDBParser version 1.64
535- * Try to find and eliminate any parsing code that assumes pattern matches
536- will succeed.
537-
538-2006-09-05: innotop 0.1.149, InnoDBParser version 1.62
539- * Make innotop crash-resistant, so I can declare it STABLE finally.
540- * Instead of using SQL conditional comments, detect MySQL version.
541-
542-2006-08-22: innotop 0.1.147, InnoDBParser version 1.60
543- * Fix some innotop bugs with undefined values, bad formatting etc.
544-
545-2006-08-19: innotop 0.1.146, InnoDBParser version 1.60
546- * Make innotop handle some unexpected NULL values in Q mode.
547- * Add OS wait information to W mode, so it is now "everything that waits."
548- * Center section captions better.
549- * Make R mode more readable and compact.
550- * Make InnoDBParser parse lock waits even when they've been waiting 0 secs.
551-
552-2006-08-12: innotop 0.1.139, InnoDBParser version 1.59
553- * Add more documentation
554- * Tweak V mode to show more info in less space.
555- * Fix a bug in G mode.
556-
557-2006-08-10: innotop 0.1.132, InnoDBParser version 1.58
558- * Handle yet more types of FK error... it will never end!
559- * Handle some special cases when DEADLOCK info truncated
560- * Add a bit more FK info to F mode in innotop
561- * More tests added to the test suite
562-
563-2006-08-07: innotop 0.1.131, InnoDBParser version 1.55
564- * Fix another issue with configuration
565- * Handle another type of FK error
566-
567-2006-08-03: innotop 0.1.130, InnoDBParser version 1.54
568- * Fix an issue loading config file
569- * Add heap_no to 'D' (InnoDB Deadlock) mode to ease deadlock debugging.
570-
571-2006-08-02: innotop 0.1.128, InnoDBParser version 1.54
572- * Parse lock wait information from the TRANSACTION section.
573- * Even more OS-specific parsing... pain in the butt...
574- * Add 'W' (InnoDB Lock Wait) mode.
575- * Fix some minor display issues with statusbar.
576-
577-2006-08-02: innotop 0.1.125, InnoDBParser version 1.50
578- * Don't try to get references to Perl built-in functions like time()
579- * Handle more OS-specific variations of InnoDB status text
580- * Add some more information to various places in innotop
581-
582-2006-08-01: innotop 0.1.123, InnoDBParser version 1.47
583-
584- * Enhance S and G modes: clear screen and re-print headers
585- * Don't crash when deadlock data is truncated
586- * Make Analyze mode say how to get back to whatever you came from
587- * Display 'nothing to display' when there is nothing
588- * Add ability to read InnoDB status text from a file (mostly helps test)
589- * Add table of Wait Array Information in Row Op/Semaphore mode
590- * Add table of lock information in InnoDB deadlock mode
591- * Ensure new features in upgrades don't get masked by existing config files
592- * Tweak default column choices for T mode
593- * Enhance foreign key parsing
594- * Enhance physical record and data tuple parsing
595- * Enhance lock parsing (handle old-style and new-style formats)
596-
597-2006-07-24: innotop 0.1.112, InnoDBParser version 1.36
598-
599- * InnoDBParser enhancements for FK error messages.
600- * A fix to innotop to prevent it from crashing while trying to display a FK
601- error message.
602- * Some minor cosmetic changes to number formatting in innotop.
603-
604-2006-07-22: innotop 0.1.106, InnoDBParser version 1.35
605-
606- * InnoDBParser is much more complete and accurate.
607- * Tons of bug fixes.
608- * Add partitions to EXPLAIN mode.
609- * Enhance Q mode header, add T mode header.
610- * Share some configuration variables across modes.
611- * Add formatted time columns to Q, T modes.
612- * Add command-line argument parsing.
613- * Turn off echo when asking for password.
614- * Add option to specify port when connecting.
615- * Let display-optimized-query display multiple notes.
616- * Lots of small improvements, such as showing more info in statusbar.
617-
618-2006-07-02: innotop 0.1.74, InnoDBParser version 1.24
619-
620- * Initial release for public consumption.
621
622=== removed file 'debian/additions/my.cnf'
623--- debian/additions/my.cnf 2012-07-05 07:29:34 +0000
624+++ debian/additions/my.cnf 1970-01-01 00:00:00 +0000
625@@ -1,171 +0,0 @@
626-# MariaDB database server configuration file.
627-#
628-# You can copy this file to one of:
629-# - "/etc/mysql/my.cnf" to set global options,
630-# - "~/.my.cnf" to set user-specific options.
631-#
632-# One can use all long options that the program supports.
633-# Run program with --help to get a list of available options and with
634-# --print-defaults to see which it would actually understand and use.
635-#
636-# For explanations see
637-# http://dev.mysql.com/doc/mysql/en/server-system-variables.html
638-
639-# This will be passed to all mysql clients
640-# It has been reported that passwords should be enclosed with ticks/quotes
641-# escpecially if they contain "#" chars...
642-# Remember to edit /etc/mysql/debian.cnf when changing the socket location.
643-[client]
644-port = 3306
645-socket = /var/run/mysqld/mysqld.sock
646-
647-# Here is entries for some specific programs
648-# The following values assume you have at least 32M ram
649-
650-# This was formally known as [safe_mysqld]. Both versions are currently parsed.
651-[mysqld_safe]
652-socket = /var/run/mysqld/mysqld.sock
653-nice = 0
654-
655-[mysqld]
656-#
657-# * Basic Settings
658-#
659-user = mysql
660-pid-file = /var/run/mysqld/mysqld.pid
661-socket = /var/run/mysqld/mysqld.sock
662-port = 3306
663-basedir = /usr
664-datadir = /var/lib/mysql
665-tmpdir = /tmp
666-lc_messages_dir = /usr/share/mysql
667-lc_messages = en_US
668-skip-external-locking
669-#
670-# Instead of skip-networking the default is now to listen only on
671-# localhost which is more compatible and is not less secure.
672-bind-address = 127.0.0.1
673-#
674-# * Fine Tuning
675-#
676-max_connections = 100
677-connect_timeout = 5
678-wait_timeout = 600
679-max_allowed_packet = 16M
680-thread_cache_size = 128
681-sort_buffer_size = 4M
682-bulk_insert_buffer_size = 16M
683-tmp_table_size = 32M
684-max_heap_table_size = 32M
685-#
686-# * MyISAM
687-#
688-# This replaces the startup script and checks MyISAM tables if needed
689-# the first time they are touched. On error, make copy and try a repair.
690-myisam_recover = BACKUP
691-key_buffer_size = 128M
692-#open-files-limit = 2000
693-table_open_cache = 400
694-myisam_sort_buffer_size = 512M
695-concurrent_insert = 2
696-read_buffer_size = 2M
697-read_rnd_buffer_size = 1M
698-#
699-# * Query Cache Configuration
700-#
701-# Cache only tiny result sets, so we can fit more in the query cache.
702-query_cache_limit = 128K
703-query_cache_size = 64M
704-# for more write intensive setups, set to DEMAND or OFF
705-#query_cache_type = DEMAND
706-#
707-# * Logging and Replication
708-#
709-# Both location gets rotated by the cronjob.
710-# Be aware that this log type is a performance killer.
711-# As of 5.1 you can enable the log at runtime!
712-#general_log_file = /var/log/mysql/mysql.log
713-#general_log = 1
714-#
715-# Error logging goes to syslog due to /etc/mysql/conf.d/mysqld_safe_syslog.cnf.
716-#
717-# we do want to know about network errors and such
718-log_warnings = 2
719-#
720-# Enable the slow query log to see queries with especially long duration
721-#slow_query_log[={0|1}]
722-slow_query_log_file = /var/log/mysql/mariadb-slow.log
723-long_query_time = 10
724-#log_slow_rate_limit = 1000
725-log_slow_verbosity = query_plan
726-
727-#log-queries-not-using-indexes
728-#log_slow_admin_statements
729-#
730-# The following can be used as easy to replay backup logs or for replication.
731-# note: if you are setting up a replication slave, see README.Debian about
732-# other settings you may need to change.
733-#server-id = 1
734-#report_host = master1
735-#auto_increment_increment = 2
736-#auto_increment_offset = 1
737-log_bin = /var/log/mysql/mariadb-bin
738-log_bin_index = /var/log/mysql/mariadb-bin.index
739-# not fab for performance, but safer
740-#sync_binlog = 1
741-expire_logs_days = 10
742-max_binlog_size = 100M
743-# slaves
744-#relay_log = /var/log/mysql/relay-bin
745-#relay_log_index = /var/log/mysql/relay-bin.index
746-#relay_log_info_file = /var/log/mysql/relay-bin.info
747-#log_slave_updates
748-#read_only
749-#
750-# If applications support it, this stricter sql_mode prevents some
751-# mistakes like inserting invalid dates etc.
752-#sql_mode = NO_ENGINE_SUBSTITUTION,TRADITIONAL
753-#
754-# * InnoDB
755-#
756-# InnoDB is enabled by default with a 10MB datafile in /var/lib/mysql/.
757-# Read the manual for more InnoDB related options. There are many!
758-default_storage_engine = InnoDB
759-# you can't just change log file size, requires special procedure
760-#innodb_log_file_size = 50M
761-innodb_buffer_pool_size = 256M
762-innodb_log_buffer_size = 8M
763-innodb_file_per_table = 1
764-innodb_open_files = 400
765-innodb_io_capacity = 400
766-innodb_flush_method = O_DIRECT
767-#
768-# * Security Features
769-#
770-# Read the manual, too, if you want chroot!
771-# chroot = /var/lib/mysql/
772-#
773-# For generating SSL certificates I recommend the OpenSSL GUI "tinyca".
774-#
775-# ssl-ca=/etc/mysql/cacert.pem
776-# ssl-cert=/etc/mysql/server-cert.pem
777-# ssl-key=/etc/mysql/server-key.pem
778-
779-
780-
781-[mysqldump]
782-quick
783-quote-names
784-max_allowed_packet = 16M
785-
786-[mysql]
787-#no-auto-rehash # faster start of mysql but no tab completition
788-
789-[isamchk]
790-key_buffer = 16M
791-
792-#
793-# * IMPORTANT: Additional settings that can override those from this file!
794-# The files must end with '.cnf', otherwise they'll be ignored.
795-#
796-!includedir /etc/mysql/conf.d/
797
798=== added file 'debian/additions/mysql_tableinfo.1.OTHER'
799--- debian/additions/mysql_tableinfo.1.OTHER 1970-01-01 00:00:00 +0000
800+++ debian/additions/mysql_tableinfo.1.OTHER 2014-06-03 12:03:30 +0000
801@@ -0,0 +1,322 @@
802+.\" Automatically generated by Pod::Man v1.34, Pod::Parser v1.13
803+.\"
804+.\" Standard preamble:
805+.\" ========================================================================
806+.de Sh \" Subsection heading
807+.br
808+.if t .Sp
809+.ne 5
810+.PP
811+\fB\\$1\fR
812+.PP
813+..
814+.de Sp \" Vertical space (when we can't use .PP)
815+.if t .sp .5v
816+.if n .sp
817+..
818+.de Vb \" Begin verbatim text
819+.ft CW
820+.nf
821+.ne \\$1
822+..
823+.de Ve \" End verbatim text
824+.ft R
825+.fi
826+..
827+.\" Set up some character translations and predefined strings. \*(-- will
828+.\" give an unbreakable dash, \*(PI will give pi, \*(L" will give a left
829+.\" double quote, and \*(R" will give a right double quote. | will give a
830+.\" real vertical bar. \*(C+ will give a nicer C++. Capital omega is used to
831+.\" do unbreakable dashes and therefore won't be available. \*(C` and \*(C'
832+.\" expand to `' in nroff, nothing in troff, for use with C<>.
833+.tr \(*W-|\(bv\*(Tr
834+.ds C+ C\v'-.1v'\h'-1p'\s-2+\h'-1p'+\s0\v'.1v'\h'-1p'
835+.ie n \{\
836+. ds -- \(*W-
837+. ds PI pi
838+. if (\n(.H=4u)&(1m=24u) .ds -- \(*W\h'-12u'\(*W\h'-12u'-\" diablo 10 pitch
839+. if (\n(.H=4u)&(1m=20u) .ds -- \(*W\h'-12u'\(*W\h'-8u'-\" diablo 12 pitch
840+. ds L" ""
841+. ds R" ""
842+. ds C` ""
843+. ds C' ""
844+'br\}
845+.el\{\
846+. ds -- \|\(em\|
847+. ds PI \(*p
848+. ds L" ``
849+. ds R" ''
850+'br\}
851+.\"
852+.\" If the F register is turned on, we'll generate index entries on stderr for
853+.\" titles (.TH), headers (.SH), subsections (.Sh), items (.Ip), and index
854+.\" entries marked with X<> in POD. Of course, you'll have to process the
855+.\" output yourself in some meaningful fashion.
856+.if \nF \{\
857+. de IX
858+. tm Index:\\$1\t\\n%\t"\\$2"
859+..
860+. nr % 0
861+. rr F
862+.\}
863+.\"
864+.\" For nroff, turn off justification. Always turn off hyphenation; it makes
865+.\" way too many mistakes in technical documents.
866+.hy 0
867+.if n .na
868+.\"
869+.\" Accent mark definitions (@(#)ms.acc 1.5 88/02/08 SMI; from UCB 4.2).
870+.\" Fear. Run. Save yourself. No user-serviceable parts.
871+. \" fudge factors for nroff and troff
872+.if n \{\
873+. ds #H 0
874+. ds #V .8m
875+. ds #F .3m
876+. ds #[ \f1
877+. ds #] \fP
878+.\}
879+.if t \{\
880+. ds #H ((1u-(\\\\n(.fu%2u))*.13m)
881+. ds #V .6m
882+. ds #F 0
883+. ds #[ \&
884+. ds #] \&
885+.\}
886+. \" simple accents for nroff and troff
887+.if n \{\
888+. ds ' \&
889+. ds ` \&
890+. ds ^ \&
891+. ds , \&
892+. ds ~ ~
893+. ds /
894+.\}
895+.if t \{\
896+. ds ' \\k:\h'-(\\n(.wu*8/10-\*(#H)'\'\h"|\\n:u"
897+. ds ` \\k:\h'-(\\n(.wu*8/10-\*(#H)'\`\h'|\\n:u'
898+. ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'^\h'|\\n:u'
899+. ds , \\k:\h'-(\\n(.wu*8/10)',\h'|\\n:u'
900+. ds ~ \\k:\h'-(\\n(.wu-\*(#H-.1m)'~\h'|\\n:u'
901+. ds / \\k:\h'-(\\n(.wu*8/10-\*(#H)'\z\(sl\h'|\\n:u'
902+.\}
903+. \" troff and (daisy-wheel) nroff accents
904+.ds : \\k:\h'-(\\n(.wu*8/10-\*(#H+.1m+\*(#F)'\v'-\*(#V'\z.\h'.2m+\*(#F'.\h'|\\n:u'\v'\*(#V'
905+.ds 8 \h'\*(#H'\(*b\h'-\*(#H'
906+.ds o \\k:\h'-(\\n(.wu+\w'\(de'u-\*(#H)/2u'\v'-.3n'\*(#[\z\(de\v'.3n'\h'|\\n:u'\*(#]
907+.ds d- \h'\*(#H'\(pd\h'-\w'~'u'\v'-.25m'\f2\(hy\fP\v'.25m'\h'-\*(#H'
908+.ds D- D\\k:\h'-\w'D'u'\v'-.11m'\z\(hy\v'.11m'\h'|\\n:u'
909+.ds th \*(#[\v'.3m'\s+1I\s-1\v'-.3m'\h'-(\w'I'u*2/3)'\s-1o\s+1\*(#]
910+.ds Th \*(#[\s+2I\s-2\h'-\w'I'u*3/5'\v'-.3m'o\v'.3m'\*(#]
911+.ds ae a\h'-(\w'a'u*4/10)'e
912+.ds Ae A\h'-(\w'A'u*4/10)'E
913+. \" corrections for vroff
914+.if v .ds ~ \\k:\h'-(\\n(.wu*9/10-\*(#H)'\s-2\u~\d\s+2\h'|\\n:u'
915+.if v .ds ^ \\k:\h'-(\\n(.wu*10/11-\*(#H)'\v'-.4m'^\v'.4m'\h'|\\n:u'
916+. \" for low resolution devices (crt and lpr)
917+.if \n(.H>23 .if \n(.V>19 \
918+\{\
919+. ds : e
920+. ds 8 ss
921+. ds o a
922+. ds d- d\h'-1'\(ga
923+. ds D- D\h'-1'\(hy
924+. ds th \o'bp'
925+. ds Th \o'LP'
926+. ds ae ae
927+. ds Ae AE
928+.\}
929+.rm #[ #] #H #V #F C
930+.\" ========================================================================
931+.\"
932+.IX Title "MYSQL_TABLEINFO 1"
933+.TH MYSQL_TABLEINFO 1 "2003-04-05" "perl v5.8.0" "User Contributed Perl Documentation"
934+.SH "NAME"
935+mysql_tableinfo \- creates and populates information tables with
936+the output of SHOW DATABASES, SHOW TABLES (or SHOW TABLE STATUS),
937+SHOW COLUMNS and SHOW INDEX.
938+.PP
939+This is version 1.1.
940+.SH "SYNOPSIS"
941+.IX Header "SYNOPSIS"
942+.Vb 1
943+\& mysql_tableinfo [OPTIONS] database_to_write [database_like_wild] [table_like_wild]
944+.Ve
945+.PP
946+.Vb 2
947+\& Do not backquote (``) database_to_write,
948+\& and do not quote ('') database_like_wild or table_like_wild
949+.Ve
950+.PP
951+.Vb 1
952+\& Examples:
953+.Ve
954+.PP
955+.Vb 1
956+\& mysql_tableinfo info
957+.Ve
958+.PP
959+.Vb 1
960+\& mysql_tableinfo info this_db
961+.Ve
962+.PP
963+.Vb 1
964+\& mysql_tableinfo info %a% b%
965+.Ve
966+.PP
967+.Vb 1
968+\& mysql_tableinfo info \-\-clear\-only
969+.Ve
970+.PP
971+.Vb 1
972+\& mysql_tableinfo info \-\-col \-\-idx \-\-table\-status
973+.Ve
974+.SH "DESCRIPTION"
975+.IX Header "DESCRIPTION"
976+mysql_tableinfo asks a MySQL server information about its
977+databases, tables, table columns and index, and stores this
978+in tables called `db`, `tbl` (or `tbl_status`), `col`, `idx`
979+(with an optional prefix specified with \-\-prefix).
980+After that, you can query these information tables, for example
981+to build your admin scripts with \s-1SQL\s0 queries, like
982+.PP
983+\&\s-1SELECT\s0 \s-1CONCAT\s0(\*(L"\s-1CHECK\s0 \s-1TABLE\s0 \*(R",`database`,\*(L".\*(R",`table`,\*(L" \s-1EXTENDED\s0;\*(R")
984+\&\s-1FROM\s0 info.tbl \s-1WHERE\s0 ... ;
985+.PP
986+as people usually do with some other \s-1RDBMS\s0
987+(note: to increase the speed of your queries on the info tables,
988+you may add some index on them).
989+.PP
990+The database_like_wild and table_like_wild instructs the program
991+to gather information only about databases and tables
992+whose names match these patterns. If the info
993+tables already exist, their rows matching the patterns are simply
994+deleted and replaced by the new ones. That is,
995+old rows not matching the patterns are not touched.
996+If the database_like_wild and table_like_wild arguments
997+are not specified on the command-line they default to \*(L"%\*(R".
998+.PP
999+The program :
1000+.PP
1001+\&\- does \s-1CREATE\s0 \s-1DATABASE\s0 \s-1IF\s0 \s-1NOT\s0 \s-1EXISTS\s0 database_to_write
1002+where database_to_write is the database name specified on the command\-line.
1003+.PP
1004+\&\- does \s-1CREATE\s0 \s-1TABLE\s0 \s-1IF\s0 \s-1NOT\s0 \s-1EXISTS\s0 database_to_write.`db`
1005+.PP
1006+\&\- fills database_to_write.`db` with the output of
1007+\&\s-1SHOW\s0 \s-1DATABASES\s0 \s-1LIKE\s0 database_like_wild
1008+.PP
1009+\&\- does \s-1CREATE\s0 \s-1TABLE\s0 \s-1IF\s0 \s-1NOT\s0 \s-1EXISTS\s0 database_to_write.`tbl`
1010+(respectively database_to_write.`tbl_status`
1011+if the \-\-tbl\-status option is on)
1012+.PP
1013+\&\- for every found database,
1014+fills database_to_write.`tbl` (respectively database_to_write.`tbl_status`)
1015+with the output of
1016+\&\s-1SHOW\s0 \s-1TABLES\s0 \s-1FROM\s0 found_db \s-1LIKE\s0 table_like_wild
1017+(respectively \s-1SHOW\s0 \s-1TABLE\s0 \s-1STATUS\s0 \s-1FROM\s0 found_db \s-1LIKE\s0 table_like_wild)
1018+.PP
1019+\&\- if the \-\-col option is on,
1020+ * does \s-1CREATE\s0 \s-1TABLE\s0 \s-1IF\s0 \s-1NOT\s0 \s-1EXISTS\s0 database_to_write.`col`
1021+ * for every found table,
1022+ fills database_to_write.`col` with the output of
1023+ \s-1SHOW\s0 \s-1COLUMNS\s0 \s-1FROM\s0 found_tbl \s-1FROM\s0 found_db
1024+.PP
1025+\&\- if the \-\-idx option is on,
1026+ * does \s-1CREATE\s0 \s-1TABLE\s0 \s-1IF\s0 \s-1NOT\s0 \s-1EXISTS\s0 database_to_write.`idx`
1027+ * for every found table,
1028+ fills database_to_write.`idx` with the output of
1029+ \s-1SHOW\s0 \s-1INDEX\s0 \s-1FROM\s0 found_tbl \s-1FROM\s0 found_db
1030+.PP
1031+Some options may modify this general scheme (see below).
1032+.PP
1033+As mentioned, the contents of the info tables are the output of
1034+\&\s-1SHOW\s0 commands. In fact the contents are slightly more complete :
1035+.PP
1036+\&\- the `tbl` (or `tbl_status`) info table
1037+ has an extra column which contains the database name,
1038+.PP
1039+\&\- the `col` info table
1040+ has an extra column which contains the table name,
1041+ and an extra column which contains, for each described column,
1042+ the number of this column in the table owning it (this extra column
1043+ is called `Seq_in_table`). `Seq_in_table` makes it possible for you
1044+ to retrieve your columns in sorted order, when you are querying
1045+ the `col` table.
1046+.PP
1047+\&\- the `index` info table
1048+ has an extra column which contains the database name.
1049+.PP
1050+Caution: info tables contain certain columns (e.g.
1051+Database, Table, Null...) whose names, as they are MySQL reserved words,
1052+need to be backquoted (`...`) when used in \s-1SQL\s0 statements.
1053+.PP
1054+Caution: as information fetching and info tables filling happen at the
1055+same time, info tables may contain inaccurate information about
1056+themselves.
1057+.SH "OPTIONS"
1058+.IX Header "OPTIONS"
1059+.IP "\-\-clear" 4
1060+.IX Item "--clear"
1061+Does \s-1DROP\s0 \s-1TABLE\s0 on the info tables (only those that the program is
1062+going to fill, for example if you do not use \-\-col it won't drop
1063+the `col` table) and processes normally. Does not drop database_to_write.
1064+.IP "\-\-clear\-only" 4
1065+.IX Item "--clear-only"
1066+Same as \-\-clear but exits after the DROPs.
1067+.IP "\-\-col" 4
1068+.IX Item "--col"
1069+Adds columns information (into table `col`).
1070+.IP "\-\-idx" 4
1071+.IX Item "--idx"
1072+Adds index information (into table `idx`).
1073+.IP "\-\-prefix prefix" 4
1074+.IX Item "--prefix prefix"
1075+The info tables are named from the concatenation of prefix and,
1076+respectively, db, tbl (or tbl_status), col, idx. Do not quote ('')
1077+or backquote (``) prefix.
1078+.IP "\-q, \-\-quiet" 4
1079+.IX Item "-q, --quiet"
1080+Does not warn you about what the script is going to do (\s-1DROP\s0 \s-1TABLE\s0 etc)
1081+and does not ask for a confirmation before starting.
1082+.IP "\-\-tbl\-status" 4
1083+.IX Item "--tbl-status"
1084+Instead of using \s-1SHOW\s0 \s-1TABLES\s0, uses \s-1SHOW\s0 \s-1TABLE\s0 \s-1STATUS\s0
1085+(much more complete information, but slower).
1086+.IP "\-\-help" 4
1087+.IX Item "--help"
1088+Display helpscreen and exit
1089+.IP "\-u, \-\-user=#" 4
1090+.IX Item "-u, --user=#"
1091+user for database login if not current user. Give a user
1092+who has sufficient privileges (\s-1CREATE\s0, ...).
1093+.IP "\-p, \-\-password=# (INSECURE)" 4
1094+.IX Item "-p, --password=# (INSECURE)"
1095+password to use when connecting to server.
1096+WARNING: Providing a password on command line is insecure as it is visible through /proc to anyone for a short time.
1097+.IP "\-h, \-\-host=#" 4
1098+.IX Item "-h, --host=#"
1099+host to connect to
1100+.IP "\-P, \-\-port=#" 4
1101+.IX Item "-P, --port=#"
1102+port to use when connecting to server
1103+.IP "\-S, \-\-socket=#" 4
1104+.IX Item "-S, --socket=#"
1105+\&\s-1UNIX\s0 domain socket to use when connecting to server
1106+.SH "WARRANTY"
1107+.IX Header "WARRANTY"
1108+This software is free and comes without warranty of any kind. You
1109+should never trust backup software without studying the code yourself.
1110+Study the code inside this script and only rely on it if \fIyou\fR believe
1111+that it does the right thing for you.
1112+.Sp
1113+Patches adding bug fixes, documentation and new features are welcome.
1114+.SH "TO DO"
1115+.IX Header "TO DO"
1116+Use extended inserts to be faster (for servers with many databases
1117+or tables). But to do that, must care about net\-buffer\-length.
1118+.SH "AUTHOR"
1119+.IX Header "AUTHOR"
1120+2002\-06\-18 Guilhem Bichot (guilhem.bichot@mines\-paris.org)
1121+.Sp
1122+And all the authors of mysqlhotcopy, which served as a model for
1123+the structure of the program.
1124
1125=== added file 'debian/apparmor-profile'
1126--- debian/apparmor-profile 1970-01-01 00:00:00 +0000
1127+++ debian/apparmor-profile 2014-06-03 12:03:30 +0000
1128@@ -0,0 +1,15 @@
1129+# This file is intensionally empty to disable apparmor by default for newer
1130+# versions of MariaDB, while providing seamless upgrade from older versions
1131+# and from mysql, where apparmor is used.
1132+#
1133+# By default, we do not want to have any apparmor profile for the MariaDB
1134+# server. It does not provide much useful functionality/security, and causes
1135+# several problems for users who often are not even aware that apparmor
1136+# exists and runs on their system.
1137+#
1138+# Users can modify and maintain their own profile, and in this case it will
1139+# be used.
1140+#
1141+# When upgrading from previous version, users who modified the profile
1142+# will be promptet to keep or discard it, while for default installs
1143+# we will automatically disable the profile.
1144
1145=== modified file 'debian/autobake-deb.sh'
1146--- debian/autobake-deb.sh 2013-11-11 08:30:35 +0000
1147+++ debian/autobake-deb.sh 2014-06-03 12:03:30 +0000
1148@@ -27,44 +27,7 @@
1149 PATCHLEVEL="+maria"
1150 LOGSTRING="MariaDB build"
1151
1152-# Look up distro-version specific stuff.
1153-#
1154-# Libreadline changed to GPLv3. Old GPLv2 version is available, but it
1155-# is called different things on different versions.
1156 CODENAME="$(lsb_release -sc)"
1157-case "${CODENAME}" in
1158- etch) LIBREADLINE_DEV=libreadline-dev ;;
1159- lenny|hardy|intrepid|jaunty|karmic|lucid) LIBREADLINE_DEV='libreadline5-dev | libreadline-dev' ;;
1160- squeeze|maverick|natty) LIBREADLINE_DEV=libreadline5-dev ;;
1161- *) LIBREADLINE_DEV=libreadline-gplv2-dev ;;
1162-esac
1163-
1164-case "${CODENAME}" in
1165- etch|lenny|hardy|intrepid|jaunty|karmic) CMAKE_DEP='' ;;
1166- *) CMAKE_DEP='cmake (>= 2.7), ' ;;
1167-esac
1168-
1169-# Clean up build file symlinks that are distro-specific. First remove all, then set
1170-# new links.
1171-DISTRODIRS="$(ls ./debian/dist)"
1172-for distrodir in ${DISTRODIRS}; do
1173- DISTROFILES="$(ls ./debian/dist/${distrodir})"
1174- for distrofile in ${DISTROFILES}; do
1175- rm -f "./debian/${distrofile}";
1176- done;
1177-done;
1178-
1179-# Set no symlinks for build files in the debian dir, so we avoid adding AppArmor on Debian.
1180-DISTRO="$(lsb_release -si)"
1181-echo "Copying distribution specific build files for ${DISTRO}"
1182-DISTROFILES="$(ls ./debian/dist/${DISTRO})"
1183-for distrofile in ${DISTROFILES}; do
1184- rm -f "./debian/${distrofile}"
1185- sed -e "s/\\\${LIBREADLINE_DEV}/${LIBREADLINE_DEV}/g" \
1186- -e "s/\\\${CMAKE_DEP}/${CMAKE_DEP}/g" \
1187- < "./debian/dist/${DISTRO}/${distrofile}" > "./debian/${distrofile}"
1188- chmod --reference="./debian/dist/${DISTRO}/${distrofile}" "./debian/${distrofile}"
1189-done;
1190
1191 # Adjust changelog, add new version.
1192 #
1193
1194=== modified file 'debian/changelog'
1195--- debian/changelog 2012-01-23 11:20:16 +0000
1196+++ debian/changelog 2014-06-03 12:03:30 +0000
1197@@ -1,23 +1,8 @@
1198-mariadb-5.5 (5.5.1) unstable; urgency=low
1199-
1200- * Initial release.
1201-
1202- -- Kristian Nielsen <knielsen@askmonty.org> Fri, 6 Jan 2012 15:17:23 -0100
1203-
1204-mariadb-5.3 (5.3.0) unstable; urgency=low
1205-
1206- * Initial release.
1207-
1208- -- Sergei Golubchik <serg@askmonty.org> Mon, 1 Nov 2010 09:16:01 -0100
1209-
1210-mariadb-5.2 (5.2.0) unstable; urgency=low
1211-
1212- * Initial release.
1213-
1214- -- Kristian Nielsen <knielsen@askmonty.org> Wed, 17 Mar 2010 12:54:51 -0100
1215-
1216-mariadb-5.1 (5.1.0) unstable; urgency=low
1217-
1218- * Initial release.
1219-
1220- -- Peter Lieverdink <peter@openquery.com> Tue, 29 Sep 2009 17:05:03 +1000
1221+mariadb-5.5 (5.5.37-1) unstable; urgency=low
1222+
1223+ * Merged with official packaging in Debian with following differences
1224+ - libmysqlclient -> libmariadbclient rename is done only in Debian, not upstream
1225+ - OQGraph is expected to be built in upstream version with old libboost
1226+ and thus included in the mariadb-server-5.5.install file
1227+
1228+ -- Otto Kekäläinen <otto@seravo.fi> Fri, 30 May 2014 17:55:22 +0300
1229
1230=== added file 'debian/clean'
1231--- debian/clean 1970-01-01 00:00:00 +0000
1232+++ debian/clean 2014-06-03 12:03:30 +0000
1233@@ -0,0 +1,3 @@
1234+debian/libmariadbclient18.links
1235+debian/libmariadbclient-dev.links
1236+debian/mysqld.sym.gz
1237
1238=== modified file 'debian/compat'
1239--- debian/compat 2012-01-23 11:20:16 +0000
1240+++ debian/compat 2014-06-03 12:03:30 +0000
1241@@ -1,1 +1,1 @@
1242-5
1243+9
1244
1245=== added file 'debian/control'
1246--- debian/control 1970-01-01 00:00:00 +0000
1247+++ debian/control 2014-06-03 12:03:30 +0000
1248@@ -0,0 +1,259 @@
1249+Source: mariadb-5.5
1250+Section: database
1251+Priority: optional
1252+Maintainer: Debian MySQL Maintainers <pkg-mysql-maint@lists.alioth.debian.org>
1253+Uploaders: Otto Kekäläinen <otto@seravo.fi>,
1254+ Clint Byrum <clint@ubuntu.com>,
1255+ James Page <jamespage@debian.org>
1256+Build-Depends: bison,
1257+ chrpath,
1258+ cmake,
1259+ debhelper (>= 9),
1260+ dh-apparmor,
1261+ hardening-wrapper,
1262+ libaio-dev [linux-any],
1263+ libjemalloc-dev [linux-any],
1264+ libncurses5-dev (>= 5.0-6),
1265+ libpam0g-dev,
1266+ libreadline-gplv2-dev,
1267+ libssl-dev,
1268+ libwrap0-dev (>= 7.6-8.3),
1269+ lsb-release,
1270+ perl,
1271+ po-debconf,
1272+ psmisc,
1273+ zlib1g-dev (>= 1:1.1.3-5)
1274+Standards-Version: 3.9.5
1275+Homepage: http://mariadb.org/
1276+Vcs-Git: git://git.debian.org/git/pkg-mysql/mariadb-5.5.git
1277+Vcs-Browser: http://git.debian.org/?p=pkg-mysql/mariadb-5.5.git
1278+
1279+Package: libmariadbclient18
1280+Section: libs
1281+Architecture: any
1282+Depends: mariadb-common, ${misc:Depends}, ${shlibs:Depends}
1283+Pre-Depends: multiarch-support, ${misc:Pre-Depends}
1284+Conflicts: mariadb-galera-server-5.5 (<< 5.5.33),
1285+ mariadb-server-5.1,
1286+ mariadb-server-5.2,
1287+ mariadb-server-5.3,
1288+ mariadb-server-5.5 (<< 5.5.33)
1289+Multi-Arch: same
1290+Description: MariaDB database client library
1291+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
1292+ server. SQL (Structured Query Language) is the most popular database query
1293+ language in the world. The main goals of MariaDB are speed, robustness and
1294+ ease of use.
1295+ .
1296+ This package includes the client library.
1297+
1298+Package: libmariadbd-dev
1299+Architecture: any
1300+Section: libdevel
1301+Pre-Depends: multiarch-support
1302+Depends: libmariadbclient-dev (>= ${source:Version}),
1303+ ${misc:Depends},
1304+ ${shlibs:Depends}
1305+Breaks: libmysqld-dev
1306+Replaces: libmysqld-dev
1307+Provides: libmysqld-dev
1308+Description: MariaDB embedded database development files
1309+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
1310+ server. SQL (Structured Query Language) is the most popular database query
1311+ language in the world. The main goals of MariaDB are speed, robustness and
1312+ ease of use.
1313+ .
1314+ This package includes the embedded server library and header files.
1315+
1316+Package: libmariadbclient-dev
1317+Architecture: any
1318+Section: libdevel
1319+Depends: libmariadbclient18 (= ${binary:Version}),
1320+ zlib1g-dev,
1321+ ${misc:Depends},
1322+ ${shlibs:Depends}
1323+Breaks: libmysqlclient-dev
1324+Replaces: libmysqlclient-dev
1325+Provides: libmysqlclient-dev
1326+Description: MariaDB database development files
1327+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
1328+ server. SQL (Structured Query Language) is the most popular database query
1329+ language in the world. The main goals of MariaDB are speed, robustness and
1330+ ease of use.
1331+ .
1332+ This package includes development libraries and header files.
1333+
1334+Package: mariadb-common
1335+Architecture: all
1336+Depends: mysql-common, ${misc:Depends}
1337+Multi-Arch: foreign
1338+Description: MariaDB common metapackage
1339+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
1340+ server. SQL (Structured Query Language) is the most popular database query
1341+ language in the world. The main goals of MariaDB are speed, robustness and
1342+ ease of use.
1343+ .
1344+ This empty metapackage makes the introduction on MariaDB specific
1345+ configurationfiles easier at any later time.
1346+
1347+Package: mariadb-client-core-5.5
1348+Architecture: any
1349+Depends: libmariadbclient18 (>= ${source:Version}),
1350+ mariadb-common,
1351+ ${misc:Depends},
1352+ ${shlibs:Depends}
1353+Conflicts: mysql-client-5.5, mysql-client-5.6
1354+Breaks: mysql-client-core-5.5, mysql-client-core-5.6, virtual-mysql-client-core
1355+Replaces: mysql-client-core-5.5,
1356+ mysql-client-core-5.6,
1357+ virtual-mysql-client-core
1358+Provides: virtual-mysql-client-core
1359+Description: MariaDB database core client binaries
1360+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
1361+ server. SQL (Structured Query Language) is the most popular database query
1362+ language in the world. The main goals of MariaDB are speed, robustness and
1363+ ease of use.
1364+ .
1365+ This package includes the core client files, as used by Akonadi.
1366+
1367+Package: mariadb-client-5.5
1368+Architecture: any
1369+Depends: debianutils (>=1.6),
1370+ libdbi-perl,
1371+ libterm-readkey-perl,
1372+ mariadb-client-core-5.5 (>= ${source:Version}),
1373+ ${misc:Depends},
1374+ ${perl:Depends},
1375+ ${shlibs:Depends}
1376+Recommends: libdbd-mysql-perl (>= 1.2202)
1377+Suggests: libterm-readkey-perl
1378+Conflicts: mysql-client-core-5.5, mysql-client-core-5.6
1379+Breaks: mysql-client, mysql-client-5.5, mysql-client-5.6, virtual-mysql-client
1380+Replaces: mysql-client, mysql-client-5.5, mysql-client-5.6, virtual-mysql-client
1381+Provides: virtual-mysql-client
1382+Description: MariaDB database client binaries
1383+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
1384+ server. SQL (Structured Query Language) is the most popular database query
1385+ language in the world. The main goals of MariaDB are speed, robustness and
1386+ ease of use.
1387+ .
1388+ This package includes the client binaries and the additional tools
1389+ innotop and mysqlreport.
1390+
1391+Package: mariadb-server-core-5.5
1392+Architecture: any
1393+Depends: mariadb-common, ${misc:Depends}, ${shlibs:Depends}
1394+Conflicts: mariadb-galera-server-5.5, mysql-server-5.5, mysql-server-5.6
1395+Breaks: mysql-server-core-5.5, mysql-server-core-5.6, virtual-mysql-server-core
1396+Replaces: mysql-server-core-5.5,
1397+ mysql-server-core-5.6,
1398+ virtual-mysql-server-core
1399+Provides: virtual-mysql-server-core
1400+Description: MariaDB database core server files
1401+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
1402+ server. SQL (Structured Query Language) is the most popular database query
1403+ language in the world. The main goals of MariaDB are speed, robustness and
1404+ ease of use.
1405+ .
1406+ This package includes the core server files, as used by Akonadi.
1407+
1408+Package: mariadb-test-5.5
1409+Architecture: any
1410+Depends: mariadb-client-5.5 (>= ${source:Version}),
1411+ mariadb-server-5.5 (>= ${source:Version}),
1412+ ${misc:Depends},
1413+ ${shlibs:Depends}
1414+Breaks: mariadb-test (<< ${source:Version}),
1415+ mysql-testsuite,
1416+ mysql-testsuite-5.5,
1417+ mysql-testsuite-5.6,
1418+ virtual-mysql-testsuite
1419+Replaces: mariadb-test (<< ${source:Version}),
1420+ mysql-testsuite,
1421+ mysql-testsuite-5.5,
1422+ mysql-testsuite-5.6,
1423+ virtual-mysql-testsuite
1424+Provides: virtual-mysql-testsuite
1425+Suggests: patch
1426+Description: MariaDB database regression test suite
1427+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
1428+ server. SQL (Structured Query Language) is the most popular database query
1429+ language in the world. The main goals of MariaDB are speed, robustness and
1430+ ease of use.
1431+ .
1432+ This package includes the regression test suite.
1433+
1434+Package: mariadb-server-5.5
1435+Architecture: any
1436+Suggests: mailx, mariadb-test, tinyca
1437+Recommends: libhtml-template-perl
1438+Pre-Depends: adduser (>= 3.40), debconf, mariadb-common
1439+Depends: libdbi-perl,
1440+ lsb-base (>= 3.0-10),
1441+ mariadb-client-5.5 (>= ${source:Version}),
1442+ mariadb-server-core-5.5 (>= ${binary:Version}),
1443+ passwd,
1444+ perl (>= 5.6),
1445+ psmisc,
1446+ ${misc:Depends},
1447+ ${shlibs:Depends}
1448+Conflicts: mariadb-tokudb-engine-10.0,
1449+ mariadb-tokudb-engine-5.5,
1450+ mysql-server-core-5.5,
1451+ mysql-server-core-5.6
1452+Breaks: mariadb-galera-server,
1453+ mariadb-galera-server-5.5,
1454+ mariadb-tokudb-engine-10.0,
1455+ mariadb-tokudb-engine-5.5,
1456+ mysql-server,
1457+ mysql-server-5.5,
1458+ mysql-server-5.6,
1459+ virtual-mysql-server
1460+Replaces: mariadb-galera-server,
1461+ mariadb-galera-server-5.5,
1462+ mariadb-tokudb-engine-10.0,
1463+ mariadb-tokudb-engine-5.5,
1464+ mysql-server,
1465+ mysql-server-5.5,
1466+ mysql-server-5.6,
1467+ virtual-mysql-server
1468+Provides: virtual-mysql-server
1469+Description: MariaDB database server binaries
1470+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
1471+ server. SQL (Structured Query Language) is the most popular database query
1472+ language in the world. The main goals of MariaDB are speed, robustness and
1473+ ease of use.
1474+ .
1475+ This package includes the server binaries.
1476+
1477+Package: mariadb-server
1478+Architecture: all
1479+Depends: mariadb-server-5.5 (>= ${source:Version}), ${misc:Depends}
1480+Description: MariaDB database server (metapackage depending on the latest version)
1481+ This is an empty package that depends on the current "best" version of
1482+ mariadb-server (currently mariadb-server-5.5), as determined by the MariaDB
1483+ maintainers. Install this package if in doubt about which MariaDB
1484+ version you need. That will install the version recommended by the
1485+ package maintainers.
1486+ .
1487+ MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
1488+ server. SQL (Structured Query Language) is the most popular database query
1489+ language in the world. The main goals of MariaDB are speed, robustness and
1490+ ease of use.
1491+
1492+Package: mariadb-client
1493+Architecture: all
1494+Depends: mariadb-client-5.5 (>= ${source:Version}), ${misc:Depends}
1495+Description: MariaDB database client (metapackage depending on the latest version)
1496+ This is an empty package that depends on the current "best" version of
1497+ mariadb-client (currently mariadb-client-5.5), as determined by the MariaDB
1498+ maintainers. Install this package if in doubt about which MariaDB version
1499+ you want, as this is the one considered to be in the best shape.
1500+
1501+Package: mariadb-test
1502+Architecture: all
1503+Depends: mariadb-test-5.5 (>= ${source:Version}), ${misc:Depends}
1504+Description: MariaDB database regression test suite (metapackage for the latest version)
1505+ This is an empty package that depends on the current "best" version of
1506+ mariadb-test (currently mariadb-test-5.5), as determined by the MariaDB
1507+ maintainers.
1508
1509=== modified file 'debian/copyright'
1510--- debian/copyright 2012-01-23 11:20:16 +0000
1511+++ debian/copyright 2014-06-03 12:03:30 +0000
1512@@ -1,61 +1,1005 @@
1513-
1514-== MariaDB ==
1515-
1516-The Debian package of MySQL was first debianzed on 1997-04-12 by Christian
1517-Schwarz <schwarz@debian.org> and ist maintained since 1999-04-20 by
1518-Christian Hammers <ch@debian.org>.
1519-
1520-The MariaDB packages were initally made by http://ourdelta.org/, and
1521-are now managed by the MariaDB development team,
1522-maria-developers@lists.launchpad.net
1523-
1524-MariaDB can be downloaded from http://downloads.askmonty.org/mariadb/
1525-
1526-Copyright:
1527-
1528-According to the file "COPYING" all parts of this package are licenced
1529-under the terms of the GNU GPL Version 2 of which a copy is available
1530-in /usr/share/common-licenses.
1531-
1532-To allow free software with other licences than the GPL to link against the
1533-shared library, special terms for "derived works" are granted in the README file of MySQL 5.5, as follows:
1534-
1535-> MySQL FOSS License Exception
1536-> We want free and open source software applications under certain
1537-> licenses to be able to use specified GPL-licensed MySQL client
1538-> libraries despite the fact that not all such FOSS licenses are
1539-> compatible with version 2 of the GNU General Public License.
1540-> Therefore there are special exceptions to the terms and conditions
1541-> of the GPLv2 as applied to these client libraries, which are
1542-> identified and described in more detail in the FOSS License
1543-> Exception at
1544-> <http://www.mysql.com/about/legal/licensing/foss-exception.html>.
1545-
1546-The manual had to be removed as it is not free in the sense of the
1547-Debian Free Software Guidelines (DFSG).
1548-
1549-
1550-== innotop ==
1551-
1552-Copyright 2006-2009, Baron Schwartz <baron@xaprb.com>
1553-URL: http://innotop.sourceforge.net
1554-
1555+Format: http://www.debian.org/doc/packaging-manuals/copyright-format/1.0/
1556+Upstream-Name: MariaDB 5.5
1557+Upstream-Contact: https://mariadb.atlassian.net/browse/MDEV
1558+Source: https://code.launchpad.net/~maria-captains/maria/5.5
1559+Comment:
1560+ The file Docs/mysql.info is removed from the upstream source
1561+ because it is incompatible with the Debian Free Software Guidelines.
1562+ See debian/README.source for how this repacking was done.
1563+ .
1564+ Originally produced by a modified version of licensecheck2dep5
1565+ from CDBS by Clint Byrum <clint@ubuntu.com>. Hand modified to reduce
1566+ redundancy in the output and add appropriate license text. The file
1567+ has been rechecked against the source using the development version
1568+ of license-reconcile, see #686485.
1569+ .
1570+ Also, MySQL carries the "FOSS License Exception" specified in README
1571+ .
1572+ Quoting from README:
1573+ .
1574+ MySQL FOSS License Exception We want free and open source
1575+ software applications under certain licenses to be able to use
1576+ specified GPL-licensed MySQL client libraries despite the fact
1577+ that not all such FOSS licenses are compatible with version
1578+ 2 of the GNU General Public License. Therefore there are
1579+ special exceptions to the terms and conditions of the GPLv2
1580+ as applied to these client libraries, which are identified
1581+ and described in more detail in the FOSS License Exception at
1582+ <http://www.mysql.com/about/legal/licensing/foss-exception.html>.
1583+ .
1584+ The text of the Above URL is quoted below, as of Aug 17, 2011.
1585+ .
1586+ > FOSS License Exception
1587+ > .
1588+ > Updated July 1, 2010
1589+ > .
1590+ > What is the FOSS License Exception? Oracle's Free and Open Source
1591+ > Software ("FOSS") License Exception (formerly known as the FLOSS
1592+ > License Exception) allows developers of FOSS applications to include
1593+ > Oracle's MySQL Client Libraries (also referred to as "MySQL Drivers"
1594+ > or "MySQL Connectors") with their FOSS applications. MySQL Client
1595+ > Libraries are typically licensed pursuant to version 2 of the General
1596+ > Public License ("GPL"), but this exception permits distribution of
1597+ > certain MySQL Client Libraries with a developer's FOSS applications
1598+ > licensed under the terms of another FOSS license listed below,
1599+ > even though such other FOSS license may be incompatible with the GPL.
1600+ > .
1601+ > The following terms and conditions describe the circumstances under
1602+ > which Oracle's FOSS License Exception applies.
1603+ > .
1604+ > Oracle's FOSS License Exception Terms and Conditions Definitions.
1605+ > "Derivative Work" means a derivative work, as defined under applicable
1606+ > copyright law, formed entirely from the Program and one or more
1607+ > FOSS Applications.
1608+ > .
1609+ > "FOSS Application" means a free and open source software application
1610+ > distributed subject to a license listed in the section below titled
1611+ > "FOSS License List."
1612+ > .
1613+ > "FOSS Notice" means a notice placed by Oracle or MySQL in a copy
1614+ > of the MySQL Client Libraries stating that such copy of the MySQL
1615+ > Client Libraries may be distributed under Oracle's or MySQL's FOSS
1616+ > (or FLOSS) License Exception.
1617+ > .
1618+ > "Independent Work" means portions of the Derivative Work that are not
1619+ > derived from the Program and can reasonably be considered independent
1620+ > and separate works.
1621+ > .
1622+ > "Program" means a copy of Oracle's MySQL Client Libraries that
1623+ > contains a FOSS Notice.
1624+ > .
1625+ > A FOSS application developer ("you" or "your") may distribute a
1626+ > Derivative Work provided that you and the Derivative Work meet all
1627+ > of the following conditions: You obey the GPL in all respects for
1628+ > the Program and all portions (including modifications) of the Program
1629+ > included in the Derivative Work (provided that this condition does not
1630+ > apply to Independent Works); The Derivative Work does not include any
1631+ > work licensed under the GPL other than the Program; You distribute
1632+ > Independent Works subject to a license listed in the section below
1633+ > titled "FOSS License List"; You distribute Independent Works in
1634+ > object code or executable form with the complete corresponding
1635+ > machine-readable source code on the same medium and under the same
1636+ > FOSS license applying to the object code or executable forms; All
1637+ > works that are aggregated with the Program or the Derivative Work
1638+ > on a medium or volume of storage are not derivative works of the
1639+ > Program, Derivative Work or FOSS Application, and must reasonably
1640+ > be considered independent and separate works. Oracle reserves all
1641+ > rights not expressly granted in these terms and conditions. If all
1642+ > of the above conditions are not met, then this FOSS License Exception
1643+ > does not apply to you or your Derivative Work.
1644+ > .
1645+ > FOSS License List
1646+ > .
1647+ > License Name Version(s)/Copyright Date
1648+ > Release Early Certified Software
1649+ > Academic Free License 2.0
1650+ > Apache Software License 1.0/1.1/2.0
1651+ > Apple Public Source License 2.0
1652+ > Artistic license From Perl 5.8.0
1653+ > BSD license "July 22 1999"
1654+ > Common Development and Distribution License (CDDL) 1.0
1655+ > Common Public License 1.0
1656+ > Eclipse Public License 1.0
1657+ > European Union Public License (EUPL)[1] 1.1
1658+ > GNU Library or "Lesser" General Public License (LGPL) 2.0/2.1/3.0
1659+ > GNU General Public License (GPL) 3.0
1660+ > IBM Public License 1.0
1661+ > Jabber Open Source License 1.0
1662+ > MIT License (As listed in file MIT-License.txt) -
1663+ > Mozilla Public License (MPL) 1.0/1.1
1664+ > Open Software License 2.0
1665+ > OpenSSL license (with original SSLeay license) "2003" ("1998")
1666+ > PHP License 3.0/3.01
1667+ > Python license (CNRI Python License) -
1668+ > Python Software Foundation License 2.1.1
1669+ > Sleepycat License "1999"
1670+ > University of Illinois/NCSA Open Source License -
1671+ > W3C License "2001"
1672+ > X11 License "2001"
1673+ > Zlib/libpng License -
1674+ > Zope Public License 2.0
1675+ > [1] When an Independent Work is licensed under a "Compatible License"
1676+ > pursuant to the EUPL, the Compatible License rather than the EUPL is
1677+ > the applicable license for purposes of these FOSS License Exception
1678+ > Terms and Conditions.
1679+ .
1680+ The above text is subject to this copyright notice:
1681+ © 2010, Oracle and/or its affiliates.
1682+
1683+Files: *
1684+Copyright:
1685+ 2000, 2012, Oracle and/or its affiliates. All rights reserved.
1686+ 2008-2013 Monty Program Ab
1687+License: GPL-2
1688+
1689+Files: debian/*
1690+Copyright:
1691+ 1997-1998, Scott Hanson <shanson@debian.org>
1692+ 1997, Christian Schwarz <schwarz@debian.org>
1693+ 1999-2007, 2009, Christian Hammers <ch@debian.org>
1694+ 2000-2001, Christopher C. Chimelis <chris@debian.org>
1695+ 2001, Matthew Wilcox <willy@debian.org>
1696+ 2005-2007, sean finney <seanius@debian.org>
1697+ 2006, Adam Conrad <adconrad@0c3.net>
1698+ 2007-2011, Norbert Tretkowski <norbert@tretkowski.de>
1699+ 2007-2008, Monty Taylor <mordred@inaugust.com>
1700+ 2008, Devin Carraway <devin@debian.org>
1701+ 2008, Steffen Joeris <white@debian.org>
1702+ 2010, Xavier Oswald <xoswald@debian.org>
1703+ 2011, Clint Byrum <clint@ubuntu.com>
1704+ 2011, Ondřej Surý <ondrej@debian.org>
1705+ 2012, Nicholas Bamber <nicholas@periapt.co.uk>
1706+ 2013, Kristian Nielsen <knielsen@askmonty.org>
1707+ 2013, Otto Kekäläinen <otto@seravo.fi>
1708+License: GPL-2+
1709+
1710+Files: debian/*
1711+Copyright:
1712+ 2009, Canonical Ltd
1713+License: GPL-2+
1714+
1715+Files: debian/additions/mysqlreport*
1716+Copyright: 2006-2008, Daniel Nichter <public@codenode.com>
1717+License: GPL-2+
1718+
1719+Files:
1720+ dbug/example1.c
1721+ dbug/example2.c
1722+ dbug/example3.c
1723+ dbug/factorial.c
1724+ dbug/main.c
1725+ dbug/my_main.c
1726+ dbug/remove_function_from_trace.pl
1727+ dbug/tests.c
1728+ dbug/tests-t.pl
1729+ include/probes_mysql_nodtrace.h
1730+ libmysqld/resource.h
1731+ mysql-test/*
1732+ regex/*
1733+ storage/ndb/bin/*
1734+ storage/ndb/demos/*
1735+ support-files/binary-configure.sh
1736+ support-files/my-huge.cnf.sh
1737+ support-files/my-innodb-heavy-4G.cnf.sh
1738+ support-files/my-large.cnf.sh
1739+ support-files/my-medium.cnf.sh
1740+ support-files/my-small.cnf.sh
1741+ support-files/mysqld_multi.server.sh
1742+ support-files/mysql-log-rotate.sh
1743+ support-files/mysql.server-sys5.sh
1744+ Docs/*
1745+Copyright: UNKNOWN
1746+Comment: These files fall under the blanket license specified in the file
1747+ COPYING and README
1748+License: GPL-2
1749+ GPLv2 Disclaimer
1750+ For the avoidance of doubt, except that if any license choice
1751+ other than GPL or LGPL is available it will apply instead,
1752+ Oracle elects to use only the General Public License version 2
1753+ (GPLv2) at this time for any software where a choice of GPL
1754+ license versions is made available with the language indicating
1755+ that GPLv2 or any later version may be used, or where a choice
1756+ of which version of the GPL is applied is otherwise unspecified.
1757+
1758+Files: BUILD/*
1759+ client/*
1760+ client/echo.c
1761+ client/get_password.c
1762+ cmake/*
1763+ dbug/dbug_add_tags.pl
1764+ extra/*
1765+ include/*
1766+ libmysql/*
1767+ libmysqld/*
1768+ libservices/*
1769+ mysql-test/include/have_perfschema.inc
1770+ mysql-test/lib/mtr_cases.pm
1771+ mysql-test/lib/mtr_gcov.pl
1772+ mysql-test/lib/mtr_gprof.pl
1773+ mysql-test/lib/mtr_io.pl
1774+ mysql-test/lib/mtr_match.pm
1775+ mysql-test/lib/mtr_process.pl
1776+ mysql-test/lib/mtr_report.pm
1777+ mysql-test/lib/mtr_results.pm
1778+ mysql-test/lib/mtr_stress.pl
1779+ mysql-test/lib/mtr_unique.pm
1780+ mysql-test/lib/My/Config.pm
1781+ mysql-test/lib/My/CoreDump.pm
1782+ mysql-test/lib/My/File/*
1783+ mysql-test/lib/My/Find.pm
1784+ mysql-test/lib/My/Handles.pm
1785+ mysql-test/lib/My/Options.pm
1786+ mysql-test/lib/My/Platform.pm
1787+ mysql-test/lib/My/SafeProcess/Base.pm
1788+ mysql-test/lib/My/SafeProcess/safe_kill_win.cc
1789+ mysql-test/lib/My/SafeProcess/safe_process.cc
1790+ mysql-test/lib/My/SafeProcess/safe_process.pl
1791+ mysql-test/lib/My/SafeProcess/safe_process_win.cc
1792+ mysql-test/lib/My/SysInfo.pm
1793+ mysql-test/lib/My/Test.pm
1794+ mysql-test/lib/t/*
1795+ mysql-test/lib/v1/mtr_cases.pl
1796+ mysql-test/lib/v1/mtr_gcov.pl
1797+ mysql-test/lib/v1/mtr_gprof.pl
1798+ mysql-test/lib/v1/mtr_im.pl
1799+ mysql-test/lib/v1/mtr_io.pl
1800+ mysql-test/lib/v1/mtr_match.pl
1801+ mysql-test/lib/v1/mtr_process.pl
1802+ mysql-test/lib/v1/mtr_report.pl
1803+ mysql-test/lib/v1/mtr_stress.pl
1804+ mysql-test/lib/v1/mtr_timer.pl
1805+ mysql-test/lib/v1/mtr_unique.pl
1806+ mysql-test/lib/v1/My/*
1807+ mysql-test/lib/v1/mysql-test-run.pl
1808+ mysql-test/lib/v1/mtr_misc.pl
1809+ mysql-test/mysql-stress-test.pl
1810+ mysql-test/mysql-test-run.pl
1811+ mysql-test/std_data/*
1812+ mysql-test/suite/perfschema/include/*
1813+ mysql-test/suite/perfschema_stress/include/*
1814+ mysys/*
1815+ packaging/WiX/ca/*
1816+ plugin/audit_null/*
1817+ plugin/auth/*
1818+ plugin/daemon_example/*
1819+ plugin/fulltext/*
1820+ scripts/*
1821+ sql/*
1822+ sql-common/*
1823+ storage/*
1824+ strings/*
1825+ support-files/config.huge.ini.sh
1826+ support-files/config.medium.ini.sh
1827+ support-files/config.small.ini.sh
1828+ support-files/MacOSX/*
1829+ support-files/RHEL4-SElinux/mysql.*
1830+ support-files/MySQL-shared-compat.spec.sh
1831+ support-files/compiler_warnings.supp
1832+ support-files/mysql.*
1833+ support-files/dtrace/*
1834+ support-files/ndb-config-2-node.ini.sh
1835+ tests/*
1836+ unittest/*
1837+ vio/*
1838+Copyright: 1979-2008 MySQL AB
1839+ 1995-2010 Sun Microsystems Inc
1840+ 1994-1997,2000-2012 Oracle and/or its affiliates
1841+ 2010 Kristian Nielsen and Monty Program AB
1842+ 2008-2011 Monty Program AB
1843+License: GPL-2
1844+
1845+Files: extra/*/INSTALL
1846+Copyright: 1994-1996, 1999-2002, 2004-2006, Free Software Foundation, Inc.
1847+License: unlimited-free-doc
1848+ This file is free documentation; the Free Software Foundation gives
1849+ unlimited permission to copy, distribute and modify it.
1850+
1851+Files: extra/yassl*COPYING
1852+Copyright: 1989, 1991 Free Software Foundation, Inc
1853+License: GPL-verbatim
1854+ Everyone is permitted to copy and distribute verbatim copies
1855+ of this license document, but changing it is not allowed.
1856+
1857+Files: mysql-test/lib/mtr_misc.pl
1858+ mysql-test/lib/My/SafeProcess.pm
1859+Copyright: 2004, 2007, 2011, Oracle and/or its affiliates
1860+License: LGPL
1861+
1862+Files:
1863+ storage/myisam/ft_update.c
1864+ storage/myisam/fulltext.h
1865+ storage/myisam/ft_boolean_search.c
1866+ storage/myisam/ft_stopwords.c
1867+ storage/myisam/ft_nlq_search.c
1868+ storage/myisam/ft_parser.c
1869+ storage/myisam/myisam_ftdump.c
1870+Copyright:
1871+ 2000, 2001, 2010, 2011, Oracle and/or its affiliates
1872+ Sergei A. Golubchik
1873+License: GPL-2
1874+
1875+Files: storage/innobase/*
1876+Copyright:
1877+ 1994-2011 Sergei A. Golubchik
1878+ 1996 Michael Widenius
1879+ 1994-2012 Oracle and/or its affiliates
1880+ 2008-2009 Google Inc
1881+ 2009, Sun Microsystems, Inc
1882+ 2009 Percona Inc
1883+License: GPL-2
1884+
1885+Files: storage/maria/*
1886+Copyright:
1887+ 2008-2009 Sun Microsystems, Inc
1888+ 2006 MySQL Finland AB
1889+ 2006 TCX DataKonsult AB
1890+ 2003-2008 MySQL AB
1891+ 2007-2008 Michael Widenius
1892+ 2007 Guilhem Bichot
1893+ 2006 Sergei A. Golubchik
1894+ 2007 Sanja Belkin
1895+ 2006 Ramil Kalimullin
1896+ 2006 Alexey Botchkov
1897+ 2008-2011 Monty Program Ab
1898+License: GPL-2
1899+
1900+Files: storage/pbxt/*
1901+Copyright: 2005-2007 PrimeBase Technologies GmbH
1902+License: GPL-2
1903+
1904+Files: storage/xtradb/*
1905+Copyright:
1906+ 1994-2013 Oracle and/or its affiliates
1907+ 1994-2013 Innobase Oy
1908+ 2008 Google Inc
1909+License: GPL-2
1910+
1911+Files: storage/innobase/COPYING.Google
1912+Copyright: 2008 Google Inc
1913+License: BSD-3-clause
1914+
1915+Files: storage/innobase/COPYING.Percona
1916+Copyright: 2008-2009 Percona Inc
1917+License: BSD-3-clause
1918+
1919+Files: cmd-line-utils/readline/*
1920+Copyright: 1987-2006 Free Software Foundation Inc
1921+License: GPL-2+
1922+
1923+Files: cmd-line-utils/libedit/*
1924+Copyright: 1989-1990,1992-1993 The Regents of the University of California.
1925+License: BSD-3-clause
1926+
1927+Files: cmd-line-utils/libedit/chartype.* cmd-line-utils/libedit/eln.c
1928+Copyright: 2009, The NetBSD Foundation, Inc.
1929+License: BSD-4-clause
1930+
1931+Files: cmd-line-utils/libedit/np/wcsdup.c
1932+Copyright: 2006 Aleksey Cheusov
1933 License:
1934-> This software is dual licensed, either GPL version 2 or Artistic License.
1935->
1936-> This package is free software; you can redistribute it and/or modify
1937-> it under the terms of the GNU General Public License as published by
1938-> the Free Software Foundation; either version 2 of the License, or
1939-> (at your option) any later version.
1940->
1941-> This package is distributed in the hope that it will be useful,
1942-> but WITHOUT ANY WARRANTY; without even the implied warranty of
1943-> MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
1944-> GNU General Public License for more details.
1945->
1946-> You should have received a copy of the GNU General Public License
1947-> along with this package; if not, write to the Free Software
1948-> Foundation, Inc., 51 Franklin St, Fifth Floor, Boston, MA 02110-1301 USA
1949-
1950-On Debian systems, the complete text of the GNU General Public License and the
1951-Artistic License can be found in `/usr/share/common-licenses/'.
1952+ This material is provided "as is", with absolutely no warranty expressed
1953+ or implied. Any use is at your own risk.
1954+ .
1955+ Permission to use or copy this software for any purpose is hereby granted
1956+ without fee. Permission to modify the code and to distribute modified
1957+ code is also granted without any restrictions.
1958+
1959+Files: cmd-line-utils/libedit/filecomplete.c
1960+ cmd-line-utils/libedit/filecomplete.h
1961+ cmd-line-utils/libedit/np/fgetln.c
1962+ cmd-line-utils/libedit/read.h
1963+ cmd-line-utils/libedit/readline.c
1964+ cmd-line-utils/libedit/readline/*
1965+Copyright: 1997-2001 The NetBSD Foundation Inc
1966+License: BSD-2-clause
1967+ This code is derived from software contributed to The NetBSD Foundation
1968+ by Jaromir Dolecek.
1969+ .
1970+ Redistribution and use in source and binary forms, with or without
1971+ modification, are permitted provided that the following conditions
1972+ are met:
1973+ 1. Redistributions of source code must retain the above copyright
1974+ notice, this list of conditions and the following disclaimer.
1975+ 2. Redistributions in binary form must reproduce the above copyright
1976+ notice, this list of conditions and the following disclaimer in the
1977+ documentation and/or other materials provided with the distribution.
1978+ .
1979+ THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
1980+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
1981+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
1982+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
1983+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
1984+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
1985+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
1986+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
1987+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
1988+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
1989+ POSSIBILITY OF SUCH DAMAGE.
1990+
1991+Files: sql-bench/*.sh
1992+Copyright: 2009 Sun Microsystems, Inc
1993+ 2000-2007 MySQL AB
1994+License: LGPL
1995+
1996+Files: client/completion_hash.h
1997+ scripts/mysqlaccess.sh
1998+ scripts/mysql_fix_extensions.sh
1999+ scripts/mysql_setpermission.sh
2000+ storage/myisam/ftbench/ft-test-run.sh
2001+ storage/myisam/mi_test_all.sh
2002+ storage/ndb/test/run-test/atrt-*
2003+ storage/ndb/test/run-test/make-config.sh
2004+ storage/ndb/test/run-test/make-html-reports.sh
2005+ storage/ndb/test/run-test/make-index.sh
2006+ storage/ndb/test/run-test/ndb-autotest.sh
2007+ strings/strxmov.c
2008+ strings/strxnmov.c
2009+ strings/ctype-uca.c
2010+ strings/ctype-ucs2.c
2011+ strings/strend.c
2012+ strings/ctype-utf8.c
2013+ support-files/MacOSX/postflight.sh
2014+ support-files/MacOSX/preflight.sh
2015+ mysql-test/lib/My/ConfigFactory.pm
2016+ mysql-test/mysql-stress-test.pl
2017+ BUILD/*.sh
2018+ BUILD/compile-amd64-debug-max-no-ndb
2019+ BUILD/compile-solaris-amd64
2020+ BUILD/compile-amd64-valgrind-max
2021+ BUILD/compile-pentium64-max
2022+ BUILD/compile-pentium64
2023+ BUILD/compile-pentium-valgrind-max-no-ndb
2024+ scripts/mysqlhotcopy.sh
2025+ scripts/mysqld_multi.sh
2026+ mysql-test/mysql-stress-test.pl
2027+ mysql-test/std_data/checkDBI_DBD-mysql.pl
2028+Copyright: 2000-2012 Oracle and/or its affiliates
2029+ 2000-2007 MySQL AB
2030+ 2009 Sun Microsystems Inc
2031+License: LGPL
2032+
2033+Files: storage/archive/azio.c
2034+ storage/archive/azlib.h
2035+ zlib/*
2036+Copyright:
2037+ 1995-2005 Jean-loup Gailly
2038+ 1995-2005 Mark Adler
2039+License: zlib/libpng
2040+ This software is provided 'as-is', without any express or implied
2041+ warranty. In no event will the authors be held liable for any damages
2042+ arising from the use of this software.
2043+ .
2044+ Permission is granted to anyone to use this software for any purpose,
2045+ including commercial applications, and to alter it and redistribute it
2046+ freely, subject to the following restrictions:
2047+ .
2048+ 1. The origin of this software must not be misrepresented; you must not
2049+ claim that you wrote the original software. If you use this software
2050+ in a product, an acknowledgment in the product documentation would be
2051+ appreciated but is not required.
2052+ 2. Altered source versions must be plainly marked as such, and must not be
2053+ misrepresented as being the original software.
2054+ 3. This notice may not be removed or altered from any source distribution.
2055+
2056+Files: sql-bench/innotest1.sh
2057+ sql-bench/innotest1a.sh
2058+ sql-bench/innotest1b.sh
2059+ sql-bench/innotest2.sh
2060+ sql-bench/innotest2a.sh
2061+ sql-bench/innotest2b.sh
2062+Copyright: 2000-2002 Innobase Oy & MySQL AB
2063+Comment: These files fall under the blanket license specified in the file COPYING
2064+License: GPL-2
2065+
2066+Files: sql-bench/graph-compare-results.sh
2067+ cmd-line-utils/libedit/config.h
2068+ cmd-line-utils/libedit/historyn.c
2069+ cmd-line-utils/libedit/tokenizern.c
2070+Copyright: UNKNOWN
2071+Comment: These files fall under the blanket license specified in the file
2072+ COPYING and README
2073+License: GPL-2
2074+
2075+Files: storage/myisam/rt_index.h
2076+ storage/myisam/rt_key.*
2077+ storage/myisam/rt_mbr.*
2078+ storage/myisam/sp_defs.h
2079+Copyright:
2080+ 2000,2002-2006 MySQL AB
2081+ Ramil Kalimullin
2082+License: GPL-2
2083+
2084+Files: strings/ctype-bin.c
2085+ strings/ctype-eucjpms.c
2086+ strings/ctype-ujis.c
2087+Copyright:
2088+ 2000,2002,2005-2011 Oracle and/or its affiliates
2089+ tommy@valley.ne.jp
2090+License: LGPL
2091+ On Debian and systems the full text of the GNU Library General Public
2092+ License version 2 can be found in the file
2093+ `/usr/share/common-licenses/LGPL-2`
2094+
2095+Files: scripts/mysqld_safe.sh
2096+ support-files/mysql-multi.server.sh
2097+ support-files/mysql.server.sh
2098+Copyright: 1996 Abandoned TCX DataKonsult AB & Monty Program KB & Detron HB
2099+License: public-domain
2100+ This file is public domain and comes with NO WARRANTY of any kind
2101+
2102+Files: sql/sql_yacc.cc
2103+ sql/sql_yacc.h
2104+Copyright: 1984,1989-1990,2000-2006 Free Software Foundation, Inc.
2105+License: GPL-2+
2106+
2107+Files: storage/innobase/include/pars0grm.h
2108+ storage/innobase/pars/pars0grm.c
2109+Copyright: 1995-2009 Innobase Oy.
2110+ 1984,1989-1990,2000-2004 Free Software Foundation Inc.
2111+License: GPL-2
2112+ As a special exception, when this file is copied by Bison into a
2113+ Bison output file, you may use that output file without restriction.
2114+ This special exception was added by the Free Software Foundation
2115+ in version 1.24 of Bison.
2116+ .
2117+ This program is free software; you can redistribute it and/or modify it under
2118+ the terms of the GNU General Public License as published by the Free Software
2119+ Foundation; version 2 of the License.
2120+ .
2121+ This program is distributed in the hope that it will be useful, but WITHOUT
2122+ ANY WARRANTY; without even the implied warranty of MERCHANTABILITY or FITNESS
2123+ FOR A PARTICULAR PURPOSE. See the GNU General Public License for more details.
2124+ .
2125+ You should have received a copy of the GNU General Public License along with
2126+ this program; if not, write to the Free Software Foundation, Inc.,
2127+ 51 Franklin St, Fifth Floor, Boston, MA 02110-1301, USA.
2128+
2129+Files: include/t_ctype.h
2130+ strings/t_ctype.h
2131+Copyright: 2000 MySQL AB
2132+ 1998 Theppitak Karoonboonyanan
2133+ 1998-1999 Pruet Boonma
2134+License: GPL-2
2135+
2136+Files: cmd-line-utils/libedit/np/strlcat.c
2137+ cmd-line-utils/libedit/np/strlcpy.c
2138+Copyright: 1998 Todd C. Miller <Todd.Miller@courtesan.com>
2139+License: ISC
2140+ Permission to use, copy, modify, and distribute this software for any
2141+ purpose with or without fee is hereby granted, provided that the above
2142+ copyright notice and this permission notice appear in all copies.
2143+ .
2144+ THE SOFTWARE IS PROVIDED "AS IS" AND TODD C. MILLER DISCLAIMS ALL
2145+ WARRANTIES WITH REGARD TO THIS SOFTWARE INCLUDING ALL IMPLIED WARRANTIES
2146+ OF MERCHANTABILITY AND FITNESS. IN NO EVENT SHALL TODD C. MILLER BE LIABLE
2147+ FOR ANY SPECIAL, DIRECT, INDIRECT, OR CONSEQUENTIAL DAMAGES OR ANY DAMAGES
2148+ WHATSOEVER RESULTING FROM LOSS OF USE, DATA OR PROFITS, WHETHER IN AN ACTION
2149+ OF CONTRACT, NEGLIGENCE OR OTHER TORTIOUS ACTION, ARISING OUT OF OR IN
2150+ CONNECTION WITH THE USE OR PERFORMANCE OF THIS SOFTWARE.
2151+
2152+Files: sql/nt_servc.cc
2153+ sql/nt_servc.h
2154+Copyright: 1998 Abandoned Irena Pancirov - Irnet Snc
2155+License: public-domain
2156+ This file is public domain and comes with NO WARRANTY of any kind
2157+
2158+Files: dbug/dbug.c
2159+ dbug/dbug_long.h
2160+Copyright: 1987 Abandoned Fred Fish
2161+License: public-domain
2162+ N O T I C E
2163+ .
2164+ Copyright Abandoned, 1987, Fred Fish
2165+ .
2166+ .
2167+ This previously copyrighted work has been placed into the public
2168+ domain by the author and may be freely used for any purpose
2169+ private or commercial.
2170+ .
2171+ Because of the number of inquiries I was receiving about the use
2172+ of this product in commercially developed works I have decided to
2173+ simply make it public domain to further its unrestricted use. I
2174+ specifically would be most happy to see this material become a
2175+ part of the standard Unix distributions by AT&T and the Berkeley
2176+ Computer Science Research Group, and a standard part of the GNU
2177+ system from the Free Software Foundation.
2178+ .
2179+ I would appreciate it, as a courtesy, if this notice is left in
2180+ all copies and derivative works. Thank you.
2181+ .
2182+ The author makes no warranty of any kind with respect to this
2183+ product and explicitly disclaims any implied warranties of mer-
2184+ chantability or fitness for any particular purpose.
2185+
2186+Files: cmd-line-utils/libedit/np/vis.c
2187+Copyright: 1989-1993 The Regents of the University of California.
2188+ 1999-2005 The NetBSD Foundation Inc
2189+License: BSD-3-clause
2190+ Redistribution and use in source and binary forms, with or without
2191+ modification, are permitted provided that the following conditions
2192+ are met:
2193+ 1. Redistributions of source code must retain the above copyright
2194+ notice, this list of conditions and the following disclaimer.
2195+ 2. Redistributions in binary form must reproduce the above copyright
2196+ notice, this list of conditions and the following disclaimer in the
2197+ documentation and/or other materials provided with the distribution.
2198+ 3. Neither the name of the University nor the names of its contributors
2199+ may be used to endorse or promote products derived from this software
2200+ without specific prior written permission.
2201+ .
2202+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2203+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2204+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2205+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2206+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2207+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2208+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2209+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2210+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2211+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2212+ SUCH DAMAGE.
2213+
2214+Files: scripts/dheadgen.pl
2215+Copyright: 2008-2009 Sun Microsystems Inc
2216+License: BSD-3-clause
2217+
2218+Files: storage/ndb/test/src/getarg.c
2219+Copyright: 1997-2000 - Kungliga Tekniska Högskolan
2220+License: BSD-3-clause
2221+
2222+Files: storage/ndb/test/include/getarg.h
2223+Copyright: 2003 MySQL AB
2224+ 1997-1999 Kungliga Tekniska Högskolan
2225+License: BSD-3-clause or GPL-2
2226+
2227+Files: plugin/handler_socket/*
2228+Copyright:
2229+ 2010 DeNA Co.,Ltd.
2230+License: BSD-3-clause
2231+
2232+Files: plugin/semisync/*
2233+Copyright:
2234+ 2007 Google Inc
2235+ 1995-2008 MySQL AB
2236+ 2008-2010 Sun Microsystems Inc
2237+License: GPL-2
2238+
2239+Files: */CMakeLists.txt
2240+Copyright:
2241+ 2006-2011, Oracle and/or its affiliates
2242+ 2009, 2010 Sun Microsystems, Inc
2243+ 2006 MySQL AB
2244+License: GPL-2
2245+
2246+Files: storage/ndb/test/ndbnet/*
2247+Copyright: 2004 MySQL AB
2248+License: LGPL
2249+
2250+Files: strings/ctype-win1250ch.c
2251+Copyright: 2002-2010 Oracle and/or its affiliates.
2252+ 2001 Jan Pazdziora
2253+License: GPL-2
2254+
2255+Files: strings/ctype-tis620.c
2256+Copyright: 1998 Theppitak Karoonboonyanan <thep@links.nectec.or.th>
2257+ 1989-1991 Samphan Raruenrom <samphan@thai.com>
2258+ 2000-2010 Oracle and/or its affiliates.
2259+ 2003 Sathit Jittanupat
2260+ 2001 Korakot Chaovavanich <korakot@iname.com> and
2261+ 1998-1999 Pruet Boonma <pruet@eng.cmu.ac.th>
2262+License: GPL-2
2263+
2264+Files: storage/innobase/handler/ha_innodb.h
2265+Copyright: 2000-2010 MySQL AB & Innobase Oy.
2266+License: GPL-2
2267+
2268+Files: strings/dtoa.c
2269+Copyright: 2007-2012 Oracle and/or its affiliates.
2270+ 1991,2000-2001 Lucent Technologies
2271+License: LGPL
2272+
2273+Files: scripts/mysqldumpslow.sh
2274+Copyright:
2275+ 2000-2002,2005-2008 MySQL AB
2276+ 2008-2009 Sun Microsystems Inc
2277+License: LGPL
2278+
2279+Files: libmysqld/lib_sql.cc
2280+Copyright: 2000 SWsoft company
2281+License: SWsoft
2282+ This material is provided "as is", with absolutely no warranty expressed
2283+ or implied. Any use is at your own risk.
2284+ .
2285+ Permission to use or copy this software for any purpose is hereby granted
2286+ without fee, provided the above notices are retained on all copies.
2287+ Permission to modify the code and to distribute modified code is granted,
2288+ provided the above notices are retained, and a notice that the code was
2289+ modified is included with the above copyright notice.
2290+
2291+Files: tests/mail_to_db.pl
2292+Copyright: 1998 Abandoned TCX DataKonsult AB & Monty Program KB & Detron HB
2293+License: public-domain
2294+ This file is public domain and comes with NO WARRANTY of any kind
2295+
2296+Files: dbug/dbug_analyze.c
2297+Copyright: 1987 June Binayak Banerjee
2298+License: public-domain
2299+ This program may be freely distributed under the same terms and
2300+ conditions as Fred Fish's Dbug package.
2301+
2302+Files: mysys/sha1.c
2303+Copyright:
2304+ 2002, 2004, 2006 MySQL AB
2305+ 2001 The Internet Society
2306+License: GPL-2
2307+
2308+Files: regex/regexp.c
2309+Copyright: 1986 University of Toronto
2310+License: BSD-like
2311+ Permission is granted to anyone to use this software for any
2312+ purpose on any computer system, and to redistribute it freely,
2313+ subject to the following restrictions:
2314+ .
2315+ 1. The author is not responsible for the consequences of use of
2316+ this software, no matter how awful, even if they arise
2317+ from defects in it.
2318+ .
2319+ 2. The origin of this software must not be misrepresented, either
2320+ by explicit claim or by omission.
2321+ .
2322+ 3. Altered versions must be plainly marked as such, and must not
2323+ be misrepresented as being the original software.
2324+
2325+Files: scripts/mysqlaccess.conf
2326+Copyright: 1997, Yves.Carlier@rug.ac.be
2327+License: GPL-2
2328+
2329+Files: debian/additions/innotop/*
2330+Copyright: 2006-2009, Baron Schwartz <baron@xaprb.com>
2331+License: GPL-2 or Artistic
2332+
2333+Files: include/mysql_version.h.in
2334+Copyright: 1996, 1999, 2001 MySQL AB
2335+License: public-domain
2336+
2337+License: GPL-2
2338+ This program is free software; you can redistribute it and/or modify
2339+ it under the terms of the GNU General Public License as published by
2340+ the Free Software Foundation; version 2 of the License.
2341+ .
2342+ This program is distributed in the hope that it will be useful,
2343+ but WITHOUT ANY WARRANTY; without even the implied warranty of
2344+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2345+ GNU General Public License for more details.
2346+ .
2347+ On Debian and systems the full text of the GNU General Public
2348+ License version 2 can be found in the file
2349+ `/usr/share/common-licenses/GPL-2`
2350+ .
2351+ You should have received a copy of the GNU General Public License
2352+ along with this program. If not, see <http://www.gnu.org/licenses/>.
2353+
2354+License: GPL-2+
2355+ This program is free software; you can redistribute it and/or modify
2356+ it under the terms of the GNU General Public License as published by
2357+ the Free Software Foundation; either version 2 of the License, or
2358+ (at your option) any later version.
2359+ .
2360+ This program is distributed in the hope that it will be useful,
2361+ but WITHOUT ANY WARRANTY; without even the implied warranty of
2362+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
2363+ GNU General Public License for more details.
2364+ .
2365+ On Debian and systems the full text of the GNU General Public
2366+ License version 2 can be found in the file
2367+ `/usr/share/common-licenses/GPL-2`
2368+ .
2369+ You should have received a copy of the GNU General Public License
2370+ along with this program. If not, see <http://www.gnu.org/licenses/>.
2371+
2372+License: LGPL
2373+ This library is free software; you can redistribute it and/or
2374+ modify it under the terms of the GNU Library General Public
2375+ License as published by the Free Software Foundation; version 2
2376+ of the License.
2377+ .
2378+ This library is distributed in the hope that it will be useful,
2379+ but WITHOUT ANY WARRANTY; without even the implied warranty of
2380+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the GNU
2381+ Library General Public License for more details.
2382+ .
2383+ You should have received a copy of the GNU Library General Public
2384+ License along with this library; if not, write to the Free
2385+ Software Foundation, Inc., 51 Franklin St, Fifth Floor, Boston,
2386+ MA 02110-1301, USA
2387+ .
2388+ On Debian and systems the full text of the GNU Library General Public
2389+ License version 2 can be found in the file
2390+ `/usr/share/common-licenses/LGPL-2`
2391+
2392+License: BSD-3-clause
2393+ Redistribution and use in source and binary forms, with or without
2394+ modification, are permitted provided that the following conditions
2395+ are met:
2396+ 1. Redistributions of source code must retain the above copyright
2397+ notice, this list of conditions and the following disclaimer.
2398+ 2. Redistributions in binary form must reproduce the above copyright
2399+ notice, this list of conditions and the following disclaimer in the
2400+ documentation and/or other materials provided with the distribution.
2401+ 3. Neither the name of the University nor the names of its contributors
2402+ may be used to endorse or promote products derived from this software
2403+ without specific prior written permission.
2404+ .
2405+ THIS SOFTWARE IS PROVIDED BY THE REGENTS AND CONTRIBUTORS ``AS IS'' AND
2406+ ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
2407+ IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE
2408+ ARE DISCLAIMED. IN NO EVENT SHALL THE REGENTS OR CONTRIBUTORS BE LIABLE
2409+ FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL
2410+ DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS
2411+ OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
2412+ HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT
2413+ LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY
2414+ OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
2415+ SUCH DAMAGE.
2416+
2417+License: BSD-4-clause
2418+ Redistribution and use in source and binary forms, with or without
2419+ modification, are permitted provided that the following conditions
2420+ are met:
2421+ 1. Redistributions of source code must retain the above copyright
2422+ notice, this list of conditions and the following disclaimer.
2423+ 2. Redistributions in binary form must reproduce the above copyright
2424+ notice, this list of conditions and the following disclaimer in the
2425+ documentation and/or other materials provided with the distribution.
2426+ 3. All advertising materials mentioning features or use of this software
2427+ must display the following acknowledgement:
2428+ This product includes software developed by the NetBSD
2429+ Foundation, Inc. and its contributors.
2430+ 4. Neither the name of The NetBSD Foundation nor the names of its
2431+ contributors may be used to endorse or promote products derived
2432+ from this software without specific prior written permission.
2433+ .
2434+ THIS SOFTWARE IS PROVIDED BY THE NETBSD FOUNDATION, INC. AND CONTRIBUTORS
2435+ ``AS IS'' AND ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED
2436+ TO, THE IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
2437+ PURPOSE ARE DISCLAIMED. IN NO EVENT SHALL THE FOUNDATION OR CONTRIBUTORS
2438+ BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR
2439+ CONSEQUENTIAL DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF
2440+ SUBSTITUTE GOODS OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS
2441+ INTERRUPTION) HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN
2442+ CONTRACT, STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
2443+ ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE
2444+ POSSIBILITY OF SUCH DAMAGE.
2445+
2446+License: Artistic
2447+ The "Artistic License"
2448+ .
2449+ Preamble
2450+ .
2451+ The intent of this document is to state the conditions under which a
2452+ Package may be copied, such that the Copyright Holder maintains some
2453+ semblance of artistic control over the development of the package,
2454+ while giving the users of the package the right to use and distribute
2455+ the Package in a more-or-less customary fashion, plus the right to make
2456+ reasonable modifications.
2457+ .
2458+ Definitions:
2459+ .
2460+ "Package" refers to the collection of files distributed by the
2461+ Copyright Holder, and derivatives of that collection of files
2462+ created through textual modification.
2463+ .
2464+ "Standard Version" refers to such a Package if it has not been
2465+ modified, or has been modified in accordance with the wishes
2466+ of the Copyright Holder as specified below.
2467+ .
2468+ "Copyright Holder" is whoever is named in the copyright or
2469+ copyrights for the package.
2470+ .
2471+ "You" is you, if you're thinking about copying or distributing
2472+ this Package.
2473+ .
2474+ "Reasonable copying fee" is whatever you can justify on the
2475+ basis of media cost, duplication charges, time of people involved,
2476+ and so on. (You will not be required to justify it to the
2477+ Copyright Holder, but only to the computing community at large
2478+ as a market that must bear the fee.)
2479+ .
2480+ "Freely Available" means that no fee is charged for the item
2481+ itself, though there may be fees involved in handling the item.
2482+ It also means that recipients of the item may redistribute it
2483+ under the same conditions they received it.
2484+ .
2485+ 1. You may make and give away verbatim copies of the source form of the
2486+ Standard Version of this Package without restriction, provided that you
2487+ duplicate all of the original copyright notices and associated disclaimers.
2488+ .
2489+ 2. You may apply bug fixes, portability fixes and other modifications
2490+ derived from the Public Domain or from the Copyright Holder. A Package
2491+ modified in such a way shall still be considered the Standard Version.
2492+ .
2493+ 3. You may otherwise modify your copy of this Package in any way, provided
2494+ that you insert a prominent notice in each changed file stating how and
2495+ when you changed that file, and provided that you do at least ONE of the
2496+ following:
2497+ .
2498+ a) place your modifications in the Public Domain or otherwise make them
2499+ Freely Available, such as by posting said modifications to Usenet or
2500+ an equivalent medium, or placing the modifications on a major archive
2501+ site such as uunet.uu.net, or by allowing the Copyright Holder to include
2502+ your modifications in the Standard Version of the Package.
2503+ .
2504+ b) use the modified Package only within your corporation or organization.
2505+ .
2506+ c) rename any non-standard executables so the names do not conflict
2507+ with standard executables, which must also be provided, and provide
2508+ a separate manual page for each non-standard executable that clearly
2509+ documents how it differs from the Standard Version.
2510+ .
2511+ d) make other distribution arrangements with the Copyright Holder.
2512+ .
2513+ 4. You may distribute the programs of this Package in object code or
2514+ executable form, provided that you do at least ONE of the following:
2515+ .
2516+ a) distribute a Standard Version of the executables and library files,
2517+ together with instructions (in the manual page or equivalent) on where
2518+ to get the Standard Version.
2519+ .
2520+ b) accompany the distribution with the machine-readable source of
2521+ the Package with your modifications.
2522+ .
2523+ c) give non-standard executables non-standard names, and clearly
2524+ document the differences in manual pages (or equivalent), together
2525+ with instructions on where to get the Standard Version.
2526+ .
2527+ d) make other distribution arrangements with the Copyright Holder.
2528+ .
2529+ 5. You may charge a reasonable copying fee for any distribution of this
2530+ Package. You may charge any fee you choose for support of this
2531+ Package. You may not charge a fee for this Package itself. However,
2532+ you may distribute this Package in aggregate with other (possibly
2533+ commercial) programs as part of a larger (possibly commercial) software
2534+ distribution provided that you do not advertise this Package as a
2535+ product of your own. You may embed this Package's interpreter within
2536+ an executable of yours (by linking); this shall be construed as a mere
2537+ form of aggregation, provided that the complete Standard Version of the
2538+ interpreter is so embedded.
2539+ .
2540+ 6. The scripts and library files supplied as input to or produced as
2541+ output from the programs of this Package do not automatically fall
2542+ under the copyright of this Package, but belong to whoever generated
2543+ them, and may be sold commercially, and may be aggregated with this
2544+ Package. If such scripts or library files are aggregated with this
2545+ Package via the so-called "undump" or "unexec" methods of producing a
2546+ binary executable image, then distribution of such an image shall
2547+ neither be construed as a distribution of this Package nor shall it
2548+ fall under the restrictions of Paragraphs 3 and 4, provided that you do
2549+ not represent such an executable image as a Standard Version of this
2550+ Package.
2551+ .
2552+ 7. C subroutines (or comparably compiled subroutines in other
2553+ languages) supplied by you and linked into this Package in order to
2554+ emulate subroutines and variables of the language defined by this
2555+ Package shall not be considered part of this Package, but are the
2556+ equivalent of input as in Paragraph 6, provided these subroutines do
2557+ not change the language in any way that would cause it to fail the
2558+ regression tests for the language.
2559+ .
2560+ 8. Aggregation of this Package with a commercial distribution is always
2561+ permitted provided that the use of this Package is embedded; that is,
2562+ when no overt attempt is made to make this Package's interfaces visible
2563+ to the end user of the commercial distribution. Such use shall not be
2564+ construed as a distribution of this Package.
2565+ .
2566+ 9. The name of the Copyright Holder may not be used to endorse or promote
2567+ products derived from this software without specific prior written permission.
2568+ .
2569+ 10. THIS PACKAGE IS PROVIDED "AS IS" AND WITHOUT ANY EXPRESS OR
2570+ IMPLIED WARRANTIES, INCLUDING, WITHOUT LIMITATION, THE IMPLIED
2571+ WARRANTIES OF MERCHANTIBILITY AND FITNESS FOR A PARTICULAR PURPOSE.
2572+ .
2573+ The End
2574+
2575+
2576+License: public-domain
2577+ The work is public domain (no license).
2578
2579=== removed file 'debian/dist/Debian/mariadb-server-5.5.README.Debian'
2580--- debian/dist/Debian/mariadb-server-5.5.README.Debian 2012-01-23 11:20:16 +0000
2581+++ debian/dist/Debian/mariadb-server-5.5.README.Debian 1970-01-01 00:00:00 +0000
2582@@ -1,109 +0,0 @@
2583-* MYSQL WON'T START OR STOP?:
2584-=============================
2585-You may never ever delete the special mysql user "debian-sys-maint". This
2586-user together with the credentials in /etc/mysql/debian.cnf are used by the
2587-init scripts to stop the server as they would require knowledge of the mysql
2588-root users password else.
2589-So in most of the times you can fix the situation by making sure that the
2590-debian.cnf file contains the right password, e.g. by setting a new one
2591-(remember to do a "flush privileges" then).
2592-
2593-* WHAT TO DO AFTER UPGRADES:
2594-============================
2595-The privilege tables are automatically updated so all there is left is read
2596-the changelogs on dev.mysql.com to see if any changes affect custom apps.
2597-
2598-* WHAT TO DO AFTER INSTALLATION:
2599-================================
2600-The MySQL manual describes certain steps to do at this stage in a separate
2601-chapter. They are not necessary as the Debian packages does them
2602-automatically.
2603-
2604-The only thing that is left over for the admin is
2605- - setting the passwords
2606- - creating new users and databases
2607- - read the rest of this text
2608-
2609-* DOWNGRADING TO 4.0 or 4.1:
2610-============================
2611-Unsupported. Period.
2612-But if you do and get problems or make interesting experiences, mail me, it
2613-might help others.
2614-Ok, if you really want, I would recommend to "mysqldump --opt" all tables,
2615-then purge 4.1, delete /var/lib/mysql, install 4.0 and insert the dumps. Be
2616-carefully, though, with the "mysql" table, you might not simply overwrite that
2617-one as the password for the mysql "debian-sys-maint" user is stored in
2618-/etc/mysql/debian.cnf and needed by /etc/init.d/ to start mysql and check if
2619-it's alive.
2620-
2621-* SOME APPLICATION CAN NO LONGER CONNECT:
2622-=========================================
2623-This application is probably linked against libmysqlclient12 or below and
2624-somebody has created a mysql user with new-style passwords.
2625-The old_passwords=1 option in /etc/mysql/my.cnf might help. If not the
2626-application that inserted the user has to be changed or the application that
2627-tries to connect updated to libmysqlclient14 or -15.
2628-
2629-* NETWORKING:
2630-=============
2631-For security reasons, the Debian package has enabled networking only on the
2632-loop-back device using "bind-address" in /etc/mysql/my.cnf. Check with
2633-"netstat -tlnp" where it is listening. If your connection is aborted
2634-immediately see if "mysqld: all" or similar is in /etc/hosts.allow and read
2635-hosts_access(5).
2636-
2637-* WHERE IS THE DOCUMENTATION?:
2638-==============================
2639-Unfortunately due to licensing restrictions, debian currently not able
2640-to provide the mysql-doc package in any format. For the most up to date
2641-documentation, please go to http://dev.mysql.com/doc.
2642-
2643-* PASSWORDS:
2644-============
2645-It is strongly recommended to set a password for the mysql root user (which
2646- /usr/bin/mysql -u root -D mysql -e "update user set password=password('new-password') where user='root'"
2647- /usr/bin/mysql -u root -e "flush privileges"
2648-If you already had a password set add "-p" before "-u" to the lines above.
2649-
2650-
2651-If you are tired to type the password in every time or want to automate your
2652-scripts you can store it in the file $HOME/.my.cnf. It should be chmod 0600
2653-(-rw------- username username .my.cnf) to ensure that nobody else can read
2654-it. Every other configuration parameter can be stored there, too. You will
2655-find an example below and more information in the MySQL manual in
2656-/usr/share/doc/mariadb-doc or www.mysql.com.
2657-
2658-ATTENTION: It is necessary, that a .my.cnf from root always contains a "user"
2659-line wherever there is a "password" line, else, the Debian maintenance
2660-scripts, that use /etc/mysql/debian.cnf, will use the username
2661-"debian-sys-maint" but the password that is in root's .my.cnf. Also note,
2662-that every change you make in the /root/.my.cnf will affect the mysql cron
2663-script, too.
2664-
2665- # an example of $HOME/.my.cnf
2666- [client]
2667- user = your-mysql-username
2668- password = enter-your-good-new-password-here
2669-
2670-* BIG_ROWS FOR EVEN MORE ROWS IN A TABLE:
2671-=========================================
2672-If you ever run out of rows in a table there is the possibility of building
2673-the package with "-DBIG_ROWS" which, according to a MySQL employee on
2674-packagers@lists.mysql.com should lead to a 64bit row index (I guess > 2^32
2675-rows) but also to an approx. 5% performance loss.
2676-
2677-* BerkeleyDB Storage Engine
2678-===========================
2679-Support for BerkeleyDB has been removed in 5.1, and consequently both the
2680-have-bdb and skip-bdb configuration options will cause the server to fail.
2681-Removing the options from /etc/mysql/my.cnf will fix this problem.
2682-
2683-* FURTHER NOTES ON REPLICATION
2684-===============================
2685-If the MySQL server is acting as a replication slave, you should not
2686-set --tmpdir to point to a directory on a memory-based filesystem or to
2687-a directory that is cleared when the server host restarts. A replication
2688-slave needs some of its temporary files to survive a machine restart so
2689-that it can replicate temporary tables or LOAD DATA INFILE operations. If
2690-files in the temporary file directory are lost when the server restarts,
2691-replication fails.
2692
2693=== removed file 'debian/dist/Debian/mariadb-server-5.5.dirs'
2694--- debian/dist/Debian/mariadb-server-5.5.dirs 2012-01-28 20:22:14 +0000
2695+++ debian/dist/Debian/mariadb-server-5.5.dirs 1970-01-01 00:00:00 +0000
2696@@ -1,10 +0,0 @@
2697-etc/init.d
2698-etc/logrotate.d
2699-etc/mysql/conf.d
2700-usr/bin
2701-usr/sbin
2702-usr/share/man/man8
2703-usr/share/mysql
2704-usr/share/doc/mariadb-server-5.5
2705-var/run/mysqld
2706-var/lib/mysql-upgrade
2707
2708=== removed file 'debian/dist/Debian/mariadb-server-5.5.files.in'
2709--- debian/dist/Debian/mariadb-server-5.5.files.in 2014-02-27 20:41:08 +0000
2710+++ debian/dist/Debian/mariadb-server-5.5.files.in 1970-01-01 00:00:00 +0000
2711@@ -1,75 +0,0 @@
2712-usr/lib/mysql/plugin/ha_innodb.so
2713-usr/lib/mysql/plugin/ha_oqgraph.so
2714-usr/lib/mysql/plugin/sphinx.so
2715-usr/lib/mysql/plugin/auth_socket.so
2716-usr/lib/mysql/plugin/auth_pam.so
2717-usr/lib/mysql/plugin/semisync_master.so
2718-usr/lib/mysql/plugin/semisync_slave.so
2719-usr/lib/mysql/plugin/handlersocket.so
2720-usr/lib/mysql/plugin/sql_errlog.so
2721-usr/lib/mysql/plugin/server_audit.so
2722-usr/lib/libhsclient.so.*
2723-etc/mysql/debian-start
2724-etc/mysql/conf.d/mysqld_safe_syslog.cnf
2725-usr/bin/msql2mysql
2726-usr/bin/my_print_defaults
2727-usr/bin/myisamchk
2728-usr/bin/myisam_ftdump
2729-usr/bin/myisamlog
2730-usr/bin/myisampack
2731-usr/bin/aria_pack
2732-usr/bin/aria_read_log
2733-usr/bin/aria_ftdump
2734-usr/bin/aria_chk
2735-usr/bin/aria_dump_log
2736-usr/bin/mysql_convert_table_format
2737-usr/bin/mysql_install_db
2738-usr/bin/mysql_plugin
2739-usr/bin/mysql_secure_installation
2740-usr/bin/mysql_setpermission
2741-usr/bin/mysql_tzinfo_to_sql
2742-usr/bin/mysql_upgrade
2743-usr/bin/mysql_zap
2744-usr/bin/mysqlbinlog
2745-usr/bin/mysqld_multi
2746-usr/bin/mysqld_safe
2747-usr/bin/mysqlhotcopy
2748-usr/bin/perror
2749-usr/bin/replace
2750-usr/bin/resolve_stack_dump
2751-usr/bin/resolveip
2752-usr/share/doc/mariadb-server-5.5/mysqld.sym.gz
2753-usr/share/doc/mariadb-server-5.5/INFO_SRC
2754-usr/share/doc/mariadb-server-5.5/INFO_BIN
2755-usr/share/lintian/overrides/mariadb-server-5.5
2756-usr/share/man/man1/msql2mysql.1
2757-usr/share/man/man1/myisamchk.1
2758-usr/share/man/man1/myisam_ftdump.1
2759-usr/share/man/man1/myisamlog.1
2760-usr/share/man/man1/myisampack.1
2761-usr/share/man/man1/my_print_defaults.1
2762-usr/share/man/man1/mysqlbinlog.1
2763-usr/share/man/man1/mysql_convert_table_format.1
2764-usr/share/man/man1/mysqld_multi.1
2765-usr/share/man/man1/mysqld_safe.1
2766-usr/share/man/man1/mysqlhotcopy.1
2767-usr/share/man/man1/mysql_install_db.1
2768-usr/share/man/man1/mysql_secure_installation.1
2769-usr/share/man/man1/mysql_setpermission.1
2770-usr/share/man/man1/mysql_upgrade.1
2771-usr/share/man/man1/mysql_zap.1
2772-usr/share/man/man1/perror.1
2773-usr/share/man/man1/replace.1
2774-usr/share/man/man1/resolveip.1
2775-usr/share/man/man1/resolve_stack_dump.1
2776-usr/share/man/man1/innochecksum.1
2777-usr/share/man/man1/mysql_tzinfo_to_sql.1
2778-usr/share/mysql/debian-start.inc.sh
2779-usr/share/mysql/echo_stderr
2780-usr/share/mysql/errmsg-utf8.txt
2781-usr/share/mysql/fill_help_tables.sql
2782-usr/share/mysql/mysql_system_tables_data.sql
2783-usr/share/mysql/mysql_system_tables.sql
2784-usr/share/mysql/mysql_performance_tables.sql
2785-usr/share/mysql/mysql_test_data_timezone.sql
2786-@TOKUDB_DEB_FILES@
2787
2788=== removed file 'debian/dist/Debian/mariadb-server-5.5.postinst'
2789--- debian/dist/Debian/mariadb-server-5.5.postinst 2012-10-02 13:26:22 +0000
2790+++ debian/dist/Debian/mariadb-server-5.5.postinst 1970-01-01 00:00:00 +0000
2791@@ -1,268 +0,0 @@
2792-#!/bin/bash -e
2793-
2794-. /usr/share/debconf/confmodule
2795-
2796-if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
2797-${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 }
2798-
2799-export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin
2800-
2801-# This command can be used as pipe to syslog. With "-s" it also logs to stderr.
2802-ERR_LOGGER="logger -p daemon.err -t mysqld_safe -i"
2803-# This will make an error in a logged command immediately apparent by aborting
2804-# the install, rather than failing silently and leaving a broken install.
2805-set -o pipefail
2806-
2807-invoke() {
2808- if [ -x /usr/sbin/invoke-rc.d ]; then
2809- invoke-rc.d mysql $1
2810- else
2811- /etc/init.d/mysql $1
2812- fi
2813-}
2814-
2815-MYSQL_BOOTSTRAP="/usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables --loose-innodb=OFF --default-storage-engine=myisam"
2816-
2817-test_mysql_access() {
2818- mysql --no-defaults -u root -h localhost </dev/null >/dev/null 2>&1
2819-}
2820-
2821-# call with $1 = "online" to connect to the server, otherwise it bootstraps
2822-set_mysql_rootpw() {
2823- # forget we ever saw the password. don't use reset to keep the seen status
2824- db_set mysql-server/root_password ""
2825-
2826- tfile=`mktemp`
2827- if [ ! -f "$tfile" ]; then
2828- return 1
2829- fi
2830-
2831- # this avoids us having to call "test" or "[" on $rootpw
2832- cat << EOF > $tfile
2833-USE mysql;
2834-UPDATE user SET password=PASSWORD("$rootpw") WHERE user='root';
2835-FLUSH PRIVILEGES;
2836-EOF
2837- if grep -q 'PASSWORD("")' $tfile; then
2838- retval=0
2839- elif [ "$1" = "online" ]; then
2840- mysql --no-defaults -u root -h localhost <$tfile >/dev/null
2841- retval=$?
2842- else
2843- $MYSQL_BOOTSTRAP <$tfile
2844- retval=$?
2845- fi
2846- rm -f $tfile
2847- return $retval
2848-}
2849-
2850-# This is necessary because mysql_install_db removes the pid file in /var/run
2851-# and because changed configuration options should take effect immediately.
2852-# In case the server wasn't running at all it should be ok if the stop
2853-# script fails. I can't tell at this point because of the cleaned /var/run.
2854-set +e; invoke stop; set -e
2855-
2856-case "$1" in
2857- configure)
2858- mysql_datadir=/usr/share/mysql
2859- mysql_statedir=/var/lib/mysql
2860- mysql_rundir=/var/run/mysqld
2861- mysql_logdir=/var/log
2862- mysql_cfgdir=/etc/mysql
2863- mysql_newlogdir=/var/log/mysql
2864- mysql_upgradedir=/var/lib/mysql-upgrade
2865-
2866- # first things first, if the following symlink exists, it is a preserved
2867- # copy the old data dir from a mysql upgrade that would have otherwise
2868- # been replaced by an empty mysql dir. this should restore it.
2869- for dir in DATADIR LOGDIR; do
2870- if [ "$dir" = "DATADIR" ]; then targetdir=$mysql_statedir; else targetdir=$mysql_newlogdir; fi
2871- savelink="$mysql_upgradedir/$dir.link"
2872- if [ -L "$savelink" ]; then
2873- # If the targetdir was a symlink before we upgraded it is supposed
2874- # to be either still be present or not existing anymore now.
2875- if [ -L "$targetdir" ]; then
2876- rm "$savelink"
2877- elif [ ! -d "$targetdir" ]; then
2878- mv "$savelink" "$targetdir"
2879- else
2880- # this should never even happen, but just in case...
2881- mysql_tmp=`mktemp -d -t mysql-symlink-restore-XXXXXX`
2882- echo "this is very strange! see $mysql_tmp/README..." >&2
2883- mv "$targetdir" "$mysql_tmp"
2884- cat << EOF > "$mysql_tmp/README"
2885-
2886-if you're reading this, it's most likely because you had replaced /var/lib/mysql
2887-with a symlink, then upgraded to a new version of mysql, and then dpkg
2888-removed your symlink (see #182747 and others). the mysql packages noticed
2889-that this happened, and as a workaround have restored it. however, because
2890-/var/lib/mysql seems to have been re-created in the meantime, and because
2891-we don't want to rm -rf something we don't know as much about, we're going
2892-to leave this unexpected directory here. if your database looks normal,
2893-and this is not a symlink to your database, you should be able to blow
2894-this all away.
2895-
2896-EOF
2897- fi
2898- fi
2899- rmdir $mysql_upgradedir 2>/dev/null || true
2900- done
2901-
2902- # Ensure the existence and right permissions for the database and
2903- # log files.
2904- if [ ! -d "$mysql_statedir" -a ! -L "$mysql_statedir" ]; then mkdir "$mysql_statedir"; fi
2905- if [ ! -d "$mysql_statedir/mysql" -a ! -L "$mysql_statedir/mysql" ]; then mkdir "$mysql_statedir/mysql"; fi
2906- if [ ! -d "$mysql_newlogdir" -a ! -L "$mysql_newlogdir" ]; then mkdir "$mysql_newlogdir"; fi
2907- # When creating an ext3 jounal on an already mounted filesystem like e.g.
2908- # /var/lib/mysql, you get a .journal file that is not modifyable by chown.
2909- # The mysql_datadir must not be writable by the mysql user under any
2910- # circumstances as it contains scripts that are executed by root.
2911- set +e
2912- chown -R 0:0 $mysql_datadir
2913- chown -R mysql $mysql_statedir
2914- chown -R mysql $mysql_rundir
2915- chown -R mysql:adm $mysql_newlogdir; chmod 2750 $mysql_newlogdir;
2916- for i in log err; do
2917- touch $mysql_logdir/mysql.$i
2918- chown mysql:adm $mysql_logdir/mysql.$i
2919- chmod 0640 $mysql_logdir/mysql.$i
2920- done
2921- set -e
2922-
2923- # This is important to avoid dataloss when there is a removed
2924- # mysql-server version from Woody lying around which used the same
2925- # data directory and then somewhen gets purged by the admin.
2926- db_set mysql-server/postrm_remove_database false || true
2927-
2928- # To avoid downgrades.
2929- touch $mysql_statedir/debian-5.5.flag
2930-
2931- # initiate databases. Output is not allowed by debconf :-(
2932- # This will fail if we are upgrading an existing database; in this case
2933- # mysql_upgrade, called from the /etc/init.d/mysql start script, will
2934- # handle things.
2935- # Debian: beware of the bashisms...
2936- # Debian: can safely run on upgrades with existing databases
2937- set +e
2938- /bin/bash /usr/bin/mysql_install_db --rpm --user=mysql 2>&1 | $ERR_LOGGER
2939- set -e
2940-
2941- ## On every reconfiguration the maintenance user is recreated.
2942- #
2943- # - It is easier to regenerate the password every time but as people
2944- # use fancy rsync scripts and file alteration monitors, the existing
2945- # password is used and existing files not touched.
2946- # - The mysqld statement is like that in mysql_install_db because the
2947- # server is not already running. This has some implications:
2948- # - The amount of newlines and semicolons in the query is important!
2949- # - GRANT is not possible with --skip-grant-tables and "INSERT
2950- # (user,host..) VALUES" is not --ansi compliant
2951- # - The echo is just for readability. ash's buildin has no "-e" so use /bin/echo.
2952- # - The Super_priv, Show_db_priv, Create_tmp_table_priv and Lock_tables_priv
2953- # may not be present as old Woody 3.23 databases did not have it and the
2954- # admin might not already have run mysql_upgrade which adds them.
2955- # As the binlog cron scripts to need at least the Super_priv, I do first
2956- # the old query which always succeeds and then the new which may or may not.
2957-
2958- # recreate the credentials file if not present or without mysql_upgrade stanza
2959- dc=$mysql_cfgdir/debian.cnf;
2960- if [ -e "$dc" -a -n "`fgrep mysql_upgrade $dc 2>/dev/null`" ]; then
2961- pass="`sed -n 's/^[ ]*password *= *// p' $dc | head -n 1`"
2962- else
2963- pass=`perl -e 'print map{("a".."z","A".."Z",0..9)[int(rand(62))]}(1..16)'`;
2964- if [ ! -d "$mysql_cfgdir" ]; then install -o 0 -g 0 -m 0755 -d $mysql_cfgdir; fi
2965- cat /dev/null > $dc
2966- echo "# Automatically generated for Debian scripts. DO NOT TOUCH!" >>$dc
2967- echo "[client]" >>$dc
2968- echo "host = localhost" >>$dc
2969- echo "user = debian-sys-maint" >>$dc
2970- echo "password = $pass" >>$dc
2971- echo "socket = $mysql_rundir/mysqld.sock" >>$dc
2972- echo "[mysql_upgrade]" >>$dc
2973- echo "host = localhost" >>$dc
2974- echo "user = debian-sys-maint" >>$dc
2975- echo "password = $pass" >>$dc
2976- echo "socket = $mysql_rundir/mysqld.sock" >>$dc
2977- echo "basedir = /usr" >>$dc
2978- fi
2979- # If this dir chmod go+w then the admin did it. But this file should not.
2980- chown 0:0 $dc
2981- chmod 0600 $dc
2982-
2983- # update privilege tables
2984- password_column_fix_query=`/bin/echo -e \
2985- "USE mysql\n" \
2986- "ALTER TABLE user CHANGE Password Password char(41) character set latin1 collate latin1_bin DEFAULT '' NOT NULL"`;
2987- replace_query=`/bin/echo -e \
2988- "USE mysql\n" \
2989- "SET sql_mode='';\n" \
2990- "REPLACE INTO user SET " \
2991- " host='localhost', user='debian-sys-maint', password=password('$pass'), " \
2992- " Select_priv='Y', Insert_priv='Y', Update_priv='Y', Delete_priv='Y', " \
2993- " Create_priv='Y', Drop_priv='Y', Reload_priv='Y', Shutdown_priv='Y', " \
2994- " Process_priv='Y', File_priv='Y', Grant_priv='Y', References_priv='Y', " \
2995- " Index_priv='Y', Alter_priv='Y', Super_priv='Y', Show_db_priv='Y', "\
2996- " Create_tmp_table_priv='Y', Lock_tables_priv='Y', Execute_priv='Y', "\
2997- " Repl_slave_priv='Y', Repl_client_priv='Y', Create_view_priv='Y', "\
2998- " Show_view_priv='Y', Create_routine_priv='Y', Alter_routine_priv='Y', "\
2999- " Create_user_priv='Y', Event_priv='Y', Trigger_priv='Y',"\
3000- " ssl_cipher='', x509_issuer='', x509_subject='';"`;
3001- # Engines supported by etch should be installed per default. The query sequence is supposed
3002- # to be aborted if the CREATE TABLE fails due to an already existent table in which case the
3003- # admin might already have chosen to remove one or more plugins. Newlines are necessary.
3004- install_plugins=`/bin/echo -e \
3005- "USE mysql;\n" \
3006- "CREATE TABLE IF NOT EXISTS plugin (name char(64) COLLATE utf8_bin NOT NULL DEFAULT '', " \
3007- " dl char(128) COLLATE utf8_bin NOT NULL DEFAULT '', " \
3008- " PRIMARY KEY (name)) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='MySQL plugins';" `
3009-
3010- # Upgrade password column format before the root password gets set.
3011- echo "$password_column_fix_query" | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER
3012-
3013- db_get mysql-server/root_password && rootpw="$RET"
3014- if ! set_mysql_rootpw; then
3015- password_error="yes"
3016- fi
3017-
3018- set +e
3019- echo "$replace_query" | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER
3020- echo "$install_plugins" | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER
3021- set -e
3022- ;;
3023-
3024- abort-upgrade|abort-remove|abort-configure)
3025- ;;
3026-
3027- *)
3028- echo "postinst called with unknown argument '$1'" 1>&2
3029- exit 1
3030- ;;
3031-esac
3032-
3033-# here we check to see if we can connect as root without a password
3034-# this should catch upgrades from previous versions where the root
3035-# password wasn't set. if there is a password, or if the connection
3036-# fails for any other reason, nothing happens.
3037-if [ "$1" = "configure" ]; then
3038- if test_mysql_access; then
3039- db_input medium mysql-server/root_password || true
3040- db_go
3041- db_get mysql-server/root_password && rootpw="$RET"
3042-
3043- if ! set_mysql_rootpw "online"; then
3044- password_error="yes"
3045- fi
3046- fi
3047-
3048- if [ "$password_error" = "yes" ]; then
3049- db_input high mysql-server/error_setting_password || true
3050- db_go
3051- fi
3052-
3053-fi
3054-
3055-db_stop # in case invoke failes
3056-
3057-#DEBHELPER#
3058-
3059-exit 0
3060
3061=== removed file 'debian/dist/Debian/mariadb-server-5.5.postrm'
3062--- debian/dist/Debian/mariadb-server-5.5.postrm 2012-01-23 11:20:16 +0000
3063+++ debian/dist/Debian/mariadb-server-5.5.postrm 1970-01-01 00:00:00 +0000
3064@@ -1,83 +0,0 @@
3065-#!/bin/bash -e
3066-
3067-# It is possible that Debconf has already been removed, too.
3068-if [ -f /usr/share/debconf/confmodule ]; then
3069- . /usr/share/debconf/confmodule
3070-fi
3071-
3072-if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
3073-${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 }
3074-
3075-MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
3076-
3077-# Try to stop the server in a sane way. If it does not success let the admin
3078-# do it himself. No database directories should be removed while the server
3079-# is running!
3080-stop_server() {
3081- set +e
3082- if [ -x /usr/sbin/invoke-rc.d ]; then
3083- invoke-rc.d mysql stop
3084- else
3085- /etc/init.d/mysql stop
3086- fi
3087- errno=$?
3088- set -e
3089-
3090- if [ "$?" != 0 ]; then
3091- echo "Trying to stop the MySQL server resulted in exitcode $?." 1>&2
3092- echo "Stop it yourself and try again!" 1>&2
3093- exit 1
3094- fi
3095-}
3096-
3097-case "$1" in
3098- purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
3099- if [ -n "`$MYADMIN ping 2>/dev/null`" ]; then
3100- stop_server
3101- sleep 2
3102- fi
3103- ;;
3104- *)
3105- echo "postrm called with unknown argument '$1'" 1>&2
3106- exit 1
3107- ;;
3108-esac
3109-
3110-#
3111-# - Do NOT purge logs or data if another mysql-sever* package is installed (#307473)
3112-# - Remove the mysql user only after all his owned files are purged.
3113-#
3114-if [ "$1" = "purge" -a ! \( -x /usr/sbin/mysqld -o -L /usr/sbin/mysqld \) ]; then
3115- # we remove the mysql user only after all his owned files are purged
3116- rm -f /var/log/mysql.{log,err}{,.0,.[1234567].gz}
3117- rm -rf /var/log/mysql
3118-
3119- db_input high mysql-server-5.1/postrm_remove_databases || true
3120- db_go || true
3121- db_get mysql-server-5.1/postrm_remove_databases || true
3122- if [ "$RET" = "true" ]; then
3123- # never remove the debian.cnf when the databases are still existing
3124- # else we ran into big trouble on the next install!
3125- rm -f /etc/mysql/debian.cnf
3126- rm -rf /var/lib/mysql
3127- rm -rf /var/run/mysqld
3128- userdel mysql || true
3129- fi
3130-
3131- # (normally) Automatically added by dh_installinit
3132- if [ "$1" = "purge" ] ; then
3133- update-rc.d mysql remove >/dev/null || exit 0
3134- fi
3135- # (normally) End automatically added section
3136-fi
3137-
3138-# (normally) Automatically added by dh_installdebconf
3139-if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
3140- . /usr/share/debconf/confmodule
3141- db_purge
3142-fi
3143-# (normally) End automatically added section
3144-
3145-# no DEBHELPER here, "update-rc.d remove" fails if mysql-server-5.1 is installed
3146-
3147-exit 0
3148
3149=== renamed file 'debian/dist/Debian/rules' => 'debian/dist/Debian/rules.THIS'
3150=== removed file 'debian/dist/Ubuntu/apparmor-profile'
3151--- debian/dist/Ubuntu/apparmor-profile 2012-01-23 11:20:16 +0000
3152+++ debian/dist/Ubuntu/apparmor-profile 1970-01-01 00:00:00 +0000
3153@@ -1,15 +0,0 @@
3154-# This file is intensionally empty to disable apparmor by default for newer
3155-# versions of MariaDB, while providing seamless upgrade from older versions
3156-# and from mysql, where apparmor is used.
3157-#
3158-# By default, we do not want to have any apparmor profile for the MariaDB
3159-# server. It does not provide much useful functionality/security, and causes
3160-# several problems for users who often are not even aware that apparmor
3161-# exists and runs on their system.
3162-#
3163-# Users can modify and maintain their own profile, and in this case it will
3164-# be used.
3165-#
3166-# When upgrading from previous version, users who modified the profile
3167-# will be promptet to keep or discard it, while for default installs
3168-# we will automatically disable the profile.
3169
3170=== removed file 'debian/dist/Ubuntu/mariadb-server-5.5.README.Debian'
3171--- debian/dist/Ubuntu/mariadb-server-5.5.README.Debian 2012-01-23 11:20:16 +0000
3172+++ debian/dist/Ubuntu/mariadb-server-5.5.README.Debian 1970-01-01 00:00:00 +0000
3173@@ -1,109 +0,0 @@
3174-* MYSQL WON'T START OR STOP?:
3175-=============================
3176-You may never ever delete the special mysql user "debian-sys-maint". This
3177-user together with the credentials in /etc/mysql/debian.cnf are used by the
3178-init scripts to stop the server as they would require knowledge of the mysql
3179-root users password else.
3180-So in most of the times you can fix the situation by making sure that the
3181-debian.cnf file contains the right password, e.g. by setting a new one
3182-(remember to do a "flush privileges" then).
3183-
3184-* WHAT TO DO AFTER UPGRADES:
3185-============================
3186-The privilege tables are automatically updated so all there is left is read
3187-the changelogs on dev.mysql.com to see if any changes affect custom apps.
3188-
3189-* WHAT TO DO AFTER INSTALLATION:
3190-================================
3191-The MySQL manual describes certain steps to do at this stage in a separate
3192-chapter. They are not necessary as the Debian packages does them
3193-automatically.
3194-
3195-The only thing that is left over for the admin is
3196- - setting the passwords
3197- - creating new users and databases
3198- - read the rest of this text
3199-
3200-* DOWNGRADING TO 4.0 or 4.1:
3201-============================
3202-Unsupported. Period.
3203-But if you do and get problems or make interesting experiences, mail me, it
3204-might help others.
3205-Ok, if you really want, I would recommend to "mysqldump --opt" all tables,
3206-then purge 4.1, delete /var/lib/mysql, install 4.0 and insert the dumps. Be
3207-carefully, though, with the "mysql" table, you might not simply overwrite that
3208-one as the password for the mysql "debian-sys-maint" user is stored in
3209-/etc/mysql/debian.cnf and needed by /etc/init.d/ to start mysql and check if
3210-it's alive.
3211-
3212-* SOME APPLICATION CAN NO LONGER CONNECT:
3213-=========================================
3214-This application is probably linked against libmysqlclient12 or below and
3215-somebody has created a mysql user with new-style passwords.
3216-The old_passwords=1 option in /etc/mysql/my.cnf might help. If not the
3217-application that inserted the user has to be changed or the application that
3218-tries to connect updated to libmysqlclient14 or -15.
3219-
3220-* NETWORKING:
3221-=============
3222-For security reasons, the Debian package has enabled networking only on the
3223-loop-back device using "bind-address" in /etc/mysql/my.cnf. Check with
3224-"netstat -tlnp" where it is listening. If your connection is aborted
3225-immediately see if "mysqld: all" or similar is in /etc/hosts.allow and read
3226-hosts_access(5).
3227-
3228-* WHERE IS THE DOCUMENTATION?:
3229-==============================
3230-Unfortunately due to licensing restrictions, debian currently not able
3231-to provide the mysql-doc package in any format. For the most up to date
3232-documentation, please go to http://dev.mysql.com/doc.
3233-
3234-* PASSWORDS:
3235-============
3236-It is strongly recommended to set a password for the mysql root user (which
3237- /usr/bin/mysql -u root -D mysql -e "update user set password=password('new-password') where user='root'"
3238- /usr/bin/mysql -u root -e "flush privileges"
3239-If you already had a password set add "-p" before "-u" to the lines above.
3240-
3241-
3242-If you are tired to type the password in every time or want to automate your
3243-scripts you can store it in the file $HOME/.my.cnf. It should be chmod 0600
3244-(-rw------- username username .my.cnf) to ensure that nobody else can read
3245-it. Every other configuration parameter can be stored there, too. You will
3246-find an example below and more information in the MySQL manual in
3247-/usr/share/doc/mysql-doc or www.mysql.com.
3248-
3249-ATTENTION: It is necessary, that a .my.cnf from root always contains a "user"
3250-line wherever there is a "password" line, else, the Debian maintenance
3251-scripts, that use /etc/mysql/debian.cnf, will use the username
3252-"debian-sys-maint" but the password that is in root's .my.cnf. Also note,
3253-that every change you make in the /root/.my.cnf will affect the mysql cron
3254-script, too.
3255-
3256- # an example of $HOME/.my.cnf
3257- [client]
3258- user = your-mysql-username
3259- password = enter-your-good-new-password-here
3260-
3261-* BIG_ROWS FOR EVEN MORE ROWS IN A TABLE:
3262-=========================================
3263-If you ever run out of rows in a table there is the possibility of building
3264-the package with "-DBIG_ROWS" which, according to a MySQL employee on
3265-packagers@lists.mysql.com should lead to a 64bit row index (I guess > 2^32
3266-rows) but also to an approx. 5% performance loss.
3267-
3268-* BerkeleyDB Storage Engine
3269-===========================
3270-Support for BerkeleyDB has been removed in 5.1, and consequently both the
3271-have-bdb and skip-bdb configuration options will cause the server to fail.
3272-Removing the options from /etc/mysql/my.cnf will fix this problem.
3273-
3274-* FURTHER NOTES ON REPLICATION
3275-===============================
3276-If the MySQL server is acting as a replication slave, you should not
3277-set --tmpdir to point to a directory on a memory-based filesystem or to
3278-a directory that is cleared when the server host restarts. A replication
3279-slave needs some of its temporary files to survive a machine restart so
3280-that it can replicate temporary tables or LOAD DATA INFILE operations. If
3281-files in the temporary file directory are lost when the server restarts,
3282-replication fails.
3283
3284=== removed file 'debian/dist/Ubuntu/mariadb-server-5.5.dirs'
3285--- debian/dist/Ubuntu/mariadb-server-5.5.dirs 2012-01-28 20:22:14 +0000
3286+++ debian/dist/Ubuntu/mariadb-server-5.5.dirs 1970-01-01 00:00:00 +0000
3287@@ -1,10 +0,0 @@
3288-etc/init.d
3289-etc/logrotate.d
3290-etc/mysql/conf.d
3291-usr/bin
3292-usr/sbin
3293-usr/share/man/man8
3294-usr/share/mysql
3295-usr/share/doc/mariadb-server-5.5
3296-var/run/mysqld
3297-var/lib/mysql-upgrade
3298
3299=== removed file 'debian/dist/Ubuntu/mariadb-server-5.5.postinst'
3300--- debian/dist/Ubuntu/mariadb-server-5.5.postinst 2012-07-12 13:32:35 +0000
3301+++ debian/dist/Ubuntu/mariadb-server-5.5.postinst 1970-01-01 00:00:00 +0000
3302@@ -1,284 +0,0 @@
3303-#!/bin/bash -e
3304-
3305-. /usr/share/debconf/confmodule
3306-
3307-if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
3308-${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 }
3309-
3310-export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin
3311-
3312-# This command can be used as pipe to syslog. With "-s" it also logs to stderr.
3313-ERR_LOGGER="logger -p daemon.err -t mysqld_safe -i"
3314-# This will make an error in a logged command immediately apparent by aborting
3315-# the install, rather than failing silently and leaving a broken install.
3316-set -o pipefail
3317-
3318-invoke() {
3319- if [ -x /usr/sbin/invoke-rc.d ]; then
3320- invoke-rc.d mysql $1
3321- else
3322- /etc/init.d/mysql $1
3323- fi
3324-}
3325-
3326-MYSQL_BOOTSTRAP="/usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables --loose-innodb=OFF --default-storage-engine=myisam"
3327-
3328-test_mysql_access() {
3329- mysql --no-defaults -u root -h localhost </dev/null >/dev/null 2>&1
3330-}
3331-
3332-# call with $1 = "online" to connect to the server, otherwise it bootstraps
3333-set_mysql_rootpw() {
3334- # forget we ever saw the password. don't use reset to keep the seen status
3335- db_set mysql-server/root_password ""
3336- db_set mysql-server/root_password_again ""
3337-
3338- tfile=`mktemp`
3339- if [ ! -f "$tfile" ]; then
3340- return 1
3341- fi
3342-
3343- # this avoids us having to call "test" or "[" on $rootpw
3344- cat << EOF > $tfile
3345-USE mysql;
3346-UPDATE user SET password=PASSWORD("$rootpw") WHERE user='root';
3347-FLUSH PRIVILEGES;
3348-EOF
3349- if grep -q 'PASSWORD("")' $tfile; then
3350- retval=0
3351- elif [ "$1" = "online" ]; then
3352- mysql --no-defaults -u root -h localhost <$tfile >/dev/null
3353- retval=$?
3354- else
3355- $MYSQL_BOOTSTRAP <$tfile
3356- retval=$?
3357- fi
3358- rm -f $tfile
3359- return $retval
3360-}
3361-
3362-# This is necessary because mysql_install_db removes the pid file in /var/run
3363-# and because changed configuration options should take effect immediately.
3364-# In case the server wasn't running at all it should be ok if the stop
3365-# script fails. I can't tell at this point because of the cleaned /var/run.
3366-set +e; invoke stop; set -e
3367-
3368-case "$1" in
3369- configure)
3370- mysql_datadir=/usr/share/mysql
3371- mysql_statedir=/var/lib/mysql
3372- mysql_rundir=/var/run/mysqld
3373- mysql_logdir=/var/log
3374- mysql_cfgdir=/etc/mysql
3375- mysql_newlogdir=/var/log/mysql
3376- mysql_upgradedir=/var/lib/mysql-upgrade
3377-
3378- # first things first, if the following symlink exists, it is a preserved
3379- # copy the old data dir from a mysql upgrade that would have otherwise
3380- # been replaced by an empty mysql dir. this should restore it.
3381- for dir in DATADIR LOGDIR; do
3382- if [ "$dir" = "DATADIR" ]; then targetdir=$mysql_statedir; else targetdir=$mysql_newlogdir; fi
3383- savelink="$mysql_upgradedir/$dir.link"
3384- if [ -L "$savelink" ]; then
3385- # If the targetdir was a symlink before we upgraded it is supposed
3386- # to be either still be present or not existing anymore now.
3387- if [ -L "$targetdir" ]; then
3388- rm "$savelink"
3389- elif [ ! -d "$targetdir" ]; then
3390- mv "$savelink" "$targetdir"
3391- else
3392- # this should never even happen, but just in case...
3393- mysql_tmp=`mktemp -d -t mysql-symlink-restore-XXXXXX`
3394- echo "this is very strange! see $mysql_tmp/README..." >&2
3395- mv "$targetdir" "$mysql_tmp"
3396- cat << EOF > "$mysql_tmp/README"
3397-
3398-if you're reading this, it's most likely because you had replaced /var/lib/mysql
3399-with a symlink, then upgraded to a new version of mysql, and then dpkg
3400-removed your symlink (see #182747 and others). the mysql packages noticed
3401-that this happened, and as a workaround have restored it. however, because
3402-/var/lib/mysql seems to have been re-created in the meantime, and because
3403-we don't want to rm -rf something we don't know as much about, we're going
3404-to leave this unexpected directory here. if your database looks normal,
3405-and this is not a symlink to your database, you should be able to blow
3406-this all away.
3407-
3408-EOF
3409- fi
3410- fi
3411- rmdir $mysql_upgradedir 2>/dev/null || true
3412- done
3413-
3414- # Ensure the existence and right permissions for the database and
3415- # log files.
3416- if [ ! -d "$mysql_statedir" -a ! -L "$mysql_statedir" ]; then mkdir "$mysql_statedir"; fi
3417- if [ ! -d "$mysql_statedir/mysql" -a ! -L "$mysql_statedir/mysql" ]; then mkdir "$mysql_statedir/mysql"; fi
3418- if [ ! -d "$mysql_newlogdir" -a ! -L "$mysql_newlogdir" ]; then mkdir "$mysql_newlogdir"; fi
3419- # When creating an ext3 jounal on an already mounted filesystem like e.g.
3420- # /var/lib/mysql, you get a .journal file that is not modifyable by chown.
3421- # The mysql_datadir must not be writable by the mysql user under any
3422- # circumstances as it contains scripts that are executed by root.
3423- set +e
3424- chown -R 0:0 $mysql_datadir
3425- chown -R mysql $mysql_statedir
3426- chown -R mysql $mysql_rundir
3427- chown -R mysql:adm $mysql_newlogdir; chmod 2750 $mysql_newlogdir;
3428- for i in log err; do
3429- touch $mysql_logdir/mysql.$i
3430- chown mysql:adm $mysql_logdir/mysql.$i
3431- chmod 0640 $mysql_logdir/mysql.$i
3432- done
3433- set -e
3434-
3435- # This is important to avoid dataloss when there is a removed
3436- # mysql-server version from Woody lying around which used the same
3437- # data directory and then somewhen gets purged by the admin.
3438- db_set mysql-server/postrm_remove_database false || true
3439-
3440- # To avoid downgrades.
3441- touch $mysql_statedir/debian-5.5.flag
3442-
3443- # initiate databases. Output is not allowed by debconf :-(
3444- # This will fail if we are upgrading an existing database; in this case
3445- # mysql_upgrade, called from the /etc/init.d/mysql start script, will
3446- # handle things.
3447- # Debian: beware of the bashisms...
3448- # Debian: can safely run on upgrades with existing databases
3449- set +e
3450- /bin/bash /usr/bin/mysql_install_db --rpm --user=mysql 2>&1 | $ERR_LOGGER
3451- set -e
3452-
3453- ## On every reconfiguration the maintenance user is recreated.
3454- #
3455- # - It is easier to regenerate the password every time but as people
3456- # use fancy rsync scripts and file alteration monitors, the existing
3457- # password is used and existing files not touched.
3458- # - The mysqld statement is like that in mysql_install_db because the
3459- # server is not already running. This has some implications:
3460- # - The amount of newlines and semicolons in the query is important!
3461- # - GRANT is not possible with --skip-grant-tables and "INSERT
3462- # (user,host..) VALUES" is not --ansi compliant
3463- # - The echo is just for readability. ash's buildin has no "-e" so use /bin/echo.
3464- # - The Super_priv, Show_db_priv, Create_tmp_table_priv and Lock_tables_priv
3465- # may not be present as old Woody 3.23 databases did not have it and the
3466- # admin might not already have run mysql_upgrade which adds them.
3467- # As the binlog cron scripts to need at least the Super_priv, I do first
3468- # the old query which always succeeds and then the new which may or may not.
3469-
3470- # recreate the credentials file if not present or without mysql_upgrade stanza
3471- dc=$mysql_cfgdir/debian.cnf;
3472- if [ -e "$dc" -a -n "`fgrep mysql_upgrade $dc 2>/dev/null`" ]; then
3473- pass="`sed -n 's/^[ ]*password *= *// p' $dc | head -n 1`"
3474- else
3475- pass=`perl -e 'print map{("a".."z","A".."Z",0..9)[int(rand(62))]}(1..16)'`;
3476- if [ ! -d "$mysql_cfgdir" ]; then install -o 0 -g 0 -m 0755 -d $mysql_cfgdir; fi
3477- cat /dev/null > $dc
3478- echo "# Automatically generated for Debian scripts. DO NOT TOUCH!" >>$dc
3479- echo "[client]" >>$dc
3480- echo "host = localhost" >>$dc
3481- echo "user = debian-sys-maint" >>$dc
3482- echo "password = $pass" >>$dc
3483- echo "socket = $mysql_rundir/mysqld.sock" >>$dc
3484- echo "[mysql_upgrade]" >>$dc
3485- echo "host = localhost" >>$dc
3486- echo "user = debian-sys-maint" >>$dc
3487- echo "password = $pass" >>$dc
3488- echo "socket = $mysql_rundir/mysqld.sock" >>$dc
3489- echo "basedir = /usr" >>$dc
3490- fi
3491- # If this dir chmod go+w then the admin did it. But this file should not.
3492- chown 0:0 $dc
3493- chmod 0600 $dc
3494-
3495- # update privilege tables
3496- password_column_fix_query=`/bin/echo -e \
3497- "USE mysql\n" \
3498- "ALTER TABLE user CHANGE Password Password char(41) character set latin1 collate latin1_bin DEFAULT '' NOT NULL"`;
3499- replace_query=`/bin/echo -e \
3500- "USE mysql\n" \
3501- "SET sql_mode='';\n" \
3502- "REPLACE INTO user SET " \
3503- " host='localhost', user='debian-sys-maint', password=password('$pass'), " \
3504- " Select_priv='Y', Insert_priv='Y', Update_priv='Y', Delete_priv='Y', " \
3505- " Create_priv='Y', Drop_priv='Y', Reload_priv='Y', Shutdown_priv='Y', " \
3506- " Process_priv='Y', File_priv='Y', Grant_priv='Y', References_priv='Y', " \
3507- " Index_priv='Y', Alter_priv='Y', Super_priv='Y', Show_db_priv='Y', "\
3508- " Create_tmp_table_priv='Y', Lock_tables_priv='Y', Execute_priv='Y', "\
3509- " Repl_slave_priv='Y', Repl_client_priv='Y', Create_view_priv='Y', "\
3510- " Show_view_priv='Y', Create_routine_priv='Y', Alter_routine_priv='Y', "\
3511- " Create_user_priv='Y', Event_priv='Y', Trigger_priv='Y',"\
3512- " ssl_cipher='', x509_issuer='', x509_subject='';"`;
3513- # Engines supported by etch should be installed per default. The query sequence is supposed
3514- # to be aborted if the CREATE TABLE fails due to an already existent table in which case the
3515- # admin might already have chosen to remove one or more plugins. Newlines are necessary.
3516- install_plugins=`/bin/echo -e \
3517- "USE mysql;\n" \
3518- "CREATE TABLE plugin (name char(64) COLLATE utf8_bin NOT NULL DEFAULT '', " \
3519- " dl char(128) COLLATE utf8_bin NOT NULL DEFAULT '', " \
3520- " PRIMARY KEY (name)) ENGINE=MyISAM DEFAULT CHARSET=utf8 COLLATE=utf8_bin COMMENT='MySQL plugins';" `
3521-
3522- # Upgrade password column format before the root password gets set.
3523- echo "$password_column_fix_query" | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER
3524-
3525- db_get mysql-server/root_password && rootpw="$RET"
3526- if ! set_mysql_rootpw; then
3527- password_error="yes"
3528- fi
3529-
3530- set +e
3531- echo "$replace_query" | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER
3532- echo "$install_plugins" | $MYSQL_BOOTSTRAP 2>&1 | $ERR_LOGGER
3533- set -e
3534-
3535- # If there is a real AppArmor profile, we reload it.
3536- # If the default empty profile is installed, then we remove any old
3537- # profile that may be loaded.
3538- # This allows upgrade from old versions (that have an apparmor profile
3539- # on by default) to work both to disable a default profile, and to keep
3540- # any profile installed and maintained by users themselves.
3541- profile="/etc/apparmor.d/usr.sbin.mysqld"
3542- if [ -f "$profile" ] && aa-status --enabled 2>/dev/null; then
3543- if grep -q /usr/sbin/mysqld "$profile" 2>/dev/null ; then
3544- apparmor_parser -r "$profile" || true
3545- else
3546- echo "/usr/sbin/mysqld { }" | apparmor_parser --remove 2>/dev/null || true
3547- fi
3548- fi
3549- ;;
3550-
3551- abort-upgrade|abort-remove|abort-configure)
3552- ;;
3553-
3554- *)
3555- echo "postinst called with unknown argument '$1'" 1>&2
3556- exit 1
3557- ;;
3558-esac
3559-
3560-# here we check to see if we can connect as root without a password
3561-# this should catch upgrades from previous versions where the root
3562-# password wasn't set. if there is a password, or if the connection
3563-# fails for any other reason, nothing happens.
3564-if [ "$1" = "configure" ]; then
3565- if test_mysql_access; then
3566- db_input medium mysql-server/root_password || true
3567- db_go
3568- db_get mysql-server/root_password && rootpw="$RET"
3569-
3570- if ! set_mysql_rootpw "online"; then
3571- password_error="yes"
3572- fi
3573- fi
3574-
3575- if [ "$password_error" = "yes" ]; then
3576- db_input high mysql-server/error_setting_password || true
3577- db_go
3578- fi
3579-
3580-fi
3581-
3582-db_stop # in case invoke failes
3583-
3584-#DEBHELPER#
3585-
3586-exit 0
3587
3588=== removed file 'debian/dist/Ubuntu/mariadb-server-5.5.postrm'
3589--- debian/dist/Ubuntu/mariadb-server-5.5.postrm 2012-01-23 11:20:16 +0000
3590+++ debian/dist/Ubuntu/mariadb-server-5.5.postrm 1970-01-01 00:00:00 +0000
3591@@ -1,86 +0,0 @@
3592-#!/bin/bash -e
3593-
3594-# It is possible that Debconf has already been removed, too.
3595-if [ -f /usr/share/debconf/confmodule ]; then
3596- . /usr/share/debconf/confmodule
3597-fi
3598-
3599-if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
3600-${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 }
3601-
3602-MYADMIN="/usr/bin/mysqladmin --defaults-file=/etc/mysql/debian.cnf"
3603-
3604-# Try to stop the server in a sane way. If it does not success let the admin
3605-# do it himself. No database directories should be removed while the server
3606-# is running!
3607-stop_server() {
3608- set +e
3609- if [ -x /usr/sbin/invoke-rc.d ]; then
3610- invoke-rc.d mysql stop
3611- else
3612- /etc/init.d/mysql stop
3613- fi
3614- errno=$?
3615- set -e
3616-
3617- if [ "$?" != 0 ]; then
3618- echo "Trying to stop the MySQL server resulted in exitcode $?." 1>&2
3619- echo "Stop it yourself and try again!" 1>&2
3620- exit 1
3621- fi
3622-}
3623-
3624-case "$1" in
3625- purge|remove|upgrade|failed-upgrade|abort-install|abort-upgrade|disappear)
3626- if [ -n "`$MYADMIN ping 2>/dev/null`" ]; then
3627- stop_server
3628- sleep 2
3629- fi
3630- ;;
3631- *)
3632- echo "postrm called with unknown argument '$1'" 1>&2
3633- exit 1
3634- ;;
3635-esac
3636-
3637-#
3638-# - Do NOT purge logs or data if another mysql-sever* package is installed (#307473)
3639-# - Remove the mysql user only after all his owned files are purged.
3640-#
3641-if [ "$1" = "purge" -a ! \( -x /usr/sbin/mysqld -o -L /usr/sbin/mysqld \) ]; then
3642- # we remove the mysql user only after all his owned files are purged
3643- rm -f /var/log/mysql.{log,err}{,.0,.[1234567].gz}
3644- rm -rf /var/log/mysql
3645-
3646- db_input high mysql-server-5.1/postrm_remove_databases || true
3647- db_go || true
3648- db_get mysql-server-5.1/postrm_remove_databases || true
3649- if [ "$RET" = "true" ]; then
3650- # never remove the debian.cnf when the databases are still existing
3651- # else we ran into big trouble on the next install!
3652- rm -f /etc/mysql/debian.cnf
3653- rm -rf /var/lib/mysql
3654- rm -rf /var/run/mysqld
3655- userdel mysql || true
3656- fi
3657-
3658- # (normally) Automatically added by dh_installinit
3659- if [ "$1" = "purge" ] ; then
3660- update-rc.d mysql remove >/dev/null || exit 0
3661- fi
3662- # (normally) End automatically added section
3663-fi
3664-
3665-# (normally) Automatically added by dh_installdebconf
3666-if [ "$1" = purge ] && [ -e /usr/share/debconf/confmodule ]; then
3667- . /usr/share/debconf/confmodule
3668- db_purge
3669-fi
3670-# (normally) End automatically added section
3671-
3672-if [ "$1" = "purge" ] ; then
3673- rm -f /etc/apparmor.d/force-complain/usr.sbin.mysqld >/dev/null 2>&1 || true
3674-fi
3675-# no DEBHELPER here, "update-rc.d remove" fails if mysql-server-5.1 is installed
3676-
3677-exit 0
3678
3679=== removed file 'debian/dist/Ubuntu/mariadb-server-5.5.py'
3680--- debian/dist/Ubuntu/mariadb-server-5.5.py 2012-01-28 20:22:14 +0000
3681+++ debian/dist/Ubuntu/mariadb-server-5.5.py 1970-01-01 00:00:00 +0000
3682@@ -1,52 +0,0 @@
3683-'''apport package hook for mariadb-5.5
3684-
3685-(c) 2009 Canonical Ltd.
3686-Author: Mathias Gug <mathias.gug@canonical.com>
3687-'''
3688-
3689-import os, os.path
3690-
3691-from apport.hookutils import *
3692-
3693-def _add_my_conf_files(report, filename):
3694- key = 'MySQLConf' + path_to_key(filename)
3695- report[key] = ""
3696- for line in read_file(filename).split('\n'):
3697- try:
3698- if 'password' in line.split('=')[0]:
3699- line = "%s = @@APPORTREPLACED@@" % (line.split('=')[0])
3700- report[key] += line + '\n'
3701- except IndexError:
3702- continue
3703-
3704-def add_info(report):
3705- attach_conffiles(report, 'mariadb-server-5.5', conffiles=None)
3706- key = 'Logs' + path_to_key('/var/log/daemon.log')
3707- report[key] = ""
3708- for line in read_file('/var/log/daemon.log').split('\n'):
3709- try:
3710- if 'mysqld' in line.split()[4]:
3711- report[key] += line + '\n'
3712- except IndexError:
3713- continue
3714- key = 'Logs' + path_to_key('/var/log/kern.log')
3715- report[key] = ""
3716- for line in read_file('/var/log/kern.log').split('\n'):
3717- try:
3718- if '/usr/sbin/mysqld' in string.join(line.split()[4:]):
3719- report[key] += line + '\n'
3720- except IndexError:
3721- continue
3722- _add_my_conf_files(report, '/etc/mysql/my.cnf')
3723- for f in os.listdir('/etc/mysql/conf.d'):
3724- _add_my_conf_files(report, os.path.join('/etc/mysql/conf.d', f))
3725- try:
3726- report['MySQLVarLibDirListing'] = unicode(os.listdir('/var/lib/mysql'))
3727- except OSError:
3728- report['MySQLVarLibDirListing'] = unicode(False)
3729-
3730-if __name__ == '__main__':
3731- report = {}
3732- add_info(report)
3733- for key in report:
3734- print '%s: %s' % (key, report[key].split('\n', 1)[0])
3735
3736=== renamed file 'debian/dist/Ubuntu/rules' => 'debian/dist/Ubuntu/rules.THIS'
3737=== added file 'debian/gbp.conf'
3738--- debian/gbp.conf 1970-01-01 00:00:00 +0000
3739+++ debian/gbp.conf 2014-06-03 12:03:30 +0000
3740@@ -0,0 +1,3 @@
3741+[DEFAULT]
3742+debian-branch = master
3743+pristine-tar = True
3744
3745=== removed file 'debian/libmariadbclient-dev.files'
3746--- debian/libmariadbclient-dev.files 2012-05-05 06:27:17 +0000
3747+++ debian/libmariadbclient-dev.files 1970-01-01 00:00:00 +0000
3748@@ -1,7 +0,0 @@
3749-usr/bin/mysql_config
3750-usr/include/mysql
3751-usr/lib/libmysqlclient.a
3752-usr/lib/libmysqlclient_r.a
3753-usr/lib/libmysqlservices.a
3754-usr/share/aclocal/mysql.m4
3755-usr/share/man/man1/mysql_config.1
3756
3757=== added file 'debian/libmariadbclient-dev.install'
3758--- debian/libmariadbclient-dev.install 1970-01-01 00:00:00 +0000
3759+++ debian/libmariadbclient-dev.install 2014-06-03 12:03:30 +0000
3760@@ -0,0 +1,8 @@
3761+usr/bin/mysql_config
3762+usr/include/mysql/*
3763+usr/lib/*/libmysqlclient.a
3764+usr/lib/*/libmysqlclient.so
3765+usr/lib/*/libmysqlclient_r.a
3766+usr/lib/*/libmysqlclient_r.so*
3767+usr/lib/*/libmysqlservices.a
3768+usr/share/aclocal/mysql.m4
3769
3770=== removed file 'debian/libmariadbclient-dev.links'
3771--- debian/libmariadbclient-dev.links 2012-05-07 10:47:29 +0000
3772+++ debian/libmariadbclient-dev.links 1970-01-01 00:00:00 +0000
3773@@ -1,2 +0,0 @@
3774-usr/lib/libmysqlclient.so.18 usr/lib/libmysqlclient.so
3775-usr/lib/libmysqlclient_r.so.18 usr/lib/libmysqlclient_r.so
3776
3777=== added file 'debian/libmariadbclient-dev.lintian-overrides'
3778--- debian/libmariadbclient-dev.lintian-overrides 1970-01-01 00:00:00 +0000
3779+++ debian/libmariadbclient-dev.lintian-overrides 2014-06-03 12:03:30 +0000
3780@@ -0,0 +1,2 @@
3781+# OK, newer Debian should support xz
3782+libmariadbclient-dev: data.tar.xz-member-without-dpkg-pre-depends
3783
3784=== added file 'debian/libmariadbclient-dev.manpages'
3785--- debian/libmariadbclient-dev.manpages 1970-01-01 00:00:00 +0000
3786+++ debian/libmariadbclient-dev.manpages 2014-06-03 12:03:30 +0000
3787@@ -0,0 +1,1 @@
3788+debian/tmp/usr/share/man/man1/mysql_config.1
3789
3790=== removed file 'debian/libmariadbclient18.files'
3791--- debian/libmariadbclient18.files 2013-09-10 08:30:07 +0000
3792+++ debian/libmariadbclient18.files 1970-01-01 00:00:00 +0000
3793@@ -1,3 +0,0 @@
3794-usr/lib/libmysqlclient*.so.*
3795-usr/lib/mysql/plugin/mysql_clear_password.so
3796-usr/lib/mysql/plugin/dialog.so
3797
3798=== added file 'debian/libmariadbclient18.install'
3799--- debian/libmariadbclient18.install 1970-01-01 00:00:00 +0000
3800+++ debian/libmariadbclient18.install 2014-06-03 12:03:30 +0000
3801@@ -0,0 +1,3 @@
3802+usr/lib/*/libmysqlclient.so.*
3803+usr/lib/mysql/plugin/dialog.so
3804+usr/lib/mysql/plugin/mysql_clear_password.so
3805
3806=== added file 'debian/libmariadbclient18.lintian-overrides'
3807--- debian/libmariadbclient18.lintian-overrides 1970-01-01 00:00:00 +0000
3808+++ debian/libmariadbclient18.lintian-overrides 2014-06-03 12:03:30 +0000
3809@@ -0,0 +1,8 @@
3810+# OK, file names don't conflict with the MySQL version
3811+libmariadbclient18: arch-dependent-file-not-in-arch-specific-directory usr/lib/mysql/plugin/dialog.so
3812+libmariadbclient18: arch-dependent-file-not-in-arch-specific-directory usr/lib/mysql/plugin/mysql_clear_password.so
3813+# embedded libs are OK
3814+libmariadbclient18: embedded-library usr/lib/x86_64-linux-gnu/libmysqlclient.so.18.0.0: libmysqlclient
3815+libmariadbclient18: embedded-library usr/lib/i386-linux-gnu/libmysqlclient.so.18.0.0: libmysqlclient
3816+# OK, newer Debian should support xz
3817+libmariadbclient18: data.tar.xz-member-without-dpkg-pre-depends
3818
3819=== modified file 'debian/libmariadbclient18.postinst'
3820--- debian/libmariadbclient18.postinst 2012-01-23 11:20:16 +0000
3821+++ debian/libmariadbclient18.postinst 2014-06-03 12:03:30 +0000
3822@@ -1,12 +1,15 @@
3823-#!/bin/bash -e
3824+#!/bin/bash
3825+
3826+set -e
3827
3828 # dh_installdeb will replace this with shell code automatically
3829 # generated by other debhelper scripts.
3830
3831 #DEBHELPER#
3832
3833+case "$1" in
3834+ configure)
3835+ ldconfig
3836+esac
3837+
3838 exit 0
3839-
3840-# vim: ts=4
3841-
3842-
3843
3844=== added file 'debian/libmariadbclient18.symbols'
3845--- debian/libmariadbclient18.symbols 1970-01-01 00:00:00 +0000
3846+++ debian/libmariadbclient18.symbols 2014-06-03 12:03:30 +0000
3847@@ -0,0 +1,374 @@
3848+dialog.so libmaysqlclient18 #MINVER#
3849+ _mysql_client_plugin_declaration_@Base 5.5.35
3850+ get_tty_password_buff@Base 5.5.35
3851+libmaysqlclient.so.18 libmaysqlclient18 #MINVER#
3852+ THR_KEY_mysys@libmysqlclient_16 5.5.36
3853+ THR_KEY_mysys@libmysqlclient_18 5.5.36
3854+ alloc_dynamic@libmysqlclient_18 5.5.37
3855+ alloc_root@libmysqlclient_18 5.5.37
3856+ client_errors@libmysqlclient_16 5.5.36
3857+ client_errors@libmysqlclient_18 5.5.36
3858+ default_charset_info@libmysqlclient_16 5.5.36
3859+ default_charset_info@libmysqlclient_18 5.5.36
3860+ delete_dynamic@libmysqlclient_18 5.5.37
3861+ dynamic_column_create@libmysqlclient_18 5.5.36
3862+ dynamic_column_create_many@libmysqlclient_18 5.5.36
3863+ dynamic_column_delete@libmysqlclient_18 5.5.36
3864+ dynamic_column_exists@libmysqlclient_18 5.5.36
3865+ dynamic_column_get@libmysqlclient_18 5.5.36
3866+ dynamic_column_list@libmysqlclient_18 5.5.36
3867+ dynamic_column_prepare_decimal@libmysqlclient_18 5.5.36
3868+ dynamic_column_update@libmysqlclient_18 5.5.36
3869+ dynamic_column_update_many@libmysqlclient_18 5.5.36
3870+ dynstr_append@libmysqlclient_18 5.5.37
3871+ dynstr_append_mem@libmysqlclient_18 5.5.37
3872+ dynstr_append_os_quoted@libmysqlclient_18 5.5.37
3873+ dynstr_free@libmysqlclient_18 5.5.37
3874+ dynstr_realloc@libmysqlclient_18 5.5.37
3875+ free_defaults@libmysqlclient_16 5.5.36
3876+ free_defaults@libmysqlclient_18 5.5.36
3877+ free_root@libmysqlclient_18 5.5.37
3878+ get_charset@libmysqlclient_16 5.5.36
3879+ get_charset@libmysqlclient_18 5.5.36
3880+ get_charset_by_csname@libmysqlclient_16 5.5.36
3881+ get_charset_by_csname@libmysqlclient_18 5.5.36
3882+ get_dynamic@libmysqlclient_18 5.5.37
3883+ get_tty_password@libmysqlclient_16 5.5.36
3884+ get_tty_password@libmysqlclient_18 5.5.36
3885+ handle_options@libmysqlclient_16 5.5.36
3886+ handle_options@libmysqlclient_18 5.5.36
3887+ init_dynamic_array2@libmysqlclient_18 5.5.37
3888+ init_dynamic_string@libmysqlclient_18 5.5.37
3889+ int2str@libmysqlclient_18 5.5.37
3890+ is_prefix@libmysqlclient_16 5.5.36
3891+ is_prefix@libmysqlclient_18 5.5.36
3892+ libmysqlclient_16@libmysqlclient_16 5.5.36
3893+ libmysqlclient_18@libmysqlclient_18 5.5.36
3894+ list_add@libmysqlclient_18 5.5.37
3895+ list_delete@libmysqlclient_18 5.5.37
3896+ load_defaults@libmysqlclient_16 5.5.36
3897+ load_defaults@libmysqlclient_18 5.5.36
3898+ make_scrambled_password@libmysqlclient_18 5.5.37
3899+ make_scrambled_password_323@libmysqlclient_18 5.5.37
3900+ my_end@libmysqlclient_18 5.5.37
3901+ my_free@libmysqlclient_18 5.5.37
3902+ my_init@libmysqlclient_16 5.5.36
3903+ my_init@libmysqlclient_18 5.5.36
3904+ my_make_scrambled_password@libmysqlclient_16 5.5.36
3905+ my_make_scrambled_password@libmysqlclient_18 5.5.36
3906+ my_malloc@libmysqlclient_18 5.5.37
3907+ my_memdup@libmysqlclient_18 5.5.37
3908+ my_print_help@libmysqlclient_16 5.5.36
3909+ my_print_help@libmysqlclient_18 5.5.36
3910+ my_realloc@libmysqlclient_18 5.5.37
3911+ my_strdup@libmysqlclient_18 5.5.37
3912+ myodbc_remove_escape@libmysqlclient_16 5.5.36
3913+ myodbc_remove_escape@libmysqlclient_18 5.5.36
3914+ mysql_affected_rows@libmysqlclient_16 5.5.36
3915+ mysql_affected_rows@libmysqlclient_18 5.5.36
3916+ mysql_autocommit@libmysqlclient_16 5.5.36
3917+ mysql_autocommit@libmysqlclient_18 5.5.36
3918+ mysql_autocommit_cont@libmysqlclient_18 5.5.36
3919+ mysql_autocommit_start@libmysqlclient_18 5.5.36
3920+ mysql_change_user@libmysqlclient_16 5.5.36
3921+ mysql_change_user@libmysqlclient_18 5.5.36
3922+ mysql_change_user_cont@libmysqlclient_18 5.5.36
3923+ mysql_change_user_start@libmysqlclient_18 5.5.36
3924+ mysql_character_set_name@libmysqlclient_16 5.5.36
3925+ mysql_character_set_name@libmysqlclient_18 5.5.36
3926+ mysql_client_errors@libmysqlclient_16 5.5.36
3927+ mysql_client_errors@libmysqlclient_18 5.5.36
3928+ mysql_client_find_plugin@libmysqlclient_18 5.5.36
3929+ mysql_client_register_plugin@libmysqlclient_18 5.5.36
3930+ mysql_close@libmysqlclient_16 5.5.36
3931+ mysql_close@libmysqlclient_18 5.5.36
3932+ mysql_close_cont@libmysqlclient_18 5.5.36
3933+ mysql_close_start@libmysqlclient_18 5.5.36
3934+ mysql_commit@libmysqlclient_16 5.5.36
3935+ mysql_commit@libmysqlclient_18 5.5.36
3936+ mysql_commit_cont@libmysqlclient_18 5.5.36
3937+ mysql_commit_start@libmysqlclient_18 5.5.36
3938+ mysql_data_seek@libmysqlclient_16 5.5.36
3939+ mysql_data_seek@libmysqlclient_18 5.5.36
3940+ mysql_debug@libmysqlclient_16 5.5.36
3941+ mysql_debug@libmysqlclient_18 5.5.36
3942+ mysql_default_charset_info@libmysqlclient_16 5.5.36
3943+ mysql_default_charset_info@libmysqlclient_18 5.5.36
3944+ mysql_dump_debug_info@libmysqlclient_16 5.5.36
3945+ mysql_dump_debug_info@libmysqlclient_18 5.5.36
3946+ mysql_dump_debug_info_cont@libmysqlclient_18 5.5.36
3947+ mysql_dump_debug_info_start@libmysqlclient_18 5.5.36
3948+ mysql_embedded@libmysqlclient_16 5.5.36
3949+ mysql_embedded@libmysqlclient_18 5.5.36
3950+ mysql_eof@libmysqlclient_16 5.5.36
3951+ mysql_eof@libmysqlclient_18 5.5.36
3952+ mysql_errno@libmysqlclient_16 5.5.36
3953+ mysql_errno@libmysqlclient_18 5.5.36
3954+ mysql_error@libmysqlclient_16 5.5.36
3955+ mysql_error@libmysqlclient_18 5.5.36
3956+ mysql_escape_string@libmysqlclient_16 5.5.36
3957+ mysql_escape_string@libmysqlclient_18 5.5.36
3958+ mysql_fetch_field@libmysqlclient_16 5.5.36
3959+ mysql_fetch_field@libmysqlclient_18 5.5.36
3960+ mysql_fetch_field_direct@libmysqlclient_16 5.5.36
3961+ mysql_fetch_field_direct@libmysqlclient_18 5.5.36
3962+ mysql_fetch_fields@libmysqlclient_16 5.5.36
3963+ mysql_fetch_fields@libmysqlclient_18 5.5.36
3964+ mysql_fetch_lengths@libmysqlclient_16 5.5.36
3965+ mysql_fetch_lengths@libmysqlclient_18 5.5.36
3966+ mysql_fetch_row@libmysqlclient_16 5.5.36
3967+ mysql_fetch_row@libmysqlclient_18 5.5.36
3968+ mysql_fetch_row_cont@libmysqlclient_18 5.5.36
3969+ mysql_fetch_row_start@libmysqlclient_18 5.5.36
3970+ mysql_field_count@libmysqlclient_16 5.5.36
3971+ mysql_field_count@libmysqlclient_18 5.5.36
3972+ mysql_field_seek@libmysqlclient_16 5.5.36
3973+ mysql_field_seek@libmysqlclient_18 5.5.36
3974+ mysql_field_tell@libmysqlclient_16 5.5.36
3975+ mysql_field_tell@libmysqlclient_18 5.5.36
3976+ mysql_free_result@libmysqlclient_16 5.5.36
3977+ mysql_free_result@libmysqlclient_18 5.5.36
3978+ mysql_free_result_cont@libmysqlclient_18 5.5.36
3979+ mysql_free_result_start@libmysqlclient_18 5.5.36
3980+ mysql_get_character_set_info@libmysqlclient_16 5.5.36
3981+ mysql_get_character_set_info@libmysqlclient_18 5.5.36
3982+ mysql_get_charset@libmysqlclient_16 5.5.36
3983+ mysql_get_charset@libmysqlclient_18 5.5.36
3984+ mysql_get_charset_by_csname@libmysqlclient_16 5.5.36
3985+ mysql_get_charset_by_csname@libmysqlclient_18 5.5.36
3986+ mysql_get_client_info@libmysqlclient_16 5.5.36
3987+ mysql_get_client_info@libmysqlclient_18 5.5.36
3988+ mysql_get_client_version@libmysqlclient_16 5.5.36
3989+ mysql_get_client_version@libmysqlclient_18 5.5.36
3990+ mysql_get_host_info@libmysqlclient_16 5.5.36
3991+ mysql_get_host_info@libmysqlclient_18 5.5.36
3992+ mysql_get_parameters@libmysqlclient_16 5.5.36
3993+ mysql_get_parameters@libmysqlclient_18 5.5.36
3994+ mysql_get_proto_info@libmysqlclient_16 5.5.36
3995+ mysql_get_proto_info@libmysqlclient_18 5.5.36
3996+ mysql_get_server_info@libmysqlclient_16 5.5.36
3997+ mysql_get_server_info@libmysqlclient_18 5.5.36
3998+ mysql_get_server_version@libmysqlclient_16 5.5.36
3999+ mysql_get_server_version@libmysqlclient_18 5.5.36
4000+ mysql_get_socket@libmysqlclient_18 5.5.36
4001+ mysql_get_ssl_cipher@libmysqlclient_16 5.5.36
4002+ mysql_get_ssl_cipher@libmysqlclient_18 5.5.36
4003+ mysql_get_timeout_value@libmysqlclient_18 5.5.36
4004+ mysql_get_timeout_value_ms@libmysqlclient_18 5.5.36
4005+ mysql_hex_string@libmysqlclient_16 5.5.36
4006+ mysql_hex_string@libmysqlclient_18 5.5.36
4007+ mysql_info@libmysqlclient_16 5.5.36
4008+ mysql_info@libmysqlclient_18 5.5.36
4009+ mysql_init@libmysqlclient_16 5.5.36
4010+ mysql_init@libmysqlclient_18 5.5.36
4011+ mysql_insert_id@libmysqlclient_16 5.5.36
4012+ mysql_insert_id@libmysqlclient_18 5.5.36
4013+ mysql_kill@libmysqlclient_16 5.5.36
4014+ mysql_kill@libmysqlclient_18 5.5.36
4015+ mysql_kill_cont@libmysqlclient_18 5.5.36
4016+ mysql_kill_start@libmysqlclient_18 5.5.36
4017+ mysql_list_dbs@libmysqlclient_16 5.5.36
4018+ mysql_list_dbs@libmysqlclient_18 5.5.36
4019+ mysql_list_dbs_cont@libmysqlclient_18 5.5.36
4020+ mysql_list_dbs_start@libmysqlclient_18 5.5.36
4021+ mysql_list_fields@libmysqlclient_16 5.5.36
4022+ mysql_list_fields@libmysqlclient_18 5.5.36
4023+ mysql_list_fields_cont@libmysqlclient_18 5.5.36
4024+ mysql_list_fields_start@libmysqlclient_18 5.5.36
4025+ mysql_list_processes@libmysqlclient_16 5.5.36
4026+ mysql_list_processes@libmysqlclient_18 5.5.36
4027+ mysql_list_processes_cont@libmysqlclient_18 5.5.36
4028+ mysql_list_processes_start@libmysqlclient_18 5.5.36
4029+ mysql_list_tables@libmysqlclient_16 5.5.36
4030+ mysql_list_tables@libmysqlclient_18 5.5.36
4031+ mysql_list_tables_cont@libmysqlclient_18 5.5.36
4032+ mysql_list_tables_start@libmysqlclient_18 5.5.36
4033+ mysql_load_plugin@libmysqlclient_18 5.5.36
4034+ mysql_load_plugin_v@libmysqlclient_18 5.5.36
4035+ mysql_more_results@libmysqlclient_16 5.5.36
4036+ mysql_more_results@libmysqlclient_18 5.5.36
4037+ mysql_net_realloc@libmysqlclient_16 5.5.36
4038+ mysql_net_realloc@libmysqlclient_18 5.5.36
4039+ mysql_next_result@libmysqlclient_16 5.5.36
4040+ mysql_next_result@libmysqlclient_18 5.5.36
4041+ mysql_next_result_cont@libmysqlclient_18 5.5.36
4042+ mysql_next_result_start@libmysqlclient_18 5.5.36
4043+ mysql_num_fields@libmysqlclient_16 5.5.36
4044+ mysql_num_fields@libmysqlclient_18 5.5.36
4045+ mysql_num_rows@libmysqlclient_16 5.5.36
4046+ mysql_num_rows@libmysqlclient_18 5.5.36
4047+ mysql_options@libmysqlclient_16 5.5.36
4048+ mysql_options@libmysqlclient_18 5.5.36
4049+ mysql_ping@libmysqlclient_16 5.5.36
4050+ mysql_ping@libmysqlclient_18 5.5.36
4051+ mysql_ping_cont@libmysqlclient_18 5.5.36
4052+ mysql_ping_start@libmysqlclient_18 5.5.36
4053+ mysql_plugin_options@libmysqlclient_18 5.5.36
4054+ mysql_query@libmysqlclient_16 5.5.36
4055+ mysql_query@libmysqlclient_18 5.5.36
4056+ mysql_query_cont@libmysqlclient_18 5.5.36
4057+ mysql_query_start@libmysqlclient_18 5.5.36
4058+ mysql_read_query_result@libmysqlclient_16 5.5.36
4059+ mysql_read_query_result@libmysqlclient_18 5.5.36
4060+ mysql_read_query_result_cont@libmysqlclient_18 5.5.36
4061+ mysql_read_query_result_start@libmysqlclient_18 5.5.36
4062+ mysql_real_connect@libmysqlclient_16 5.5.36
4063+ mysql_real_connect@libmysqlclient_18 5.5.36
4064+ mysql_real_connect_cont@libmysqlclient_18 5.5.36
4065+ mysql_real_connect_start@libmysqlclient_18 5.5.36
4066+ mysql_real_escape_string@libmysqlclient_16 5.5.36
4067+ mysql_real_escape_string@libmysqlclient_18 5.5.36
4068+ mysql_real_query@libmysqlclient_16 5.5.36
4069+ mysql_real_query@libmysqlclient_18 5.5.36
4070+ mysql_real_query_cont@libmysqlclient_18 5.5.36
4071+ mysql_real_query_start@libmysqlclient_18 5.5.36
4072+ mysql_refresh@libmysqlclient_16 5.5.36
4073+ mysql_refresh@libmysqlclient_18 5.5.36
4074+ mysql_refresh_cont@libmysqlclient_18 5.5.36
4075+ mysql_refresh_start@libmysqlclient_18 5.5.36
4076+ mysql_rollback@libmysqlclient_16 5.5.36
4077+ mysql_rollback@libmysqlclient_18 5.5.36
4078+ mysql_rollback_cont@libmysqlclient_18 5.5.36
4079+ mysql_rollback_start@libmysqlclient_18 5.5.36
4080+ mysql_row_seek@libmysqlclient_16 5.5.36
4081+ mysql_row_seek@libmysqlclient_18 5.5.36
4082+ mysql_row_tell@libmysqlclient_16 5.5.36
4083+ mysql_row_tell@libmysqlclient_18 5.5.36
4084+ mysql_select_db@libmysqlclient_16 5.5.36
4085+ mysql_select_db@libmysqlclient_18 5.5.36
4086+ mysql_select_db_cont@libmysqlclient_18 5.5.36
4087+ mysql_select_db_start@libmysqlclient_18 5.5.36
4088+ mysql_send_query@libmysqlclient_16 5.5.36
4089+ mysql_send_query@libmysqlclient_18 5.5.36
4090+ mysql_send_query_cont@libmysqlclient_18 5.5.36
4091+ mysql_send_query_start@libmysqlclient_18 5.5.36
4092+ mysql_server_end@libmysqlclient_16 5.5.36
4093+ mysql_server_end@libmysqlclient_18 5.5.36
4094+ mysql_server_init@libmysqlclient_16 5.5.36
4095+ mysql_server_init@libmysqlclient_18 5.5.36
4096+ mysql_set_character_set@libmysqlclient_16 5.5.36
4097+ mysql_set_character_set@libmysqlclient_18 5.5.36
4098+ mysql_set_character_set_cont@libmysqlclient_18 5.5.36
4099+ mysql_set_character_set_start@libmysqlclient_18 5.5.36
4100+ mysql_set_local_infile_default@libmysqlclient_16 5.5.36
4101+ mysql_set_local_infile_default@libmysqlclient_18 5.5.36
4102+ mysql_set_local_infile_handler@libmysqlclient_16 5.5.36
4103+ mysql_set_local_infile_handler@libmysqlclient_18 5.5.36
4104+ mysql_set_server_option@libmysqlclient_16 5.5.36
4105+ mysql_set_server_option@libmysqlclient_18 5.5.36
4106+ mysql_set_server_option_cont@libmysqlclient_18 5.5.36
4107+ mysql_set_server_option_start@libmysqlclient_18 5.5.36
4108+ mysql_shutdown@libmysqlclient_16 5.5.36
4109+ mysql_shutdown@libmysqlclient_18 5.5.36
4110+ mysql_shutdown_cont@libmysqlclient_18 5.5.36
4111+ mysql_shutdown_start@libmysqlclient_18 5.5.36
4112+ mysql_sqlstate@libmysqlclient_16 5.5.36
4113+ mysql_sqlstate@libmysqlclient_18 5.5.36
4114+ mysql_ssl_set@libmysqlclient_16 5.5.36
4115+ mysql_ssl_set@libmysqlclient_18 5.5.36
4116+ mysql_stat@libmysqlclient_16 5.5.36
4117+ mysql_stat@libmysqlclient_18 5.5.36
4118+ mysql_stat_cont@libmysqlclient_18 5.5.36
4119+ mysql_stat_start@libmysqlclient_18 5.5.36
4120+ mysql_stmt_affected_rows@libmysqlclient_16 5.5.36
4121+ mysql_stmt_affected_rows@libmysqlclient_18 5.5.36
4122+ mysql_stmt_attr_get@libmysqlclient_16 5.5.36
4123+ mysql_stmt_attr_get@libmysqlclient_18 5.5.36
4124+ mysql_stmt_attr_set@libmysqlclient_16 5.5.36
4125+ mysql_stmt_attr_set@libmysqlclient_18 5.5.36
4126+ mysql_stmt_bind_param@libmysqlclient_16 5.5.36
4127+ mysql_stmt_bind_param@libmysqlclient_18 5.5.36
4128+ mysql_stmt_bind_result@libmysqlclient_16 5.5.36
4129+ mysql_stmt_bind_result@libmysqlclient_18 5.5.36
4130+ mysql_stmt_close@libmysqlclient_16 5.5.36
4131+ mysql_stmt_close@libmysqlclient_18 5.5.36
4132+ mysql_stmt_close_cont@libmysqlclient_18 5.5.36
4133+ mysql_stmt_close_start@libmysqlclient_18 5.5.36
4134+ mysql_stmt_data_seek@libmysqlclient_16 5.5.36
4135+ mysql_stmt_data_seek@libmysqlclient_18 5.5.36
4136+ mysql_stmt_errno@libmysqlclient_16 5.5.36
4137+ mysql_stmt_errno@libmysqlclient_18 5.5.36
4138+ mysql_stmt_error@libmysqlclient_16 5.5.36
4139+ mysql_stmt_error@libmysqlclient_18 5.5.36
4140+ mysql_stmt_execute@libmysqlclient_16 5.5.36
4141+ mysql_stmt_execute@libmysqlclient_18 5.5.36
4142+ mysql_stmt_execute_cont@libmysqlclient_18 5.5.36
4143+ mysql_stmt_execute_start@libmysqlclient_18 5.5.36
4144+ mysql_stmt_fetch@libmysqlclient_16 5.5.36
4145+ mysql_stmt_fetch@libmysqlclient_18 5.5.36
4146+ mysql_stmt_fetch_column@libmysqlclient_16 5.5.36
4147+ mysql_stmt_fetch_column@libmysqlclient_18 5.5.36
4148+ mysql_stmt_fetch_cont@libmysqlclient_18 5.5.36
4149+ mysql_stmt_fetch_start@libmysqlclient_18 5.5.36
4150+ mysql_stmt_field_count@libmysqlclient_16 5.5.36
4151+ mysql_stmt_field_count@libmysqlclient_18 5.5.36
4152+ mysql_stmt_free_result@libmysqlclient_16 5.5.36
4153+ mysql_stmt_free_result@libmysqlclient_18 5.5.36
4154+ mysql_stmt_free_result_cont@libmysqlclient_18 5.5.36
4155+ mysql_stmt_free_result_start@libmysqlclient_18 5.5.36
4156+ mysql_stmt_init@libmysqlclient_16 5.5.36
4157+ mysql_stmt_init@libmysqlclient_18 5.5.36
4158+ mysql_stmt_insert_id@libmysqlclient_16 5.5.36
4159+ mysql_stmt_insert_id@libmysqlclient_18 5.5.36
4160+ mysql_stmt_next_result@libmysqlclient_18 5.5.36
4161+ mysql_stmt_next_result_cont@libmysqlclient_18 5.5.36
4162+ mysql_stmt_next_result_start@libmysqlclient_18 5.5.36
4163+ mysql_stmt_num_rows@libmysqlclient_16 5.5.36
4164+ mysql_stmt_num_rows@libmysqlclient_18 5.5.36
4165+ mysql_stmt_param_count@libmysqlclient_16 5.5.36
4166+ mysql_stmt_param_count@libmysqlclient_18 5.5.36
4167+ mysql_stmt_param_metadata@libmysqlclient_16 5.5.36
4168+ mysql_stmt_param_metadata@libmysqlclient_18 5.5.36
4169+ mysql_stmt_prepare@libmysqlclient_16 5.5.36
4170+ mysql_stmt_prepare@libmysqlclient_18 5.5.36
4171+ mysql_stmt_prepare_cont@libmysqlclient_18 5.5.36
4172+ mysql_stmt_prepare_start@libmysqlclient_18 5.5.36
4173+ mysql_stmt_reset@libmysqlclient_16 5.5.36
4174+ mysql_stmt_reset@libmysqlclient_18 5.5.36
4175+ mysql_stmt_reset_cont@libmysqlclient_18 5.5.36
4176+ mysql_stmt_reset_start@libmysqlclient_18 5.5.36
4177+ mysql_stmt_result_metadata@libmysqlclient_16 5.5.36
4178+ mysql_stmt_result_metadata@libmysqlclient_18 5.5.36
4179+ mysql_stmt_row_seek@libmysqlclient_16 5.5.36
4180+ mysql_stmt_row_seek@libmysqlclient_18 5.5.36
4181+ mysql_stmt_row_tell@libmysqlclient_16 5.5.36
4182+ mysql_stmt_row_tell@libmysqlclient_18 5.5.36
4183+ mysql_stmt_send_long_data@libmysqlclient_16 5.5.36
4184+ mysql_stmt_send_long_data@libmysqlclient_18 5.5.36
4185+ mysql_stmt_send_long_data_cont@libmysqlclient_18 5.5.36
4186+ mysql_stmt_send_long_data_start@libmysqlclient_18 5.5.36
4187+ mysql_stmt_sqlstate@libmysqlclient_16 5.5.36
4188+ mysql_stmt_sqlstate@libmysqlclient_18 5.5.36
4189+ mysql_stmt_store_result@libmysqlclient_16 5.5.36
4190+ mysql_stmt_store_result@libmysqlclient_18 5.5.36
4191+ mysql_stmt_store_result_cont@libmysqlclient_18 5.5.36
4192+ mysql_stmt_store_result_start@libmysqlclient_18 5.5.36
4193+ mysql_store_result@libmysqlclient_16 5.5.36
4194+ mysql_store_result@libmysqlclient_18 5.5.36
4195+ mysql_store_result_cont@libmysqlclient_18 5.5.36
4196+ mysql_store_result_start@libmysqlclient_18 5.5.36
4197+ mysql_thread_end@libmysqlclient_16 5.5.36
4198+ mysql_thread_end@libmysqlclient_18 5.5.36
4199+ mysql_thread_id@libmysqlclient_16 5.5.36
4200+ mysql_thread_id@libmysqlclient_18 5.5.36
4201+ mysql_thread_init@libmysqlclient_16 5.5.36
4202+ mysql_thread_init@libmysqlclient_18 5.5.36
4203+ mysql_thread_safe@libmysqlclient_16 5.5.36
4204+ mysql_thread_safe@libmysqlclient_18 5.5.36
4205+ mysql_use_result@libmysqlclient_16 5.5.36
4206+ mysql_use_result@libmysqlclient_18 5.5.36
4207+ mysql_warning_count@libmysqlclient_16 5.5.36
4208+ mysql_warning_count@libmysqlclient_18 5.5.36
4209+ net_realloc@libmysqlclient_16 5.5.36
4210+ net_realloc@libmysqlclient_18 5.5.36
4211+ scramble@libmysqlclient_16 5.5.36
4212+ scramble@libmysqlclient_18 5.5.36
4213+ set_dynamic@libmysqlclient_18 5.5.37
4214+ strdup_root@libmysqlclient_18 5.5.37
4215+ strend@libmysqlclient_18 5.5.37
4216+ strfill@libmysqlclient_18 5.5.37
4217+ strmake@libmysqlclient_18 5.5.37
4218+ strmake_root@libmysqlclient_18 5.5.37
4219+ strxmov@libmysqlclient_18 5.5.37
4220+mysql_clear_password.so libmaysqlclient18 #MINVER#
4221+ _mysql_client_plugin_declaration_@Base 5.5.35
4222
4223=== removed file 'debian/libmariadbd-dev.files'
4224--- debian/libmariadbd-dev.files 2012-01-23 11:20:16 +0000
4225+++ debian/libmariadbd-dev.files 1970-01-01 00:00:00 +0000
4226@@ -1,2 +0,0 @@
4227-usr/lib/mysql/*.a
4228-usr/lib/mysql/*.la
4229
4230=== added file 'debian/libmariadbd-dev.install'
4231--- debian/libmariadbd-dev.install 1970-01-01 00:00:00 +0000
4232+++ debian/libmariadbd-dev.install 2014-06-03 12:03:30 +0000
4233@@ -0,0 +1,2 @@
4234+usr/lib/*/libmysqld.a
4235+usr/lib/*/libmysqld.so*
4236
4237=== added file 'debian/libmariadbd-dev.lintian-overrides'
4238--- debian/libmariadbd-dev.lintian-overrides 1970-01-01 00:00:00 +0000
4239+++ debian/libmariadbd-dev.lintian-overrides 2014-06-03 12:03:30 +0000
4240@@ -0,0 +1,11 @@
4241+# These are OK for -dev package
4242+libmariadbd-dev: package-name-doesnt-match-sonames libmysqld18
4243+# OK to have embedded from same source
4244+libmariadbd-dev: embedded-library usr/lib/x86_64-linux-gnu/libmysqld.so.18: libmysqlclient
4245+libmariadbd-dev: embedded-library usr/lib/i386-linux-gnu/libmysqld.so.18: libmysqlclient
4246+# OK, newer Debian should support xz
4247+libmariadbd-dev: data.tar.xz-member-without-dpkg-pre-depends
4248+# OK, this is in fact a dev package
4249+# but for soname libmysqlclient
4250+# (due to upstream reasons)
4251+libmariadbd-dev: non-dev-pkg-with-shlib-symlink usr/lib/x86_64-linux-gnu/libmysqld.so.18 usr/lib/x86_64-linux-gnu/libmysqld.so
4252
4253=== added file 'debian/libmariadbd-dev.postinst'
4254--- debian/libmariadbd-dev.postinst 1970-01-01 00:00:00 +0000
4255+++ debian/libmariadbd-dev.postinst 2014-06-03 12:03:30 +0000
4256@@ -0,0 +1,9 @@
4257+#!/bin/bash
4258+
4259+set -e
4260+
4261+#DEBHELPER#
4262+
4263+ldconfig
4264+
4265+exit 0
4266
4267=== added file 'debian/license-reconcile.yml'
4268--- debian/license-reconcile.yml 1970-01-01 00:00:00 +0000
4269+++ debian/license-reconcile.yml 2014-06-03 12:03:30 +0000
4270@@ -0,0 +1,179 @@
4271+Rules:
4272+ rules:
4273+ -
4274+ Glob: extra/yassl*COPYING
4275+ Contains: Everyone is permitted to copy and distribute verbatim copies
4276+ CopyrightExtract: &extract Copyright\s+\([Cc]\)\s(\Y+[\w\s,]+)\.
4277+ License: GPL-verbatim
4278+ -
4279+ Glob: storage/innobase/COPYING.*
4280+ CopyrightExtract: *extract
4281+ -
4282+ Glob: scripts/mysqlaccess.conf
4283+ MaxVersion: 5.6
4284+ License: GPL-2
4285+ Copyright: 1997 Yves.Carlier@rug.ac.be
4286+ -
4287+ Glob: mysys/sha1.c
4288+ MaxVersion: 5.6
4289+ Copyright:
4290+ - 2002, 2004, 2006 MySQL AB
4291+ - 2001 The Internet Society
4292+ -
4293+ Glob: regex/regexp.c
4294+ MaxVersion: 5.6
4295+ CopyrightExtract: *extract
4296+ VerifyLicense: UNKNOWN
4297+ License: BSD-like
4298+ -
4299+ Glob: libmysqld/lib_sql.cc
4300+ MaxVersion: 5.6
4301+ CopyrightExtract: \s*\*\s*Copyright\s*\(c\)\s+(\Y+\s*\*\s+SWsoft\s+company)
4302+ License: SWsoft
4303+ -
4304+ Glob: debian/additions/mysqlreport*
4305+ MaxVersion: 5.6
4306+ Copyright: Daniel Nichter <public@codenode.com>
4307+ -
4308+ Glob: include/mysql_version.h.in
4309+ MaxVersion: 5.6
4310+ Copyright: 1996, 1999, 2001 MySQL AB
4311+ License: public-domain
4312+ -
4313+ Glob: cmd-line-utils/readline/COPYING extra/yassl/taocrypt/COPYING
4314+ Copyright: 1989, 1991 Free Software Foundation, Inc.
4315+ -
4316+ Glob: s*.h
4317+ VerifyLicense: BSD (3 clause) GPL (v2)
4318+ License: BSD-3-clause or GPL-2
4319+ -
4320+ Glob: cmd-line-utils/readline* sql/* s*.sh
4321+ VerifyLicense: GPL (v2 or later)
4322+ License: GPL-2+
4323+ CopyrightExtract: &CE (?:(?:Copyright\s+\(C\)\s+(\Y+Google\s+Inc)\.\s*\R+)|(?:Copyright\s+\([Cc]\)\s+(\Y+(?:\s*\R\Y+)?\s*Free\s+Software\s+Foundation,\s+Inc)\.\s*\R+)|(?:Copyright\s+\(c\)\s+(\Y+Oracle\s+and/or\s+its\s+affiliates)\.\s+All\s+rights\s+reserved\.\s+\&\s+(tommy\@valley\.ne\.jp)\.\s*\R+)|(?:Copyright\s+\(c\)\s+(\Y+Sun\s+Microsystems,\s+Inc)\.\s*\R+)|(?:Copyright\s+\(c\)\s+(\Y+Innobase\s+Oy)\.\s+All\s+Rights\s+Reserved\.\s+\R+)|(?:/\*\ Copyright\ \(C\)\ (\Y+MySQL\ AB)\s*\R+)|(?:/\*\ Copyright\ \(C\)\ (\Y+MySQL\ AB)\ \&\ ([\w\ ]+)\s*\R+)|(?:(?:/\*|\#)?\s*Copyright\s+(?:\(c\)\s+)?(\Y+MySQL\s+AB),\s+(\Y+Sun\s+Microsystems,\s+Inc)\.\s*\R+)|(?:Copyright\s+\(c\)\s+(\Y+Oracle\s+and/or\s+its\s+affiliates)\.\s+All\s+rights\s+reserved\.\s*\R+)|(?:\s*This\s+program\s+is\s+free\s+software[\w\s;/\.,-]{620,680}\*/\s*/\*\s+Written\s+by\s+([\s\w\.]+),\s+who\s+has\s+a\s+shared\s+copyright\s+to\s+this\s+code))+
4324+ -
4325+ Glob: scripts/*.pl
4326+ VerifyLicense: BSD (3 clause)
4327+ License: BSD-3-clause
4328+ CopyrightExtract: *CE
4329+ -
4330+ Glob: cmd-line-utils/*
4331+ MMagic: text/plain
4332+ VerifyLicense: BSD
4333+ Matches: \s*[\#\*]\s+Copyright\s+\(c\)\s+(?:1989,\s+)?(?:1990,\s+)?(?:1992,\s+)?1993\s+[\#\*]\s+The\s+Regents\s+of\s+the\s+University\s+of\s+California
4334+ Copyright: 1989-1990, 1992-1993, The Regents of the University of California
4335+ -
4336+ Glob: zlib* storage/archive/azlib.h
4337+ MMagic: text/plain
4338+ CopyrightExtract: (?:(?:\s+Copyright\s+\(C\)\s+(\Y+Jean-loup\s+Gailly)\s+and\s+(Mark\s+Adler)\s*\R+)|(?:\s+\*\s+Copyright\s+\(C\)\s+(\Y+Jean-loup\s+Gailly)\.\s*\R+)|(?:\s+\*\s+Copyright\s+\(C\)\s+(\Y+Mark\s+Adler)\s*\R+))+
4339+ -
4340+ Glob: sql/* storage/* mysys/*
4341+ MMagic: text/plain
4342+ VerifyLicense: Public domain GPL (v2)
4343+ License: GPL-2
4344+ CopyrightExtract: *CE
4345+ -
4346+ Glob: s* plugin/* mysql-test/*.p[lm] tests/* mysys/* unittest/* include/* extra/* dbug/*.pl cmd-line-utils/readline*
4347+ VerifyLicense: GPL (v2)
4348+ CopyrightExtract: *CE
4349+ -
4350+ Glob: extra/*
4351+ MMagic: text/plain
4352+ VerifyLicense: UNKNOWN
4353+ CopyrightExtract: *CE
4354+ Matches: \s+This\s+file\s+is\s+free\s+documentation;\s+the\s+Free\s+Software\s+Foundation\s+gives\s+unlimited\s+permission\s+to\s+copy,\s+distribute\s+and\s+modify\s+it.
4355+ License: unlimited-free-doc
4356+ -
4357+ Glob: storage/ndb/src/common/util/md5_hash.cpp
4358+ MaxVersion: 5.6
4359+ MMagic: text/plain
4360+ Contains: |
4361+ /*
4362+ * This code implements the MD5 message-digest algorithm.
4363+ * The algorithm is due to Ron Rivest. This code was
4364+ * written by Colin Plumb in 1993, no copyright is claimed.
4365+ * This code is in the public domain; do with it what you wish.
4366+ *
4367+ * Equivalent code is available from RSA Data Security, Inc.
4368+ * This code has been tested against that, and is equivalent,
4369+ * except that you don't need to include two pages of legalese
4370+ * with every copy.
4371+ *
4372+ * The code has been modified by Mikael Ronstroem to handle
4373+ * calculating a hash value of a key that is always a multiple
4374+ * of 4 bytes long. Word 0 of the calculated 4-word hash value
4375+ * is returned as the hash value.
4376+ */
4377+ Matches: the\s+Free\s+Software\s+Foundation;\s+version\s+2\s+of\s+the\s+License.
4378+ License: GPL-2
4379+ Copyright: Copyright (C) 2003 MySQL AB
4380+ Justification: Seems to have been taken out of public domain by Oracle.
4381+ -
4382+ Glob: mysys/md5.c
4383+ MaxVersion: 5.6
4384+ MMagic: text/plain
4385+ Contains: |
4386+ /* Copyright (C) 2000 MySQL AB
4387+
4388+ This program is free software; you can redistribute it and/or modify
4389+ it under the terms of the GNU General Public License as published by
4390+ the Free Software Foundation; version 2 of the License.
4391+
4392+ This program is distributed in the hope that it will be useful,
4393+ but WITHOUT ANY WARRANTY; without even the implied warranty of
4394+ MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. See the
4395+ GNU General Public License for more details.
4396+
4397+ You should have received a copy of the GNU General Public License
4398+ along with this program; if not, write to the Free Software
4399+ Foundation, Inc., 59 Temple Place, Suite 330, Boston, MA 02111-1307 USA */
4400+
4401+ /*
4402+ * This code implements the MD5 message-digest algorithm.
4403+ * The algorithm is due to Ron Rivest. This code was
4404+ * written by Colin Plumb in 1993, no copyright is claimed.
4405+ * This code is in the public domain; do with it what you wish.
4406+ *
4407+ * Equivalent code is available from RSA Data Security, Inc.
4408+ * This code has been tested against that, and is equivalent,
4409+ * except that you don't need to include two pages of legalese
4410+ * with every copy.
4411+ *
4412+ * To compute the message digest of a chunk of bytes, declare an
4413+ * MD5Context structure, pass it to MD5Init, call MD5Update as
4414+ * needed on buffers full of bytes, and then call MD5Final, which
4415+ * will fill a supplied 16-byte array with the digest.
4416+ */
4417+
4418+ /* This code was modified in 1997 by Jim Kingdon of Cyclic Software to
4419+ not require an integer type which is exactly 32 bits. This work
4420+ draws on the changes for the same purpose by Tatu Ylonen
4421+ <ylo@cs.hut.fi> as part of SSH, but since I didn't actually use
4422+ that code, there is no copyright issue. I hereby disclaim
4423+ copyright in any changes I have made; this code remains in the
4424+ public domain. */
4425+ License: GPL-2
4426+ Copyright: Copyright (C) 2000 MySQL AB
4427+ Justification: Seems to have been taken out of public domain by Oracle.
4428+ -
4429+ Glob: storage/ndb/test/include/getarg.h
4430+ MaxVersion: 5.5.30
4431+ Copyright: |
4432+ 2003 MySQL AB
4433+ 1997-1999 Kungliga Tekniska Högskolan
4434+ License: BSD (3 clause) or GPL-2
4435+ Justification: Check the actual file but this looks like a dual-license to me
4436+ -
4437+ Glob: dbug/*
4438+ Matches: Copyright\s+Abandoned,\s+1987,\s+Fred\s+Fish\s+\*\s+\*\s+\*\s+\*\s+\*\s+\*\s+This\s+previously\s+copyrighted\s+work\s+has\s+been\s+placed\s+into\s+the\s+public\s+\*\s+\*\s+domain\s+by\s+the\s+author\s+and\s+may\s+be\s+freely\s+used\s+for\s+any\s+purpose,\s+\*\s+\*\s+private\s+or\s+commercial\.
4439+ Copyright: 1987 Abandoned Fred Fish
4440+ License: public-domain
4441+Std:
4442+ChangeLog:
4443+ license: GPL-2+
4444+Default:
4445+ rules:
4446+ -
4447+ Copyright: 2000, 2012, Oracle and/or its affiliates. All rights reserved.
4448+ License: GPL-2
4449+ Justification: This is taken from the README file.
4450
4451=== modified file 'debian/mariadb-client-5.5.docs'
4452--- debian/mariadb-client-5.5.docs 2012-01-23 11:20:16 +0000
4453+++ debian/mariadb-client-5.5.docs 2014-06-03 12:03:30 +0000
4454@@ -1,2 +1,1 @@
4455-debian/additions/innotop/changelog.innotop
4456 README
4457
4458=== renamed file 'debian/mariadb-client-5.5.files' => 'debian/mariadb-client-5.5.files.THIS'
4459=== added file 'debian/mariadb-client-5.5.install'
4460--- debian/mariadb-client-5.5.install 1970-01-01 00:00:00 +0000
4461+++ debian/mariadb-client-5.5.install 2014-06-03 12:03:30 +0000
4462@@ -0,0 +1,14 @@
4463+debian/additions/innotop/innotop usr/bin/
4464+debian/additions/mysqlreport usr/bin/
4465+usr/bin/innochecksum
4466+usr/bin/mysql_find_rows
4467+usr/bin/mysql_fix_extensions
4468+usr/bin/mysql_waitpid
4469+usr/bin/mysqlaccess
4470+usr/bin/mysqladmin
4471+usr/bin/mysqlbug
4472+usr/bin/mysqldump
4473+usr/bin/mysqldumpslow
4474+usr/bin/mysqlimport
4475+usr/bin/mysqlshow
4476+usr/bin/mysqlslap
4477
4478=== modified file 'debian/mariadb-client-5.5.lintian-overrides'
4479--- debian/mariadb-client-5.5.lintian-overrides 2012-01-23 11:20:16 +0000
4480+++ debian/mariadb-client-5.5.lintian-overrides 2014-06-03 12:03:30 +0000
4481@@ -1,3 +1,13 @@
4482-mariadb-client-5.3: package-has-a-duplicate-relation
4483-mariadb-client-5.3: wrong-name-for-upstream-changelog usr/share/doc/mariadb-client-5.3/changelog.innotop.gz
4484-mariadb-client-5.3: pkg-not-in-package-test innotop
4485+# OK, embedded has same source
4486+mariadb-client-5.5: embedded-library usr/bin/mysqladmin: libmysqlclient
4487+mariadb-client-5.5: embedded-library usr/bin/mysqldump: libmysqlclient
4488+mariadb-client-5.5: embedded-library usr/bin/mysqlimport: libmysqlclient
4489+mariadb-client-5.5: embedded-library usr/bin/mysqlshow: libmysqlclient
4490+mariadb-client-5.5: embedded-library usr/bin/mysqlslap: libmysqlclient
4491+# OK, newer Debian should support xz
4492+mariadb-client-5.5: data.tar.xz-member-without-dpkg-pre-depends
4493+# Symlink to mysqlcheck, which does have a manpage
4494+mariadb-client-5.5: binary-without-manpage usr/bin/innochecksum
4495+mariadb-client-5.5: binary-without-manpage usr/bin/mysqlanalyze
4496+mariadb-client-5.5: binary-without-manpage usr/bin/mysqloptimize
4497+mariadb-client-5.5: binary-without-manpage usr/bin/mysqlrepair
4498
4499=== added file 'debian/mariadb-client-5.5.manpages'
4500--- debian/mariadb-client-5.5.manpages 1970-01-01 00:00:00 +0000
4501+++ debian/mariadb-client-5.5.manpages 2014-06-03 12:03:30 +0000
4502@@ -0,0 +1,16 @@
4503+debian/additions/innotop/innotop.1
4504+debian/tmp/usr/share/man/man1/mysqlaccess.1
4505+debian/tmp/usr/share/man/man1/mysqladmin.1
4506+debian/tmp/usr/share/man/man1/mysqlbug.1
4507+debian/tmp/usr/share/man/man1/mysqldump.1
4508+debian/tmp/usr/share/man/man1/mysqldumpslow.1
4509+debian/tmp/usr/share/man/man1/mysql_find_rows.1
4510+debian/tmp/usr/share/man/man1/mysql_fix_extensions.1
4511+debian/tmp/usr/share/man/man1/mysqlimport.1
4512+debian/tmp/usr/share/man/man1/mysqlman.1
4513+debian/additions/mysqlreport.1
4514+debian/tmp/usr/share/man/man1/mysqlshow.1
4515+debian/tmp/usr/share/man/man1/mysqlslap.1
4516+debian/additions/mysql_tableinfo.1
4517+debian/tmp/usr/share/man/man1/mysql_waitpid.1
4518+debian/tmp/usr/share/man/man8/mysqlmanager.8
4519
4520=== modified file 'debian/mariadb-client-5.5.menu'
4521--- debian/mariadb-client-5.5.menu 2012-01-23 11:20:16 +0000
4522+++ debian/mariadb-client-5.5.menu 2014-06-03 12:03:30 +0000
4523@@ -1,3 +1,3 @@
4524 # According to /usr/share/menu/ policy 1.4, not /usr/share/doc/debian-policy/
4525-?package(innotop):needs="text" section="Applications/Data Management"\
4526+?package(mariadb-client-5.5):needs="text" section="Applications/Data Management"\
4527 title="innotop" command="/usr/bin/innotop"
4528
4529=== removed file 'debian/mariadb-client-core-5.5.files'
4530--- debian/mariadb-client-core-5.5.files 2012-01-23 11:20:16 +0000
4531+++ debian/mariadb-client-core-5.5.files 1970-01-01 00:00:00 +0000
4532@@ -1,4 +0,0 @@
4533-usr/bin/mysql
4534-usr/bin/mysqlcheck
4535-usr/share/man/man1/mysql.1
4536-usr/share/man/man1/mysqlcheck.1
4537
4538=== added file 'debian/mariadb-client-core-5.5.install'
4539--- debian/mariadb-client-core-5.5.install 1970-01-01 00:00:00 +0000
4540+++ debian/mariadb-client-core-5.5.install 2014-06-03 12:03:30 +0000
4541@@ -0,0 +1,2 @@
4542+usr/bin/mysql
4543+usr/bin/mysqlcheck
4544
4545=== added file 'debian/mariadb-client-core-5.5.lintian-overrides'
4546--- debian/mariadb-client-core-5.5.lintian-overrides 1970-01-01 00:00:00 +0000
4547+++ debian/mariadb-client-core-5.5.lintian-overrides 2014-06-03 12:03:30 +0000
4548@@ -0,0 +1,5 @@
4549+# these libs are OK
4550+mariadb-client-core-5.5: embedded-library usr/bin/mysql: libmysqlclient
4551+mariadb-client-core-5.5: embedded-library usr/bin/mysqlcheck: libmysqlclient
4552+# OK in neẃer Debian, includes support for xz
4553+mariadb-client-core-5.5: data.tar.xz-member-without-dpkg-pre-depends
4554
4555=== added file 'debian/mariadb-client-core-5.5.manpages'
4556--- debian/mariadb-client-core-5.5.manpages 1970-01-01 00:00:00 +0000
4557+++ debian/mariadb-client-core-5.5.manpages 2014-06-03 12:03:30 +0000
4558@@ -0,0 +1,2 @@
4559+debian/tmp/usr/share/man/man1/mysql.1
4560+debian/tmp/usr/share/man/man1/mysqlcheck.1
4561
4562=== added file 'debian/mariadb-client.lintian-overrides'
4563--- debian/mariadb-client.lintian-overrides 1970-01-01 00:00:00 +0000
4564+++ debian/mariadb-client.lintian-overrides 2014-06-03 12:03:30 +0000
4565@@ -0,0 +1,3 @@
4566+# OK in neẃer Debian, includes support for xz
4567+mariadb-client: data.tar.xz-member-without-dpkg-pre-depends
4568+
4569
4570=== removed file 'debian/mariadb-common.files'
4571--- debian/mariadb-common.files 2012-01-26 11:55:12 +0000
4572+++ debian/mariadb-common.files 1970-01-01 00:00:00 +0000
4573@@ -1,1 +0,0 @@
4574-etc/mysql/conf.d/mariadb.cnf
4575
4576=== added file 'debian/mariadb-common.lintian-overrides'
4577--- debian/mariadb-common.lintian-overrides 1970-01-01 00:00:00 +0000
4578+++ debian/mariadb-common.lintian-overrides 2014-06-03 12:03:30 +0000
4579@@ -0,0 +1,3 @@
4580+mariadb-common: data.tar.xz-member-without-dpkg-pre-depends
4581+# OK in neẃer Debian, includes support for xz
4582+mariadb-common: data.tar.xz-member-without-dpkg-pre-depends
4583
4584=== removed file 'debian/mariadb-common.postrm'
4585--- debian/mariadb-common.postrm 2012-01-26 11:55:12 +0000
4586+++ debian/mariadb-common.postrm 1970-01-01 00:00:00 +0000
4587@@ -1,8 +0,0 @@
4588-#!/bin/bash -e
4589-
4590-if [ "$1" = "purge" ]; then
4591- rmdir /etc/mysql/conf.d 2>/dev/null || true
4592- rmdir /etc/mysql 2>/dev/null || true
4593-fi
4594-
4595-#DEBHELPER#
4596
4597=== removed file 'debian/mariadb-server-5.5.NEWS'
4598--- debian/mariadb-server-5.5.NEWS 2012-01-23 11:20:16 +0000
4599+++ debian/mariadb-server-5.5.NEWS 1970-01-01 00:00:00 +0000
4600@@ -1,34 +0,0 @@
4601-mysql-dfsg-5.1 (5.1.38-1) unstable; urgency=low
4602-
4603- * Please read http://dev.mysql.com/doc/refman/5.1/en/upgrading-from-5-0.html
4604- * Make sure to do a REPAIR TABLE on all tables that use UTF-8 and have a
4605- FULLTEXT index.
4606-
4607- -- Christian Hammers <ch@debian.org> Sat, 4 Jul 2009 02:31:21 +0200
4608-
4609-mysql-dfsg-5.0 (5.1.14beta-2) unstable; urgency=low
4610-
4611- * The BerkeleyDB Storage Engine is no longer supported. If the options
4612- have-bdb or skip-bdb are found, MySQL will not start. If you have BDB
4613- tables, you should change them to use another storage engine before
4614- upgrading to 5.1.
4615-
4616- -- Monty Taylor <mordred@inaugust.com> Thu, 18 Jan 2007 12:28:21 -0800
4617-
4618-mysql-dfsg-5.0 (5.0.45-2) unstable; urgency=low
4619-
4620- * Binary logging is now disabled by default. If you really need it (e.g. on
4621- a replication master), remove the comment from the log_bin line in my.cnf.
4622-
4623- -- Norbert Tretkowski <nobse@debian.org> Sat, 10 Nov 2007 16:26:35 +0100
4624-
4625-mysql-dfsg-5.0 (5.0.18-9) unstable; urgency=low
4626-
4627- * Rotation of the binary logs is now configured in /etc/mysql/my.cnf with
4628- "expire-logs-days" which defaults to 20 days. The old file
4629- /etc/mysql/debian-log-rotate.conf should be removed together with
4630- /etc/cron.daily/mysql-server after this value has been adjusted. Note that
4631- the old variable defined the number of files whereas the new one defines
4632- a time span in days.
4633-
4634- -- Christian Hammers <ch@debian.org> Tue, 24 Jan 2006 22:18:21 +0100
4635
4636=== added file 'debian/mariadb-server-5.5.README.Debian'
4637--- debian/mariadb-server-5.5.README.Debian 1970-01-01 00:00:00 +0000
4638+++ debian/mariadb-server-5.5.README.Debian 2014-06-03 12:03:30 +0000
4639@@ -0,0 +1,109 @@
4640+* MYSQL WON'T START OR STOP?:
4641+=============================
4642+You may never ever delete the special mysql user "debian-sys-maint". This
4643+user together with the credentials in /etc/mysql/debian.cnf are used by the
4644+init scripts to stop the server as they would require knowledge of the mysql
4645+root users password else.
4646+So in most of the times you can fix the situation by making sure that the
4647+debian.cnf file contains the right password, e.g. by setting a new one
4648+(remember to do a "flush privileges" then).
4649+
4650+* WHAT TO DO AFTER UPGRADES:
4651+============================
4652+The privilege tables are automatically updated so all there is left is read
4653+the changelogs on dev.mysql.com to see if any changes affect custom apps.
4654+
4655+* WHAT TO DO AFTER INSTALLATION:
4656+================================
4657+The MySQL manual describes certain steps to do at this stage in a separate
4658+chapter. They are not necessary as the Debian packages does them
4659+automatically.
4660+
4661+The only thing that is left over for the admin is
4662+ - setting the passwords
4663+ - creating new users and databases
4664+ - read the rest of this text
4665+
4666+* DOWNGRADING TO 4.0 or 4.1:
4667+============================
4668+Unsupported. Period.
4669+But if you do and get problems or make interesting experiences, mail me, it
4670+might help others.
4671+Ok, if you really want, I would recommend to "mysqldump --opt" all tables,
4672+then purge 4.1, delete /var/lib/mysql, install 4.0 and insert the dumps. Be
4673+carefully, though, with the "mysql" table, you might not simply overwrite that
4674+one as the password for the mysql "debian-sys-maint" user is stored in
4675+/etc/mysql/debian.cnf and needed by /etc/init.d/ to start mysql and check if
4676+it's alive.
4677+
4678+* SOME APPLICATION CAN NO LONGER CONNECT:
4679+=========================================
4680+This application is probably linked against libmysqlclient12 or below and
4681+somebody has created a mysql user with new-style passwords.
4682+The old_passwords=1 option in /etc/mysql/my.cnf might help. If not the
4683+application that inserted the user has to be changed or the application that
4684+tries to connect updated to libmysqlclient14 or -15.
4685+
4686+* NETWORKING:
4687+=============
4688+For security reasons, the Debian package has enabled networking only on the
4689+loop-back device using "bind-address" in /etc/mysql/my.cnf. Check with
4690+"netstat -tlnp" where it is listening. If your connection is aborted
4691+immediately see if "mysqld: all" or similar is in /etc/hosts.allow and read
4692+hosts_access(5).
4693+
4694+* WHERE IS THE DOCUMENTATION?:
4695+==============================
4696+Unfortunately due to licensing restrictions, debian currently not able
4697+to provide the mysql-doc package in any format. For the most up to date
4698+documentation, please go to http://dev.mysql.com/doc.
4699+
4700+* PASSWORDS:
4701+============
4702+It is strongly recommended to set a password for the mysql root user (which
4703+ /usr/bin/mysql -u root -D mysql -e "update user set password=password('new-password') where user='root'"
4704+ /usr/bin/mysql -u root -e "flush privileges"
4705+If you already had a password set add "-p" before "-u" to the lines above.
4706+
4707+
4708+If you are tired to type the password in every time or want to automate your
4709+scripts you can store it in the file $HOME/.my.cnf. It should be chmod 0600
4710+(-rw------- username username .my.cnf) to ensure that nobody else can read
4711+it. Every other configuration parameter can be stored there, too. You will
4712+find an example below and more information in the MySQL manual in
4713+/usr/share/doc/mariadb-doc or www.mysql.com.
4714+
4715+ATTENTION: It is necessary, that a .my.cnf from root always contains a "user"
4716+line wherever there is a "password" line, else, the Debian maintenance
4717+scripts, that use /etc/mysql/debian.cnf, will use the username
4718+"debian-sys-maint" but the password that is in root's .my.cnf. Also note,
4719+that every change you make in the /root/.my.cnf will affect the mysql cron
4720+script, too.
4721+
4722+ # an example of $HOME/.my.cnf
4723+ [client]
4724+ user = your-mysql-username
4725+ password = enter-your-good-new-password-here
4726+
4727+* BIG_ROWS FOR EVEN MORE ROWS IN A TABLE:
4728+=========================================
4729+If you ever run out of rows in a table there is the possibility of building
4730+the package with "-DBIG_ROWS" which, according to a MySQL employee on
4731+packagers@lists.mysql.com should lead to a 64bit row index (I guess > 2^32
4732+rows) but also to an approx. 5% performance loss.
4733+
4734+* BerkeleyDB Storage Engine
4735+===========================
4736+Support for BerkeleyDB has been removed in 5.1, and consequently both the
4737+have-bdb and skip-bdb configuration options will cause the server to fail.
4738+Removing the options from /etc/mysql/my.cnf will fix this problem.
4739+
4740+* FURTHER NOTES ON REPLICATION
4741+===============================
4742+If the MySQL server is acting as a replication slave, you should not
4743+set --tmpdir to point to a directory on a memory-based filesystem or to
4744+a directory that is cleared when the server host restarts. A replication
4745+slave needs some of its temporary files to survive a machine restart so
4746+that it can replicate temporary tables or LOAD DATA INFILE operations. If
4747+files in the temporary file directory are lost when the server restarts,
4748+replication fails.
4749
4750=== modified file 'debian/mariadb-server-5.5.config'
4751--- debian/mariadb-server-5.5.config 2012-01-23 11:20:16 +0000
4752+++ debian/mariadb-server-5.5.config 2014-06-03 12:03:30 +0000
4753@@ -1,4 +1,6 @@
4754-#!/bin/bash -e
4755+#!/bin/bash
4756+
4757+set -e
4758
4759 . /usr/share/debconf/confmodule
4760
4761@@ -9,7 +11,7 @@
4762
4763 # Beware that there are two ypwhich one of them needs the 2>/dev/null!
4764 if test -n "`which ypwhich 2>/dev/null`" && ypwhich >/dev/null 2>&1; then
4765- db_input high mysql-server-5.1/nis_warning || true
4766+ db_input high mysql-server-5.5/nis_warning || true
4767 db_go
4768 fi
4769
4770
4771=== added file 'debian/mariadb-server-5.5.dirs'
4772--- debian/mariadb-server-5.5.dirs 1970-01-01 00:00:00 +0000
4773+++ debian/mariadb-server-5.5.dirs 2014-06-03 12:03:30 +0000
4774@@ -0,0 +1,7 @@
4775+etc/init.d
4776+etc/logrotate.d
4777+etc/mysql/conf.d
4778+usr/bin
4779+usr/share/mysql
4780+usr/share/doc/mariadb-server-5.5
4781+var/lib/mysql-upgrade
4782
4783=== added file 'debian/mariadb-server-5.5.install'
4784--- debian/mariadb-server-5.5.install 1970-01-01 00:00:00 +0000
4785+++ debian/mariadb-server-5.5.install 2014-06-03 12:03:30 +0000
4786@@ -0,0 +1,72 @@
4787+etc/mysql/conf.d/mysqld_safe_syslog.cnf
4788+etc/mysql/debian-start
4789+usr/bin/aria_chk
4790+usr/bin/aria_dump_log
4791+usr/bin/aria_ftdump
4792+usr/bin/aria_pack
4793+usr/bin/aria_read_log
4794+usr/bin/msql2mysql
4795+usr/bin/my_print_defaults
4796+usr/bin/myisam_ftdump
4797+usr/bin/myisamchk
4798+usr/bin/myisamlog
4799+usr/bin/myisampack
4800+usr/bin/mysql_convert_table_format
4801+usr/bin/mysql_install_db
4802+usr/bin/mysql_plugin
4803+usr/bin/mysql_secure_installation
4804+usr/bin/mysql_setpermission
4805+usr/bin/mysql_tzinfo_to_sql
4806+usr/bin/mysql_upgrade
4807+usr/bin/mysql_zap
4808+usr/bin/mysqlbinlog
4809+usr/bin/mysqld_multi
4810+usr/bin/mysqld_safe
4811+usr/bin/mysqlhotcopy
4812+usr/bin/perror
4813+usr/bin/replace
4814+usr/bin/resolve_stack_dump
4815+usr/bin/resolveip
4816+usr/lib/mysql/plugin/auth_pam.so
4817+usr/lib/mysql/plugin/auth_socket.so
4818+usr/lib/mysql/plugin/ha_innodb.so
4819+usr/lib/mysql/plugin/handlersocket.so
4820+usr/lib/mysql/plugin/semisync_master.so
4821+usr/lib/mysql/plugin/semisync_slave.so
4822+usr/lib/mysql/plugin/server_audit.so
4823+usr/lib/mysql/plugin/sphinx.so
4824+usr/lib/mysql/plugin/sql_errlog.so
4825+usr/share/doc/mariadb-server-5.5/INFO_BIN
4826+usr/share/doc/mariadb-server-5.5/INFO_SRC
4827+usr/share/doc/mariadb-server-5.5/mysqld.sym.gz
4828+usr/share/man/man1/innochecksum.1
4829+usr/share/man/man1/msql2mysql.1
4830+usr/share/man/man1/my_print_defaults.1
4831+usr/share/man/man1/myisam_ftdump.1
4832+usr/share/man/man1/myisamchk.1
4833+usr/share/man/man1/myisamlog.1
4834+usr/share/man/man1/myisampack.1
4835+usr/share/man/man1/mysql_convert_table_format.1
4836+usr/share/man/man1/mysql_install_db.1
4837+usr/share/man/man1/mysql_secure_installation.1
4838+usr/share/man/man1/mysql_setpermission.1
4839+usr/share/man/man1/mysql_tzinfo_to_sql.1
4840+usr/share/man/man1/mysql_upgrade.1
4841+usr/share/man/man1/mysql_zap.1
4842+usr/share/man/man1/mysqlbinlog.1
4843+usr/share/man/man1/mysqld_multi.1
4844+usr/share/man/man1/mysqld_safe.1
4845+usr/share/man/man1/mysqlhotcopy.1
4846+usr/share/man/man1/perror.1
4847+usr/share/man/man1/replace.1
4848+usr/share/man/man1/resolve_stack_dump.1
4849+usr/share/man/man1/resolveip.1
4850+usr/share/mysql/debian-start.inc.sh
4851+usr/share/mysql/echo_stderr
4852+usr/share/mysql/errmsg-utf8.txt
4853+usr/share/mysql/fill_help_tables.sql
4854+usr/share/mysql/mysql_performance_tables.sql
4855+usr/share/mysql/mysql_system_tables.sql
4856+usr/share/mysql/mysql_system_tables_data.sql
4857+usr/share/mysql/mysql_test_data_timezone.sql
4858+usr/lib/mysql/plugin/ha_oqgraph.so
4859
4860=== modified file 'debian/mariadb-server-5.5.lintian-overrides'
4861--- debian/mariadb-server-5.5.lintian-overrides 2012-01-28 20:22:14 +0000
4862+++ debian/mariadb-server-5.5.lintian-overrides 2014-06-03 12:03:30 +0000
4863@@ -1,5 +1,10 @@
4864-mariadb-server-5.5: command-with-path-in-maintainer-script postinst
4865-mariadb-server-5.5: possible-bashism-in-maintainer-script postinst:81 'p{("a".."z","A".."Z",0..9)[int(rand(62))]}'
4866-mariadb-server-5.5: possible-bashism-in-maintainer-script preinst:33 '${cmd/ */}'
4867-mariadb-server-5.5: statically-linked-binary ./usr/bin/mysql_tzinfo_to_sql
4868-mariadb-server-5.5: statically-linked-binary ./usr/sbin/mysqld
4869+# Embedded from same source is OK
4870+mariadb-server-5.5: embedded-library usr/bin/mysqlbinlog: libmysqlclient
4871+# OK in neẃer Debian, includes support for xz
4872+mariadb-server-5.5: data.tar.xz-member-without-dpkg-pre-depends
4873+# ash's buildin has no "-e" so use /bin/echo
4874+mariadb-server-5.5: command-with-path-in-maintainer-script postinst:194 /bin/echo
4875+mariadb-server-5.5: command-with-path-in-maintainer-script postinst:208 /bin/echo
4876+mariadb-server-5.5: command-with-path-in-maintainer-script postinst:216 /bin/echo
4877+# mysql_plugin is a symlink and does not need its own manpage
4878+mariadb-server-5.5: binary-without-manpage usr/bin/mysql_plugin
4879
4880=== added file 'debian/mariadb-server-5.5.manpages'
4881--- debian/mariadb-server-5.5.manpages 1970-01-01 00:00:00 +0000
4882+++ debian/mariadb-server-5.5.manpages 2014-06-03 12:03:30 +0000
4883@@ -0,0 +1,22 @@
4884+debian/tmp/usr/share/man/man1/msql2mysql.1
4885+debian/tmp/usr/share/man/man1/myisamchk.1
4886+debian/tmp/usr/share/man/man1/myisam_ftdump.1
4887+debian/tmp/usr/share/man/man1/myisamlog.1
4888+debian/tmp/usr/share/man/man1/myisampack.1
4889+debian/tmp/usr/share/man/man1/my_print_defaults.1
4890+debian/tmp/usr/share/man/man1/mysqlbinlog.1
4891+debian/tmp/usr/share/man/man1/mysql_convert_table_format.1
4892+debian/tmp/usr/share/man/man1/mysqld_multi.1
4893+debian/tmp/usr/share/man/man1/mysqld_safe.1
4894+debian/tmp/usr/share/man/man1/mysqlhotcopy.1
4895+debian/tmp/usr/share/man/man1/mysql_install_db.1
4896+debian/tmp/usr/share/man/man1/mysql_secure_installation.1
4897+debian/tmp/usr/share/man/man1/mysql_setpermission.1
4898+debian/tmp/usr/share/man/man1/mysql_upgrade.1
4899+debian/tmp/usr/share/man/man1/mysql_zap.1
4900+debian/tmp/usr/share/man/man1/perror.1
4901+debian/tmp/usr/share/man/man1/replace.1
4902+debian/tmp/usr/share/man/man1/resolveip.1
4903+debian/tmp/usr/share/man/man1/resolve_stack_dump.1
4904+debian/tmp/usr/share/man/man1/innochecksum.1
4905+debian/tmp/usr/share/man/man1/mysql_tzinfo_to_sql.1
4906
4907=== modified file 'debian/mariadb-server-5.5.mysql.init'
4908--- debian/mariadb-server-5.5.mysql.init 2013-06-13 12:32:57 +0000
4909+++ debian/mariadb-server-5.5.mysql.init 2014-06-03 12:03:30 +0000
4910@@ -105,8 +105,8 @@
4911 # Could be removed during boot
4912 test -e /var/run/mysqld || install -m 755 -o mysql -g root -d /var/run/mysqld
4913
4914- # Start MariaDB!
4915- /usr/bin/mysqld_safe "${@:2}" > /dev/null 2>&1 &
4916+ # Start MariaDB!
4917+ /usr/bin/mysqld_safe "${@:2}" 2>&1 >/dev/null | $ERR_LOGGER &
4918
4919 # 6s was reported in #352070 to be too few when using ndbcluster
4920 for i in $(seq 1 "${MYSQLD_STARTUP_TIMEOUT:-30}"); do
4921@@ -161,7 +161,7 @@
4922
4923 'restart')
4924 set +e; $SELF stop; set -e
4925- $SELF start
4926+ $SELF start "${@}"
4927 ;;
4928
4929 'reload'|'force-reload')
4930
4931=== added file 'debian/mariadb-server-5.5.postinst'
4932--- debian/mariadb-server-5.5.postinst 1970-01-01 00:00:00 +0000
4933+++ debian/mariadb-server-5.5.postinst 2014-06-03 12:03:30 +0000
4934@@ -0,0 +1,267 @@
4935+#!/bin/bash -e
4936+
4937+. /usr/share/debconf/confmodule
4938+
4939+if [ -n "$DEBIAN_SCRIPT_DEBUG" ]; then set -v -x; DEBIAN_SCRIPT_TRACE=1; fi
4940+${DEBIAN_SCRIPT_TRACE:+ echo "#42#DEBUG# RUNNING $0 $*" 1>&2 }
4941+
4942+export PATH=$PATH:/sbin:/usr/sbin:/bin:/usr/bin
4943+
4944+# This command can be used as pipe to syslog. With "-s" it also logs to stderr.
4945+ERR_LOGGER="logger -p daemon.err -t mysqld_safe -i"
4946+# This will make an error in a logged command immediately apparent by aborting
4947+# the install, rather than failing silently and leaving a broken install.
4948+set -o pipefail
4949+
4950+invoke() {
4951+ if [ -x /usr/sbin/invoke-rc.d ]; then
4952+ invoke-rc.d mysql $1
4953+ else
4954+ /etc/init.d/mysql $1
4955+ fi
4956+}
4957+
4958+MYSQL_BOOTSTRAP="/usr/sbin/mysqld --bootstrap --user=mysql --skip-grant-tables --loose-innodb=OFF --default-storage-engine=myisam"
4959+
4960+test_mysql_access() {
4961+ mysql --no-defaults -u root -h localhost </dev/null >/dev/null 2>&1
4962+}
4963+
4964+# call with $1 = "online" to connect to the server, otherwise it bootstraps
4965+set_mysql_rootpw() {
4966+ # forget we ever saw the password. don't use reset to keep the seen status
4967+ db_set mysql-server/root_password ""
4968+
4969+ tfile=`mktemp`
4970+ if [ ! -f "$tfile" ]; then
4971+ return 1
4972+ fi
4973+
4974+ # this avoids us having to call "test" or "[" on $rootpw
4975+ cat << EOF > $tfile
4976+USE mysql;
4977+UPDATE user SET password=PASSWORD("$rootpw") WHERE user='root';
4978+FLUSH PRIVILEGES;
4979+EOF
4980+ if grep -q 'PASSWORD("")' $tfile; then
4981+ retval=0
4982+ elif [ "$1" = "online" ]; then
4983+ mysql --no-defaults -u root -h localhost <$tfile >/dev/null
4984+ retval=$?
4985+ else
4986+ $MYSQL_BOOTSTRAP <$tfile
4987+ retval=$?
4988+ fi
4989+ rm -f $tfile
4990+ return $retval
4991+}
4992+
4993+# This is necessary because mysql_install_db removes the pid file in /var/run
4994+# and because changed configuration options should take effect immediately.
4995+# In case the server wasn't running at all it should be ok if the stop
4996+# script fails. I can't tell at this point because of the cleaned /var/run.
4997+set +e; invoke stop; set -e
4998+
4999+case "$1" in
5000+ configure)
The diff has been truncated for viewing.

Subscribers

People subscribed via source and target branches