It would be helpful if the debian package allowed mariadb-client to be substituted for mysql-client, and mariadb-server to be substituted for mysql-server.

It's currently possible to substitute mariadb-server (as mysql-server is only "recommended"), but mysql-client is actually required, so to install aegir with mariadb from the repository involves a manual unpacking and modification of the debian package override the dependency.

Comments

zxaos’s picture

Title: aegir2-provision package has dependency on mysql-client » allow aegir2-provision package to accept mariadb or mysql

Adjusted title to more accurately reflect request

bgm’s picture

Status: Active » Needs review

Seems like it should work OK with the following change to the 'control' file:

Depends: ${misc:Depends}, drush (>= 5.10), php5-mysql, mysql-client | mariadb-client, sudo, postfix | mail-transport-agent, apache2 | nginx, adduser, ucf
Recommends: mysql-server | mariadb-server, rsync

To test:

# apt-get install dpkg-dev build-essential devscripts
$ apt-get source aegir2-provision
$ cd aegir2-provision-2.1+386.f56ee17
$ vim debian/control
[... change the 'Depends/Recommends' statements for aegir2-provision ...]
$ fakeroot debian/rules binary
# dpkg -i ../aegir2-provision_2.1+386.f56ee17_all.deb

  • helmo committed b456646 on 7.x-3.x
    Issue #2276557 by zxaos, bgm: allow aegir2-provision package to accept...

  • helmo committed b2c4cd9 on 6.x-2.x
    Issue #2276557 by zxaos, bgm: allow aegir2-provision package to accept...
helmo’s picture

Status: Needs review » Fixed

Thanks, fixed in both 6.x-2.x and 7.x-3.x

Status: Fixed » Closed (fixed)

Automatically closed - issue fixed for 2 weeks with no activity.