added new package ksh-2007-03-28

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6806 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
DJ Lucas 2007-06-13 04:39:38 +00:00
parent 2561ad9e67
commit e571e4267e
5 changed files with 213 additions and 2 deletions

View File

@ -3,7 +3,7 @@ $LastChangedBy$
$Date$
-->
<!ENTITY day "12"> <!-- Always 2 digits -->
<!ENTITY day "13"> <!-- Always 2 digits -->
<!ENTITY month "06"> <!-- Always 2 digits -->
<!ENTITY year "2007">
<!ENTITY version "svn-&year;&month;&day;">
@ -90,6 +90,7 @@ $Date$
<!ENTITY tcsh-version "6.14.00">
<!ENTITY zsh-version "4.2.6">
<!ENTITY dash-version "0.5.3">
<!ENTITY ksh-version "2007-03-28">
<!-- Obsolete
<!ENTITY ash-version "0.4.0">

View File

@ -41,6 +41,15 @@
-->
<listitem>
<para>June 13th, 2007</para>
<itemizedlist>
<listitem>
<para>[dj] - Added ksh-2007-03-28</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>June 12th, 2007</para>
<itemizedlist>

View File

@ -258,7 +258,8 @@
</listitem>
<listitem>
<para>Archive::Zip, cracklib, JDK-5, libdrm, libpcap, Mesa, ncpfs,
<para>Archive::Zip, cracklib, JDK-5, ksh, libdrm, libpcap, Mesa,
<!-- ncpfs, -->
netfs, OpenOffice-2, pppd (update), RP-PPPoE, Samba-3, Subversion,
Xorg-7 and xterm:
<emphasis>DJ Lucas</emphasis></para>

199
postlfs/shells/ksh.xml Normal file
View File

@ -0,0 +1,199 @@
<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY ksh-download-http "http://www.research.att.com/~gsf/download/tgz/ast-ksh.&ksh-version;.tgz">
<!ENTITY ksh-download-ftp " ">
<!ENTITY ksh-md5sum "9227250fa6ad2235cc8665bb664cc740">
<!ENTITY ksh-size "1.6 MB">
<!ENTITY init-download-http "http://www.research.att.com/~gsf/download/tgz/INIT.&ksh-version;.tgz">
<!ENTITY init-download-ftp " ">
<!ENTITY init-md5sum "c257f2557e3e136c05b8e7eb0ac1aab0">
<!ENTITY init-size "340 KB">
<!ENTITY ksh-buildsize "29.9 MB">
<!ENTITY ksh-time "1.2 SBU">
]>
<sect1 id="ksh" xreflabel="ksh-&ksh-version;">
<?dbhtml filename="ksh.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>ksh-&ksh-version;</title>
<indexterm zone="ksh">
<primary sortas="a-ksh">ksh</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to ksh</title>
<para><application>ksh</application> is the AT&amp;T Korn Shell.</para>
<note><para>You must agree to the terms of the CPL-1.0 license in order to
download the sofware. The download site is password protected, and the
username and password are stored at the bottom of
<ulink url="http://www.research.att.com/~gsf/license/cpl-1.0.html">this
license</ulink>.</para></note>
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&ksh-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&ksh-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &ksh-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &ksh-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &ksh-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &ksh-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing='compact'>
<listitem>
<para>Download (HTTP): <ulink url="&init-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&init-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &init-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &init-size;</para>
</listitem>
</itemizedlist>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/ksh"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of ksh</title>
<para>Unlike other BLFS packages, you will need to first create a working
directory in which to extract the sources and perform the build. Install
<application>ksh</application> by running the following commands:</para>
<screen><userinput>mkdir ksh &amp;&amp;
cd ksh &amp;&amp;
tar -xzvf ../INIT.&ksh-version;.tgz &amp;&amp;
tar -xzvf ../ast-ksh.&ksh-version;.tgz &amp;&amp;
bin/package make
</userinput></screen>
<para>The test suite for this package requires other packages from the
AT&amp;T ast software library, namely <application>nmake</application>,
in which case, you'd be better to install the
<application>ast-base</application> package using the same
instructions. The <application>package</application> command will accept
a <parameter>test</parameter> argument to test the package.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>install -v -m755 -oroot -groot arch/linux.i386/bin/ksh /bin &amp;&amp;
install -v -m644 -oroot -groot arch/linux.i386/man/man1/sh.1 \
/usr/share/man/man1/ksh.1</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><command>bin/package make</command>: This command rebuilds the ast
<application>INIT</application> package and builds the ast
<application>ksh</application> package.</para>
</sect2>
<sect2 role="configuration">
<title>Configuring ksh</title>
<sect3 id="ksh-config">
<title>Config Files</title>
<para><application>ksh</application> sources
<filename>/etc/profile</filename>,
<filename>/etc/suid_profile</filename>, and
<filename>$HOME/.profile</filename>.</para>
<indexterm zone="ksh ksh-config">
<primary sortas="e-etc-profile">/etc/profile</primary>
</indexterm>
<indexterm zone="ksh ksh-config">
<primary sortas="e-AHOME-.profile">$HOME/.profile</primary>
</indexterm>
<indexterm zone="ksh ksh-config">
<primary sortas="e-etc-suid-profile">/etc/suid_profile</primary>
</indexterm>
</sect3>
<sect3>
<title>Configuration Information</title>
<para>Update <filename>/etc/shells</filename> to include the
<application>ksh</application> shell by issuing the following command
as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>cat &gt;&gt; /etc/shells &lt;&lt; "EOF"
<literal>/bin/ksh</literal>
EOF</userinput></screen>
</sect3>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Program</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>ksh</seg>
<seg>None</seg>
<seg>None</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Description</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="ksh-prog">
<term><command>ksh</command></term>
<listitem>
<para>is the AT&amp;T ast Korn shell.</para>
<indexterm zone="ksh ksh-prog">
<primary sortas="b-ksh">ksh</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>

View File

@ -24,5 +24,6 @@ $Date$
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="tcsh.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="zsh.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="dash.xml"/>
<xi:include xmlns:xi="http://www.w3.org/2003/XInclude" href="ksh.xml"/>
</chapter>