[buildd-tools-devel] Bug#774310: sbuild: libsbuild-perl should demote Depends on "exim4 | mail-transport-agent, schroot" to Recommends

Johannes Schauer j.schauer at email.de
Wed Dec 31 15:13:55 UTC 2014


Package: sbuild
Severity: normal
Tags: patch

Hi,

firstly, libsbuild-perl currently has a hard dependency on "exim |
mail-transport-agent" even though it runs just fine without a sendmail
binary being installed. Looking through the code, none of the calls to
functions that end up invoking sendmail (send_mail, ll_send_mail and
send_build_log) check for successful completion. Thus, sbuild runs fine
without "exim | mail-transport-agent", just with reduced functionality.
Additionally, sending reports by email is hardly useful when not running
as a buildd. Furthermore, mail transport agents will start a service in
the background which has to be manually disabled. It would be great if
sbuild could be installed without having to either run a new service in
the background or having to disable it (which one might forget). It
would thus be great if this Depends could be made a Recommends.

Secondly, libsbuild-perl currently has a hard dependency on "schroot"
even though it runs just fine without schroot in sudo mode. It would
thus be great if this Depends could be made a Recommends because
clearly, sbuild works without it.

Patches for both issues are attached.

cheers, josch
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0001-libsbuild-perl-demote-Depends-exim-mail-transport-ag.patch
Type: text/x-diff
Size: 1587 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20141231/a676f65d/attachment.patch>
-------------- next part --------------
A non-text attachment was scrubbed...
Name: 0002-libsbuild-perl-demote-Depends-schroot-to-Recommends.patch
Type: text/x-diff
Size: 1266 bytes
Desc: not available
URL: <http://lists.alioth.debian.org/pipermail/buildd-tools-devel/attachments/20141231/a676f65d/attachment-0001.patch>


More information about the Buildd-tools-devel mailing list