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

Last change on this file since 350ab24 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
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
[268f64e]7<c:package xmlns:c="http://schema.cross-lfs.org/book"
8 id="ch-system-bash" c:multibuild="false">
[3f8be484]9
[8cd07b0]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>
[3f8be484]13
[8cd07b0]14 <c:install>
[3f8be484]15
[268f64e]16 <c:para c:r="p-bu">The following patch contains updates from the maintainer. The
[8cd07b0]17 maintainer of Bash only releases these patches to fix serious issues:</c:para>
[3f8be484]18
[268f64e]19<c:command c:r="p-bu">patch -Np1 -i ../&bash-branch_update-patch;</c:command>
[3f8be484]20
[8cd07b0]21 <c:para c:multilib="true">The following sed points configure towards the
22 correct library directory while searching for Readline:</c:para>
[3f8be484]23
[8cd07b0]24<c:command c:multilib="true">sed -i "/ac_cv_rl_libdir/s@/lib@&amp;64@" configure</c:command>
[3f8be484]25
[8cd07b0]26 <c:para>Prepare Bash for compilation:</c:para>
[6f9ab64]27
[8cd07b0]28<c:command c:multilib="false">./configure --prefix=/usr --bindir=/bin \
[03e6a40]29 --without-bash-malloc --with-installed-readline \
30 --docdir=/usr/share/doc/bash-&bash-version;</c:command>
[8cd07b0]31<c:command c:multilib="true">CC="gcc ${BUILD64}" CXX="g++ ${BUILD64}" \
32 ./configure --prefix=/usr --bindir=/bin \
[e36f2931]33 --without-bash-malloc --with-installed-readline \
[03e6a40]34 --docdir=/usr/share/doc/bash-&bash-version;</c:command>
[c822ddc]35
[8cd07b0]36<!--
37 <variablelist>
[3f8be484]38 <title>The meaning of the configure option:</title>
39
40 <varlistentry>
[8cd07b0]41 <term><parameter>-with-installed-readline</parameter></term>
[3f8be484]42 <listitem>
[8cd07b0]43 <c:para>This option tells Bash to use the
[3f8be484]44 <filename class="libraryfile">readline</filename> library that is
45 already installed on the system rather than using its own readline
[8cd07b0]46 version.</c:para>
[3f8be484]47 </listitem>
48 </varlistentry>
49 </variablelist>
[8cd07b0]50-->
51 <c:para>Compile the package:</c:para>
[3f8be484]52
[8cd07b0]53<c:command>make</c:command>
[3f8be484]54
[8cd07b0]55 <c:para>To test the results, issue:
56 <c:command>make tests</c:command>.</c:para>
[3f8be484]57
[8cd07b0]58 <c:para>Install the package:</c:para>
[3f8be484]59
[03e6a40]60<c:command>make install</c:command>
[3f8be484]61
[8cd07b0]62 <c:para>Run the newly compiled <c:command>bash</c:command> program (replacing
63 the one that is currently being executed):</c:para>
[3f8be484]64
[8cd07b0]65<c:command c:nodump="true">exec /bin/bash --login +h</c:command>
[3f8be484]66
[8cd07b0]67 <c:note>
68 <c:para>The parameters used make the <c:command>bash</c:command>
[3f8be484]69 process an interactive login shell and continue to disable hashing so
[8cd07b0]70 that new programs are found as they become available.</c:para>
71 </c:note>
[3f8be484]72
[8cd07b0]73 </c:install>
[3f8be484]74
[8cd07b0]75 <c:contents>
[3f8be484]76
[8cd07b0]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>
[3f8be484]83
[8cd07b0]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>
[3f8be484]90
[8cd07b0]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>
[3f8be484]99
[8cd07b0]100 </c:contents>
[3f8be484]101
[8cd07b0]102</c:package>
[3f8be484]103
Note: See TracBrowser for help on using the repository browser.