diff options
author | unknown <knielsen@knielsen-hq.org> | 2012-01-28 21:22:14 +0100 |
---|---|---|
committer | unknown <knielsen@knielsen-hq.org> | 2012-01-28 21:22:14 +0100 |
commit | f923073f681aaae634e915489d50c24c19320bb4 (patch) | |
tree | eeb245e1eeb3caa630986c72a36916a4ec7e0478 /debian/dist | |
parent | 300ec4d25ea7c5d933acabe2f9d4cc1e11da537b (diff) | |
download | mariadb-git-f923073f681aaae634e915489d50c24c19320bb4.tar.gz |
Add INFO_SRC and INFO_BIN to .deb packaging to fix a test failure in
file_contents.test. Also fix some old references to 5.3 in .deb packaging
found while debugging this.
Diffstat (limited to 'debian/dist')
-rw-r--r-- | debian/dist/Debian/mariadb-server-5.5.dirs | 2 | ||||
-rw-r--r-- | debian/dist/Debian/mariadb-server-5.5.files | 2 | ||||
-rwxr-xr-x | debian/dist/Debian/rules | 5 | ||||
-rw-r--r-- | debian/dist/Ubuntu/mariadb-server-5.5.dirs | 2 | ||||
-rw-r--r-- | debian/dist/Ubuntu/mariadb-server-5.5.files | 2 | ||||
-rw-r--r-- | debian/dist/Ubuntu/mariadb-server-5.5.py | 4 | ||||
-rwxr-xr-x | debian/dist/Ubuntu/rules | 5 |
7 files changed, 16 insertions, 6 deletions
diff --git a/debian/dist/Debian/mariadb-server-5.5.dirs b/debian/dist/Debian/mariadb-server-5.5.dirs index 40b789231e0..6afd2a1854c 100644 --- a/debian/dist/Debian/mariadb-server-5.5.dirs +++ b/debian/dist/Debian/mariadb-server-5.5.dirs @@ -5,6 +5,6 @@ usr/bin usr/sbin usr/share/man/man8 usr/share/mysql -usr/share/doc/mariadb-server-5.3 +usr/share/doc/mariadb-server-5.5 var/run/mysqld var/lib/mysql-upgrade diff --git a/debian/dist/Debian/mariadb-server-5.5.files b/debian/dist/Debian/mariadb-server-5.5.files index e57752ec54a..b236d19a2c5 100644 --- a/debian/dist/Debian/mariadb-server-5.5.files +++ b/debian/dist/Debian/mariadb-server-5.5.files @@ -30,6 +30,8 @@ usr/bin/replace usr/bin/resolve_stack_dump usr/bin/resolveip usr/share/doc/mariadb-server-5.5/mysqld.sym.gz +usr/share/doc/mariadb-server-5.5/INFO_SRC +usr/share/doc/mariadb-server-5.5/INFO_BIN usr/share/lintian/overrides/mariadb-server-5.5 usr/share/man/man1/msql2mysql.1 usr/share/man/man1/myisamchk.1 diff --git a/debian/dist/Debian/rules b/debian/dist/Debian/rules index 3c060c99c88..24e9b22132a 100755 --- a/debian/dist/Debian/rules +++ b/debian/dist/Debian/rules @@ -191,7 +191,7 @@ install: build install -m 0755 $(BUILDDIR)/scripts/mysqld_safe $(TMP)/usr/bin/mysqld_safe mkdir -p $(TMP)/usr/share/doc/mariadb-server-5.5/examples # We have a sane my.cnf, cruft not needed (remove my-*.cnf and config-*.cnf) - # $(TMP)/usr/share/mysql/*cnf $(TMP)/usr/share/doc/mariadb-server-5.3/examples/ + # $(TMP)/usr/share/mysql/*cnf $(TMP)/usr/share/doc/mariadb-server-5.5/examples/ rm -vf $(TMP)/usr/share/mysql/my-*.cnf \ $(TMP)/usr/share/mysql/config-*.cnf \ $(TMP)/usr/share/mysql/mi_test_all* \ @@ -203,6 +203,9 @@ install: build install -m 0755 debian/additions/debian-start $(TMP)/etc/mysql/ install -m 0755 debian/additions/debian-start.inc.sh $(TMP)/usr/share/mysql/ + install -m 0644 $(builddir)/Docs/INFO_SRC $(TMP)/usr/share/doc/mariadb-server-5.5/INFO_SRC + install -m 0644 $(builddir)/Docs/INFO_BIN $(TMP)/usr/share/doc/mariadb-server-5.5/INFO_BIN + # mariadb-test mv $(TMP)/usr/mysql-test $(TMP)/usr/share/mysql diff --git a/debian/dist/Ubuntu/mariadb-server-5.5.dirs b/debian/dist/Ubuntu/mariadb-server-5.5.dirs index 40b789231e0..6afd2a1854c 100644 --- a/debian/dist/Ubuntu/mariadb-server-5.5.dirs +++ b/debian/dist/Ubuntu/mariadb-server-5.5.dirs @@ -5,6 +5,6 @@ usr/bin usr/sbin usr/share/man/man8 usr/share/mysql -usr/share/doc/mariadb-server-5.3 +usr/share/doc/mariadb-server-5.5 var/run/mysqld var/lib/mysql-upgrade diff --git a/debian/dist/Ubuntu/mariadb-server-5.5.files b/debian/dist/Ubuntu/mariadb-server-5.5.files index d08e6253fe8..e88e52689ae 100644 --- a/debian/dist/Ubuntu/mariadb-server-5.5.files +++ b/debian/dist/Ubuntu/mariadb-server-5.5.files @@ -32,6 +32,8 @@ usr/bin/replace usr/bin/resolve_stack_dump usr/bin/resolveip usr/share/doc/mariadb-server-5.5/mysqld.sym.gz +usr/share/doc/mariadb-server-5.5/INFO_SRC +usr/share/doc/mariadb-server-5.5/INFO_BIN usr/share/lintian/overrides/mariadb-server-5.5 usr/share/man/man1/msql2mysql.1 usr/share/man/man1/myisamchk.1 diff --git a/debian/dist/Ubuntu/mariadb-server-5.5.py b/debian/dist/Ubuntu/mariadb-server-5.5.py index e0c59c260e2..a1372a3baf5 100644 --- a/debian/dist/Ubuntu/mariadb-server-5.5.py +++ b/debian/dist/Ubuntu/mariadb-server-5.5.py @@ -1,4 +1,4 @@ -'''apport package hook for mariadb-5.3 +'''apport package hook for mariadb-5.5 (c) 2009 Canonical Ltd. Author: Mathias Gug <mathias.gug@canonical.com> @@ -20,7 +20,7 @@ def _add_my_conf_files(report, filename): continue def add_info(report): - attach_conffiles(report, 'mariadb-server-5.3', conffiles=None) + attach_conffiles(report, 'mariadb-server-5.5', conffiles=None) key = 'Logs' + path_to_key('/var/log/daemon.log') report[key] = "" for line in read_file('/var/log/daemon.log').split('\n'): diff --git a/debian/dist/Ubuntu/rules b/debian/dist/Ubuntu/rules index f0ece68641d..69e1cba2893 100755 --- a/debian/dist/Ubuntu/rules +++ b/debian/dist/Ubuntu/rules @@ -191,7 +191,7 @@ install: build install -m 0755 $(BUILDDIR)/scripts/mysqld_safe $(TMP)/usr/bin/mysqld_safe mkdir -p $(TMP)/usr/share/doc/mariadb-server-5.5/examples # We have a sane my.cnf, cruft not needed (remove my-*.cnf and config-*.cnf) - # $(TMP)/usr/share/mysql/*cnf $(TMP)/usr/share/doc/mariadb-server-5.3/examples/ + # $(TMP)/usr/share/mysql/*cnf $(TMP)/usr/share/doc/mariadb-server-5.5/examples/ rm -vf $(TMP)/usr/share/mysql/my-*.cnf \ $(TMP)/usr/share/mysql/config-*.cnf \ $(TMP)/usr/share/mysql/mi_test_all* \ @@ -203,6 +203,9 @@ install: build install -m 0755 debian/additions/debian-start $(TMP)/etc/mysql/ install -m 0755 debian/additions/debian-start.inc.sh $(TMP)/usr/share/mysql/ + install -m 0644 $(builddir)/Docs/INFO_SRC $(TMP)/usr/share/doc/mariadb-server-5.5/INFO_SRC + install -m 0644 $(builddir)/Docs/INFO_BIN $(TMP)/usr/share/doc/mariadb-server-5.5/INFO_BIN + # mariadb-test mv $(TMP)/usr/mysql-test $(TMP)/usr/share/mysql |