Commit 588a1d65 authored by Sergei Golubchik's avatar Sergei Golubchik

* mariadb-tokudb-engine-5.5.deb

* now only production-use server plugins are in mariadb-server.
  client plugins are now in libmariadbclient18,
  testing-only server plugins are now in mariadb-test
  (set Coflicts: field properly)
* fix Architecture: of mariadb-test
* terrible hack to support optional deb packages for optional plugins
parent 3e5b2106
......@@ -184,8 +184,8 @@ SET(INSTALL_PLUGINDIR_DEB "lib/mysql/plugin")
#
SET(INSTALL_INCLUDEDIR_DEB "include/mysql")
#
SET(INSTALL_DOCDIR_DEB "docs")
SET(INSTALL_DOCREADMEDIR_DEB ".")
SET(INSTALL_DOCDIR_DEB "share/doc/mariadb-server-5.5")
SET(INSTALL_DOCREADMEDIR_DEB "share/doc/mariadb-server-5.5")
SET(INSTALL_MANDIR_DEB "share/man")
SET(INSTALL_INFODIR_DEB "share/info")
#
......
......@@ -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
......@@ -14,6 +14,7 @@ Package: libmariadbclient18
Section: libs
Architecture: any
Depends: mariadb-common, libmysqlclient18 (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
Conflicts: mariadb-server-5.5 (<< 5.5.32)
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 +165,11 @@ Description: MariaDB database core server files
Package: mariadb-test-5.5
Section: database
Architecture: all
Architecture: any
Depends: mariadb-server-5.5 (= ${source:Version}), mariadb-client-5.5 (= ${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.32)
Replaces: mariadb-test (<< ${source:Version}),
mariadb-test-5.1, mariadb-test-5.2, mariadb-test-5.3
Description: MariaDB database regression test suite
......@@ -235,3 +237,12 @@ Description: MariaDB database regression test suite (metapackage depending on th
This is an empty package that depends on the current "best" version of
mariadb-test (currently mariadb-test-5.5), as determined by the MariaDB
maintainers.
Package: mariadb-tokudb-engine-5.5
Section: database
Architecture: all
Depends: mariadb-server-5.5
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/
usr/lib/mysql/plugin/
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_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
etc/mysql/conf.d/mysqld_safe_syslog.cnf
......
......@@ -201,7 +201,15 @@ install: build
cp debian/mariadb-server-5.5.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
......
......@@ -14,6 +14,7 @@ Package: libmariadbclient18
Section: libs
Architecture: any
Depends: mariadb-common, libmysqlclient18 (= ${source:Version}), ${shlibs:Depends}, ${misc:Depends}
Conflicts: mariadb-server-5.5 (<< 5.5.32)
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 +159,11 @@ Description: MariaDB database core server files
Package: mariadb-test-5.5
Section: database
Architecture: all
Architecture: any
Depends: mariadb-server-5.5 (= ${source:Version}), mariadb-client-5.5 (= ${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.32)
Replaces: mariadb-test (<< ${source:Version}),
mariadb-test-5.1, mariadb-test-5.2, mariadb-test-5.3
Description: MariaDB database regression test suite
......@@ -229,3 +231,12 @@ Description: MariaDB database regression test suite (metapackage depending on th
This is an empty package that depends on the current "best" version of
mariadb-test (currently mariadb-test-5.5), as determined by the MariaDB
maintainers.
Package: mariadb-tokudb-engine-5.5
Section: database
Architecture: all
Depends: mariadb-server-5.5
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/
usr/lib/mysql/plugin/
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_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
usr/share/apport/package-hooks/source_mariadb-5.5.py
......
......@@ -206,7 +206,15 @@ install: build
# install Apport hook
install -D -m 644 debian/mariadb-server-5.5.py $(TMP)/usr/share/apport/package-hooks/source_mariadb-5.5.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
......
usr/lib/libmysqlclient*.so.*
usr/lib/mysql/plugin/mysql_clear_password.so
usr/lib/mysql/plugin/dialog.so
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
......
usr/bin/tokuftdump
usr/lib/mysql/plugin/ha_tokudb.so
usr/share/doc/mariadb-server-5.5/tokudb/README-TOKUDB
usr/share/doc/mariadb-server-5.5/tokudb/README.md
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment