]> git.pld-linux.org Git - packages/fcron.git/commitdiff
- restore sendmail configure fix auto/th/fcron-3.1.2-2
authorJan Rękorajski <baggins@pld-linux.org>
Tue, 28 Jan 2014 23:19:45 +0000 (00:19 +0100)
committerJan Rękorajski <baggins@pld-linux.org>
Tue, 28 Jan 2014 23:19:45 +0000 (00:19 +0100)
- rel 2

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

diff --git a/fcron-sendmail.patch b/fcron-sendmail.patch
new file mode 100644 (file)
index 0000000..390f8da
--- /dev/null
@@ -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])
index 86edbe94983a3e9e59febc957b103940c1d53e73..791390cf07d70eac9c380f6d1e20ba4f185dd9d8 100644 (file)
@@ -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
 
This page took 0.112238 seconds and 4 git commands to generate.