Ignore:
Timestamp:
09/18/2007 09:39:40 PM (17 years ago)
Author:
Manuel Canales Esparcia <manuel@…>
Children:
638fa13
Parents:
6aa2db52
Message:

Merged r8389:8391 from trunk.

git-svn-id: http://svn.linuxfromscratch.org/LFS/branches/jh/BOOK@8392 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689

File:
1 edited

Legend:

Unmodified
Added
Removed
  • chapter06/shadow.xml

    r6aa2db52 r2822654  
    5454    names rather than group ID numbers to the <option>-g</option> option:</para>
    5555
    56 <screen><userinput>patch -Np1 -i ../&shadow-useradd-patch;</userinput></screen>
     56<screen><userinput remap="pre">patch -Np1 -i ../&shadow-useradd-patch;</userinput></screen>
    5757
    5858    <para>Prepare Shadow for compilation:</para>
    5959
    60 <screen><userinput>./configure --libdir=/lib --sysconfdir=/etc --enable-shared \
     60<screen><userinput remap="configure">./configure --libdir=/lib --sysconfdir=/etc --enable-shared \
    6161    --without-selinux</userinput></screen>
    6262
     
    7878    and its man pages, as Coreutils provides a better version:</para>
    7979
    80 <screen><userinput>sed -i 's/groups$(EXEEXT) //' src/Makefile
     80<screen><userinput remap="configure">sed -i 's/groups$(EXEEXT) //' src/Makefile
    8181find man -name Makefile -exec sed -i 's/groups\.1 / /' {} \;</userinput></screen>
    8282
     
    8484    Man-DB cannot format them properly:</para>
    8585
    86 <screen><userinput>sed -i -e 's/ ko//' -e 's/ zh_CN zh_TW//' man/Makefile</userinput></screen>
     86<screen><userinput remap="configure">sed -i -e 's/ ko//' -e 's/ zh_CN zh_TW//' man/Makefile</userinput></screen>
    8787
    8888    <para>Shadow supplies other manual pages in a UTF-8 encoding.  Man-DB
     
    9090    <command>convert-mans</command> script which we installed:</para>
    9191
    92 <screen><userinput>for i in de es fi fr id it pt_BR; do
     92<screen><userinput remap="configure">for i in de es fi fr id it pt_BR; do
    9393    convert-mans UTF-8 ISO-8859-1 man/${i}/*.?
    9494done
     
    110110    class="directory">/var/mail</filename> location used currently:</para>
    111111
    112 <screen><userinput>sed -i -e 's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \
     112<screen><userinput remap="configure">sed -i -e 's@#MD5_CRYPT_ENAB.no@MD5_CRYPT_ENAB yes@' \
    113113    -e 's@/var/spool/mail@/var/mail@' etc/login.defs</userinput></screen>
    114114
     
    122122    <para>Compile the package:</para>
    123123
    124 <screen><userinput>make</userinput></screen>
     124<screen><userinput remap="make">make</userinput></screen>
    125125
    126126    <para>This package does not come with a test suite.</para>
     
    128128    <para>Install the package:</para>
    129129
    130 <screen><userinput>make install</userinput></screen>
     130<screen><userinput remap="install">make install</userinput></screen>
    131131
    132132    <para>Move a misplaced program to its proper location:</para>
    133133
    134 <screen><userinput>mv -v /usr/bin/passwd /bin</userinput></screen>
     134<screen><userinput remap="install">mv -v /usr/bin/passwd /bin</userinput></screen>
    135135
    136136    <para>Move Shadow's libraries to more appropriate locations:</para>
    137137
    138 <screen><userinput>mv -v /lib/libshadow.*a /usr/lib
     138<screen><userinput remap="install">mv -v /lib/libshadow.*a /usr/lib
    139139rm -v /lib/libshadow.so
    140140ln -sfv ../../lib/libshadow.so.0 /usr/lib/libshadow.so</userinput></screen>
Note: See TracChangeset for help on using the changeset viewer.