On 2005-06-18 Stephen Gran <[EMAIL PROTECTED]> wrote: > This one time, at band camp, Andreas Metzler said: [...] > > #1 if /usr/sbin/sendmail does not exist build as if > > ${sendmail version in sid} was installed
> This one is easy - it must exist, according to policy (which I have just > reread, thanks to you :) Hello, Eh, no. It only exists _if_ a mail-transfer-agent is installed and none of the MTAs is essential. (exim4 is only priority important.) buildd-chroots usually do not contain a /usr/sbin/sendmail. [...] > I think we can do this in clamav-milter.c: > #ifundef SENDMAIL_VERSION_A > #define SENDMAIL_VERSION_A 8 > #endif > #ifundef SENDMAIL_VERSION_B > #define SENDMAIL_VERSION_B 13 > #endif > after including clamav-config.h, without introducing any breakage. In > combination with the Conflicts: above, I think this will produce the > correct behavior. > Does this seem reasonable to you? If /usr/sbin/sendmail=exim you currently get empty definitions of SENDMAIL_VERSION_A in clamav-config.h: /* major version of Sendmail */ #define SENDMAIL_VERSION_A so this will not work. cu andreas -- "See, I told you they'd listen to Reason," [SPOILER] Svfurlr fnlf, fuhggvat qbja gur juveyvat tha. Neal Stephenson in "Snow Crash" http://downhill.aus.cc/ -- To UNSUBSCRIBE, email to [EMAIL PROTECTED] with a subject of "unsubscribe". Trouble? Contact [EMAIL PROTECTED]