tags 495834 + patch
block 508644 by 645020
block 508644 by 495834
quit

Hi,

Andreas Henriksson wrote:

> Your package depends on the virtual package mail-transport-agent without
> any alternative. This makes the package pull in whichever package
> provides mail-transport-agent that ends up first in an alphabetical sort.
> (Which currently means citadel-mta).
>
> You want to fix up your dependency to say "exim4 | mail-transport-agent".

How about this patch (untested)?
---
 debian/changelog |    7 +++++++
 debian/control   |    5 +++--
 2 files changed, 10 insertions(+), 2 deletions(-)

diff --git a/debian/changelog b/debian/changelog
index 72834c7a..bbefb868 100644
--- a/debian/changelog
+++ b/debian/changelog
@@ -1,3 +1,10 @@
+brcon (0.09-11.1) unstable; urgency=low
+
+  * debian/control: declare default-mta as first alternative when
+    depending on mail-transport-agent.
+
+ -- Jonathan Nieder <[email protected]>  Tue, 11 Oct 2011 15:42:43 -0500
+
 bcron (0.09-11) unstable; urgency=low
 
   * debian/bcron-run.postrm: services' supervise dirs are now located in
diff --git a/debian/control b/debian/control
index 4642425b..e4764ea5 100644
--- a/debian/control
+++ b/debian/control
@@ -9,7 +9,7 @@ Vcs-Git: http://smarden.org/git/bcron.git/
 Package: bcron
 Architecture: any
 Depends: ${shlibs:Depends}
-Recommends: bcron-run, runit, ucspi-unix, mail-transport-agent
+Recommends: bcron-run, runit, ucspi-unix, default-mta | mail-transport-agent
 Description: Bruce's cron system (programs)
  This is bcron, a new cron system designed with secure operations in mind.
  To do this, the system is divided into several separate programs, each
@@ -22,7 +22,8 @@ Description: Bruce's cron system (programs)
 Package: bcron-run
 Architecture: all
 Section: admin
-Depends: bcron, runit (>= 1.8.0-2), ucspi-unix, mail-transport-agent, adduser
+Depends: bcron, runit (>= 1.8.0-2), ucspi-unix, adduser,
+ default-mta | mail-transport-agent
 Provides: cron
 Replaces: cron
 Conflicts: cron
-- 
1.7.7




-- 
To UNSUBSCRIBE, email to [email protected]
with a subject of "unsubscribe". Trouble? Contact [email protected]

Reply via email to