Author: thomas
Date: Thu Feb 7 11:03:01 2013
New Revision: 10997
Log:
Use upstream fixes
Modified:
trunk/BOOK/general/sysutils/fcron.xml
Modified: trunk/BOOK/general/sysutils/fcron.xml
==============================================================================
--- trunk/BOOK/general/sysutils/fcron.xml Mon Feb 4 13:52:21 2013
(r10996)
+++ trunk/BOOK/general/sysutils/fcron.xml Thu Feb 7 11:03:01 2013
(r10997)
@@ -57,6 +57,16 @@
</listitem>
</itemizedlist>
+ <bridgehead renderas="sect3">Additional Downloads</bridgehead>
+ <itemizedlist spacing="compact">
+ <listitem>
+ <para>
+ Required patch:
+ <ulink
url="&patch-root;/fcron-&fcron-version;-sendmail_upstream-1.patch"/>
+ </para>
+ </listitem>
+ </itemizedlist>
+
<bridgehead renderas="sect3">Fcron Dependencies</bridgehead>
<bridgehead renderas="sect4">Optional</bridgehead>
@@ -108,16 +118,12 @@
<screen role="root"><userinput>groupadd -g 22 fcron &&
useradd -d /dev/null -c "Fcron User" -g fcron -s /bin/false -u 22
fcron</userinput></screen>
- <para><application>Fcron</application> does not handle the
<option>--without-sendmail</option>
- option correctly. Fix it by running he following commands:</para>
-
-<screen><userinput>sed -i.bak 's/x"$USE_SENDMAIL" != x ;/x"$USE_SENDMAIL" !=
x0 ;/' configure &&
-sed -i.bak '/clear_forcemail(cl->cl_option);/d' fileconf.c</userinput></screen>
-
<para>Install <application>Fcron</application> by running the following
commands:</para>
-<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc \
+<screen><userinput>patch -Np1 -i
../fcron-&fcron-version;-sendmail_upstream-1.patch &&
+autoconf &&
+./configure --prefix=/usr --sysconfdir=/etc \
--localstatedir=/var --without-sendmail --with-boot-install=no \
--with-dsssl-dir=/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version;
&&
make</userinput></screen>
@@ -133,6 +139,11 @@
<sect2 role="commands">
<title>Command Explanations</title>
+ <para><command>patch -Np1 -i fcron...</command>: The current
<application>fcron</application>
+ does not handle the <parameter>--without-sendmail</parameter> correctly.
This patch fixes
+ the <filename>configure.in</filename> and a few other sources. The
<command>autoconf</command>
+ is required to rebuild <filename>configure</filename> using the fixed
input file.</para>
+
<para><parameter>--without-sendmail</parameter>: By default,
<application>Fcron</application> will attempt to use the
<command>sendmail</command> command from an <xref linkend="server-mail"/>
--
http://linuxfromscratch.org/mailman/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page