source: BOOK/final-system/common/bash.xml@ 86518ac

Last change on this file since 86518ac was 8cd07b0, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Moved Bash in the final system to the new format.

  • Property mode set to 100644
File size: 3.4 KB
RevLine 
[3f8be484]1<?xml version="1.0" encoding="ISO-8859-1"?>
[8cd07b0]2<!DOCTYPE c:package [
[3f8be484]3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5]>
6
[8cd07b0]7<c:package xmlns:c="http://schema.cross-lfs.org/book" id="ch-system-bash" c:multibuild="false">
[3f8be484]8
[8cd07b0]9 <c:title>Bash</c:title>
10 <c:version>&bash-version;</c:version>
11 <c:description>The Bash package contains the Bourne-Again SHell.</c:description>
[3f8be484]12
[8cd07b0]13 <c:install>
[3f8be484]14
[8cd07b0]15 <c:para>The following patch contains updates from the maintainer. The
16 maintainer of Bash only releases these patches to fix serious issues:</c:para>
[3f8be484]17
[8cd07b0]18<c:command>patch -Np1 -i ../&bash-branch_update-patch;</c:command>
[3f8be484]19
[8cd07b0]20 <c:para c:multilib="true">The following sed points configure towards the
21 correct library directory while searching for Readline:</c:para>
[3f8be484]22
[8cd07b0]23<c:command c:multilib="true">sed -i "/ac_cv_rl_libdir/s@/lib@&amp;64@" configure</c:command>
[3f8be484]24
[8cd07b0]25 <c:para>Prepare Bash for compilation:</c:para>
[6f9ab64]26
[8cd07b0]27<c:command c:multilib="false">./configure --prefix=/usr --bindir=/bin \
28 --without-bash-malloc --with-installed-readline</c:command>
29<c:command c:multilib="true">CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
30 ./configure --prefix=/usr --bindir=/bin \
31 --without-bash-malloc --with-installed-readline</c:command>
[c822ddc]32
[8cd07b0]33<!--
34 <variablelist>
[3f8be484]35 <title>The meaning of the configure option:</title>
36
37 <varlistentry>
[8cd07b0]38 <term><parameter>-with-installed-readline</parameter></term>
[3f8be484]39 <listitem>
[8cd07b0]40 <c:para>This option tells Bash to use the
[3f8be484]41 <filename class="libraryfile">readline</filename> library that is
42 already installed on the system rather than using its own readline
[8cd07b0]43 version.</c:para>
[3f8be484]44 </listitem>
45 </varlistentry>
46 </variablelist>
[8cd07b0]47-->
48 <c:para>Compile the package:</c:para>
[3f8be484]49
[8cd07b0]50<c:command>make</c:command>
[3f8be484]51
[8cd07b0]52 <c:para>To test the results, issue:
53 <c:command>make tests</c:command>.</c:para>
[3f8be484]54
[8cd07b0]55 <c:para>Install the package:</c:para>
[3f8be484]56
[8cd07b0]57<c:command>make htmldir=/usr/share/doc/bash-&bash-version; install</c:command>
[3f8be484]58
[8cd07b0]59 <c:para>Run the newly compiled <c:command>bash</c:command> program (replacing
60 the one that is currently being executed):</c:para>
[3f8be484]61
[8cd07b0]62<c:command c:nodump="true">exec /bin/bash --login +h</c:command>
[3f8be484]63
[8cd07b0]64 <c:note>
65 <c:para>The parameters used make the <c:command>bash</c:command>
[3f8be484]66 process an interactive login shell and continue to disable hashing so
[8cd07b0]67 that new programs are found as they become available.</c:para>
68 </c:note>
[3f8be484]69
[8cd07b0]70 </c:install>
[3f8be484]71
[8cd07b0]72 <c:contents>
[3f8be484]73
[8cd07b0]74 <c:program>
75 <c:name>bash</c:name>
76 <c:description>A widely-used command interpreter; it performs many types
77 of expansions and substitutions on a given command line before executing
78 it, thus making this interpreter a powerful tool</c:description>
79 </c:program>
[3f8be484]80
[8cd07b0]81 <c:program>
82 <c:name>bashbug</c:name>
83 <c:description>A shell script to help the user compose and mail standard
84 formatted bug reports concerning <c:command>bash</c:command>
85 </c:description>
86 </c:program>
[3f8be484]87
[8cd07b0]88 <c:program>
89 <c:name>sh</c:name>
90 <c:description>A symlink to the <c:command>bash</c:command> program; when
91 invoked as <c:command>sh</c:command>, <c:command>bash</c:command> tries
92 to mimic the startup behavior of historical versions of
93 <c:command>sh</c:command> as closely as possible, while conforming to the
94 POSIX standard as well</c:description>
95 </c:program>
[3f8be484]96
[8cd07b0]97 </c:contents>
[3f8be484]98
[8cd07b0]99</c:package>
[3f8be484]100
Note: See TracBrowser for help on using the repository browser.