On Mon, Jun 21, 2021 at 05:11:25PM +0500, Andrey Rahmatullin wrote:
> On Mon, Jun 21, 2021 at 01:08:09PM +0100, Jose M Calhariz wrote:
> > > > > > package amanda-server uses a command named "Mail" to send email
> > > > > Does it? Was the fix for https://bugs.debian.org/475771 reverted?
> > > > I am searching in git history for the fix for that bug, as there is
> > > > not details about it on bug report.
> > > If you look at 433ed330, which is the debian/ change for that upload,
> > > you'll see the addition of "MAILER=/usr/bin/mail" to the make command.
> > > You may also be interested in the fix for #296022 (which passes the same
> > > to configure).
> > Thank you for your help. The debian/rules was rewriten since then
> (so it was indeed reverted)
>
> > override_dh_auto_configure:
> > - LIBS="-lssl" dh_auto_configure -- $(confflags)
> > + # MAILER: Fix for #296022, #475771 and #990080
> > + MAILER="/usr/bin/mail" LIBS="-lssl" dh_auto_configure -- $(confflags)
> This is only for configure, not for make.
>
>
And for make:
--- a/debian/rules
+++ b/debian/rules
@@ -44,6 +44,10 @@ override_dh_auto_configure:
# MAILER: Fix for #296022, #475771 and #990080
MAILER="/usr/bin/mail" LIBS="-lssl" dh_auto_configure -- $(confflags)
+override_dh_auto_build:
+ # MAILER: Fix for #296022, #475771 and #990080
+ MAILER="/usr/bin/mail" dh_auto_build
+
override_dh_install:
sed -i "/dependency_libs/ s/'.*'/''/" `find debian/tmp -name '*.la'`
dh_install --list-missing
Now amanda-server does not need command Mail to send mail.
Does this fix qualify for bullseye?
Kind regards
Jose M Calhariz
--
--
As pessoas mudam através do que alcançam
--Wystan Hugh Auden
Attachment:
signature.asc
Description: PGP signature