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

Last change on this file since 0be79ea was 03e6a40, checked in by Chris Staub <chris@…>, 11 years ago

Merge branch 'systemd' into simp

Conflicts:

BOOK/final-system/common/bash.xml
BOOK/final-system/mips64-chapter.xml
BOOK/final-system/multilib/bash.xml
BOOK/final-system/ppc64-chapter.xml
BOOK/final-system/sparc64-chapter.xml
BOOK/final-system/x86_64-chapter.xml
BOOK/general.ent
BOOK/packages.ent
BOOK/temp-system/common/bash.xml
BOOK/temp-system/mips64-64-chapter.xml
BOOK/temp-system/mips64-chapter.xml
BOOK/temp-system/multilib/bash.xml
BOOK/temp-system/ppc64-64-chapter.xml
BOOK/temp-system/ppc64-chapter.xml
BOOK/temp-system/sparc64-64-chapter.xml
BOOK/temp-system/sparc64-chapter.xml
BOOK/temp-system/x86_64-64-chapter.xml
BOOK/temp-system/x86_64-chapter.xml

  • Property mode set to 100644
File size: 3.5 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 \
30 --docdir=/usr/share/doc/bash-&bash-version;</c:command>
31<c:command c:multilib="true">CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
32 ./configure --prefix=/usr --bindir=/bin \
33 --without-bash-malloc --with-installed-readline \
34 --docdir=/usr/share/doc/bash-&bash-version;</c:command>
35
36<!--
37 <variablelist>
38 <title>The meaning of the configure option:</title>
39
40 <varlistentry>
41 <term><parameter>-with-installed-readline</parameter></term>
42 <listitem>
43 <c:para>This option tells Bash to use the
44 <filename class="libraryfile">readline</filename> library that is
45 already installed on the system rather than using its own readline
46 version.</c:para>
47 </listitem>
48 </varlistentry>
49 </variablelist>
50-->
51 <c:para>Compile the package:</c:para>
52
53<c:command>make</c:command>
54
55 <c:para>To test the results, issue:
56 <c:command>make tests</c:command>.</c:para>
57
58 <c:para>Install the package:</c:para>
59
60<c:command>make install</c:command>
61
62 <c:para>Run the newly compiled <c:command>bash</c:command> program (replacing
63 the one that is currently being executed):</c:para>
64
65<c:command c:nodump="true">exec /bin/bash --login +h</c:command>
66
67 <c:note>
68 <c:para>The parameters used make the <c:command>bash</c:command>
69 process an interactive login shell and continue to disable hashing so
70 that new programs are found as they become available.</c:para>
71 </c:note>
72
73 </c:install>
74
75 <c:contents>
76
77 <c:program>
78 <c:name>bash</c:name>
79 <c:description>A widely-used command interpreter; it performs many types
80 of expansions and substitutions on a given command line before executing
81 it, thus making this interpreter a powerful tool</c:description>
82 </c:program>
83
84 <c:program>
85 <c:name>bashbug</c:name>
86 <c:description>A shell script to help the user compose and mail standard
87 formatted bug reports concerning <c:command>bash</c:command>
88 </c:description>
89 </c:program>
90
91 <c:program>
92 <c:name>sh</c:name>
93 <c:description>A symlink to the <c:command>bash</c:command> program; when
94 invoked as <c:command>sh</c:command>, <c:command>bash</c:command> tries
95 to mimic the startup behavior of historical versions of
96 <c:command>sh</c:command> as closely as possible, while conforming to the
97 POSIX standard as well</c:description>
98 </c:program>
99
100 </c:contents>
101
102</c:package>
103
Note: See TracBrowser for help on using the repository browser.