summaryrefslogtreecommitdiff
path: root/debian
diff options
context:
space:
mode:
authorSergei Golubchik <sergii@pisem.net>2013-09-21 10:14:42 +0200
committerSergei Golubchik <sergii@pisem.net>2013-09-21 10:14:42 +0200
commit9af177042ed0e297b8f26f2c2f8ae00b3a814a90 (patch)
tree0d8d2fab7ebeb02f3c25c00ac1543754b625bde8 /debian
parenta6add4ff43a905cee1bfd00b2ec2d276018866ce (diff)
parent2fe0836eed16ce5809c34064893681f12c77da9f (diff)
downloadmariadb-git-9af177042ed0e297b8f26f2c2f8ae00b3a814a90.tar.gz
10.0-base merge.
Partitioning/InnoDB changes are *not* merged (they'll come from 5.6) TokuDB does not compile (not updated to 10.0 SE API)
Diffstat (limited to 'debian')
-rwxr-xr-xdebian/autobake-deb.sh4
-rw-r--r--debian/dist/Debian/control18
-rw-r--r--debian/dist/Debian/mariadb-server-10.0.files.in18
-rwxr-xr-xdebian/dist/Debian/rules10
-rw-r--r--debian/dist/Ubuntu/control18
-rw-r--r--debian/dist/Ubuntu/mariadb-server-10.0.files.in18
-rwxr-xr-xdebian/dist/Ubuntu/rules10
-rw-r--r--debian/libmariadbclient18.files2
-rw-r--r--debian/mariadb-test-10.0.dirs3
-rw-r--r--debian/mariadb-test-10.0.files10
-rw-r--r--debian/mariadb-tokudb-engine-5.5.files5
11 files changed, 79 insertions, 37 deletions
diff --git a/debian/autobake-deb.sh b/debian/autobake-deb.sh
index 5376ed58974..ec725d419c2 100755
--- a/debian/autobake-deb.sh
+++ b/debian/autobake-deb.sh
@@ -15,6 +15,8 @@ set -e
# Buildbot, running the test suite from installed .debs on a clean VM.
export DEB_BUILD_OPTIONS="nocheck"
+export MARIADB_OPTIONAL_DEBS="tokudb-engine"
+
# Find major.minor version.
#
source ./VERSION
@@ -76,6 +78,8 @@ echo "Creating package version ${UPSTREAM}${PATCHLEVEL}-${RELEASE_NAME}${RELEASE
#
fakeroot dpkg-buildpackage -us -uc
+[ -e debian/autorm-file ] && rm -vf `cat debian/autorm-file`
+
echo "Build complete"
# end of autobake script
diff --git a/debian/dist/Debian/control b/debian/dist/Debian/control
index 998c9d710eb..218efa3faca 100644
--- a/debian/dist/Debian/control
+++ b/debian/dist/Debian/control
@@ -14,6 +14,8 @@ Package: libmariadbclient18
Section: libs
Architecture: any
Depends: mariadb-common, libmysqlclient18 (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
+Conflicts: mariadb-server-5.5 (<< 5.5.33), mariadb-galera-server-5.5 (<< 5.5.33),
+ mariadb-server-5.1, mariadb-server-5.2, mariadb-server-5.3
Description: MariaDB database client library
MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
@@ -164,10 +166,11 @@ Description: MariaDB database core server files
Package: mariadb-test-10.0
Section: database
-Architecture: all
+Architecture: any
Depends: mariadb-server-10.0 (= ${source:Version}), mariadb-client-10.0 (= ${source:Version})
Conflicts: mariadb-test (<< ${source:Version}),
- mariadb-test-5.1, mariadb-test-5.2, mariadb-test-5.3
+ mariadb-test-5.1, mariadb-test-5.2, mariadb-test-5.3,
+ mariadb-server-5.5 (<< 5.5.33), mariadb-galera-server-5.5 (<< 5.5.33)
Replaces: mariadb-test (<< ${source:Version}),
mariadb-test-5.1, mariadb-test-5.2, mariadb-test-5.3
Description: MariaDB database regression test suite
@@ -238,9 +241,18 @@ Description: MariaDB database regression test suite (metapackage depending on th
Package: mariadb-connect-engine-10.0
Section: database
-Architecture: all
+Architecture: any
Depends: mariadb-server-10.0, unixODBC-dev, libxml2-dev
Description: Connect storage engine for MariaDB
Connect engine supports a number of file formats (dbf, xml, txt, bin, etc),
connections to ODBC tables and remote MySQL tables, as well as a number of
other interesting features.
+
+Package: mariadb-tokudb-engine-10.0
+Section: database
+Architecture: any
+Depends: mariadb-server-10.0
+Description: TokuDB storage engine for MariaDB
+ TokuDB is a highly scalable, zero maintenance downtime, ACID and MVCC
+ compliant MariaDB Storage Engine that offers powerful indexing-based query
+ acceleration. http://www.tokutek.com/products/tokudb-for-mysql/
diff --git a/debian/dist/Debian/mariadb-server-10.0.files.in b/debian/dist/Debian/mariadb-server-10.0.files.in
index e56a5894b3f..05dcc407c72 100644
--- a/debian/dist/Debian/mariadb-server-10.0.files.in
+++ b/debian/dist/Debian/mariadb-server-10.0.files.in
@@ -1,19 +1,11 @@
-usr/lib/mysql/plugin/adt_null.so
-usr/lib/mysql/plugin/auth_pam.so
+usr/lib/mysql/plugin/ha_innodb.so
+usr/lib/mysql/plugin/ha_oqgraph.so
+usr/lib/mysql/plugin/sphinx.so
usr/lib/mysql/plugin/auth_socket.so
-usr/lib/mysql/plugin/auth_test_plugin.so
-usr/lib/mysql/plugin/daemon_example.ini
-usr/lib/mysql/plugin/dialog_examples.so
-usr/lib/mysql/plugin/dialog.so
-usr/lib/mysql/plugin/handlersocket.so
-usr/lib/mysql/plugin/libdaemon_example.so
-usr/lib/mysql/plugin/mypluglib.so
-usr/lib/mysql/plugin/mysql_clear_password.so
-usr/lib/mysql/plugin/qa_auth_client.so
-usr/lib/mysql/plugin/qa_auth_interface.so
-usr/lib/mysql/plugin/qa_auth_server.so
+usr/lib/mysql/plugin/auth_pam.so
usr/lib/mysql/plugin/semisync_master.so
usr/lib/mysql/plugin/semisync_slave.so
+usr/lib/mysql/plugin/handlersocket.so
usr/lib/mysql/plugin/sql_errlog.so
usr/lib/libhsclient.so.*
etc/mysql/debian-start
diff --git a/debian/dist/Debian/rules b/debian/dist/Debian/rules
index 6de5c6603dc..56808f627ed 100755
--- a/debian/dist/Debian/rules
+++ b/debian/dist/Debian/rules
@@ -201,7 +201,15 @@ install: build
cp debian/mariadb-server-10.0.mysql-server.logrotate $$d/_etc_logrotate.d_mysql-server; \
cp debian/additions/debian-start $$d/_etc_mysql_debian-start;
- dh_movefiles
+ autorm=debian/autorm-file; \
+ rm -f $$autorm; \
+ ignore=''; \
+ for p in $$MARIADB_OPTIONAL_DEBS; do \
+ p=mariadb-$$p-5.5; \
+ dh_movefiles --package=$$p || echo "../$$p*.deb" >> $$autorm; \
+ ignore="$$ignore --no-package=$$p"; \
+ done; \
+ sh -c "dh_movefiles $$ignore"
# Build architecture-independent files here.
binary-indep: build install
diff --git a/debian/dist/Ubuntu/control b/debian/dist/Ubuntu/control
index 228498c1015..857eb530d9e 100644
--- a/debian/dist/Ubuntu/control
+++ b/debian/dist/Ubuntu/control
@@ -14,6 +14,8 @@ Package: libmariadbclient18
Section: libs
Architecture: any
Depends: mariadb-common, libmysqlclient18 (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
+Conflicts: mariadb-server-5.5 (<< 5.5.33), mariadb-galera-server-5.5 (<< 5.5.33),
+ mariadb-server-5.1, mariadb-server-5.2, mariadb-server-5.3
Description: MariaDB database client library
MariaDB is a fast, stable and true multi-user, multi-threaded SQL database
server. SQL (Structured Query Language) is the most popular database query
@@ -158,10 +160,11 @@ Description: MariaDB database core server files
Package: mariadb-test-10.0
Section: database
-Architecture: all
+Architecture: any
Depends: mariadb-server-10.0 (= ${source:Version}), mariadb-client-10.0 (= ${source:Version})
Conflicts: mariadb-test (<< ${source:Version}),
- mariadb-test-5.1, mariadb-test-5.2, mariadb-test-5.3
+ mariadb-test-5.1, mariadb-test-5.2, mariadb-test-5.3,
+ mariadb-server-5.5 (<< 5.5.33), mariadb-galera-server-5.5 (<< 5.5.33)
Replaces: mariadb-test (<< ${source:Version}),
mariadb-test-5.1, mariadb-test-5.2, mariadb-test-5.3
Description: MariaDB database regression test suite
@@ -232,9 +235,18 @@ Description: MariaDB database regression test suite (metapackage depending on th
Package: mariadb-connect-engine-10.0
Section: database
-Architecture: all
+Architecture: any
Depends: mariadb-server-10.0, unixODBC-dev, libxml2-dev
Description: Connect storage engine for MariaDB
Connect engine supports a number of file formats (dbf, xml, txt, bin, etc),
connections to ODBC tables and remote MySQL tables, as well as a number of
other interesting features.
+
+Package: mariadb-tokudb-engine-10.0
+Section: database
+Architecture: any
+Depends: mariadb-server-10.0
+Description: TokuDB storage engine for MariaDB
+ TokuDB is a highly scalable, zero maintenance downtime, ACID and MVCC
+ compliant MariaDB Storage Engine that offers powerful indexing-based query
+ acceleration. http://www.tokutek.com/products/tokudb-for-mysql/
diff --git a/debian/dist/Ubuntu/mariadb-server-10.0.files.in b/debian/dist/Ubuntu/mariadb-server-10.0.files.in
index c0e67d617d9..c9d384b71a6 100644
--- a/debian/dist/Ubuntu/mariadb-server-10.0.files.in
+++ b/debian/dist/Ubuntu/mariadb-server-10.0.files.in
@@ -1,19 +1,11 @@
-usr/lib/mysql/plugin/adt_null.so
-usr/lib/mysql/plugin/auth_pam.so
+usr/lib/mysql/plugin/ha_innodb.so
+usr/lib/mysql/plugin/ha_oqgraph.so
+usr/lib/mysql/plugin/sphinx.so
usr/lib/mysql/plugin/auth_socket.so
-usr/lib/mysql/plugin/auth_test_plugin.so
-usr/lib/mysql/plugin/daemon_example.ini
-usr/lib/mysql/plugin/dialog_examples.so
-usr/lib/mysql/plugin/dialog.so
-usr/lib/mysql/plugin/handlersocket.so
-usr/lib/mysql/plugin/libdaemon_example.so
-usr/lib/mysql/plugin/mypluglib.so
-usr/lib/mysql/plugin/mysql_clear_password.so
-usr/lib/mysql/plugin/qa_auth_client.so
-usr/lib/mysql/plugin/qa_auth_interface.so
-usr/lib/mysql/plugin/qa_auth_server.so
+usr/lib/mysql/plugin/auth_pam.so
usr/lib/mysql/plugin/semisync_master.so
usr/lib/mysql/plugin/semisync_slave.so
+usr/lib/mysql/plugin/handlersocket.so
usr/lib/mysql/plugin/sql_errlog.so
usr/lib/libhsclient.so.*
etc/apparmor.d/usr.sbin.mysqld
diff --git a/debian/dist/Ubuntu/rules b/debian/dist/Ubuntu/rules
index 739cd91dcd8..ad85f65fb61 100755
--- a/debian/dist/Ubuntu/rules
+++ b/debian/dist/Ubuntu/rules
@@ -206,7 +206,15 @@ install: build
# install Apport hook
install -D -m 644 debian/mariadb-server-10.0.py $(TMP)/usr/share/apport/package-hooks/source_mariadb-10.0.py
- dh_movefiles
+ autorm=debian/autorm-file; \
+ rm -f $$autorm; \
+ ignore=''; \
+ for p in $$MARIADB_OPTIONAL_DEBS; do \
+ p=mariadb-$$p-5.5; \
+ dh_movefiles --package=$$p || echo "../$$p*.deb" >> $$autorm; \
+ ignore="$$ignore --no-package=$$p"; \
+ done; \
+ sh -c "dh_movefiles $$ignore"
# Build architecture-independent files here.
binary-indep: build install
diff --git a/debian/libmariadbclient18.files b/debian/libmariadbclient18.files
index 5162b7b9639..75020ecbd16 100644
--- a/debian/libmariadbclient18.files
+++ b/debian/libmariadbclient18.files
@@ -1 +1,3 @@
usr/lib/libmysqlclient*.so.*
+usr/lib/mysql/plugin/mysql_clear_password.so
+usr/lib/mysql/plugin/dialog.so
diff --git a/debian/mariadb-test-10.0.dirs b/debian/mariadb-test-10.0.dirs
index 2c10b45efba..f45bf43f7e9 100644
--- a/debian/mariadb-test-10.0.dirs
+++ b/debian/mariadb-test-10.0.dirs
@@ -67,9 +67,6 @@ usr/share/mysql/mysql-test/suite/ndb_team
usr/share/mysql/mysql-test/suite/ndb_team/t
usr/share/mysql/mysql-test/suite/ndb_team/r
usr/share/mysql/mysql-test/suite/federated
-usr/share/mysql/mysql-test/suite/pbxt
-usr/share/mysql/mysql-test/suite/pbxt/t
-usr/share/mysql/mysql-test/suite/pbxt/r
usr/share/mysql/mysql-test/suite/funcs_1
usr/share/mysql/mysql-test/suite/funcs_1/cursors
usr/share/mysql/mysql-test/suite/funcs_1/bitdata
diff --git a/debian/mariadb-test-10.0.files b/debian/mariadb-test-10.0.files
index ac4fc1c4fca..b95f8e0b51c 100644
--- a/debian/mariadb-test-10.0.files
+++ b/debian/mariadb-test-10.0.files
@@ -1,3 +1,13 @@
+usr/lib/mysql/plugin/dialog_examples.so
+usr/lib/mysql/plugin/auth_test_plugin.so
+usr/lib/mysql/plugin/qa_auth_interface.so
+usr/lib/mysql/plugin/qa_auth_server.so
+usr/lib/mysql/plugin/qa_auth_client.so
+usr/lib/mysql/plugin/auth_0x0100.so
+usr/lib/mysql/plugin/mypluglib.so
+usr/lib/mysql/plugin/daemon_example.ini
+usr/lib/mysql/plugin/libdaemon_example.so
+usr/lib/mysql/plugin/adt_null.so
usr/bin/mysql_client_test
usr/bin/mysql_client_test_embedded
usr/bin/mysqltest_embedded
diff --git a/debian/mariadb-tokudb-engine-5.5.files b/debian/mariadb-tokudb-engine-5.5.files
new file mode 100644
index 00000000000..2dc9f22d77a
--- /dev/null
+++ b/debian/mariadb-tokudb-engine-5.5.files
@@ -0,0 +1,5 @@
+etc/mysql/conf.d/tokudb.cnf
+usr/bin/tokuftdump
+usr/lib/mysql/plugin/ha_tokudb.so
+usr/share/doc/mariadb-tokudb-engine-5.5/README-TOKUDB
+usr/share/doc/mariadb-tokudb-engine-5.5/README.md