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

Last change on this file since f67564c 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
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE c:package [
3 <!ENTITY % general-entities SYSTEM "../../general.ent">
4 %general-entities;
5]>
6
7<c:package xmlns:c="http://schema.cross-lfs.org/book" id="ch-system-bash" c:multibuild="false">
8
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>
12
13 <c:install>
14
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>
17
18<c:command>patch -Np1 -i ../&bash-branch_update-patch;</c:command>
19
20 <c:para c:multilib="true">The following sed points configure towards the
21 correct library directory while searching for Readline:</c:para>
22
23<c:command c:multilib="true">sed -i "/ac_cv_rl_libdir/s@/lib@&amp;64@" configure</c:command>
24
25 <c:para>Prepare Bash for compilation:</c:para>
26
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>
32
33<!--
34 <variablelist>
35 <title>The meaning of the configure option:</title>
36
37 <varlistentry>
38 <term><parameter>-with-installed-readline</parameter></term>
39 <listitem>
40 <c:para>This option tells Bash to use the
41 <filename class="libraryfile">readline</filename> library that is
42 already installed on the system rather than using its own readline
43 version.</c:para>
44 </listitem>
45 </varlistentry>
46 </variablelist>
47-->
48 <c:para>Compile the package:</c:para>
49
50<c:command>make</c:command>
51
52 <c:para>To test the results, issue:
53 <c:command>make tests</c:command>.</c:para>
54
55 <c:para>Install the package:</c:para>
56
57<c:command>make htmldir=/usr/share/doc/bash-&bash-version; install</c:command>
58
59 <c:para>Run the newly compiled <c:command>bash</c:command> program (replacing
60 the one that is currently being executed):</c:para>
61
62<c:command c:nodump="true">exec /bin/bash --login +h</c:command>
63
64 <c:note>
65 <c:para>The parameters used make the <c:command>bash</c:command>
66 process an interactive login shell and continue to disable hashing so
67 that new programs are found as they become available.</c:para>
68 </c:note>
69
70 </c:install>
71
72 <c:contents>
73
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>
80
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>
87
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>
96
97 </c:contents>
98
99</c:package>
100
Note: See TracBrowser for help on using the repository browser.