[Maria-developers] Should these files be included in the Debian packages?
![](https://secure.gravatar.com/avatar/81476f70a6281904d909dabab08d081a.jpg?s=120&d=mm&r=g)
Hello! While working on MDEV-9259 I did some comparisons about what files in general are created by the build but which are missing from the Debian packaging. The list is below. Please advise which should be included and which are OK to leave out. etc/mysql/conf.d/cassandra.cnf etc/mysql/conf.d/dialog.cnf etc/mysql/conf.d/oqgraph.cnf usr/bin/mysql_config usr/bin/mysql_embedded usr/bin/mytop usr/include/mysql/*.h usr/lib/mysql/plugin/dialog.so usr/lib/mysql/plugin/mysql_clear_password.so usr/share/mysql/mroonga/install.sql usr/share/mysql/mroonga/uninstall.sql usr/share/mysql/my-huge.cnf usr/share/mysql/my-innodb-heavy-4G.cnf usr/share/mysql/my-large.cnf usr/share/mysql/my-medium.cnf usr/share/mysql/my-small.cnf usr/share/mysql/mysqld_multi.server usr/share/mysql/mysql-log-rotate usr/share/mysql/mysql.server usr/sql-bench/*
![](https://secure.gravatar.com/avatar/e8e9eed7b5349571d2199b811463bcfe.jpg?s=120&d=mm&r=g)
mytop is on a separate package on Debian/Ubuntu : https://packages.debian.org/jessie/mytop Le 27/12/2015 21:18, Otto Kekäläinen a écrit :
Hello!
While working on MDEV-9259 I did some comparisons about what files in general are created by the build but which are missing from the Debian packaging. The list is below. Please advise which should be included and which are OK to leave out.
etc/mysql/conf.d/cassandra.cnf etc/mysql/conf.d/dialog.cnf etc/mysql/conf.d/oqgraph.cnf
usr/bin/mysql_config usr/bin/mysql_embedded usr/bin/mytop
usr/include/mysql/*.h
usr/lib/mysql/plugin/dialog.so usr/lib/mysql/plugin/mysql_clear_password.so
usr/share/mysql/mroonga/install.sql usr/share/mysql/mroonga/uninstall.sql
usr/share/mysql/my-huge.cnf usr/share/mysql/my-innodb-heavy-4G.cnf usr/share/mysql/my-large.cnf usr/share/mysql/my-medium.cnf usr/share/mysql/my-small.cnf
usr/share/mysql/mysqld_multi.server usr/share/mysql/mysql-log-rotate usr/share/mysql/mysql.server
usr/sql-bench/*
![](https://secure.gravatar.com/avatar/3c93437eed4bfdfe4e7977edad10a45c.jpg?s=120&d=mm&r=g)
On Sun, Dec 27, 2015 at 3:18 PM, Otto Kekäläinen
Hello!
While working on MDEV-9259 I did some comparisons about what files in general are created by the build but which are missing from the Debian packaging. The list is below. Please advise which should be included and which are OK to leave out.
etc/mysql/conf.d/cassandra.cnf etc/mysql/conf.d/dialog.cnf etc/mysql/conf.d/oqgraph.cnf
usr/bin/mysql_config usr/bin/mysql_embedded usr/bin/mytop
usr/include/mysql/*.h
usr/lib/mysql/plugin/dialog.so usr/lib/mysql/plugin/mysql_clear_password.so
usr/share/mysql/mroonga/install.sql usr/share/mysql/mroonga/uninstall.sql
usr/share/mysql/my-huge.cnf usr/share/mysql/my-innodb-heavy-4G.cnf usr/share/mysql/my-large.cnf usr/share/mysql/my-medium.cnf usr/share/mysql/my-small.cnf
usr/share/mysql/mysqld_multi.server usr/share/mysql/mysql-log-rotate usr/share/mysql/mysql.server
usr/sql-bench/*
For usr/bin/mysql_config and usr/include/mysql/*.h: I thought we were going with MariaDB Connector/C as the primary MariaDB client library in Debian. Likewise, for usr/lib/mysql/plugin/*.so: Versions of those are currently in usr/lib/x86_64-linux-gnu/plugin/ in the Git Debian packaging for Connector/C 2.2.2 - though I'm seriously considering changing that to avoid polluting the namespace with such a generic name. -- Daniel Schepler
![](https://secure.gravatar.com/avatar/81476f70a6281904d909dabab08d081a.jpg?s=120&d=mm&r=g)
2015-12-27 23:47 GMT+02:00 Daniel Schepler
For usr/bin/mysql_config and usr/include/mysql/*.h: I thought we were going with MariaDB Connector/C as the primary MariaDB client library in Debian.
Likewise, for usr/lib/mysql/plugin/*.so: Versions of those are currently in usr/lib/x86_64-linux-gnu/plugin/ in the Git Debian packaging for Connector/C 2.2.2 - though I'm seriously considering changing that to avoid polluting the namespace with such a generic name.
usr/lib/mysql/plugin/dialog.so usr/lib/mysql/plugin/mysql_clear_password.so So these files belong to the libmariadbclient package? (which we don't ship in Debian, it is available only at mariadb.org repos - Debian has only the new MariaDB Connector for C). usr/include/mysql/*.h This packages could be part of libmariadbclient-dev package, but is superceeded by the MariaDB Connector for C development package contents.
![](https://secure.gravatar.com/avatar/39b623a1559cf9c69ac3d9d4fb44e7fe.jpg?s=120&d=mm&r=g)
Hi, Otto! On Dec 27, Otto Kekäläinen wrote:
Hello!
While working on MDEV-9259 I did some comparisons about what files in general are created by the build but which are missing from the Debian packaging. The list is below. Please advise which should be included and which are OK to leave out.
etc/mysql/conf.d/cassandra.cnf etc/mysql/conf.d/oqgraph.cnf etc/mysql/conf.d/dialog.cnf
The first two are supposed to go into corresponding plugin's deb packages. The last one should never be created in the first place, it's a bug (in cmake/cpack_deb.cmake) that it is created.
usr/bin/mysql_config
this should be in -dev
usr/bin/mysql_embedded
in embedded or clients
usr/bin/mytop
no, Debian already has a package for that
usr/include/mysql/*.h
only if you install libmysqlclient
usr/lib/mysql/plugin/dialog.so usr/lib/mysql/plugin/mysql_clear_password.so
yes, until we switch completely to connector/c
usr/share/mysql/mroonga/install.sql usr/share/mysql/mroonga/uninstall.sql
I guess... Regards, Sergei Chief Architect MariaDB and security@mariadb.org -- Vote for my Percona Live 2016 talks: https://www.percona.com/live/data-performance-conference-2016/sessions/maria... https://www.percona.com/live/data-performance-conference-2016/sessions/maria...
![](https://secure.gravatar.com/avatar/81476f70a6281904d909dabab08d081a.jpg?s=120&d=mm&r=g)
2015-12-28 14:34 GMT+02:00 Sergei Golubchik
usr/bin/mysql_config
this should be in -dev
From man page "mysql_config provides you with useful information for compiling your MySQL client and connecting it to MySQL."
So if should be shipped in libmariadbclient-dev (which we don't have in Debian official repos).
usr/bin/mysql_embedded
in embedded or clients
I can't find online a man page for this binary. Should it be a part of libmariadbd or libmariadbclient? Other files addressed in https://github.com/ottok/mariadb-10.0/commit/5202864f240cf1af229f831a5264503...
![](https://secure.gravatar.com/avatar/39b623a1559cf9c69ac3d9d4fb44e7fe.jpg?s=120&d=mm&r=g)
Hi, Otto! On Jan 01, Otto Kekäläinen wrote:
in embedded or clients
I can't find online a man page for this binary. Should it be a part of libmariadbd or libmariadbclient?
Not libmariadbclient. mysql_embedded is a standalone command-line client for accessing MariaDB data without a running MariaDB server. As such it can be packaged together with the embedded library libmariadbd or with the client tools, like mysql, mysqladmin, etc. Makes sense either way. Regards, Sergei Chief Architect MariaDB and security@mariadb.org -- Vote for my Percona Live 2016 talks: https://www.percona.com/live/data-performance-conference-2016/sessions/maria... https://www.percona.com/live/data-performance-conference-2016/sessions/maria...
participants (4)
-
Daniel Schepler
-
Jean Weisbuch
-
Otto Kekäläinen
-
Sergei Golubchik