[blfs-book] r9030 - in trunk/BOOK: . introduction/welcome networking/netlibs networking/netprogs pst/typesetting

bdubbs at linuxfromscratch.org bdubbs at linuxfromscratch.org
Mon Nov 28 19:53:43 PST 2011


Author: bdubbs
Date: 2011-11-28 20:53:39 -0700 (Mon, 28 Nov 2011)
New Revision: 9030

Added:
   trunk/BOOK/networking/netprogs/rpcbind.xml
Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/networking/netlibs/libtirpc.xml
   trunk/BOOK/networking/netprogs/netprogs.xml
   trunk/BOOK/networking/netprogs/nfs-utils.xml
   trunk/BOOK/pst/typesetting/texlive.xml
Log:
Added rpcbind-0.2.0
Changed libtirpc to install dynamic libraries in /lib
Partial changes to TeX Live


Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2011-11-29 03:00:36 UTC (rev 9029)
+++ trunk/BOOK/general.ent	2011-11-29 03:53:39 UTC (rev 9030)
@@ -453,6 +453,7 @@
 <!ENTITY wireless-tools-version       "28">
 <!ENTITY ntp-version                  "4.2.6p4">
 <!ENTITY openssh-version              "5.9p1">
+<!ENTITY rpcbind-version              "0.2.0">
 <!ENTITY portmap-version              "6.0">
 <!ENTITY rsync-version                "3.0.9">
 <!ENTITY samba3-version               "3.6.1">
@@ -490,7 +491,7 @@
 <!-- Chapter 21 -->
 <!ENTITY apache-version               "2.2.21">
 <!-- bind (chapter 19) -->
-<!ENTITY nfs-utils-version            "1.1.4">
+<!ENTITY nfs-utils-version            "1.2.5">
 <!-- openssh (chapter 18) -->
 <!ENTITY proftpd-version              "1.3.0">
 <!-- samba3 (chapter 18) -->
@@ -917,7 +918,7 @@
 <!ENTITY paps-version                 "0.6.8">
 
 <!-- Chapter 47 -->
-<!ENTITY texlive-version              "20100722">
+<!ENTITY texlive-version              "20110705">
 <!ENTITY tetex-version                "3.0">
 <!ENTITY jadetex-version              "3.13">
 

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2011-11-29 03:00:36 UTC (rev 9029)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2011-11-29 03:53:39 UTC (rev 9030)
@@ -54,6 +54,9 @@
       <para>November 28th, 2011</para>
       <itemizedlist>
         <listitem>
+          <para>[wblaszcz] - Added rpcbind-0.2.0.</para>
+        </listitem>
+        <listitem>
           <para>[wblaszcz] - Updated D-BUS-1.5.8.</para>
         </listitem>
       </itemizedlist>
@@ -123,6 +126,9 @@
       <para>November 20th, 2011</para>
       <itemizedlist>
         <listitem>
+          <para>[bdubbs] - Updated to nfs-utils-1.2.5.</para>
+        </listitem>
+        <listitem>
           <para>[bdubbs] - Restored portmap-6.0.</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/networking/netlibs/libtirpc.xml
===================================================================
--- trunk/BOOK/networking/netlibs/libtirpc.xml	2011-11-29 03:00:36 UTC (rev 9029)
+++ trunk/BOOK/networking/netlibs/libtirpc.xml	2011-11-29 03:53:39 UTC (rev 9030)
@@ -87,37 +87,47 @@
   <sect2 role="installation">
     <title>Installation of libtirpc</title>
 
+    <para>Glibc-2.14 and later do not install NIS and RPC related headers by
+    default.  If needed, install them here:</para>
+
+<screen><userinput>if [ ! -r /usr/include/rpc/rpc.h ]; then
+   tar -xvf ../rpcnis-headers.tar.bz2 -C /usr/include
+fi</userinput></screen>
+
     <para>Install <application>libtirpc</application> by running the following
     commands:</para>
 
-<screen><userinput>tar -xvf ../rpcnis-headers.tar.bz2 -C /usr/include &&
-patch -Np1 -i ../libtirpc-&libtirpc-version;-remove-nis-2.patch &&
-autoreconf                &&
-./configure --prefix=/usr &&
+<screen><userinput>patch -Np1 -i ../libtirpc-&libtirpc-version;-remove-nis-2.patch &&
+autoreconf                              &&
+./configure --prefix=/usr --libdir=/lib &&
 make</userinput></screen>
 
     <para>This package does not come with a test suite.</para>
 
     <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
 
-<screen role='root'><userinput>make install</userinput></screen>
+<screen role='root'><userinput>make pkgconfigdir=/usr/lib/pkgconfig install &&
+mv -v /lib/libtirpc.*a /usr/lib</userinput></screen>
 
   </sect2>
 
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <para><userinput>tar -xvf ../rpcnis-headers.tar.bz2 -C
-    /usr/include</userinput>: This command replaces the rpc and nis header
-    files no longer installed by <application>glibc</application>.  If the
-    headers have already been added by other means, this will only overwrite
-    them and not do any harm.</para>
-
     <para><userinput>patch -Np1 -i
     ../libtirpc-&libtirpc-version;-remove-nis-2.patch</userinput>: This patch
     removes references to nis functions no longer in
     <application>glibc</application>.</para>
 
+    <para><option>--libdir=/lib</option>: Since this library may be used before 
+    /usr is mounted, place the library in /lib.</para>
+
+    <para><option>pkgconfigdir=/usr/lib/pkgconfig</option>: Ensure the .pc file
+    is placed in the proper location.</para>
+
+    <para><option>mv -v /lib/libtirpc.*a</option>: Static libraries and .la files
+    belong in /usr/lib.</para>
+
   </sect2>
 
   <sect2 role="content">

Modified: trunk/BOOK/networking/netprogs/netprogs.xml
===================================================================
--- trunk/BOOK/networking/netprogs/netprogs.xml	2011-11-29 03:00:36 UTC (rev 9029)
+++ trunk/BOOK/networking/netprogs/netprogs.xml	2011-11-29 03:53:39 UTC (rev 9030)
@@ -26,17 +26,17 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncftp.xml"/>
 <!--  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ncpfs.xml"/> -->
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="net-tools.xml"/>
-<!--  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nfs-utils.xml"/> -->
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nfs-utils.xml"/> 
 <!--  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="nfs-utils-client.xml"/> -->
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="netfs.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ntp.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="portmap.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rpcbind.xml"/>
 <!-- <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rsync-client.xml"/> -->
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="rsync.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="samba3.xml"/> 
 <!--  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="samba3-client.xml"/> -->
 <!--  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="subversion.xml"/> -->
-<!--  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="tcpwrappers.xml"/> -->
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wget.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="wireless-tools.xml"/>
 <!--  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude" href="ggz-client-libs.xml"/> -->

Modified: trunk/BOOK/networking/netprogs/nfs-utils.xml
===================================================================
--- trunk/BOOK/networking/netprogs/nfs-utils.xml	2011-11-29 03:00:36 UTC (rev 9029)
+++ trunk/BOOK/networking/netprogs/nfs-utils.xml	2011-11-29 03:53:39 UTC (rev 9030)
@@ -6,9 +6,9 @@
 
   <!ENTITY nfs-utils-download-http "&sourceforge-repo;/nfs/nfs-utils-&nfs-utils-version;.tar.bz2">
   <!ENTITY nfs-utils-download-ftp  " ">
-  <!ENTITY nfs-utils-md5sum        "3ed5b9cb73fd1c9b358c7bfa7a6ae150">
-  <!ENTITY nfs-utils-size          "574 KB">
-  <!ENTITY nfs-utils-buildsize     "8.2 MB">
+  <!ENTITY nfs-utils-md5sum        "8395ac770720b83c5c469f88306d7765">
+  <!ENTITY nfs-utils-size          "688 KB">
+  <!ENTITY nfs-utils-buildsize     "14 MB">
   <!ENTITY nfs-utils-time          "0.2 SBU">
 ]>
 
@@ -34,6 +34,8 @@
     abilities. NFS is a protocol that allows sharing file systems over the
     network.</para>
 
+    &lfs70_checked;
+
     <bridgehead renderas="sect3">Package information</bridgehead>
     <itemizedlist spacing='compact'>
       <listitem>
@@ -69,7 +71,7 @@
     <bridgehead renderas="sect3">NFS Utilities Dependencies</bridgehead>
 
     <bridgehead renderas="sect4">Required</bridgehead>
-    <para role="required"><xref linkend="portmap"/> (Runtime dependency)</para>
+    <para role="required"><xref linkend="rpcbind"/> (Runtime dependency)</para>
 
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional"><xref linkend="tcpwrappers"/></para>
@@ -146,9 +148,10 @@
     <para>Install <application>NFS Utilities</application> by running
     the following commands:</para>
 
-<screen><userinput>./configure --prefix=/usr \
+<screen><userinput>./configure --prefix=/usr     \
             --sysconfdir=/etc \
-            --disable-nfsv4 \
+            --disable-nfsv4   \
+            --disable-nfsv41  \
             --disable-gss &&
 make</userinput></screen>
 
@@ -169,8 +172,9 @@
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <para><parameter>--disable-nfsv4</parameter>: Disables support
-    for NFS version 4.</para>
+    <para><parameter>--disable-nfsv4</parameter> and
+          <parameter>--disable-nfsv41</parameter>: Disables support
+    for NFS version 4 and version 4.1.</para>
 
     <para><parameter>--disable-gss</parameter>: Disables support for
     RPCSEC GSS (RPC Security).</para>
@@ -295,8 +299,10 @@
       <segtitle>Installed Directories</segtitle>
 
       <seglistitem>
-        <seg>exportfs, mount.nfs, mount.nfs4, nfsstat, rpc.mountd, rpc.nfsd, rpc.statd, rpcdebug,
-        showmount, sm-notify, start-statd and umount.nfs as well as umount.nfs4</seg>
+        <seg>exportfs, mountstats, mount.nfs, mount.nfs4 (link to mount.nfs), 
+        nfsiostat, nfsstat, rpc.mountd, rpc.nfsd, rpc.statd, rpcdebug,
+        showmount, sm-notify, start-statd, umount.nfs (link to mount.nfs),
+        and umount.nfs4  (link to mount.nfs)</seg>
         <seg>None</seg>
         <seg>/var/lib/nfs</seg>
       </seglistitem>
@@ -317,6 +323,16 @@
         </listitem>
       </varlistentry>
 
+      <varlistentry id="mountstats">
+        <term><command>mountstats</command></term>
+        <listitem>
+          <para>displays NFS client per-mount statistics.</para>
+          <indexterm zone="nfs-utils mountstats">
+            <primary sortas="b-mountstats">mountstats</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
       <varlistentry id="mountnfs">
         <term><command>mount.nfs</command></term>
         <listitem>
@@ -337,10 +353,20 @@
         </listitem>
       </varlistentry>
 
+      <varlistentry id="nfsiostat-nfs-utils">
+        <term><command>nfsiostat</command></term>
+        <listitem>
+          <para>Report input/output statistics for network filesystems.</para>
+          <indexterm zone="nfs-utils nfsiostat-nfs-utils">
+            <primary sortas="b-nfsiostat-nfs-utils">nfsiostat</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
       <varlistentry id="nfsstat">
         <term><command>nfsstat</command></term>
         <listitem>
-          <para>prints NFS statistics.</para>
+          <para>displays statistics kept about NFS client and server activity.</para>
           <indexterm zone="nfs-utils nfsstat">
             <primary sortas="b-nfsstat">nfsstat</primary>
           </indexterm>

Copied: trunk/BOOK/networking/netprogs/rpcbind.xml (from rev 9025, trunk/BOOK/networking/netprogs/wget.xml)
===================================================================
--- trunk/BOOK/networking/netprogs/rpcbind.xml	                        (rev 0)
+++ trunk/BOOK/networking/netprogs/rpcbind.xml	2011-11-29 03:53:39 UTC (rev 9030)
@@ -0,0 +1,156 @@
+<?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 rpcbind-download-http "&sourceforge-repo;/rpcbind/rpcbind-&rpcbind-version;.tar.bz2">
+  <!ENTITY rpcbind-download-ftp  " ">
+  <!ENTITY rpcbind-md5sum        "1a77ddb1aaea8099ab19c351eeb26316">
+  <!ENTITY rpcbind-size          "272 KB">
+  <!ENTITY rpcbind-buildsize     "3.8 MB">
+  <!ENTITY rpcbind-time          "less than 0.1 SBU">
+]>
+
+<sect1 id="rpcbind" xreflabel="rpcbind-&rpcbind-version;">
+  <?dbhtml filename="rpcbind.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>rpcbind-&rpcbind-version;</title>
+
+  <indexterm zone="rpcbind">
+    <primary sortas="a-rpcbind">rpcbind</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to rpcbind</title>
+
+    <para>The <application>rpcbind</application> program is a replacement for
+    <application>portmap</application>.  It is required for import or export
+    of Network File System (NFS) shared directories. </para>
+
+    &lfs70_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>Download (HTTP): <ulink url="&rpcbind-download-http;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download (FTP): <ulink url="&rpcbind-download-ftp;"/></para>
+      </listitem>
+      <listitem>
+        <para>Download MD5 sum: &rpcbind-md5sum;</para>
+      </listitem>
+      <listitem>
+        <para>Download size: &rpcbind-size;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated disk space required: &rpcbind-buildsize;</para>
+      </listitem>
+      <listitem>
+        <para>Estimated build time: &rpcbind-time;</para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">rpcbind Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Required</bridgehead>
+    <para role="required">
+      <xref linkend="libtirpc"/>
+    </para>
+
+    <para condition="html" role="usernotes">User Notes:
+    <ulink url="&blfs-wiki;/rpcbind"/></para>
+
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of rpcbind</title>
+
+    <para>Install <application>rpcbind</application> by running the following
+    commands:</para>
+
+<screen><userinput>./configure --prefix=/usr --bindir=/sbin &&
+make</userinput></screen>
+
+    <para>This package does not come with a test suite.</para>
+
+    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="configuration">
+    <title>Configuring rpcbind</title>
+
+    <sect3 id="rpcbind-init">
+      <title>Boot Script</title>
+
+      <para>Install the <filename>/etc/rc.d/init.d/rpcbind</filename> init script
+      included in the <xref linkend="bootscripts"/> package.</para>
+
+      <indexterm zone="rpcbind rpcbind-init">
+         <primary sortas="f-portmap">portmap</primary>
+      </indexterm>
+
+<screen role="root"><userinput>make install-rpcbind</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>rpcbind and rpcinfo</seg>
+        <seg>None</seg>
+        <seg>None</seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="rpcbind-prog">
+        <term><command>rpcbind</command></term>
+        <listitem>
+          <para>is a server that converts RPC program numbers into universal
+          addresses.  It must be running on the host to be able to make RPC
+          calls on a server on that machine.  </para>
+          <indexterm zone="rpcbind rpcbind-prog">
+            <primary sortas="b-rpcbind">rpcbind</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+      <varlistentry id="rpcinfo">
+        <term><command>rpcinfo</command></term>
+        <listitem>
+          <para>makes an RPC call to an RPC server and reports data according
+          to the requested options.  </para>
+          <indexterm zone="rpcbind rpcinfo">
+            <primary sortas="b-rpcinfo">rpcinfo</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/pst/typesetting/texlive.xml
===================================================================
--- trunk/BOOK/pst/typesetting/texlive.xml	2011-11-29 03:00:36 UTC (rev 9029)
+++ trunk/BOOK/pst/typesetting/texlive.xml	2011-11-29 03:53:39 UTC (rev 9030)
@@ -5,14 +5,14 @@
   %general-entities;
 
   <!ENTITY texlive-source-download-http " ">
-  <!ENTITY texlive-source-download-ftp  "ftp://tug.org/texlive/historic/2010/texlive-&texlive-version;-source.tar.xz">
-  <!ENTITY texlive-source-md5sum        "156fa34c56acb901fdc687b8d9860f1f">
-  <!ENTITY texlive-source-size          "32 MB">
+  <!ENTITY texlive-source-download-ftp  "ftp://tug.org/texlive/historic/2011/texlive-&texlive-version;-source.tar.xz">
+  <!ENTITY texlive-source-md5sum        "968d238949e8a34a1fd74c374ddfe6f1">
+  <!ENTITY texlive-source-size          "126 MB">
 
   <!ENTITY texlive-texmf-download-http  " ">
-  <!ENTITY texlive-texmf-download-ftp   "ftp://tug.org/texlive/historic/2010/texlive-&texlive-version;-texmf.tar.xz">
-  <!ENTITY texlive-texmf-md5sum         "12dec3a323c4eb75b98a3160c62dc865">
-  <!ENTITY texlive-texmf-size           "1.1 GB">
+  <!ENTITY texlive-texmf-download-ftp   "ftp://tug.org/texlive/historic/2011/texlive-&texlive-version;-texmf.tar.xz">
+  <!ENTITY texlive-texmf-md5sum         "ed7b558be35adf00a6c2e69609cd679a">
+  <!ENTITY texlive-texmf-size           "1.2 GB">
 
   <!ENTITY texlive-buildsize            "~5 GB">
   <!ENTITY texlive-time                 "10 SBU">
@@ -42,13 +42,6 @@
     Group</ulink>, although <application>teTeX</application> has been
     unmaintained for several years now.</para>
 
-    <para>The <command>texi2html</command> Perl script previously shipped with
-    the <application>teTeX</application> package is no longer shipped. You can
-    use the <command>makeinfo</command> program as a replacement, or install
-    the stand-alone
-    <ulink url="http://www.nongnu.org/texi2html/">Texi2HTML</ulink>
-    package.</para>
-
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>
@@ -94,6 +87,7 @@
     <para role="optional"><xref linkend="gs"/>,
     <xref linkend="poppler"/>,
     <xref linkend="freetype2"/>,
+    <xref linkend="fontconfig"/>,
     <xref linkend="libpng"/>,
     <xref linkend="x-window-system"/>,
     <xref linkend="recode"/>,
@@ -115,69 +109,99 @@
 
   <sect2 role="installation">
     <title>Installation of TeX Live</title>
-
+<!--
     <para>Before building <application>TeX Live</application>, the macros and
     fonts package (<filename>texmf</filename> tarball) must be installed and
     two temporary symbolic links need to be created. Install the macros, fonts
     and symlinks using the following commands as the
     <systemitem class="username">root</systemitem> user:</para>
 
-<screen role="root"><userinput>tar xf ../texlive-&texlive-version;-texmf.tar.xz \
-    -C /usr/share --strip-components=1 &&
+<screen role="root"><userinput>tar -xf ../texlive-&texlive-version;-texmf.tar.xz -C /usr/share - -strip-components=1 &&
 
 ln -v -s share/texmf      /usr &&
 ln -v -s share/texmf-dist /usr</userinput></screen>
-
+-->
     <para>Install <application>TeX Live</application> by running the following
     commands:</para>
 
-<screen><userinput>sed -i -e 's|PARENT/\.\./texmf-local|PARENT/texmf-local|' \
-       -e 's|\$TEXMFVAR/fonts|/var/lib/livetex/fonts|'    \
-          texk/kpathsea/texmf.cnf &&
+    <note>
+      <para>If you do not have Xorg installed add <userinput>--without-x</userinput> 
+      to the configure command.</para>
 
-./configure --prefix=/usr                  \
+      <para>If you do not have fontconfig installed, add 
+      <userinput>--disable-xdvipdfmx</userinput> to the configure command.</para>
+    </note>
+
+<screen><userinput>./configure --prefix=/usr                  \
             --disable-native-texlive-build \
             --enable-shared                \
             --without-luatex               \
             --enable-mktextex-default      \
             --with-banner-add=" - BLFS"    &&
-
 make</userinput></screen>
 
     <para>To test the results, issue: <command>make check</command>.</para>
 
-    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
+    <para>The <userinput>make install</userinput> instructions does not 
+    honor the traditional installation directory options of 
+    <command>configure</command>.  It also can overwrite /usr/bin/man.  To
+    overcome this problem, install the program to a temporary location and do some 
+    clean up:</para>
 
-<screen role="root"><userinput>make install &&
+<screen><userinput>
+make DESTDIR=$PWD/livetex-tmp install &&
+rm -v $PWD/livetex-tmp/usr/bin/man    &&
+for FN in $PWD/livetex-tmp/usr/bin `find  -type l`; do
+    if [ `readlink $FN | grep "\.\./texmf"` ]; then
+        ln -svf `readlink $FN | sed 's|\.\./texmf|../share/texmf|'` $FN
+    fi
+done &&
+unset FN</userinput></screen>
 
-rm      -v           /usr/texmf{,-dist}                         &&
+    <para>Now, as the <systemitem class="username">root</systemitem> user,
+    put the files in their permanent location:</para> 
+
+<screen><userinput>
+cp -dRv livetex-tmp//usr/include/* /usr/include          &&
+cp -dRv livetex-tmp/usr/lib/*      /usr/lib              &&
+cp -dRv livetex-tmp/usr/bin/*      /usr/bin              &&
+cp -dRv livetex-tmp/usr/doc/man/*  /usr/share/man        &&
+
+tar -xf ../texlive-20110705-texmf.tar.xz -C /usr/share \
+    --strip-components=1                                 &&
+
+cp -dRv livetex-tmp/usr/texmf      /usr/share/texmf      &&
+cp -dRv livetex-tmp/usr/texmf-dist /usr/share/texmf-dist &&
+
+for INFO in livetex-tmp/usr/texmf/doc/info/*.info; do
+  install -v -m0644 $INFO /usr/share/info
+  intall-info --info-dir=/usr/share/info $INFO
+done       &&
+unset INFO &&
+
+DOCDIR="/usr/share/doc/texlive-&texlive-version;" &&
+install -v -m755  -d $DOCDIR             &&
+
+for DOC in `find -name doc`; do
+  DIR=`echo $DOC | cut -d/ -f2-`
+  install -v -m755  -d $DOCDIR/$DIR
+  cp -dRv $DOC/* $DOCDIR/$DIR
+done          &&
+unset DOC DIR &&
+
 install -v -m1777 -d /var/lib/livetex/fonts                     &&
 install -v -m755  -d /usr/share/texmf-{config,var,local}        &&
-install -v -m755  -d /usr/share/doc/texlive-&texlive-version;            &&
+
 ln  -s  -v           ../../texmf/doc \
                      /usr/share/doc/texlive-&texlive-version;/texmf      &&
+
 ln  -s  -v           ../../texmf-dist/doc \
-                     /usr/share/doc/texlive-&texlive-version;/texmf-dist &&
-
-for FN in `find /usr/bin -type l`; do
-    if [ `readlink $FN | grep "\.\./texmf"` ]; then
-        ln -svf `readlink $FN | sed 's|\.\./texmf|../share/texmf|'` $FN
-    fi
-done &&
-unset FN</userinput></screen>
-
+                     /usr/share/doc/texlive-&texlive-version;/texmf-dist</userinput></screen>
   </sect2>
 
   <sect2 role="commands">
     <title>Command Explanations</title>
 
-    <para><command>ln -v -s share/texmf /usr</command> &
-    <command>ln -v -s share/texmf-dist /usr</command> &
-    <command>rm -v /usr/texmf{,-dist}</command>: These commands are used to
-    create and then remove temporary symbolic links so that files are not
-    installed in
-    <filename class="directory">/usr/texmf{,-dist}</filename></para>
-
     <para><command>sed -i -e '...' -e '...' texk/kpathsea/texmf.cnf</command>:
     This command is used to modify the default so that local items are
     installed in <filename class="directory">/usr/share/texmf-local</filename>




More information about the blfs-book mailing list