Update to sendmail-8.14.5

Update all boot scripts not previously updated to LFS-7.0+ syntax.


git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@10160 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2012-05-10 22:27:43 +00:00
parent ac4b41a9b9
commit dc60082944
4 changed files with 63 additions and 58 deletions

View File

@ -59,7 +59,7 @@ $Date$
<!ENTITY lfs-vim-version "7.3">
<!-- End LFS versions -->
<!ENTITY blfs-bootscripts-version "20120509">
<!ENTITY blfs-bootscripts-version "201205010">
<!ENTITY blfs-bootscripts-download "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2">
<!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki">
@ -574,7 +574,7 @@ $Date$
<!ENTITY exim-version "4.77">
<!ENTITY postfix-version "2.9.1">
<!ENTITY qpopper-version "4.1.0">
<!ENTITY sendmail-version "8.14.4">
<!ENTITY sendmail-version "8.14.5">
<!-- Obsolete
<!ENTITY courier-version "0.47">

View File

@ -44,12 +44,15 @@
<listitem>
<para>May 10th, 2012</para>
<itemizedlist>
<listitem>
<listitem>
<para>[bdubbs] - Update to sendmail-8.14.5.</para>
</listitem>
<listitem>
<para>[rthomsen] - Updated taglib to 1.7.2.</para>
</listitem>
<listitem>
<para>[rthomsen] - Set Cyrus-SASL as required dependency for kdepimlibs.
Fixes <ulink url="&blfs-ticket-root;3356">#3356</ulink>.</para>
Fixes <ulink url="&blfs-ticket-root;3356">#3356</ulink>.</para>
</listitem>
<listitem>
<para>[rthomsen] - Updated KDE to 4.8.3.</para>

View File

@ -81,9 +81,9 @@
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional">
<xref linkend="libdaemon"/>,
<!-- <xref linkend="qt"/>,--> and
<xref linkend="qt4"/></para>
<xref linkend="libdaemon"/> (required to build the daemons), and
<xref linkend="qt4"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/avahi"/></para>
@ -93,16 +93,16 @@
<sect2 role="installation">
<title>Installation of avahi</title>
<para>It is recommended to have a dedicated user and group to take
<para>There should be a dedicated user and group to take
control of the <command>avahi-daemon</command> daemon after it is
started. Issue the following commands as the
<systemitem class="username">root</systemitem> user:</para>
<screen role='root'><userinput>groupadd -fg 84 avahi &amp;&amp;
useradd -c "Avahi Daemon Owner" -d /dev/null -u 84 \
-g avahi -s /bin/false avahi || [ $? == 9 ]</userinput></screen>
-g avahi -s /bin/false avahi</userinput></screen>
<para>It is recommended to have a dedicated priviliged access group for
<para>There should also be a dedicated priviliged access group for
<application>Avahi</application> clients. Issue the following command as
the <systemitem class="username">root</systemitem> user:</para>
@ -111,19 +111,19 @@ useradd -c "Avahi Daemon Owner" -d /dev/null -u 84 \
<para>Install <application>avahi</application> by running the following
commands:</para>
<screen><userinput><!--patch -Np1 -i ../avahi-&avahi-version;-lfs_initscript_fixes-1.patch &amp;&amp;
autoreconf -i -v &amp;&amp;-->./configure --prefix=/usr \
--sysconfdir=/etc \
<screen><userinput>
./configure --prefix=/usr \
--sysconfdir=/etc \
--localstatedir=/var \
--disable-static \
--disable-libdaemon \
--disable-mono \
--disable-monodoc \
--disable-python \
--disable-qt3 \
--disable-qt4 \
--enable-core-docs \
--with-distro=lfs &amp;&amp;
--disable-static \
--disable-libdaemon \
--disable-mono \
--disable-monodoc \
--disable-python \
--disable-qt3 \
--disable-qt4 \
--enable-core-docs \
--with-distro=none &amp;&amp;
make</userinput></screen>
<para>This package does not come with a test suite.</para>
@ -163,8 +163,8 @@ make</userinput></screen>
<para><parameter>--enable-core-docs</parameter>: This parameter enables the
building of documentation.</para>
<para><parameter>--with-distro=lfs</parameter>: This parameter specifies the
distribution to target.</para>
<para><parameter>--with-distro=none</parameter>: There is an obsolete
boot script in the distribution for LFS. This option disables it.</para>
<para><option>--disable-dbus</option>: This parameter disables the use
of <application>D-Bus</application>. Do not use this option if you intend

View File

@ -6,13 +6,13 @@
<!ENTITY sendmail-download-http "http://www.sendmail.org/ftp/sendmail.&sendmail-version;.tar.gz">
<!ENTITY sendmail-download-ftp "ftp://ftp.sendmail.org/pub/sendmail/sendmail.&sendmail-version;.tar.gz">
<!ENTITY sendmail-md5sum "1b23d5000c8e7bfe82ec1a27f2f5fdc5">
<!ENTITY sendmail-md5sum "02ccfc331cc81ed00ec8bb5ecfc69018">
<!ENTITY sendmail-size "2.0 MB">
<!ENTITY sendmail-buildsize "19 MB">
<!ENTITY sendmail-time "0.3 SBU">
]>
<sect1 id="sendmail" xreflabel="Sendmail-&sendmail-version;">
<sect1 id="sendmail" xreflabel="sendmail-&sendmail-version;">
<?dbhtml filename="sendmail.html"?>
<sect1info>
@ -20,19 +20,19 @@
<date>$Date$</date>
</sect1info>
<title>Sendmail-&sendmail-version;</title>
<title>sendmail-&sendmail-version;</title>
<indexterm zone="sendmail">
<primary sortas="a-Sendmail">Sendmail</primary>
<primary sortas="a-sendmail">sendmail</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Sendmail</title>
<title>Introduction to sendmail</title>
<para>The <application>Sendmail</application> package contains a Mail
<para>The <application>sendmail</application> package contains a Mail
Transport Agent (MTA).</para>
&lfs65_needs_update;
&lfs70_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
@ -56,20 +56,22 @@
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Sendmail Dependencies</bridgehead>
<bridgehead renderas="sect3">sendmail Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required"><xref linkend="db"/></para>
<para role="required">
<xref linkend="openldap"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="optional"><xref linkend="openssl"/>,
<xref linkend="openldap"/>,
<xref linkend="tcpwrappers"/>,
<xref linkend="cyrus-sasl"/>,
<xref linkend="procmail"/>,
<ulink url="http://www.feep.net/nph/">nph</ulink>, and
<xref linkend="gs"/><!-- or <xref linkend="espgs"/> --> (for creating
PDF documentation)</para>
<para role="optional">
<xref linkend="openssl"/>,
<xref linkend="tcpwrappers"/>,
<xref linkend="cyrus-sasl"/>,
<xref linkend="procmail"/>,
<ulink url="http://www.feep.net/nph/">nph</ulink>, and
<xref linkend="gs"/> (for creating PDF documentation)
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/sendmail"/></para>
@ -77,9 +79,9 @@
</sect2>
<sect2 role="installation">
<title>Installation of Sendmail</title>
<title>Installation of sendmail</title>
<para>Before building <application>Sendmail</application>, create the
<para>Before building <application>sendmail</application>, create the
required user, group and directory with the following commands issued as
the <systemitem class="username">root</systemitem> user:</para>
@ -103,7 +105,7 @@ APPENDDEF(`confLIBS', `-lssl -lcrypto -lwrap -lsasl2 -lldap -llber')
APPENDDEF(`confINCDIRS', `-I/usr/include/sasl')</literal>
EOF</userinput></screen>
<para>Install <application>Sendmail</application> with the following
<para>Install <application>sendmail</application> with the following
commands:</para>
<screen><userinput>cat &gt;&gt; devtools/Site/site.config.m4 &lt;&lt; "EOF"
@ -149,7 +151,7 @@ install -v -m444 sendmail/mailq.1 /usr/share/man/man1 &amp;&amp;
install -v -m444 sendmail/newaliases.1 /usr/share/man/man1 &amp;&amp;
install -v -m444 vacation/vacation.1 /usr/share/man/man1</userinput></screen>
<para>Install the <application>Sendmail</application> Installation and
<para>Install the <application>sendmail</application> Installation and
Operations Guide with the following commands:</para>
<screen><userinput>cd doc/op &amp;&amp;
@ -175,7 +177,7 @@ cd ../..</userinput></screen>
This creates a configuration file changing some of the default settings.</para>
<para><command>sh Build; sh Build sendmail.cf; sh Build install-cf;
sh Build install</command>: <application>Sendmail</application> uses an
sh Build install</command>: <application>sendmail</application> uses an
<application>m4</application> based build script to create the various
<filename>Makefile</filename>s. These commands build and install the
package.</para>
@ -188,7 +190,7 @@ cd ../..</userinput></screen>
</sect2>
<sect2 role="configuration">
<title>Configuring Sendmail</title>
<title>Configuring sendmail</title>
<sect3 id="sendmail-config">
<title>Config Files</title>
@ -217,7 +219,7 @@ MAILER-DAEMON: root</literal>
EOF
newaliases -v</userinput></screen>
<para><application>Sendmail</application>'s primary configuration file,
<para><application>sendmail</application>'s primary configuration file,
<filename>/etc/mail/sendmail.cf</filename>, is complex and not meant to be
directly edited. The recommended method for changing it is to modify
<filename>/etc/mail/sendmail.mc</filename> and various
@ -235,7 +237,7 @@ newaliases -v</userinput></screen>
<sect3 id="sendmail-init">
<title>Boot Script</title>
<para>To automate the running of <application>Sendmail</application>
<para>To automate the running of <application>sendmail</application>
at startup, install the <filename>/etc/rc.d/init.d/sendmail</filename>
init script included in the
<xref linkend="bootscripts"/> package.</para>
@ -248,7 +250,7 @@ newaliases -v</userinput></screen>
<note>
<para>The -qNm option to <command>sendmail</command>, where N is number
of minutes, controls how often <application>Sendmail</application> will
of minutes, controls how often <application>sendmail</application> will
process the mail queue. A default of 5 minutes is used in the init
script. Individual workstation users may want to set this as low as 1
minute, large installations handling more mail may want to set it
@ -284,7 +286,7 @@ newaliases -v</userinput></screen>
<varlistentry id="editmap">
<term><command>editmap</command></term>
<listitem>
<para>queries and edits <application>Sendmail</application> map
<para>queries and edits <application>sendmail</application> map
files.</para>
<indexterm zone="sendmail editmap">
<primary sortas="b-editmap">editmap</primary>
@ -295,7 +297,7 @@ newaliases -v</userinput></screen>
<varlistentry id="hoststat">
<term><command>hoststat</command></term>
<listitem>
<para>prints <application>Sendmail</application>'s persistent host
<para>prints <application>sendmail</application>'s persistent host
status.</para>
<indexterm zone="sendmail hoststat">
<primary sortas="b-hoststat">hoststat</primary>
@ -306,7 +308,7 @@ newaliases -v</userinput></screen>
<varlistentry id="mailstats">
<term><command>mailstats</command></term>
<listitem>
<para>displays <application>Sendmail</application> statistics.</para>
<para>displays <application>sendmail</application> statistics.</para>
<indexterm zone="sendmail mailstats">
<primary sortas="b-mailstats">mailstats</primary>
</indexterm>
@ -327,7 +329,7 @@ newaliases -v</userinput></screen>
<varlistentry id="makemap">
<term><command>makemap</command></term>
<listitem>
<para>creates <application>Sendmail</application> map files.</para>
<para>creates <application>sendmail</application> map files.</para>
<indexterm zone="sendmail makemap">
<primary sortas="b-makemap">makemap</primary>
</indexterm>
@ -348,7 +350,7 @@ newaliases -v</userinput></screen>
<varlistentry id="praliases">
<term><command>praliases</command></term>
<listitem>
<para>displays current <application>Sendmail</application>
<para>displays current <application>sendmail</application>
aliases.</para>
<indexterm zone="sendmail praliases">
<primary sortas="b-praliases">praliases</primary>
@ -359,7 +361,7 @@ newaliases -v</userinput></screen>
<varlistentry id="purgestat">
<term><command>purgestat</command></term>
<listitem>
<para> causes <application>Sendmail</application> to clear (purge)
<para> causes <application>sendmail</application> to clear (purge)
all its host-status information.</para>
<indexterm zone="sendmail purgestat">
<primary sortas="b-purgestat">purgestat</primary>
@ -370,7 +372,7 @@ newaliases -v</userinput></screen>
<varlistentry id="sendmail-prog-sendmail">
<term><command>sendmail</command></term>
<listitem>
<para>is the <application>Sendmail</application> mail transport
<para>is the <application>sendmail</application> mail transport
agent.</para>
<indexterm zone="sendmail sendmail-prog-sendmail">
<primary sortas="b-sendmail">sendmail</primary>
@ -382,7 +384,7 @@ newaliases -v</userinput></screen>
<term><command>smrsh</command></term>
<listitem>
<para>is a restricted shell for
<application>Sendmail</application>.</para>
<application>sendmail</application>.</para>
<indexterm zone="sendmail smrsh">
<primary sortas="b-smrsh">smrsh</primary>
</indexterm>