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

Last change on this file since 32f55264 was 268f64e, checked in by Joe Ciccone <jciccone@…>, 14 years ago

Convert Bash in the temp-system.

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