Author: krejzi Date: Fri Jan 25 10:12:00 2013 New Revision: 10977 Log: Updated postfix, sharutils and isc dhcp. Updated postfix bootscript to reflect latest changes to postfix instructions.
Modified: trunk/BOOK/general.ent trunk/BOOK/general/genutils/sharutils.xml trunk/BOOK/introduction/welcome/changelog.xml trunk/BOOK/networking/connect/dhcp.xml trunk/BOOK/server/mail/postfix.xml trunk/bootscripts/blfs/init.d/postfix Modified: trunk/BOOK/general.ent ============================================================================== --- trunk/BOOK/general.ent Fri Jan 25 08:32:25 2013 (r10976) +++ trunk/BOOK/general.ent Fri Jan 25 10:12:00 2013 (r10977) @@ -66,7 +66,7 @@ <!ENTITY lfs-vim-version "7.3"> <!-- End LFS versions --> -<!ENTITY blfs-bootscripts-version "20120828"> +<!ENTITY blfs-bootscripts-version "20130125"> <!ENTITY blfs-bootscripts-download "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2"> <!ENTITY blfs-wiki "http://wiki.&lfs-domainname;/blfs/wiki"> @@ -343,7 +343,7 @@ <!ENTITY rep-gtk-version "0.90.8.1"> <!ENTITY rxvt-unicode-version "9.15"> <!ENTITY screen-version "4.0.3"> -<!ENTITY sharutils-version "4.11.1"> +<!ENTITY sharutils-version "4.13.3"> <!ENTITY spidermonkey-version "1.0.0"> <!ENTITY tidy-version "cvs_20101110"> <!ENTITY unixodbc-version "2.3.1"> @@ -455,7 +455,7 @@ <!-- Chapter 14 --> <!ENTITY ppp-version "2.4.5"> <!ENTITY dhcpcd-version "5.6.2"> -<!ENTITY dhcp-version "4.2.4-P2"> +<!ENTITY dhcp-version "4.2.5"> <!-- Chapter 15 --> <!ENTITY bridgeutils-version "1.5"> @@ -519,7 +519,7 @@ <!-- Chapter 21 --> <!ENTITY exim-version "4.80.1"> -<!ENTITY postfix-version "2.9.4"> +<!ENTITY postfix-version "2.9.5"> <!ENTITY qpopper-version "4.1.0"> <!ENTITY sendmail-version "8.14.5"> Modified: trunk/BOOK/general/genutils/sharutils.xml ============================================================================== --- trunk/BOOK/general/genutils/sharutils.xml Fri Jan 25 08:32:25 2013 (r10976) +++ trunk/BOOK/general/genutils/sharutils.xml Fri Jan 25 10:12:00 2013 (r10977) @@ -4,15 +4,15 @@ <!ENTITY % general-entities SYSTEM "../../general.ent"> %general-entities; - <!ENTITY sharutils-download-http "http://ftp.gnu.org/gnu/sharutils/sharutils-&sharutils-version;.tar.bz2"> - <!ENTITY sharutils-download-ftp "ftp://ftp.gnu.org/gnu/sharutils/sharutils-&sharutils-version;.tar.bz2"> - <!ENTITY sharutils-md5sum "52dd02b6f5e0a148ba871234ae29bba2"> - <!ENTITY sharutils-size "984 KB"> - <!ENTITY sharutils-buildsize "10 MB"> - <!ENTITY sharutils-time "0.3 SBU"> + <!ENTITY sharutils-download-http "http://ftp.gnu.org/gnu/sharutils/sharutils-&sharutils-version;.tar.xz"> + <!ENTITY sharutils-download-ftp "ftp://ftp.gnu.org/gnu/sharutils/sharutils-&sharutils-version;.tar.xz"> + <!ENTITY sharutils-md5sum "ac996dbe2dfc74647b500506af56779b"> + <!ENTITY sharutils-size "940 KB"> + <!ENTITY sharutils-buildsize "18 MB"> + <!ENTITY sharutils-time "0.3 SBU"> ]> -<sect1 id="sharutils" xreflabel="sharutils-&sharutils-version;"> +<sect1 id="sharutils" xreflabel="Sharutils-&sharutils-version;"> <?dbhtml filename="sharutils.html"?> <sect1info> @@ -20,39 +20,53 @@ <date>$Date$</date> </sect1info> - <title>sharutils-&sharutils-version;</title> + <title>Sharutils-&sharutils-version;</title> <indexterm zone="sharutils"> - <primary sortas="a-sharutils">sharutils</primary> + <primary sortas="a-Sharutils">Sharutils</primary> </indexterm> <sect2 role="package"> - <title>Introduction to sharutils</title> + <title>Introduction to Sharutils</title> - <para>The <application>sharutils</application> package contains - utilities that can create 'shell' archives.</para> + <para> + The <application>Sharutils</application> package contains + utilities that can create 'shell' archives. + </para> &lfs72_checked; <bridgehead renderas="sect3">Package Information</bridgehead> <itemizedlist spacing="compact"> <listitem> - <para>Download (HTTP): <ulink url="&sharutils-download-http;"/></para> + <para> + Download (HTTP): <ulink url="&sharutils-download-http;"/> + </para> </listitem> <listitem> - <para>Download (FTP): <ulink url="&sharutils-download-ftp;"/></para> + <para> + Download (FTP): <ulink url="&sharutils-download-ftp;"/> + </para> </listitem> <listitem> - <para>Download MD5 sum: &sharutils-md5sum;</para> + <para> + Download MD5 sum: &sharutils-md5sum; + </para> </listitem> <listitem> - <para>Download size: &sharutils-size;</para> + <para> + Download size: &sharutils-size; + </para> </listitem> <listitem> - <para>Estimated disk space required: &sharutils-buildsize;</para> + <para> + Estimated disk space required: &sharutils-buildsize; + </para> </listitem> <listitem> - <para>Estimated build time: &sharutils-time;</para> + <para> + Estimated build time: &sharutils-time; + </para> </listitem> </itemizedlist> @@ -62,32 +76,28 @@ </sect2> <sect2 role="installation"> - <title>Installation of sharutils</title> + <title>Installation of Sharutils</title> - <para>First fix an obsolete definition in the included gnulib:</para> - -<screen><userinput>sed -i -e '/gets is a/d' lib/stdio.in.h</userinput></screen> - - <para>Now, install <application>sharutils</application> by running the following commands:</para> + <para> + Install <application>Sharutils</application> by running + the following commands: + </para> <screen><userinput>./configure --prefix=/usr && make</userinput></screen> - <para>To test <application>sharutils</application>, run - <userinput>make check</userinput>.</para> - - <para>As the <systemitem class="username">root</systemitem> user:</para> + <para> + To test the results, issue <command>make check</command>. + </para> + + <para> + Now, as the <systemitem class="username">root</systemitem> user: + </para> <screen role="root"><userinput>make install</userinput></screen> </sect2> - <!-- - <sect2 role="commands"> - <title>Command Explanations</title> - - </sect2>--> - <sect2 role="content"> <title>Contents</title> @@ -97,9 +107,15 @@ <segtitle>Installed Directories</segtitle> <seglistitem> - <seg>shar, unshar, uudecode, and uuencode</seg> - <seg>None</seg> - <seg>None</seg> + <seg> + shar, unshar, uudecode and uuencode + </seg> + <seg> + None + </seg> + <seg> + None + </seg> </seglistitem> </segmentedlist> @@ -111,8 +127,10 @@ <varlistentry id="shar"> <term><command>shar</command></term> <listitem> - <para>creates "shell archives" (or shar files) which are in - text format and can be mailed.</para> + <para> + creates "shell archives" (or shar files) which are in + text format and can be mailed. + </para> <indexterm zone="sharutils shar"> <primary sortas="b-shar">shar</primary> </indexterm> @@ -122,7 +140,9 @@ <varlistentry id="unshar"> <term><command>unshar</command></term> <listitem> - <para>unpacks a shar file.</para> + <para> + unpacks a shar file. + </para> <indexterm zone="sharutils unshar"> <primary sortas="b-unshar">unshar</primary> </indexterm> @@ -132,9 +152,11 @@ <varlistentry id="uudecode"> <term><command>uudecode</command></term> <listitem> - <para>reads a file (or by default the standard input) and writes an encoded - version to the standard output. The encoding uses only printing - ASCII characters.</para> + <para> + reads a file (or by default the standard input) and writes an + encoded version to the standard output. The encoding uses only + printing ASCII characters. + </para> <indexterm zone="sharutils uudecode"> <primary sortas="b-uudecode">uudecode</primary> </indexterm> @@ -144,8 +166,10 @@ <varlistentry id="uuencode"> <term><command>uuencode</command></term> <listitem> - <para>reads a file (or by default the standard input) and decodes - the uuencoded version to the standard output.</para> + <para> + reads a file (or by default the standard input) and decodes + the uuencoded version to the standard output. + </para> <indexterm zone="sharutils uuencode"> <primary sortas="b-uuencode">uuencode</primary> </indexterm> Modified: trunk/BOOK/introduction/welcome/changelog.xml ============================================================================== --- trunk/BOOK/introduction/welcome/changelog.xml Fri Jan 25 08:32:25 2013 (r10976) +++ trunk/BOOK/introduction/welcome/changelog.xml Fri Jan 25 10:12:00 2013 (r10977) @@ -50,15 +50,24 @@ <para>[krejzi] - CrackLib 2.8.22.</para> </listitem> <listitem> + <para>[krejzi] - DHCP 4.2.5.</para> + </listitem> + <listitem> <para>[krejzi] - Doxygen 1.8.3.1.</para> </listitem> <listitem> <para>[krejzi] - Ed 1.7.</para> </listitem> <listitem> + <para>[krejzi] - Postfix 2.9.5.</para> + </listitem> + <listitem> <para>[krejzi] - Rasqal 0.9.30.</para> </listitem> <listitem> + <para>[krejzi] - Sharutils 4.13.3.</para> + </listitem> + <listitem> <para>[krejzi] - Soprano 2.9.0.</para> </listitem> </itemizedlist> Modified: trunk/BOOK/networking/connect/dhcp.xml ============================================================================== --- trunk/BOOK/networking/connect/dhcp.xml Fri Jan 25 08:32:25 2013 (r10976) +++ trunk/BOOK/networking/connect/dhcp.xml Fri Jan 25 10:12:00 2013 (r10977) @@ -6,9 +6,9 @@ <!ENTITY dhcp-download-http " "> <!ENTITY dhcp-download-ftp "ftp://ftp.isc.org/isc/dhcp/&dhcp-version;/dhcp-&dhcp-version;.tar.gz"> - <!ENTITY dhcp-md5sum "fe36056f2d274fa4b82a5422f192e65f"> - <!ENTITY dhcp-size "7.8 MB"> - <!ENTITY dhcp-buildsize "189 MB"> + <!ENTITY dhcp-md5sum "6489e919ac093d17249270ee9be1020e"> + <!ENTITY dhcp-size "7.9 MB"> + <!ENTITY dhcp-buildsize "185 MB"> <!ENTITY dhcp-time "0.5 SBU"> ]> Modified: trunk/BOOK/server/mail/postfix.xml ============================================================================== --- trunk/BOOK/server/mail/postfix.xml Fri Jan 25 08:32:25 2013 (r10976) +++ trunk/BOOK/server/mail/postfix.xml Fri Jan 25 10:12:00 2013 (r10977) @@ -6,11 +6,11 @@ <!ENTITY postfix-download-http " "> <!ENTITY postfix-download-ftp - "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-&postfix-version;.tar.gz"> - <!ENTITY postfix-md5sum "230bc3c00c051946eccd850058d75f6c"> - <!ENTITY postfix-size "3.6 MB"> - <!ENTITY postfix-buildsize "126 MB"> - <!ENTITY postfix-time "0.4 SBU"> + "ftp://ftp.porcupine.org/mirrors/postfix-release/official/postfix-&postfix-version;.tar.gz"> + <!ENTITY postfix-md5sum "588e1c54588e6da0c4b3436f1c2c2fb3"> + <!ENTITY postfix-size "3.6 MB"> + <!ENTITY postfix-buildsize "185 MB"> + <!ENTITY postfix-time "0.5 SBU"> ]> <sect1 id="postfix" xreflabel="Postfix-&postfix-version;"> @@ -81,23 +81,27 @@ <xref linkend="db"/> </para> + <bridgehead renderas="sect4">Recommended</bridgehead> + <para role="recommended"> + <xref linkend="cyrus-sasl"/> and + <xref linkend="openssl"/> + </para> + <bridgehead renderas="sect4">Optional</bridgehead> <para role="optional"> - <xref linkend="pcre"/>, - <xref linkend="openssl"/>, - <xref linkend="openldap"/>, - <xref linkend="cyrus-sasl"/>, - <xref linkend="sqlite"/>, <xref linkend="mysql"/>, - <xref linkend="postgresql"/>, and - <ulink url="http://cr.yp.to/cdb.html">cdb</ulink> or + <xref linkend="openldap"/>, + <xref linkend="pcre"/>, + <xref linkend="postgresql"/>, + <xref linkend="sqlite"/> and + <ulink url="http://cr.yp.to/cdb.html">CDB</ulink> or <ulink url="http://www.corpit.ru/mjt/tinycdb.html">TinyCDB</ulink> </para> <para> - Note that <application>Sqlite</application>, - <application>Mysql</application>, <application>Postgresql</application> - and <application>cdb</application> are only useful if there is a known + Note that <application>SQLite</application>, + <application>MySQL</application>, <application>PostgreSQL</application> + and <application>CDB</application> are only useful if there is a known need for them. </para> @@ -111,6 +115,7 @@ <sect3> <title>Adding Users and Groups</title> + <para> Before you compile the program, you need to create users and groups that will be expected to be in place during the installation. Add the users @@ -120,8 +125,8 @@ <screen role="root"><userinput>groupadd -g 32 postfix && groupadd -g 33 postdrop && -useradd -c "Postfix Daemon User" -d /dev/null -g postfix \ - -s /bin/false -u 32 postfix && +useradd -c "Postfix Daemon User" -d /var/spool/postfix -g postfix \ + -s /bin/false -u 32 postfix && chown -v postfix:postfix /var/mail</userinput></screen> </sect3> @@ -151,35 +156,6 @@ For more details read the readme files. </para> -<!-- - <para> - Here is an example that combines the TLS and - <application>Cyrus-SASL</application> arguments: - </para> - -<screen><userinput>make makefiles \ -CCARGS='-DUSE_TLS -DUSE_SASL_AUTH -DUSE_CYRUS_SASL \ - -DDEF_DAEMON_DIR=\"/usr/lib/postfix\" \ - -DDEF_MANPAGE_DIR=\"/usr/share/man\" \ - -DDEF_HTML_DIR=\"/usr/share/doc/postfix-&postfix-version;/html\" \ - -DDEF_README_DIR=\"/usr/share/doc/postfix-&postfix-version;/README\" \ - -I/usr/include/openssl -I/usr/include/sasl' \ - AUXLIBS='-lssl -lcrypto -lsasl2'</userinput></screen> ---> - -<!-- it picks up pcre automatically now - <sect4> - <title>Perl compatible regular expressions</title> - - <para> - To use <application>PCRE</application> with - <application>Postfix</application>, use the following argument: - </para> - -<screen><literal>CCARGS='-DHAS_PCRE'</literal></screen> - </sect4> ---> - <sect4> <title>Cyrus-SASL</title> @@ -190,6 +166,7 @@ <screen><literal>CCARGS='-DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl' AUXLIBS='-lsasl2'</literal></screen> + </sect4> <sect4> @@ -202,6 +179,7 @@ <screen><literal>CCARGS='-DHAS_LDAP' AUXLIBS='-lldap -llber'</literal></screen> + </sect4> <sect4> @@ -214,6 +192,7 @@ <screen><literal>CCARGS='-DHAS_SQLITE' AUXLIBS='-lsqlite3 -lpthread'</literal></screen> + </sect4> <sect4> @@ -226,6 +205,7 @@ <screen><literal>CCARGS='-DHAS_MYSQL -I/usr/include/mysql' AUXLIBS='-lmysqlclient -lz -lm'</literal></screen> + </sect4> <sect4> @@ -238,6 +218,7 @@ <screen><literal>CCARGS='-DHAS_PGSQL -I/usr/include/postgresql' AUXLIBS='-lpq -lz -lm'</literal></screen> + </sect4> <sect4> @@ -251,6 +232,7 @@ <screen><literal>CCARGS='-DHAS_CDB' AUXLIBS='<replaceable></path/to/CDB></replaceable>/libcdb.a'</literal></screen> + </sect4> <sect4> @@ -264,18 +246,21 @@ <screen><literal>CCARGS='-DUSE_TLS -I/usr/include/openssl/' AUXLIBS='-lssl -lcrypto'</literal></screen> </sect4> + </sect3> <sect3> <title>Installing Postfix</title> <para> - If you have <application>OpenSSL</application> installed, install + If you have <application>Cyrus SASL</application> and + <application>OpenSSL</application> installed, install <application>Postfix</application> by running the following commands: </para> -<screen><userinput>make CCARGS="-DUSE_TLS -I/usr/include/openssl/ -DNO_NIS" \ - AUXLIBS="-lssl -lcrypto" \ +<screen><userinput>make CCARGS="-DNO_NIS -DUSE_TLS -I/usr/include/openssl/ \ + -DUSE_SASL_AUTH -DUSE_CYRUS_SASL -I/usr/include/sasl" \ + AUXLIBS="-lssl -lcrypto -lsasl2" \ makefiles && make</userinput></screen> @@ -291,10 +276,13 @@ </para> <screen role="root"><userinput>sh postfix-install -non-interactive \ - manpage_directory=/usr/share/man \ - html_directory=/usr/share/doc/postfix-&postfix-version;/html \ - readme_directory=/usr/share/doc/postfix-&postfix-version;/readme</userinput></screen> + daemon_directory=/usr/lib/postfix \ + manpage_directory=/usr/share/man \ + html_directory=/usr/share/doc/postfix-&postfix-version;/html \ + readme_directory=/usr/share/doc/postfix-&postfix-version;/readme</userinput></screen> + </sect3> + </sect2> <sect2 role="commands"> @@ -308,7 +296,7 @@ <para> <parameter>-DNO_NIS</parameter>: This option disables building Network - Information Service/Yellow Pages support. The RPC implementation in glibc + Information Service/Yellow Pages support. The RPC implementation in Glibc (on which NIS/YP depends) is deprecated. </para> @@ -319,6 +307,7 @@ <option>html_directory</option> and <option>readme_directory</option> options are not set then the documentation will not be installed. </para> + </sect2> <sect2 role="configuration"> @@ -382,9 +371,13 @@ </para> </note> - <note><para><application>Postfix</application> can also be set up to - run in a chroot jail. See the file in the source - <filename>examples/chroot-setup/LINUX2</filename> for details.</para></note> + <note> + <para> + <application>Postfix</application> can also be set up to + run in a chroot jail. See the file in the source + <filename>examples/chroot-setup/LINUX2</filename> for details. + </para> + </note> <para> If you have an existing configuration, you can run the @@ -404,6 +397,7 @@ <screen role="root"><userinput>/usr/sbin/postfix check && /usr/sbin/postfix start</userinput></screen> + </sect3> <sect3 id="postfix-init"> @@ -420,7 +414,9 @@ </indexterm> <screen role="root"><userinput>make install-postfix</userinput></screen> + </sect3> + </sect2> <sect2 role="content"> @@ -428,17 +424,24 @@ <segmentedlist> <segtitle>Installed Programs</segtitle> + <segtitle>Installed Libraries</segtitle> <segtitle>Installed Directories</segtitle> <seglistitem> <seg> mailq, newaliases, postaliases, postcat, postconf, postdrop, postfix, postkick, postlock, postlog, postmap, postmulti, postqueue, postsuper - and sendmail. + and sendmail + </seg> + <seg> + None </seg> <seg> - /etc/postfix, /usr/libexec/postfix, /var/lib/postfix, - /var/spool/postfix and /usr/share/doc/postfix-&postfix-version; + /etc/postfix, + /usr/lib/postfix, + /usr/share/doc/postfix-&postfix-version;, + /var/lib/postfix and + /var/spool/postfix </seg> </seglistitem> </segmentedlist> @@ -606,9 +609,9 @@ <term><command>postqueue</command></term> <listitem> <para> - The <application>Postfix</application> user interface for - queue management. - </para> + The <application>Postfix</application> user interface for + queue management. + </para> <indexterm zone="postfix postqueue"> <primary sortas="b-postqueue">postqueue</primary> </indexterm> @@ -619,9 +622,9 @@ <term><command>postsuper</command></term> <listitem> <para> - The <application>Postfix</application> user interface for - superuser queue management. - </para> + The <application>Postfix</application> user interface for + superuser queue management. + </para> <indexterm zone="postfix postsuper"> <primary sortas="b-postsuper">postsuper</primary> </indexterm> @@ -640,6 +643,9 @@ </indexterm> </listitem> </varlistentry> + </variablelist> + </sect2> + </sect1> Modified: trunk/bootscripts/blfs/init.d/postfix ============================================================================== --- trunk/bootscripts/blfs/init.d/postfix Fri Jan 25 08:32:25 2013 (r10976) +++ trunk/bootscripts/blfs/init.d/postfix Fri Jan 25 10:12:00 2013 (r10977) @@ -29,7 +29,7 @@ #$LastChangedBy$ #$Date$ -BINFILE=/usr/libexec/postfix/master +BINFILE=/usr/lib/postfix/master PIDFILE=/var/spool/postfix/pid/master.pid case "$1" in -- http://linuxfromscratch.org/mailman/listinfo/blfs-book FAQ: http://www.linuxfromscratch.org/blfs/faq.html Unsubscribe: See the above information page
