Changeset 3c47af8


Ignore:
Timestamp:
08/10/2005 01:50:01 AM (19 years ago)
Author:
Bruce Dubbs <bdubbs@…>
Branches:
6.1
Children:
5d9032d0
Parents:
6ae5a39
Message:

Merge changes into 6.1-pre2

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

Files:
9 edited

Legend:

Unmodified
Added
Removed
  • general.ent

    r6ae5a39 r3c47af8  
    1 <!ENTITY day          "1">
     1<!ENTITY day          "9">
    22<!ENTITY month        "08">
    33<!ENTITY year         "2005">
    4 <!ENTITY version      "6.1-pre1">
     4<!ENTITY version      "6.1-pre2">
    55<!ENTITY releasedate  "August &day;st, &year;">
    66<!ENTITY pubdate      "&year;-&month;-0&day;"> <!-- metadata req. by TLDP -->
    7 <!ENTITY blfs-version "6.1-pre1">                  <!-- svn|[release #] -->
     7<!ENTITY blfs-version "6.1-pre2">                  <!-- svn|[release #] -->
    88<!ENTITY lfs-version  "stable">          <!-- version|stable|testing|unstable|development] -->
    99<!ENTITY last-commit  "$Date: 2005-07-28 13:03:39 +0100 (Thu, 28 Jul 2005) $"> <!-- Automatic update -->
     
    2222
    2323
    24 <!ENTITY blfs-bootscripts-version     "20050731">
     24<!ENTITY blfs-bootscripts-version     "6.1-pre2">
    2525<!ENTITY blfs-bootscripts-download    "&downloads-root;/blfs-bootscripts-&blfs-bootscripts-version;.tar.bz2">
    2626
  • general/genlib/gmp.xml

    r6ae5a39 r3c47af8  
    6464    the following commands:</para>
    6565
    66 <screen><userinput>./configure --prefix=/usr --enable-cxx \
    67     --enable-mpbsd --enable-mpfr &amp;&amp;
     66<screen><userinput>./configure --prefix=/usr --enable-cxx --enable-mpbsd &amp;&amp;
    6867make</userinput></screen>
    6968
    7069    <para>To test the results, issue: <command>make check</command>.
    71         Owing to various reports of mis-compilations,
    72         the maintainer strongly recommends running the test-suite and
    73         report any failures.</para>
     70    Owing to various reports of mis-compilations, the maintainer strongly
     71    recommends running the test-suite and report any failures. The libraries
     72    should not be used in a production environment if there are problems
     73    running <command>make check</command>.</para>
    7474
    7575    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
     
    9090    (<filename class="libraryfile">libmp</filename>) libraries.</para>
    9191
    92     <para><parameter>--enable-mpfr</parameter>: This parameter
    93     enables building the Multiple Precision Floating-Point Reliable
    94     (<filename class="libraryfile">libmpfr.a</filename>) library.</para>
    95 
    9692  </sect2>
    9793
     
    106102      <seglistitem>
    107103        <seg>None</seg>
    108         <seg>libgmp.[so,a], libgmpxx.[so,a], libmp.[so,a], and libmpfr.a</seg>
     104        <seg>libgmp.[so,a], libgmpxx.[so,a] and libmp.[so,a]</seg>
    109105        <seg>None</seg>
    110106      </seglistitem>
     
    132128
    133129</sect1>
    134 
  • general/graphlib/fontconfig.xml

    r6ae5a39 r3c47af8  
    1010  <!ENTITY fontconfig-md5sum "7354f9f125ea78a8f2851cb9c31d4866">
    1111  <!ENTITY fontconfig-size "942 KB">
    12   <!ENTITY fontconfig-buildsize "10.5 MB">
     12  <!ENTITY fontconfig-buildsize "13.0 MB">
    1313  <!ENTITY fontconfig-time "0.2 SBU">
    1414]>
     
    7272
    7373    <note>
    74       <para>If you have <application>DocBook-utils</application> installed,
    75       you must also have <xref linkend="perl-sgmlspm"/> installed also, or the
    76       <application>Fontconfig</application> build will fail.</para>
     74      <para>If you have <application>DocBook-utils</application> installed
     75      and you remove the <parameter>--disable-docs</parameter> parameter from
     76      the <command>configure</command> command below, you must have
     77      <xref linkend="perl-sgmlspm"/> and <xref linkend="jadetex"/> installed
     78      also, or the <application>Fontconfig</application> build will fail.</para>
    7779    </note>
    7880
     
    8587    commands:</para>
    8688
    87 <screen><userinput>./configure --prefix=/usr \
    88     --sysconfdir=/etc --disable-docs &amp;&amp;
     89<screen><userinput>./configure --prefix=/usr --sysconfdir=/etc --disable-docs &amp;&amp;
    8990make</userinput></screen>
    9091
     
    9495
    9596<screen role="root"><userinput>make install &amp;&amp;
    96 make -C doc install &amp;&amp;
    97 install -v -m 644 doc/*.3 /usr/share/man/man3/</userinput></screen>
     97install -v -m755 -d /usr/share/doc/fontconfig/fontconfig-devel &amp;&amp;
     98install -v -m644 doc/*.3 /usr/share/man/man3 &amp;&amp;
     99install -v -m644 doc/*.5 /usr/share/man/man5 &amp;&amp;
     100install -v -m644 doc/*.{html,pdf,txt} /usr/share/doc/fontconfig &amp;&amp;
     101install -v -m644 doc/fontconfig-devel/* \
     102    /usr/share/doc/fontconfig/fontconfig-devel</userinput></screen>
    98103
    99104  </sect2>
     
    102107    <title>Command Explanations</title>
    103108
    104     <para><parameter>--disable-docs</parameter>: This switch avoids building the
    105     documentation (the release tarball includes pre-generated documentation).
    106     If you wish to build the documentation using
     109    <para><parameter>--disable-docs</parameter>: This switch avoids building
     110    the documentation (the release tarball includes pre-generated
     111    documentation).</para>
     112
     113    <!-- If you wish to build the documentation using
    107114    <application>DocBook-utils</application>, you may need to remove the
    108115    <application>OpenSP</application> catalog definitions from the system
     
    113120    -e "\%CATALOG /etc/sgml/OpenSP-1.5.1.cat%d" \
    114121    /etc/sgml/catalog \
    115     /etc/sgml/sgml-docbook.cat</userinput></screen>
     122    /etc/sgml/sgml-docbook.cat</userinput></screen> -->
    116123
    117124  </sect2>
  • general/prog/dejagnu.xml

    r6ae5a39 r3c47af8  
    3030    <title>Introduction to DejaGnu</title>
    3131
    32     <para><application>DejaGnu</application> is a framework for running test suites
    33     on GNU tools. It is written in <command>expect</command>,
    34     which uses <application>Tcl</application> (Tool command language).</para>
     32    <para><application>DejaGnu</application> is a framework for running test
     33    suites on GNU tools. It is written in <command>expect</command>, which
     34    uses <application>Tcl</application> (Tool command language).</para>
    3535
    3636    <bridgehead renderas="sect3">Package Information</bridgehead>
     
    8080make install-doc</userinput></screen>
    8181
     82    <para>To test the installation, issue <command>make check</command> as
     83    an unprivileged user.</para>
     84
    8285  </sect2>
    8386
     
    121124
    122125</sect1>
    123 
  • general/prog/nasm.xml

    r6ae5a39 r3c47af8  
    1010  <!ENTITY NASM-size "543 KB">
    1111  <!ENTITY NASM-buildsize "17.3 MB (includes building and installing all docs)">
    12   <!ENTITY NASM-time "0.20 SBU">
     12  <!ENTITY NASM-time "0.2 SBU">
    1313]>
    1414
     
    5656    </itemizedlist>
    5757
     58    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     59    <itemizedlist spacing="compact">
     60      <listitem>
     61        <para>Required patch to fix a buffer overrun vulnerability: <ulink
     62        url="&patch-root;/nasm-&NASM-version;-security_fix-1.patch"/></para>
     63      </listitem>
     64    </itemizedlist>
     65
    5866    <bridgehead renderas="sect3">NASM Dependencies</bridgehead>
    5967
     
    7078    the following commands:</para>
    7179
    72 <screen><userinput>./configure --prefix=/usr &amp;&amp;
     80<screen><userinput>patch -Np1 -i ../nasm-&NASM-version;-security_fix-1.patch &amp;&amp;
     81./configure --prefix=/usr &amp;&amp;
    7382make &amp;&amp;
    7483make -C rdoff/doc &amp;&amp;
  • general/prog/ruby.xml

    r6ae5a39 r3c47af8  
    55  %general-entities;
    66
    7   <!ENTITY ruby-download-http " ">
     7  <!ENTITY ruby-download-http "http://www.ibiblio.org/pub/languages/ruby/ruby/ruby-&ruby-version;.tar.gz">
    88  <!ENTITY ruby-download-ftp "ftp://ftp.ruby-lang.org/pub/ruby/ruby-&ruby-version;.tar.gz">
    99  <!ENTITY ruby-md5sum "8ffc79d96f336b80f2690a17601dea9b">
    1010  <!ENTITY ruby-size "3.5 MB">
    1111  <!ENTITY ruby-buildsize "55.2 MB">
    12   <!ENTITY ruby-time "0.93 SBU">
     12  <!ENTITY ruby-time "0.9 SBU">
    1313]>
    1414
     
    5656    </itemizedlist>
    5757
     58    <bridgehead renderas="sect3">Additional Downloads</bridgehead>
     59    <itemizedlist spacing="compact">
     60      <listitem>
     61        <para>Required patch to fix a vulnerability which allows remote
     62        attackers to execute arbitrary commands: <ulink
     63        url="http://www.ruby-lang.org/patches/ruby-&ruby-version;-xmlrpc-ipimethods-fix.diff"/></para>
     64      </listitem>
     65    </itemizedlist>
     66
    5867    <bridgehead renderas="sect3">Ruby Dependencies</bridgehead>
    5968
     
    7281    commands:</para>
    7382
    74 <screen><userinput>./configure --prefix=/usr --enable-shared \
     83<screen><userinput>patch -Np1 -i ../ruby-&ruby-version;-xmlrpc-ipimethods-fix.diff &amp;&amp;
     84./configure --prefix=/usr --enable-shared \
    7585    --enable-pthread --enable-install-doc &amp;&amp;
    7686make</userinput></screen>
  • introduction/welcome/changelog.xml

    r6ae5a39 r3c47af8  
    2424
    2525  <itemizedlist>
     26    <listitem>
     27      <para>August 9th, 2005 [bdubbs]: BLFS-6.1-pre2 release.</para>
     28    </listitem>
     29
     30    <listitem>
     31      <para>August 9th, 2005 [dj]: Added default PATH for pam_env and
     32      a note about the lack of ENV_SUPATH.</para>
     33    </listitem>
     34
     35    <listitem>
     36      <para>August 8th, 2005 [randy]: Added instructions to install patches
     37      to Ruby and NASM that fix security vulnerabilities discovered in both
     38      packages, thanks to Ken Moffat for the suggestions.</para>
     39    </listitem>
     40
     41    <listitem>
     42      <para>August 8th, 2005 [randy]: Modified documentation installation in
     43      the Fontconfig instructions.</para>
     44    </listitem>
     45
     46    <listitem>
     47      <para>August 8th, 2005 [randy]: Modified the Shadow instructions so
     48      that builders will not receive configuration errors during the testing
     49      recommended by the warning note.</para>
     50    </listitem>
     51   
     52    <listitem>
     53      <para>August 7th, 2005 [randy]: Removed building the MPFR library
     54      from the GMP instructions.</para>
     55    </listitem>
    2656   
    2757    <listitem>
  • postlfs/config/autofs.xml

    r6ae5a39 r3c47af8  
    108108patch -Np1 -i ../autofs-&autofs-version;-multi-parse-fix.patch &amp;&amp;
    109109patch -Np1 -i ../autofs-&autofs-version;-non-replicated-ping.patch &amp;&amp;
     110./configure --prefix=/ --mandir=/usr/share/man &amp;&amp;
    110111make</userinput></screen>
    111112
  • postlfs/security/shadow.xml

    r6ae5a39 r3c47af8  
    118118      <title>Config Files</title>
    119119
    120       <para><filename>/etc/pam.d/*</filename>, or alternatively,
    121       <filename>/etc/pam.conf</filename></para>
     120      <para><filename>/etc/pam.d/*</filename> or alternatively
     121      <filename>/etc/pam.conf, /etc/login.defs and
     122      /etc/security/*</filename></para>
    122123
    123124      <indexterm zone="shadow pam.d">
     
    129130      </indexterm>
    130131
     132      <indexterm zone="shadow pam.d">
     133        <primary sortas="e-etc-login.defs">/etc/login.defs</primary>
     134      </indexterm>
     135
     136      <indexterm zone="shadow pam.d">
     137        <primary sortas="e-etc-security">/etc/security/*</primary>
     138      </indexterm>
     139
    131140    </sect3>
    132141
     
    134143      <title>Configuration Information</title>
    135144
    136       <para>Add the following <application>Linux-PAM</application> configuration
    137       files to <filename class="directory">/etc/pam.d/</filename> (or add them
    138       to <filename>/etc/pam.conf</filename> with the additional field for
    139       the program).</para>
     145      <sect4 id="pam-login-defs">
     146        <title>Configuring /etc/login.defs</title>
     147
     148        <para>The <command>login</command> program currently performs many
     149        functions which <application>Linux-PAM</application> modules should
     150        now handle. The following <command>sed</command> command will comment
     151        out the appropriate lines in <filename>/etc/login.defs</filename>, and
     152        stop <command>login</command> from performing these functions (a backup
     153        file named <filename>/etc/login.defs.orig</filename> is also created
     154        to preserve the original file's contents):</para>
     155
     156        <indexterm zone="shadow pam-login-defs">
     157          <primary sortas="e-etc-login.defs">/etc/login.defs</primary>
     158        </indexterm>
     159
     160<screen role="root"><userinput>install -v -m644 /etc/login.defs /etc/login.defs.orig &amp;&amp;
     161for FUNCTION in LASTLOG_ENAB MAIL_CHECK_ENAB \
     162                PORTTIME_CHECKS_ENAB CONSOLE \
     163                MOTD_FILE NOLOGINS_FILE PASS_MIN_LEN \
     164                SU_WHEEL_ONLY MD5_CRYPT_ENAB \
     165                CONSOLE_GROUPS ENVIRON_FILE \
     166                ULIMIT ENV_TZ ENV_HZ ENV_SUPATH \
     167                ENV_PATH QMAIL_DIR MAIL_DIR MAIL_FILE \
     168                CHFN_AUTH FAILLOG_ENAB QUOTAS_ENAB FTMP_FILE
     169do
     170    sed -i -e "s/^$FUNCTION/# &amp;/" /etc/login.defs
     171done</userinput></screen>
     172
     173        <para>If you have <application>CrackLib</application> installed,
     174        also comment out four more lines using the following command:</para>
     175
     176<screen role="root"><userinput>for FUNCTION in OBSCURE_CHECKS_ENAB CRACKLIB_DICTPATH \
     177                PASS_CHANGE_TRIES PASS_ALWAYS_WARN
     178do
     179    sed -i -e "s/^$FUNCTION/# &amp;/" /etc/login.defs
     180done</userinput></screen>
     181
     182      </sect4>
     183
     184      <sect4>
     185        <title>Configuring the /etc/pam.d/ Files</title>
     186
     187        <para>Add the following <application>Linux-PAM</application> configuration
     188        files to <filename class="directory">/etc/pam.d/</filename> (or add them
     189        to <filename>/etc/pam.conf</filename> with the additional field for
     190        the program).</para>
     191
     192      </sect4>
    140193
    141194      <sect4>
     
    147200auth        requisite      pam_securetty.so
    148201auth        requisite      pam_nologin.so
    149 auth        required       pam_env.so
    150202auth        required       pam_unix.so
    151203account     required       pam_access.so
    152204account     required       pam_unix.so
     205session     required       pam_env.so
    153206session     required       pam_motd.so
    154207session     required       pam_limits.so
     
    229282account     required        pam_unix.so
    230283session     optional        pam_mail.so     dir=/var/mail standard
     284session     required        pam_env.so
    231285session     required        pam_unix.so
    232286
     
    267321          <para>At this point, you should do a simple test to see if
    268322          <application>Shadow</application> is working as expected. Open
    269           another term and log in as a user, then <command>su</command> to
     323          another terminal and log in as a user, then <command>su</command> to
    270324          <systemitem class="username">root</systemitem>. If you do not see any
    271325          errors, then all is well and you should proceed with the rest of the
     
    274328          fix the error, you should recompile <application>Shadow</application>
    275329          replacing <option>--with-libpam</option> with
    276           <option>--without-libpam</option> in the above instructions. If you
     330          <option>--without-libpam</option> in the above instructions (also move
     331          the <filename>/etc/login.defs.orig</filename> backup file to
     332          <filename>/etc/login.defs</filename>). If you
    277333          fail to do this and the errors remain, you will be unable to log into
    278334          your system.</para>
     
    348404      </sect4>
    349405
    350       <sect4 id="pam-login-defs">
    351         <title>Configuring /etc/login.defs</title>
    352 
    353         <para>The <command>login</command> program currently performs many
    354         functions which <application>Linux-PAM</application> modules should
    355         now handle. The following command will comment out the appropriate
    356         lines in <filename>/etc/login.defs</filename>, and stop
    357         <command>login</command> from performing these functions:</para>
    358 
    359         <indexterm zone="shadow pam-login-defs">
    360           <primary sortas="e-etc-login.defs">/etc/login.defs</primary>
    361         </indexterm>
    362 
    363 <screen role="root"><userinput>for FUNCTION in LASTLOG_ENAB MAIL_CHECK_ENAB \
    364                 PORTTIME_CHECKS_ENAB CONSOLE \
    365                 MOTD_FILE NOLOGINS_FILE PASS_MIN_LEN \
    366                 SU_WHEEL_ONLY MD5_CRYPT_ENAB \
    367                 CONSOLE_GROUPS ENVIRON_FILE \
    368                 ULIMIT ENV_TZ ENV_HZ ENV_SUPATH \
    369                 ENV_PATH QMAIL_DIR MAIL_DIR MAIL_FILE \
    370                 CHFN_AUTH FAILLOG_ENAB QUOTAS_ENAB FTMP_FILE
    371 do
    372     sed -i -e "s/^$FUNCTION/# &amp;/" /etc/login.defs
    373 done</userinput></screen>
    374 
    375         <para>If you have <application>CrackLib</application> installed,
    376         also comment out four more lines using the following command:</para>
    377 
    378 <screen role="root"><userinput>for FUNCTION in OBSCURE_CHECKS_ENAB CRACKLIB_DICTPATH \
    379                 PASS_CHANGE_TRIES PASS_ALWAYS_WARN
    380 do
    381     sed -i -e "s/^$FUNCTION/# &amp;/" /etc/login.defs
    382 done</userinput></screen>
     406
     407      <sect4 id="pam-env">
     408        <title>Configuring Default Environment</title>
     409
     410          <para>During previous configuration, several items were removed from
     411          <filename>/etc/login.defs</filename>.  Some of these items are now
     412          controlled by the <filename class='libraryfile'>pam_env.so</filename>
     413          module and the <filename>/etc/security/pam_env.conf</filename>
     414          configuration file.  In particular, the default path has been
     415          changed.  To recover your default path, execute the following
     416          commands:</para>
     417
     418<screen><userinput><command>ENV_PATH=`grep '^ENV_PATH' /etc/login.defs.orig | \
     419    awk '{ print $2 }' | sed 's/PATH=//'` &amp;&amp;
     420echo 'PATH        DEFAULT='`echo "${ENV_PATH}"`'        OVERRIDE=${PATH}' \
     421    >> /etc/security/pam_env.conf &amp;&amp;
     422unset ENV_PATH</command></userinput></screen>
     423
     424          <note><para>ENV_SUPATH is no longer supported.  You must create
     425          a valid <filename>/root/.bashrc</filename> file to provide a
     426          modified path for the super user.</para></note>
    383427
    384428      </sect4>
Note: See TracChangeset for help on using the changeset viewer.