Bug 13359 - allow the packages to use virtual-mysql-*

Prior to this patch, the koha packages depended on mysql-client. This
meant that it was tricky to use things such as the MariaDB libraries
instead.

This patch recommends mysql, but will accept mariadb and other things
that are marked by debian as able to replace mysql.

Signed-off-by: wajasu <matted@34813.mypacks.net>
Signed-off-by: Tomas Cohen Arazi <tomascohen@gmail.com>
This commit is contained in:
Robin Sheat 2014-11-28 12:24:21 +13:00 committed by Tomas Cohen Arazi
parent 1596eb0a48
commit 9419177a1e
2 changed files with 10 additions and 10 deletions

10
debian/control vendored
View file

@ -139,7 +139,7 @@ Depends: ${misc:Depends}, ${koha:Depends},
idzebra-2.0,
libjs-jquery,
libjs-yui,
mysql-client,
mysql-client | virtual-mysql-client,
perl-doc,
pwgen,
sudo,
@ -148,7 +148,7 @@ Depends: ${misc:Depends}, ${koha:Depends},
unzip,
xmlstarlet,
yaz
Suggests: mysql-server,
Suggests: mysql-server | virtual-mysql-server,
memcached
Homepage: http://koha-community.org/
Description: integrated (physical) library management system
@ -163,7 +163,7 @@ Architecture: all
Depends: ${shlib:Depends}, ${misc:Depends},
koha-common,
dbconfig-common,
mysql-server
mysql-server | virtual-mysql-server
Homepage: http://koha-community.org/
Description: integrated (physical) library management system
Koha is an Integrated Library Managment system for real-world libraries
@ -187,8 +187,8 @@ Depends: ${misc:Depends},
idzebra-2.0,
libjs-jquery,
libjs-yui,
mysql-client,
mysql-server,
mysql-client | virtual-mysql-client,
mysql-server | virtual-mysql-server,
perl-doc,
pwgen,
sudo,

10
debian/control.in vendored
View file

@ -25,7 +25,7 @@ Depends: ${misc:Depends}, ${koha:Depends},
idzebra-2.0,
libjs-jquery,
libjs-yui,
mysql-client,
mysql-client | virtual-mysql-client,
perl-doc,
pwgen,
sudo,
@ -34,7 +34,7 @@ Depends: ${misc:Depends}, ${koha:Depends},
unzip,
xmlstarlet,
yaz
Suggests: mysql-server,
Suggests: mysql-server | virtual-mysql-server,
memcached
Homepage: http://koha-community.org/
Description: integrated (physical) library management system
@ -49,7 +49,7 @@ Architecture: all
Depends: ${shlib:Depends}, ${misc:Depends},
koha-common,
dbconfig-common,
mysql-server
mysql-server | virtual-mysql-server
Homepage: http://koha-community.org/
Description: integrated (physical) library management system
Koha is an Integrated Library Managment system for real-world libraries
@ -73,8 +73,8 @@ Depends: ${misc:Depends},
idzebra-2.0,
libjs-jquery,
libjs-yui,
mysql-client,
mysql-server,
mysql-client | virtual-mysql-client,
mysql-server | virtual-mysql-server,
perl-doc,
pwgen,
sudo,