]> git.pld-linux.org Git - packages/cronie.git/blob - sendmail-path.patch
- fix migration triggers from other crontabs
[packages/cronie.git] / sendmail-path.patch
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
3 @@ -33,7 +33,7 @@
4  #define DEBUG_LEVEL LOG_DEBUG     /* only used when DEBUG is defined */
5  
6  /* Mail interface.  (All MTAs should supply this command) */
7 -#define SENDMAIL "/usr/sbin/sendmail"
8 +#define SENDMAIL "/usr/lib/sendmail"
9  
10  /* End of user-configurable section */
11  
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
14 @@ -195,7 +195,7 @@
15         /* fdflags = fcntl(0, F_GETFL); fdflags &= ~O_APPEND; */
16         /* fcntl(0, F_SETFL, fdflags ); */
17  
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
25 @@ -189,7 +189,7 @@
26  
27  AC_DEFINE(DEBUGGING,1,[Code will be built with debug info.])
28  
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.])
31  
32  AC_DEFINE(MAILFMT,"%s -FCronDaemon -i -odi -oem -oi -t -f %s",
33  [-i    = don't terminate on "." by itself
This page took 0.043598 seconds and 3 git commands to generate.