Changeset 5690030 for server


Ignore:
Timestamp:
08/01/2005 04:57:38 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.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:
dbacbd80
Parents:
ec578e6
Message:

Postfix changes courtesy of Archaic.

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

File:
1 edited

Legend:

Unmodified
Added
Removed
  • server/mail/postfix.xml

    rec578e6 r5690030  
    9090      <envar>AUXLIBS</envar> settings listed below.</para>
    9191
    92       <para>Here is an example that combines the TLS/SSL and
     92      <para>Here is an example that combines the TLS and
    9393      <application>Cyrus-SASL</application> arguments:</para>
    9494
    9595<screen><userinput>make makefiles \
    96 CCARGS="-DUSE_SSL -DUSE_SASL_AUTH \
    97 -I/usr/include/openssl -I/usr/include/sasl" \
    98 AUXLIBS="-L/usr/lib -lssl -lcrypto -lsasl2"</userinput></screen>
     96CCARGS='-DUSE_TLS -DUSE_SASL_AUTH -DDEF_DAEMON_DIR=\"/usr/lib/postfix\" \
     97    -DDEF_MANPAGE_DIR=\"/usr/share/man\" -I/usr/include/openssl \
     98    -I/usr/include/sasl' \
     99    AUXLIBS='-L/usr/lib -lssl -lcrypto -lsasl2'</userinput></screen>
    99100
    100101      <sect4>
    101         <title>SSL/TLS Authentication</title>
     102        <title>TLS Authentication</title>
    102103
    103104        <para>To use TLS authentication with postfix
     
    105106        <command>make makefiles</command> command:</para>
    106107
    107 <screen><literal>CCARGS="-DUSE_SSL -I/usr/include/openssl" \
    108 AUXLIBS="-L/usr/lib -lssl -lcrypto"</literal></screen>
    109 
    110         <para>To use SSL or TLS you will also need
     108<screen><literal>CCARGS='-DUSE_TLS -I/usr/include/openssl'
     109AUXLIBS='-L/usr/lib -lssl -lcrypto'</literal></screen>
     110
     111        <para>To use TLS you will also need
    111112        <xref linkend="cyrus-sasl"/>.</para>
    112113
     
    119120        <application>Postfix</application>, use the following arguments:</para>
    120121
    121 <screen><literal>CCARGS="-DUSE_SASL_AUTH -I/usr/include/sasl" \
    122 AUXLIBS="-L/usr/lib -lsasl2"</literal></screen>
     122<screen><literal>CCARGS='-DUSE_SASL_AUTH -I/usr/include/sasl'
     123AUXLIBS='-L/usr/lib -lsasl2'</literal></screen>
    123124
    124125      </sect4>
     
    131132        arguments:</para>
    132133
    133 <screen><literal>CCARGS="-I/usr/include -DHAS_LDAP" \
    134 AUXLIBS="-L/usr/lib -lldap -llber"</literal></screen>
     134<screen><literal>CCARGS='-I/usr/include -DHAS_LDAP'
     135AUXLIBS='-L/usr/lib -lldap -llber'</literal></screen>
    135136
    136137      </sect4>
     
    143144        arguments:</para>
    144145
    145 <screen><literal>CCARGS="-DHAS_MYSQL -I/usr/include/mysql" \
    146 AUXLIBS="-L/usr/lib -lmysqlclient -lz -lm"</literal></screen>
     146<screen><literal>CCARGS='-DHAS_MYSQL -I/usr/include/mysql'
     147AUXLIBS='-L/usr/lib -lmysqlclient -lz -lm'</literal></screen>
    147148
    148149      </sect4>
     
    155156        arguments:</para>
    156157
    157 <screen><literal>CCARGS="-DHAS_PGSQL -I/usr/include/postgresql" \
    158 AUXLIBS="-L/usr/lib -lpq -lz -lm"</literal></screen>
     158<screen><literal>CCARGS='-DHAS_PGSQL -I/usr/include/postgresql'
     159AUXLIBS='-L/usr/lib -lpq -lz -lm'</literal></screen>
    159160
    160161      </sect4>
     
    167168        arguments:</para>
    168169
    169 <screen><literal>CCARGS=-DHAS_CDB AUXLIBS=<replaceable>[/path/to/CDB]/</replaceable>libcdb.a</literal></screen>
     170<screen><literal>CCARGS='-DHAS_CDB'
     171AUXLIBS='<replaceable>[/path/to/CDB]/</replaceable>libcdb.a'</literal></screen>
    170172
    171173      </sect4>
     
    193195      following commands:</para>
    194196
    195 <screen><userinput>make</userinput></screen>
     197<screen><userinput>make makefiles CCARGS='-DDEF_DAEMON_DIR=\"/usr/lib/postfix\" \
     198    -DDEF_MANPAGE_DIR=\"/usr/share/man\" <replaceable>[additional args]</replaceable>' \
     199    <replaceable>[AUXLIBS='additonal args']</replaceable> &amp;&amp;
     200make</userinput></screen>
    196201
    197202    <para>This package does not come with a test suite.</para>
     
    199204    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
    200205
    201 <screen role='root'><userinput>sh postfix-install daemon_directory=/usr/sbin \
    202                    manpage_directory=/usr/share/man \
    203                    sample_directory=/usr/share/doc/postfix \
    204                    -non-interactive</userinput></screen>
     206<screen role='root'><userinput>sh postfix-install -non-interactive</userinput></screen>
    205207
    206208      <para>The final installation step is to install the program's documentation
     
    218220    <title>Command Explanations</title>
    219221
    220     <para><command>sh postfix-install ... -non-interactive</command> : This
    221     keeps the install script from asking any questions, thereby accepting
    222     default destination directories in all but the three cases explicitly
    223     mentioned.</para>
    224 
    225222    <para><command>make makefiles</command>: This command rebuilds the
    226223    makefiles throughout the source tree to use the options contained in the
    227224    <envar>CCARGS</envar> and <envar>AUXLIBS</envar> variables.</para>
     225
     226    <para><command>sh postfix-install -non-interactive</command> : This
     227    keeps the install script from asking any questions, thereby accepting
     228    default destination directories in all but the two cases mentioned in
     229    the 'make makefiles' command.</para>
    228230
    229231  </sect2>
Note: See TracChangeset for help on using the changeset viewer.