commit 5f113dcb8f1a3e8095c70f7ac3ca8ab7c5571c6d
Author: Jan Rękorajski <[email protected]>
Date:   Wed Jan 29 00:19:45 2014 +0100

    - restore sendmail configure fix
    - rel 2

 fcron-sendmail.patch | 18 ++++++++++++++++++
 fcron.spec           |  4 +++-
 2 files changed, 21 insertions(+), 1 deletion(-)
---
diff --git a/fcron.spec b/fcron.spec
index 86edbe9..791390c 100644
--- a/fcron.spec
+++ b/fcron.spec
@@ -2,7 +2,7 @@ Summary:        A periodical command scheduler which aims at 
replacing Vixie Cron
 Summary(pl.UTF-8):     Serwer okresowego uruchamiania poleceń zastępujący 
Vixie Crona
 Name:          fcron
 Version:       3.1.2
-Release:       1
+Release:       2
 License:       GPL v2+
 Group:         Daemons
 Source0:       http://fcron.free.fr/archives/%{name}-%{version}.src.tar.gz
@@ -15,6 +15,7 @@ Source5:      %{name}.pam
 Source6:       %{name}.conf
 Source7:       %{name}tab.pam
 Source8:       %{name}.systab
+Patch0:                %{name}-sendmail.patch
 Patch1:                %{name}-Makefile.patch
 Patch2:                %{name}-accept_readable_fcron.conf.patch
 URL:           http://fcron.free.fr/
@@ -63,6 +64,7 @@ uruchamianie go w zależności od obciążenia systemu i dużo 
więcej.
 
 %prep
 %setup -q
+%patch0 -p1
 %patch1 -p1
 %patch2 -p0
 
diff --git a/fcron-sendmail.patch b/fcron-sendmail.patch
new file mode 100644
index 0000000..390f8da
--- /dev/null
+++ b/fcron-sendmail.patch
@@ -0,0 +1,18 @@
+--- fcron-3.1.2/configure.in~  2013-03-03 20:58:38.000000000 +0100
++++ fcron-3.1.2/configure.in   2014-01-29 00:18:37.531302060 +0100
+@@ -198,14 +198,7 @@
+   AC_MSG_WARN([Without sendmail you will not get the output of the jobs by 
mail])
+ elif test -n "$SENDMAIL" ; then
+   dnl The user defined a sendmail program to use:
+-  if test ! -x "$SENDMAIL" ; then
+-    dnl ... but it is not an executable file!
+-    AC_MSG_RESULT([$SENDMAIL])
+-    AC_MSG_ERROR([File $SENDMAIL is not an executable file])
+-  else
+-    dnl ... and it is valid
+-    AC_MSG_RESULT([$SENDMAIL])
+-  fi
++  AC_MSG_RESULT([$SENDMAIL])
+ elif test -z "$FOUND_SENDMAIL" ; then
+   dnl The user didn't defined a program to use, and we didn't find one 
automatically
+   AC_MSG_RESULT([not found])
================================================================

---- gitweb:

http://git.pld-linux.org/gitweb.cgi/packages/fcron.git/commitdiff/5f113dcb8f1a3e8095c70f7ac3ca8ab7c5571c6d

_______________________________________________
pld-cvs-commit mailing list
[email protected]
http://lists.pld-linux.org/mailman/listinfo/pld-cvs-commit

Reply via email to