Changeset 3bfd1d6


Ignore:
Timestamp:
02/02/2005 08:31:53 AM (19 years ago)
Author:
DJ Lucas <dj@…>
Branches:
10.0, 10.1, 11.0, 11.1, 11.2, 11.3, 12.0, 12.1, 6.0, 6.1, 6.2, 6.2.0, 6.2.0-rc1, 6.2.0-rc2, 6.3, 6.3-rc1, 6.3-rc2, 6.3-rc3, 7.10, 7.4, 7.5, 7.6, 7.6-blfs, 7.6-systemd, 7.7, 7.8, 7.9, 8.0, 8.1, 8.2, 8.3, 8.4, 9.0, 9.1, basic, bdubbs/svn, elogind, gnome, kde5-13430, kde5-14269, kde5-14686, kea, ken/TL2024, ken/inkscape-core-mods, ken/tuningfonts, krejzi/svn, lazarus, lxqt, nosym, perl-modules, plabs/newcss, plabs/python-mods, python3.11, qt5new, rahul/power-profiles-daemon, renodr/vulkan-addition, systemd-11177, systemd-13485, trunk, upgradedb, xry111/intltool, xry111/llvm18, xry111/soup3, xry111/test-20220226, xry111/xf86-video-removal
Children:
94aecbd
Parents:
5831a7e
Message:

Added 'make makefiles' to Postfix, other minor changes.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@3380 af4574ff-66df-0310-9fd7-8a98e5e911e0

Files:
4 edited

Legend:

Unmodified
Added
Removed
  • content/databases/postgresql.xml

    r5831a7e r3bfd1d6  
    55  %general-entities;
    66
    7   <!ENTITY postgresql-download-http "http://gd.tuwien.ac.at/db/postgresql/v&postgresql-version;/postgresql-&postgresql-version;.tar.bz2">
    8   <!ENTITY postgresql-download-ftp  "ftp://ftp.fr.postgresql.org/v&postgresql-version;/postgresql-&postgresql-version;.tar.bz2">
     7  <!ENTITY postgresql-download-http "http://gd.tuwien.ac.at/db/postgresql/src/&postgresql-version;/postgresql-&postgresql-version;.tar.bz2">
     8  <!ENTITY postgresql-download-ftp  "ftp://ftp.fr.postgresql.org/src/&postgresql-version;/postgresql-&postgresql-version;.tar.bz2">
    99  <!ENTITY postgresql-md5sum        "f0ea2b372a7bdaf2613e92176ebf5e0f">
    1010  <!ENTITY postgresql-size          "10.2 MB">
  • introduction/welcome/changelog.xml

    r5831a7e r3bfd1d6  
    2222
    2323<itemizedlist>
     24
     25<listitem><para>February 2nd, 2005 [dj]: Added TLS patch to Postfix and
     26added section "configuring the build".  Corrected PostgreSQL download
     27locations and added mention of --with-ldap in Cyrus-SASL
     28instructions.</para></listitem>
    2429
    2530<listitem><para>February 2nd, 2005 [randy]: Updated to cURL-7.13.0 and
  • postlfs/security/cyrus-sasl.xml

    r5831a7e r3bfd1d6  
    110110data.</para>
    111111
     112<para><parameter>--with-ldap</parameter>: This parameter enables use
     113with <application>OpenLDAP</application>.</para>
     114
    112115<para><command>install -m644 ...</command>: These commands
    113116install documentation which is not installed by the
  • server/mail/postfix.xml

    r5831a7e r3bfd1d6  
    5252<xref linkend="mysql"/>,
    5353<xref linkend="postgresql"/>,
    54 <xref linkend="openldap"/> and
     54<xref linkend="openldap"/>,
     55<xref linkend="openssl"/> and
    5556<xref linkend="cyrus-sasl"/>
    5657</para></sect4>
     
    6263<title>Installation of <application>Postfix</application></title>
    6364
    64 <para>Before you compile the program, you need to create users and groups that
    65 will be expected to be in place when the install script executes.  Add the
     65<sect3><title>Configuring the build</title>
     66
     67<para>The <application>Postfix</application> source tree does not contain a
     68<filename>configure</filename> script, rather the makefile in the
     69top-level directory contains a <parameter>makefiles</parameter> target that
     70regenerates all the other makefiles in the build tree.  If you wish to
     71use additional software such as a database back-end for virtual users, or
     72<acronym>TLS</acronym>/<acronym>SSL</acronym> authentication, you'll
     73need to regenerate the makefiles using one or more of the appropriate
     74<envar>CCARGS</envar> and <envar>AUXLIBS</envar> settings listed below.</para>
     75
     76<para>Here is an example that combines the
     77<acronym>TLS</acronym>/<acronym>SSL</acronym> and
     78<application>Cyrus-SASL</application> arguments:</para>
     79
     80<screen><userinput><command>make makefiles \
     81CCARGS="-DHAS_SSL -DUSE_SASL_AUTH -I/usr/include/openssl -I/usr/include/sasl" \
     82AUXLIBS="-L/usr/lib -R/usr/lib -lssl -lcrypto -lsasl2"</command></userinput></screen>
     83
     84<sect4><title>SSL/TLS authentication</title>
     85<para>To use <acronym>SSL</acronym>/<acronym>TLS</acronym>
     86authentication with <application>Postfix</application>, you'll first
     87need to apply a patch availible from
     88<ulink url="ftp://ftp.aet.tu-cottbus.de/pub/postfix_tls/pfixtls-0.8.18-2.1.3-0.9.7d.tar.gz"/>.
     89Unzip the patch tarball, and apply with the following commands:</para>
     90
     91<screen><userinput><command>patch -p1 &lt; ../pfixtls-0.8.18-2.1.3-0.9.7d/pfixtls.diff</command></userinput></screen>
     92
     93<para>You will need to pass the following values to the <command>make
     94makefiles</command> command:</para>
     95
     96<screen><userinput>CCARGS="-DHAS_SSL -I/usr/include/openssl" \
     97AUXLIBS="-L/usr/lib -lssl -lcrypto"</userinput></screen>
     98
     99<para>To use <acronym>SSL</acronym> or <acronym>TLS</acronym> you will
     100also need <xref linkend="cyrus-sasl"/>.</para>
     101</sect4>
     102
     103<sect4><title>Cyrus-SASL</title>
     104<para>To use <application>Cyrus-SASL</application> with
     105<application>Postfix</application>, use the following arguments:</para>
     106
     107<screen><userinput>CCARGS="-DUSE_SASL_AUTH -I/usr/include/sasl" \
     108AUXLIBS="-L/usr/lib -R/usr/lib -lsasl2"</userinput></screen>
     109</sect4>
     110
     111<sect4><title>OpenLDAP</title>
     112<para>To use <application>OpenLDAP</application> with
     113<application>Postfix</application>, use the following arguments:</para>
     114
     115<screen><userinput>CCARGS="-I/usr/include -DHAS_LDAP" \
     116AUXLIBS="-L/usr/lib -lldap -llber"</userinput></screen>
     117</sect4>
     118
     119<sect4><title>MySQL</title>
     120<para>To use <application>MySQL</application> with
     121<application>Postfix</application>, use the following arguments:</para>
     122
     123<screen><userinput>CCARGS="-DHAS_MYSQL -I/usr/include/mysql" \
     124AUXLIBS="-L/usr/lib -lmysqlclient -lz -lm"</userinput></screen>
     125</sect4>
     126
     127<sect4><title>PostgreSQL</title>
     128<para>To use <application>PostgreSQL</application> with
     129<application>Postfix</application>, use the following arguments:</para>
     130
     131<screen><userinput>CCARGS="-DHAS_PGSQL -I/usr/include/postgresql" \
     132AUXLIBS="-L/usr/lib -lpq -lz -lm"</userinput></screen>
     133</sect4>
     134
     135</sect3>
     136
     137<sect3><title>Installing Postfix</title>
     138
     139<para>Before you compile the program, you need to create users and groups that
     140will be expected to be in place when the install script executes.  Add the
    66141users and groups with the following commands:</para>
    67142
     
    73148chown postfix:postfix /var/mail</command></userinput></screen>
    74149
    75 <para>Install <application>Postfix</application> by running the following
    76 commands:</para>
     150<para>Install <application>Postfix</application> by running the
     151following commands:</para>
    77152
    78153<screen><userinput><command>make &amp;&amp;
     
    87162<screen><userinput><command>install -d /usr/share/doc/postfix &amp;&amp;
    88163cp -rf html/* /usr/share/doc/postfix</command></userinput></screen>
    89 
    90 </sect2>
     164</sect3></sect2>
    91165
    92166<sect2>
     
    97171destination directories in all but the three cases explicitly mentioned.</para>
    98172
    99 <para><option>CCARGS="$CCARGS -DHAS_MYSQL -I/usr/include/mysql"
    100 AUXLIBS="$AUXLIBS -L/usr/lib/mysql -lmysqlclient -lz -lm"</option> :
    101 These <command>make</command> variables add
    102 <application>My<acronym>SQL</acronym></application> support to
    103 <application>Postfix</application>.</para>
    104 
    105 <para><option>CCARGS="$CCARGS -DHAS_PGSQL -I/usr/include/postgresql/server"
    106 AUXLIBS="$AUXLIBS -lpq"</option>: These <command>make</command> variables add
    107 <application>Postgre<acronym>SQL</acronym></application> support to
    108 <application>Postfix</application>.</para>
    109 
    110 <para><option>CCARGS="$CCARGS -DHAS_LDAP" AUXLIBS="$AUXLIBS -lldap -llber"</option> : These
    111 <command>make</command> variables add
    112 <application>Open<acronym>LDAP</acronym></application> support to
    113 <application>Postfix</application>.</para>
    114 
    115 <para><option>CCARGS="$CCARGS -DUSE_SASL_AUTH" AUXLIBS="$AUXLIBS -lsasl"</option> : These
    116 <command>make</command> variables add <application>Cyrus
    117 <acronym>SASL</acronym></application> support to
    118 <application>Postfix</application>.</para>
     173<para><command>make makefiles</command> :  This command rebuilds the
     174makefiles throughout the source tree to use the options contained in the
     175<envar>CCARGS</envar> and <envar>AUXLIBS</envar> variables.</para>
    119176
    120177</sect2>
Note: See TracChangeset for help on using the changeset viewer.