Rearranged the note to add dependencies and added hooks to OpenLDAP to the Sendmail instructions

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3513 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Randy McMurchy 2005-03-03 05:40:08 +00:00
parent 1787ccd9b1
commit 113bb70938
3 changed files with 22 additions and 16 deletions

View File

@ -1,8 +1,8 @@
<!ENTITY day "02">
<!ENTITY day "03">
<!ENTITY month "03">
<!ENTITY year "2005">
<!ENTITY version "svn-&year;&month;&day;">
<!ENTITY releasedate "March &day;nd, &year;">
<!ENTITY releasedate "March &day;rd, &year;">
<!ENTITY pubdate "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
<!ENTITY blfs-version "cvs"> <!-- cvs|[release #] -->
<!ENTITY lfs-version "6.0"> <!-- version|stable|testing|unstable] -->

View File

@ -22,6 +22,10 @@ who wrote what.</para>
<itemizedlist>
<listitem><para>March 3rd, 2005 [randy]: Rearranged the note to build
dependencies and added OpenLDAP hooks to the Sendmail
instructions.</para></listitem>
<listitem><para>March 2nd, 2005 [randy]: Added 'status' option to the
portmap bootscript; updated to HTML Tidy-050301.</para></listitem>

View File

@ -75,10 +75,25 @@ useradd -c "Sendmail Daemon" -g smmsp -G mail smmsp &amp;&amp;
chmod 1777 /var/mail &amp;&amp;
mkdir /var/spool/mqueue</command></userinput></screen>
<para><emphasis>Note:</emphasis> See the source tree
<filename>sendmail/README</filename> file for information on linking optional
packages into the build. Use the example below, which adds support for
<application>tcpwrappers</application>, <acronym>SASL</acronym>,
Start<acronym>TLS</acronym>
(<application>Open<acronym>SSL</acronym></application>) and
<application>Open<acronym>LDAP</acronym></application>, as a starting point.
Of course, modify it to suit your particular needs.</para>
<screen><userinput><command>cat &gt;&gt; devtools/Site/site.config.m4 &lt;&lt; "EOF"</command>
APPENDDEF(`confENVDEF',`-DSTARTTLS -DTCPWRAPPERS -DSASL -DLDAPMAP')
APPENDDEF(`confLIBS', `-lssl -lcrypto -lwrap -lsasl2 -lldap -llber')
APPENDDEF(`confINCDIRS', `-I/usr/include/sasl')
<command>EOF</command></userinput></screen>
<para>Install <application>Sendmail</application> with the following
commands:</para>
<screen><userinput><command>cat &gt; devtools/Site/site.config.m4 &lt;&lt; "EOF"</command>
<screen><userinput><command>cat &gt;&gt; devtools/Site/site.config.m4 &lt;&lt; "EOF"</command>
define(`confMANGRP',`root')
define(`confMANOWN',`root')
define(`confSBINGRP',`root')
@ -108,19 +123,6 @@ 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</command></userinput></screen>
<para><emphasis>Note:</emphasis> See the source tree
<filename>sendmail/README</filename> file for information on linking optional
packages into the build. Use the example below, which adds support for
<application>tcpwrappers</application>, <acronym>SASL</acronym> and
Start<acronym>TLS</acronym>, as a starting point. Of course, modify it to suit
your particular needs.</para>
<screen><userinput><command>cat &gt;&gt; devtools/Site/site.config.m4 &lt;&lt; "EOF"</command>
APPENDDEF(`confENVDEF',`-DSTARTTLS -DTCPWRAPPERS -DSASL')
APPENDDEF(`confLIBS', `-lssl -lcrypto -lwrap -lsasl2')
APPENDDEF(`confINCDIRS', `-I/usr/include/sasl')
<command>EOF</command></userinput></screen>
<para>Install the <application>Sendmail</application> Installation and
Operations Guide with the following commands:</para>