Package: drupal6 User: ubuntu-de...@lists.ubuntu.com Usertags: origin-ubuntu lucid ubuntu-patch Version: 6.17-1 Severity: normal Tags: patch
Dear Maintainer, The package depends on exim4 which results in exim4 being installed on servers when people install drupal before installing another MTA so a dependency change would install default-mta in ubuntu(as postfix is the default MTA) Refer: https://bugs.launchpad.net/ubuntu/+source/drupal6/+bug/582255 and postrm assumes apache2 to be present and if not package fails to install and uninstall Refer: https://bugs.launchpad.net/ubuntu/+source/drupal6/+bug/583576 In Ubuntu, we've applied the attached patch to achieve the following: * Merge from debian unstable. Remaining changes: - Changing exim4 to default-mta (LP: #582255) - made postrm check for restart.sh in case dependencies were not properly installed. (LP: #583576) We thought you might be interested in doing the same. -- Bhavani Shankar.R https://launchpad.net/~bhavi <https://launchpad.net/%7Ebhavi>, a proud ubuntu community member. What matters in life is application of mind!, It makes great sense to have some common sense..!
diff -u drupal6-6.17/debian/drupal6.postrm drupal6-6.17/debian/drupal6.postrm --- drupal6-6.17/debian/drupal6.postrm +++ drupal6-6.17/debian/drupal6.postrm @@ -55,7 +55,10 @@ fi servers="apache2" - . /usr/share/wwwconfig-common/restart.sh + # may not exist if package was manually installed + if [ -r /usr/share/wwwconfig-common/restart.sh ] ; then + . /usr/share/wwwconfig-common/restart.sh + fi # Remove configuration files (conf.php, $SITE.php) diff -u drupal6-6.17/debian/control drupal6-6.17/debian/control --- drupal6-6.17/debian/control +++ drupal6-6.17/debian/control @@ -10,7 +11,7 @@ Package: drupal6 Architecture: all -Depends: ${misc:Depends}, apache2 | httpd, php5, php5-mysql | php5-pgsql, php5-gd, exim4 | mail-transport-agent, wwwconfig-common (>= 0.0.37), mysql-client | virtual-mysql-client | postgresql-client, dbconfig-common, curl +Depends: ${misc:Depends}, apache2 | httpd, php5, php5-mysql | php5-pgsql, php5-gd, default-mta | mail-transport-agent, wwwconfig-common (>= 0.0.37), mysql-client | virtual-mysql-client | postgresql-client, dbconfig-common, curl Recommends: mysql-server | postgresql Description: a fully-featured content management framework Drupal is a dynamic web site platform which allows an individual or