summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJesse Gilles <jgilles@multitech.com>2011-08-11 10:42:48 -0500
committerJesse Gilles <jgilles@multitech.com>2011-08-11 10:42:48 -0500
commit0ff8e2e57fa4e7434c6bdd300a65789a19cbee13 (patch)
tree83278a779948d97d5cb51b707bf90b905536596d
parent4888707b253773dd9166f88da010900dd095e124 (diff)
cron: remove -F option from sendmail args
-rw-r--r--multitech/recipes/cron/cron-3.0pl1/corecdp/sendmail_args.patch16
-rw-r--r--multitech/recipes/cron/cron_3.0pl1.bbappend6
2 files changed, 21 insertions, 1 deletions
diff --git a/multitech/recipes/cron/cron-3.0pl1/corecdp/sendmail_args.patch b/multitech/recipes/cron/cron-3.0pl1/corecdp/sendmail_args.patch
new file mode 100644
index 0000000..9baf29c
--- /dev/null
+++ b/multitech/recipes/cron/cron-3.0pl1/corecdp/sendmail_args.patch
@@ -0,0 +1,16 @@
+Index: cron3.0pl1/config.h
+===================================================================
+--- cron3.0pl1.orig/config.h
++++ cron3.0pl1/config.h
+@@ -42,9 +42,8 @@
+ */
+
+ #define MAILCMD _PATH_SENDMAIL /*-*/
+-#define MAILARGS "%s -FCronDaemon -odi -oem -or0s %s" /*-*/
+- /* -Fx = set full-name of sender
+- * -odi = Option Deliverymode Interactive
++#define MAILARGS "%s -odi -oem -or0s %s" /*-*/
++ /* -odi = Option Deliverymode Interactive
+ * -oem = Option Errors Mailedtosender
+ * -or0s = Option Readtimeout -- don't time out
+ */
diff --git a/multitech/recipes/cron/cron_3.0pl1.bbappend b/multitech/recipes/cron/cron_3.0pl1.bbappend
index 4113f5b..ece6498 100644
--- a/multitech/recipes/cron/cron_3.0pl1.bbappend
+++ b/multitech/recipes/cron/cron_3.0pl1.bbappend
@@ -1,4 +1,8 @@
FILESEXTRA := "${THISDIR}"
FILESPATHBASE =. "${FILESEXTRA}:"
-SRC_URI_append_corecdp = " file://disable_logfile.patch"
+PR .= ".corecdp1"
+
+SRC_URI_append_corecdp = " file://disable_logfile.patch \
+ file://sendmail_args.patch \
+ "