mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-15 16:59:08 +08:00
Use upstream fixes
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10997 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
7b823ea220
commit
7ad652c12b
@ -57,6 +57,16 @@
|
|||||||
</listitem>
|
</listitem>
|
||||||
</itemizedlist>
|
</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="sect3">Fcron Dependencies</bridgehead>
|
||||||
|
|
||||||
<bridgehead renderas="sect4">Optional</bridgehead>
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
||||||
@ -108,16 +118,12 @@ EOF</userinput></screen>
|
|||||||
<screen role="root"><userinput>groupadd -g 22 fcron &&
|
<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>
|
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
|
<para>Install <application>Fcron</application> by running the following
|
||||||
commands:</para>
|
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 \
|
--localstatedir=/var --without-sendmail --with-boot-install=no \
|
||||||
--with-dsssl-dir=/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &&
|
--with-dsssl-dir=/usr/share/sgml/docbook/dsssl-stylesheets-&docbook-dsssl-version; &&
|
||||||
make</userinput></screen>
|
make</userinput></screen>
|
||||||
@ -133,6 +139,11 @@ make</userinput></screen>
|
|||||||
<sect2 role="commands">
|
<sect2 role="commands">
|
||||||
<title>Command Explanations</title>
|
<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,
|
<para><parameter>--without-sendmail</parameter>: By default,
|
||||||
<application>Fcron</application> will attempt to use the
|
<application>Fcron</application> will attempt to use the
|
||||||
<command>sendmail</command> command from an <xref linkend="server-mail"/>
|
<command>sendmail</command> command from an <xref linkend="server-mail"/>
|
||||||
|
Loading…
Reference in New Issue
Block a user