Changeset 001becd


Ignore:
Timestamp:
Dec 12, 2006, 3:09:26 PM (17 years ago)
Author:
Jim Gifford <clfs@…>
Branches:
clfs-1.2, clfs-2.1, clfs-3.0.0-systemd, clfs-3.0.0-sysvinit, master, systemd, sysvinit
Children:
8d87eba
Parents:
30f7bcd
Message:

Added Readline Upstream Patch

Files:
1 added
7 edited

Legend:

Unmodified
Added
Removed
  • BOOK/final-system/common/readline.xml

    r30f7bcd r001becd  
    2626    <title>Installation of Readline</title>
    2727
    28     <para os="c">Prepare Readline for compilation:</para>
     28    <para os="p1">The following patch contains updates from the maintainer. The
     29    maintainer of Readline only releases these patches to fix serious issues:</para>
    2930
    30 <screen os="d"><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
     31<screen os="p2"><userinput>patch -Np1 -i ../&readline-fixes-patch;</userinput></screen>
    3132
    32     <para os="e">Compile the package:</para>
     33    <para os="a">Prepare Readline for compilation:</para>
    3334
    34 <screen os="f"><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>
     35<screen os="b"><userinput>./configure --prefix=/usr --libdir=/lib</userinput></screen>
    3536
    36     <variablelist os="g">
     37    <para os="c">Compile the package:</para>
     38
     39<screen os="d"><userinput>make SHLIB_XLDFLAGS=-lncurses</userinput></screen>
     40
     41    <variablelist os="e">
    3742      <title>The meaning of the make option:</title>
    3843
     
    4651    </variablelist>
    4752
    48     <para os="h">This package does not come with a test suite.</para>
     53    <para os="f">This package does not come with a test suite.</para>
    4954
    50     <para os="i">Install the package:</para>
     55    <para os="g">Install the package:</para>
    5156
    52 <screen os="j"><userinput>make install</userinput></screen>
     57<screen os="h"><userinput>make install</userinput></screen>
    5358
    54     <para os="k">Give Readline's dynamic libraries more appropriate
     59    <para os="i">Give Readline's dynamic libraries more appropriate
    5560    permissions:</para>
    5661
    57 <screen os="l"><userinput>chmod -v 755 /lib/lib{readline,history}.so*</userinput></screen>
     62<screen os="j"><userinput>chmod -v 755 /lib/lib{readline,history}.so*</userinput></screen>
    5863
    59     <para os="m">Now move the static libraries to a more appropriate location:</para>
     64    <para os="k">Now move the static libraries to a more appropriate location:</para>
    6065
    61 <screen os="n"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
     66<screen os="l"><userinput>mv -v /lib/lib{readline,history}.a /usr/lib</userinput></screen>
    6267
    63     <para os="o">Next, remove the <filename class="extension">.so</filename>
     68    <para os="m">Next, remove the <filename class="extension">.so</filename>
    6469    files in <filename class="directory">/lib</filename> and relink them into
    6570    <filename class="directory">/usr/lib</filename>.</para>
    6671
    67 <screen os="p"><userinput>rm -v /lib/lib{readline,history}.so
     72<screen os="n"><userinput>rm -v /lib/lib{readline,history}.so
    6873ln -svf ../../lib/libreadline.so.5 /usr/lib/libreadline.so
    6974ln -svf ../../lib/libhistory.so.5 /usr/lib/libhistory.so</userinput></screen>
  • BOOK/final-system/multilib/readline-64bit.xml

    r30f7bcd r001becd  
    2424    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    2525    href="readline.xml"
     26    xpointer="xpointer(//*[@os='p1'])"/>
     27
     28    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     29    href="readline.xml"
     30    xpointer="xpointer(//*[@os='p2'])"/>
     31
     32    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     33    href="readline.xml"
     34    xpointer="xpointer(//*[@os='a'])"/>
     35
     36<screen os="b"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
     37   ./configure --prefix=/usr --libdir=/lib64</userinput></screen>
     38
     39    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     40    href="readline.xml"
    2641    xpointer="xpointer(//*[@os='c'])"/>
    2742
    28 <screen os="d"><userinput>CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
    29    ./configure --prefix=/usr --libdir=/lib64</userinput></screen>
     43    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     44    href="readline.xml"
     45    xpointer="xpointer(//*[@os='d'])"/>
    3046
    3147    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    4965    xpointer="xpointer(//*[@os='i'])"/>
    5066
    51     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    52     href="readline.xml"
    53     xpointer="xpointer(//*[@os='j'])"/>
     67<screen os="j"><userinput>chmod -v 755 /lib64/lib{readline,history}.so*</userinput></screen>
    5468
    5569    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5771    xpointer="xpointer(//*[@os='k'])"/>
    5872
    59 <screen os="l"><userinput>chmod -v 755 /lib64/lib{readline,history}.so*</userinput></screen>
     73<screen os="l"><userinput>mv -v /lib64/lib{readline,history}.a /usr/lib64</userinput></screen>
    6074
    61     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    62     href="readline.xml"
    63     xpointer="xpointer(//*[@os='m'])"/>
    64 
    65 <screen os="n"><userinput>mv -v /lib64/lib{readline,history}.a /usr/lib64</userinput></screen>
    66 
    67     <para os="o">Next, remove the <filename class="extension">.so</filename>
     75    <para os="m">Next, remove the <filename class="extension">.so</filename>
    6876    files in <filename class="directory">/lib64</filename> and relink them into
    6977    <filename class="directory">/usr/lib64</filename>.</para>
    7078
    71 <screen os="p"><userinput>rm -v /lib64/lib{readline,history}.so
     79<screen os="n"><userinput>rm -v /lib64/lib{readline,history}.so
    7280ln -svf ../../lib64/libreadline.so.5 /usr/lib64/libreadline.so
    7381ln -svf ../../lib64/libhistory.so.5 /usr/lib64/libhistory.so</userinput></screen>
  • BOOK/final-system/multilib/readline-n32.xml

    r30f7bcd r001becd  
    2525    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    2626    href="readline.xml"
    27     xpointer="xpointer(//*[@os='c'])"/>
     27    xpointer="xpointer(//*[@os='p1'])"/>
    2828
    29 <screen os="d"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
     29    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     30    href="readline.xml"
     31    xpointer="xpointer(//*[@os='p2'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     34    href="readline.xml"
     35    xpointer="xpointer(//*[@os='a'])"/>
     36
     37<screen os="b"><userinput>CC="gcc ${BUILDN32}" CXX="g++ ${BUILDN32}" \
    3038   ./configure --prefix=/usr --libdir=/lib32</userinput></screen>
    3139
    3240    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    3341    href="readline.xml"
     42    xpointer="xpointer(//*[@os='c'])"/>
     43
     44    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     45    href="readline.xml"
     46    xpointer="xpointer(//*[@os='d'])"/>
     47
     48    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     49    href="readline.xml"
    3450    xpointer="xpointer(//*[@os='e'])"/>
     51
     52    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     53    href="readline.xml"
     54    xpointer="xpointer(//*[@os='f'])"/>
    3555
    3656    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    4666    xpointer="xpointer(//*[@os='i'])"/>
    4767
    48     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    49     href="readline.xml"
    50     xpointer="xpointer(//*[@os='j'])"/>
     68<screen os="j"><userinput>chmod -v 755 /lib32/lib{readline,history}.so*</userinput></screen>
    5169
    5270    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    5472    xpointer="xpointer(//*[@os='k'])"/>
    5573
     74<screen os="l"><userinput>mv -v /lib32/lib{readline,history}.a /usr/lib32</userinput></screen>
    5675
    57 <screen os="k"><userinput>chmod -v 755 /lib32/lib{readline,history}.so*</userinput></screen>
    58 
    59     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    60     href="readline.xml"
    61     xpointer="xpointer(//*[@os='m'])"/>
    62 
    63 <screen os="m"><userinput>mv -v /lib32/lib{readline,history}.a /usr/lib32</userinput></screen>
    64 
    65     <para os="n">Next, remove the <filename class="extension">.so</filename>
     76    <para os="m">Next, remove the <filename class="extension">.so</filename>
    6677    files in <filename class="directory">/lib32</filename> and relink them into
    6778    <filename class="directory">/usr/lib32</filename>.</para>
    6879
    69 <screen os="o"><userinput>rm -v /lib32/lib{readline,history}.so
     80<screen os="n"><userinput>rm -v /lib32/lib{readline,history}.so
    7081ln -svf ../../lib32/libreadline.so.5 /usr/lib32/libreadline.so
    7182ln -svf ../../lib32/libhistory.so.5 /usr/lib32/libhistory.so</userinput></screen>
  • BOOK/final-system/multilib/readline.xml

    r30f7bcd r001becd  
    2525    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    2626    href="../common/readline.xml"
     27    xpointer="xpointer(//*[@os='p1'])"/>
     28
     29    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     30    href="../common/readline.xml"
     31    xpointer="xpointer(//*[@os='p2'])"/>
     32
     33    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     34    href="../common/readline.xml"
     35    xpointer="xpointer(//*[@os='a'])"/>
     36
     37<screen os="b"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
     38   ./configure --prefix=/usr --libdir=/lib</userinput></screen>
     39
     40    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     41    href="../common/readline.xml"
    2742    xpointer="xpointer(//*[@os='c'])"/>
    2843
    29 <screen os="d"><userinput>CC="gcc ${BUILD32}" CXX="g++ ${BUILD32}" \
    30    ./configure --prefix=/usr --libdir=/lib</userinput></screen>
     44    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     45    href="../common/readline.xml"
     46    xpointer="xpointer(//*[@os='d'])"/>
    3147
    3248    <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
     
    6985    href="../common/readline.xml"
    7086    xpointer="xpointer(//*[@os='n'])"/>
    71 
    72     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    73     href="../common/readline.xml"
    74     xpointer="xpointer(//*[@os='o'])"/>
    75 
    76     <xi:include xmlns:xi="http://www.w3.org/2003/XInclude"
    77     href="../common/readline.xml"
    78     xpointer="xpointer(//*[@os='p'])"/>
    7987  </sect2>
    8088
  • BOOK/introduction/common/changelog.xml

    r30f7bcd r001becd  
    4646          <para>[jim] - Updated to Linux Headers 2.6.19.1-12122006.</para>
    4747        </listitem>
     48        <listitem>
     49          <para>[jim] - Added Readline Upstream Patch.</para>
     50        </listitem>
    4851      </itemizedlist>
    4952    </listitem>
  • BOOK/materials/common/patches.xml

    r30f7bcd r001becd  
    209209
    210210    <varlistentry>
     211      <term>Readline Fixes - <token>&readline-fixes-patch-size;</token>:</term>
     212      <listitem>
     213        <para>Download: <ulink
     214        url="&patches-root;&readline-fixes-patch;"/></para>
     215        <para>MD5 sum: <literal>&readline-fixes-patch-md5;</literal></para>
     216      </listitem>
     217    </varlistentry>
     218
     219    <varlistentry>
    211220      <term>Shadow Useradd Patch - <token>&shadow-useradd_fix-patch-size;</token>:</term>
    212221      <listitem>
  • BOOK/patches.ent

    r30f7bcd r001becd  
    8989<!ENTITY perl-libc-patch-size "4 KB">
    9090
    91 <!ENTITY readline-fixes-patch "readline-&readline-version;-fixes-3.patch">
    92 <!ENTITY readline-fixes-patch-md5 "e30963cd5c6f6a11a23344af36cfa38c">
    93 <!ENTITY readline-fixes-patch-size "2.1 KB">
     91<!ENTITY readline-fixes-patch "readline-&readline-version;-fixes-1.patch">
     92<!ENTITY readline-fixes-patch-md5 "c3483d9d4e44614a740e190d25100cdf">
     93<!ENTITY readline-fixes-patch-size "4 KB">
    9494
    9595<!ENTITY shadow-useradd_fix-patch "shadow-&shadow-version;-useradd_fix-1.patch">
Note: See TracChangeset for help on using the changeset viewer.