1 --- cronie-1.4.2/anacron/global.h~ 2009-09-25 09:23:18.000000000 +0300
2 +++ cronie-1.4.2/anacron/global.h 2009-11-17 08:08:34.079251474 +0200
4 #define DEBUG_LEVEL LOG_DEBUG /* only used when DEBUG is defined */
6 /* Mail interface. (All MTAs should supply this command) */
7 -#define SENDMAIL "/usr/sbin/sendmail"
8 +#define SENDMAIL "/usr/lib/sendmail"
10 /* End of user-configurable section */
12 --- cronie-1.4.2/anacron/runjob.c~ 2009-09-25 09:23:18.000000000 +0300
13 +++ cronie-1.4.2/anacron/runjob.c 2009-11-17 08:10:16.259239987 +0200
15 /* fdflags = fcntl(0, F_GETFL); fdflags &= ~O_APPEND; */
16 /* fcntl(0, F_SETFL, fdflags ); */
18 - /* Here, I basically mirrored the way /usr/sbin/sendmail is called
19 + /* Here, I basically mirrored the way /usr/lib/sendmail is called
20 * by cron on a Debian system, except for the "-oem" and "-or0s"
21 * options, which don't seem to be appropriate here.
22 * Hopefully, this will keep all the MTAs happy. */
23 --- cronie-1.4.2/configure.ac~ 2009-11-17 08:07:30.000000000 +0200
24 +++ cronie-1.4.2/configure.ac 2009-11-17 08:11:22.722566791 +0200
27 AC_DEFINE(DEBUGGING,1,[Code will be built with debug info.])
29 -AC_DEFINE(MAILARG,"/usr/sbin/sendmail",[There will be path to sendmail.])
30 +AC_DEFINE(MAILARG,"/usr/lib/sendmail",[There will be path to sendmail.])
32 AC_DEFINE(MAILFMT,"%s -FCronDaemon -i -odi -oem -oi -t -f %s",
33 [-i = don't terminate on "." by itself