rpms/vixie-cron/F-8 mailpath.patch, NONE, 1.1 vixie-cron.spec, 1.107, 1.108

Marcela Mašláňová (mmaslano) fedora-extras-commits at redhat.com
Mon Nov 12 08:57:41 UTC 2007


Author: mmaslano

Update of /cvs/pkgs/rpms/vixie-cron/F-8
In directory cvs-int.fedora.redhat.com:/tmp/cvs-serv11577

Modified Files:
	vixie-cron.spec 
Added Files:
	mailpath.patch 
Log Message:
374191 mail wasn't send, when the sendmail wasn't used.


mailpath.patch:

--- NEW FILE mailpath.patch ---
diff -up vixie-cron-4.2/configure.ac.old vixie-cron-4.2/configure.ac
--- vixie-cron-4.2/configure.ac.old	2007-08-28 09:29:05.000000000 +0200
+++ vixie-cron-4.2/configure.ac	2007-11-12 09:17:25.000000000 +0100
@@ -192,7 +192,7 @@ AC_ARG_WITH(pam,
 
 AC_DEFINE(DEBUGGING,1,[Code will be built with debug info.])
 
-AC_DEFINE(MAILARG,"/usr/lib/sendmail",[There will be path to sendmail.])
+AC_DEFINE(MAILARG,"/usr/sbin/sendmail",[There will be path to sendmail.])
 
 AC_DEFINE(MAILFMT,"%s -FCronDaemon -i -odi -oem -oi -t",
 [-i    = don't terminate on "." by itself


Index: vixie-cron.spec
===================================================================
RCS file: /cvs/pkgs/rpms/vixie-cron/F-8/vixie-cron.spec,v
retrieving revision 1.107
retrieving revision 1.108
diff -u -r1.107 -r1.108
--- vixie-cron.spec	29 Oct 2007 15:24:17 -0000	1.107
+++ vixie-cron.spec	12 Nov 2007 08:57:01 -0000	1.108
@@ -11,11 +11,13 @@
 Name: vixie-cron
 Version: 4.2
 Release: 4%{?dist}
-Epoch: 4
+Epoch: 5
 License: BSD
 Group: System Environment/Base
 Source0: https://hosted.fedoraproject.org/projects/vixie-cron/wiki/%{name}-%{version}.tar.gz
 Patch0: mailfail.patch
+Patch1: mailpath.patch
+
 Buildroot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
 Requires: syslog, bash >= 2.0
 Buildrequires: automake, autoconf
@@ -50,6 +52,7 @@
 %prep
 %setup -q
 %patch0 -p1 -b .mailfail
+%patch1 -p1 -b .mailpath
 
 aclocal
 autoheader
@@ -134,6 +137,10 @@
 %doc %{_datadir}/doc/cron/*
 
 %changelog
+* Mon Nov 12 2007 Marcela Maslanova <mmaslano at redhat.com> - 4:4.2-5
+- 374191: sendmail has incorrect path, if another MTA is used, no
+	mails are send.
+
 * Mon Oct 27 2007 Marcela Maslanova <mmaslano at redhat.com> - 4:4.2-4
 - 247228: cron jobs fail semi-randomly if sendmail incapacitated
 




More information about the fedora-extras-commits mailing list