bash.xml 1.6 KB

1234567891011121314151617181920212223242526272829303132333435363738394041424344454647484950515253545556575859606162
  1. <?xml version="1.0" encoding="ISO-8859-1"?>
  2. <!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.3//EN" "http://www.oasis-open.org/docbook/xml/4.3/docbookx.dtd" [
  3. <!ENTITY % general-entities SYSTEM "../general.ent">
  4. %general-entities;
  5. ]>
  6. <sect1 id="ch-system-bash" xreflabel="Bash" role="wrap">
  7. <title>Bash-&bash-version;</title>
  8. <?dbhtml filename="bash.html"?>
  9. <indexterm zone="ch-system-bash"><primary sortas="a-Bash">Bash</primary></indexterm>
  10. <sect2 role="package"><title/>
  11. <segmentedlist>
  12. <segtitle>&buildtime;</segtitle>
  13. <segtitle>&diskspace;</segtitle>
  14. <seglistitem><seg>1.2 SBU</seg><seg>27 MB</seg></seglistitem>
  15. </segmentedlist>
  16. </sect2>
  17. <sect2 role="installation">
  18. <title>Installation of Bash</title>
  19. <para>Apply a patch:</para>
  20. <screen><userinput>patch -Np1 -i ../bash-&bash-version;-fixes-1.patch</userinput></screen>
  21. <para>Apply another patch:</para>
  22. <screen><userinput>patch -Np1 -i ../bash-&bash-version;-avoid_WCONTINUED-1.patch</userinput></screen>
  23. <para>Prepare Bash for compilation:</para>
  24. <screen><userinput>./configure --prefix=/usr --bindir=/bin \
  25. --without-bash-malloc --with-installed-readline</userinput></screen>
  26. <para>Compile the package:</para>
  27. <screen><userinput>make</userinput></screen>
  28. <para>To test the results, issue:
  29. <userinput>make tests</userinput>.</para>
  30. <para>Install the package:</para>
  31. <screen><userinput>make install</userinput></screen>
  32. <para>Run the newly compiled <command>bash</command> program:</para>
  33. <screen><userinput>exec /bin/bash --login +h</userinput></screen>
  34. </sect2>
  35. <sect2 id="contents-bash" role="content"><title>Contents of Bash</title>
  36. <para>See testing</para>
  37. </sect2>
  38. </sect1>