]> git.pld-linux.org Git - packages/cronie.git/commitdiff
- use /usr/lib/sendmail for sendmail path
authorElan Ruusamäe <glen@pld-linux.org>
Tue, 17 Nov 2009 06:16:54 +0000 (06:16 +0000)
committercvs2git <feedback@pld-linux.org>
Sun, 24 Jun 2012 12:13:13 +0000 (12:13 +0000)
Changed files:
    sendmail-path.patch -> 1.1

sendmail-path.patch [new file with mode: 0644]

diff --git a/sendmail-path.patch b/sendmail-path.patch
new file mode 100644 (file)
index 0000000..3d1c72a
--- /dev/null
@@ -0,0 +1,33 @@
+--- cronie-1.4.2/anacron/global.h~     2009-09-25 09:23:18.000000000 +0300
++++ cronie-1.4.2/anacron/global.h      2009-11-17 08:08:34.079251474 +0200
+@@ -33,7 +33,7 @@
+ #define DEBUG_LEVEL LOG_DEBUG     /* only used when DEBUG is defined */
+ /* Mail interface.  (All MTAs should supply this command) */
+-#define SENDMAIL "/usr/sbin/sendmail"
++#define SENDMAIL "/usr/lib/sendmail"
+ /* End of user-configurable section */
+--- cronie-1.4.2/anacron/runjob.c~     2009-09-25 09:23:18.000000000 +0300
++++ cronie-1.4.2/anacron/runjob.c      2009-11-17 08:10:16.259239987 +0200
+@@ -195,7 +195,7 @@
+       /* fdflags = fcntl(0, F_GETFL); fdflags &= ~O_APPEND; */
+       /* fcntl(0, F_SETFL, fdflags ); */
+-      /* Here, I basically mirrored the way /usr/sbin/sendmail is called
++      /* Here, I basically mirrored the way /usr/lib/sendmail is called
+        * by cron on a Debian system, except for the "-oem" and "-or0s"
+        * options, which don't seem to be appropriate here.
+        * Hopefully, this will keep all the MTAs happy. */
+--- cronie-1.4.2/configure.ac~ 2009-11-17 08:07:30.000000000 +0200
++++ cronie-1.4.2/configure.ac  2009-11-17 08:11:22.722566791 +0200
+@@ -189,7 +189,7 @@
+ AC_DEFINE(DEBUGGING,1,[Code will be built with debug info.])
+-AC_DEFINE(MAILARG,"/usr/sbin/sendmail",[There will be path to sendmail.])
++AC_DEFINE(MAILARG,"/usr/lib/sendmail",[There will be path to sendmail.])
+ AC_DEFINE(MAILFMT,"%s -FCronDaemon -i -odi -oem -oi -t -f %s",
+ [-i    = don't terminate on "." by itself
This page took 0.086127 seconds and 4 git commands to generate.