Index: appendices/appendices.ent
===================================================================
--- appendices/appendices.ent	(revision c30b7390801dcd4c58a964a66d1de1a1447f6647)
+++ appendices/appendices.ent	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
@@ -1,3 +1,5 @@
 <!ENTITY appendices SYSTEM "appendices.xml">
+
+<!-- Symlink appendix -->
 
 <!ENTITY appendices-symlinks SYSTEM "symlinks/symlinks.xml">
@@ -9,2 +11,8 @@
 <!ENTITY appendices-symlinks-rc5 SYSTEM "symlinks/rc5.xml">
 <!ENTITY appendices-symlinks-rc6 SYSTEM "symlinks/rc6.xml">
+
+<!-- Deprecated package appendix -->
+
+<!ENTITY appendices-old SYSTEM "old/old.xml">
+<!ENTITY % zlib SYSTEM "old/zlib/zlib.ent">
+%zlib;
Index: appendices/appendices.xml
===================================================================
--- appendices/appendices.xml	(revision c30b7390801dcd4c58a964a66d1de1a1447f6647)
+++ appendices/appendices.xml	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
@@ -3,4 +3,5 @@
 
 &appendices-symlinks;
+&appendices-old;
 
 </part>
Index: appendices/old/old.xml
===================================================================
--- appendices/old/old.xml	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
+++ appendices/old/old.xml	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
@@ -0,0 +1,13 @@
+<appendix id="appendices-old">
+<?dbhtml filename="old.html" dir="appendices"?>
+<title>Packages which are no longer in the main BLFS Book</title>
+
+<para>This appendix contains packages which have been deprecated from the
+main BLFS book for one reason or another.  The reason for their removal has
+been added to the top of the package instructions.  Note that in general
+these instructions are no longer maintained and will probably be removed in
+future releases.</para>
+
+&zlib;
+
+</appendix>
Index: appendices/old/zlib.xml
===================================================================
--- appendices/old/zlib.xml	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
+++ appendices/old/zlib.xml	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
@@ -0,0 +1,25 @@
+<sect1 id="zlib" xreflabel="zlib-&zlib-version;">
+<?dbhtml filename="zlib.html" dir="appendices"?>
+<title>zlib-&zlib-version;</title>
+
+<warning><para>This package is deprecated from BLFS</para>
+<para>The reason for the removal of this package from the main BLFS book is
+that as of LFS-4.0 it is part of the main LFS book.  If you are using a
+version of LFS prior to this, you still need to install it; otherwise, you
+can ignore all references to dependencies on this package.</para></warning>
+
+<para>Zlib provides compression and decompression functions to programs.
+Most people will want zlib because both servers and clients are 
+likely to need the openssl libraries which in turn require zlib.
+Servers will want openssl because it is needed for running OpenSSH services and
+clients because most web browsers need it to deal with https (secure)
+websites.</para>
+
+&zlib-intro;
+&zlib-inst;
+&zlib-exp;
+&zlib-config;
+&zlib-desc;
+
+</sect1>
+
Index: appendices/old/zlib/zlib-config.xml
===================================================================
--- appendices/old/zlib/zlib-config.xml	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
+++ appendices/old/zlib/zlib-config.xml	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
@@ -0,0 +1,11 @@
+<sect2>
+<title>Configuring zlib</title>
+
+<sect3><title>Configuration Information</title>
+
+&library-config;
+
+</sect3>
+
+</sect2>
+
Index: appendices/old/zlib/zlib-desc.xml
===================================================================
--- appendices/old/zlib/zlib-desc.xml	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
+++ appendices/old/zlib/zlib-desc.xml	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
@@ -0,0 +1,7 @@
+<sect2>
+<title>Contents</title>
+
+<para>The zlib package contains the zlib library which is used by many
+programs for compression and uncompression functions.</para>
+
+</sect2>
Index: appendices/old/zlib/zlib-exp.xml
===================================================================
--- appendices/old/zlib/zlib-exp.xml	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
+++ appendices/old/zlib/zlib-exp.xml	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
@@ -0,0 +1,13 @@
+<sect2>
+<title>Command explanations</title>
+
+<para>The reason we run the ./configure &amp;&amp; make &amp;&amp; make
+install routine twice is because zlib's configure routine is nicely
+broken meaning that we can't compile and install the shared and static
+libraries at the same time.  Therefore, we have to do them separately.</para>
+
+<para>We do <userinput>cp zlib.3 /usr/share/man/man3</userinput> because
+zlib doesn't install its man page correctly.</para>
+
+</sect2>
+
Index: appendices/old/zlib/zlib-inst.xml
===================================================================
--- appendices/old/zlib/zlib-inst.xml	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
+++ appendices/old/zlib/zlib-inst.xml	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
@@ -0,0 +1,17 @@
+<sect2>
+<title>Installation of zlib</title>
+
+<para>Install zlib by running the following commands:</para>
+
+<para><screen><userinput>./configure --prefix=/usr &amp;&amp;</userinput>
+<userinput>make &amp;&amp;</userinput>
+<userinput>make install &amp;&amp;</userinput>
+<userinput>./configure --prefix=/usr --shared &amp;&amp;</userinput>
+<userinput>make &amp;&amp;</userinput>
+<userinput>make install &amp;&amp;</userinput>
+<userinput>cp zlib.3 /usr/share/man/man3</userinput>
+</screen>
+</para>
+
+</sect2>
+
Index: appendices/old/zlib/zlib-intro.xml
===================================================================
--- appendices/old/zlib/zlib-intro.xml	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
+++ appendices/old/zlib/zlib-intro.xml	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
@@ -0,0 +1,12 @@
+<sect2>
+<title>Introduction to zlib</title>
+
+<screen>Download location:		<ulink url="&zlib-download;"/>
+Version used:			&zlib-version;
+Package size:			&zlib-size;
+Estimated Disk space required:	&zlib-buildsize;</screen>
+
+<para>The zlib package contains the zlib libraries which are used by
+other programs to provide compression and decompression routines.</para>
+
+</sect2>
Index: appendices/old/zlib/zlib.ent
===================================================================
--- appendices/old/zlib/zlib.ent	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
+++ appendices/old/zlib/zlib.ent	(revision 3a8b6525312b079216091eb4390e4f2fea75d87d)
@@ -0,0 +1,10 @@
+<!ENTITY zlib SYSTEM "../zlib.xml">
+<!ENTITY zlib-intro SYSTEM "zlib-intro.xml">
+<!ENTITY zlib-inst SYSTEM "zlib-inst.xml">
+<!ENTITY zlib-exp SYSTEM "zlib-exp.xml">
+<!ENTITY zlib-desc SYSTEM "zlib-desc.xml">
+<!ENTITY zlib-config SYSTEM "zlib-config.xml">
+<!ENTITY zlib-buildsize "1.3 MB">
+<!ENTITY zlib-version "1.1.4">
+<!ENTITY zlib-download "ftp://swrinde.nde.swri.edu/pub/png/src/zlib-1.1.4.tar.bz2">
+<!ENTITY zlib-size "177 KB">
