mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 15:12:11 +08:00
Patches reogranization Section V
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@1305 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
c2ee009c74
commit
f7000b3d63
@ -5,7 +5,7 @@
|
|||||||
commands:</para>
|
commands:</para>
|
||||||
|
|
||||||
<screen><userinput><command>cd admin/daemontools-0.76 &&
|
<screen><userinput><command>cd admin/daemontools-0.76 &&
|
||||||
patch -Np1 -i ../../daemontools-0.76.errno.patch &&
|
patch -Np1 -i ../../daemontools-0.76-errno.patch &&
|
||||||
package/compile &&
|
package/compile &&
|
||||||
cd package &&
|
cd package &&
|
||||||
sed 's|command|usr/sbin|' boot.inittab > boot.inittab~ &&
|
sed 's|command|usr/sbin|' boot.inittab > boot.inittab~ &&
|
||||||
|
@ -22,9 +22,8 @@ url="&daemontools-download-ftp;"/></para></listitem>
|
|||||||
<sect3><title>Additional downloads</title>
|
<sect3><title>Additional downloads</title>
|
||||||
<itemizedlist spacing='compact'>
|
<itemizedlist spacing='compact'>
|
||||||
<listitem><para>Required patch:
|
<listitem><para>Required patch:
|
||||||
<ulink
|
<ulink url="&patch-root;/daemontools-0.76-errno.patch"/></para></listitem>
|
||||||
url="ftp://moni.csi.hu/pub/glibc-2.3.1/daemontools-0.76.errno.patch">daemontools
|
</itemizedlist>
|
||||||
errno patch</ulink></para></listitem></itemizedlist>
|
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
|
|
||||||
|
@ -4,7 +4,7 @@
|
|||||||
<para>Install <application>ucspi-tcp</application> by running the following
|
<para>Install <application>ucspi-tcp</application> by running the following
|
||||||
commands:</para>
|
commands:</para>
|
||||||
|
|
||||||
<screen><userinput><command>patch -Np1 -i ../ucspi-tcp-0.88.errno.patch &&
|
<screen><userinput><command>patch -Np1 -i ../ucspi-tcp-0.88-errno.patch &&
|
||||||
sed 's|/usr/local|/usr|' conf-home > conf-home~ &&
|
sed 's|/usr/local|/usr|' conf-home > conf-home~ &&
|
||||||
mv conf-home~ conf-home &&
|
mv conf-home~ conf-home &&
|
||||||
sed 's/bin/sbin/' hier.c > hier.c~ &&
|
sed 's/bin/sbin/' hier.c > hier.c~ &&
|
||||||
|
@ -25,10 +25,8 @@ url="&ucspi-tcp-download-ftp;"/></para></listitem>
|
|||||||
|
|
||||||
<sect3><title>Additional downloads</title>
|
<sect3><title>Additional downloads</title>
|
||||||
<itemizedlist spacing='compact'>
|
<itemizedlist spacing='compact'>
|
||||||
<listitem><para>Required patch: <ulink
|
<listitem><para>Required patch: <ulink url="&patch-root;/ucspi-tcp-0.88-errno.patch"/></para></listitem>
|
||||||
url="ftp://moni.csi.hu/pub/glibc-2.3.1/ucspi-tcp-0.88.errno.patch">ucspi-tcp
|
</itemizedlist>
|
||||||
errno patch</ulink>
|
|
||||||
</para></listitem></itemizedlist>
|
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
@ -1,9 +1,6 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of <application>Pine</application></title>
|
<title>Installation of <application>Pine</application></title>
|
||||||
|
|
||||||
<para>Download the <application>Pine</application>
|
|
||||||
<acronym>FHS</acronym> patch from <ulink url="&hfile-root;"/>.</para>
|
|
||||||
|
|
||||||
<para>Install <application>Pine</application> by running the following commands: </para>
|
<para>Install <application>Pine</application> by running the following commands: </para>
|
||||||
|
|
||||||
<screen><userinput><command>patch -Np1 -i ../pine-&pine-version;-fhs.patch &&
|
<screen><userinput><command>patch -Np1 -i ../pine-&pine-version;-fhs.patch &&
|
||||||
|
@ -26,4 +26,11 @@ url="&pine-download-ftp;"/></para></listitem>
|
|||||||
<para><xref linkend="openldap"/> and Keberos5</para></sect4>
|
<para><xref linkend="openldap"/> and Keberos5</para></sect4>
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
|
<sect3><title>Additional downloads</title>
|
||||||
|
<itemizedlist spacing='compact'>
|
||||||
|
<listitem><para>Recommended patch: <ulink
|
||||||
|
url="&patch-root;/pine-4.56-fhs.patch"/></para></listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</sect3>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
@ -7,7 +7,6 @@
|
|||||||
<!ENTITY pine-buildsize "54 MB">
|
<!ENTITY pine-buildsize "54 MB">
|
||||||
<!ENTITY pine-version "4.56">
|
<!ENTITY pine-version "4.56">
|
||||||
<!ENTITY pine-download-http "http://mirror.sit.wisc.edu/pub/net/mail/pine/pine&pine-version;.tar.bz2">
|
<!ENTITY pine-download-http "http://mirror.sit.wisc.edu/pub/net/mail/pine/pine&pine-version;.tar.bz2">
|
||||||
<!ENTITY blfs-patch-dir "&hfile-root;">
|
|
||||||
<!ENTITY pine-download-ftp "ftp://ftp.cac.washington.edu/pine/pine&pine-version;.tar.bz2">
|
<!ENTITY pine-download-ftp "ftp://ftp.cac.washington.edu/pine/pine&pine-version;.tar.bz2">
|
||||||
<!ENTITY pine-size "2.8 MB">
|
<!ENTITY pine-size "2.8 MB">
|
||||||
<!ENTITY pine-time "">
|
<!ENTITY pine-time "">
|
||||||
|
@ -16,9 +16,9 @@ network programming libraries. These are needed to compile wvdial.</para>
|
|||||||
<sect3><title>Additional downloads</title>
|
<sect3><title>Additional downloads</title>
|
||||||
<itemizedlist spacing='compact'>
|
<itemizedlist spacing='compact'>
|
||||||
<listitem><para>Required Patch: <ulink
|
<listitem><para>Required Patch: <ulink
|
||||||
url="&hfile-root;/wvstreams-&wvstreams-version;-wvcrypto.patch"/></para></listitem>
|
url="&patch-root;/wvstreams-&wvstreams-version;-wvcrypto.patch"/></para></listitem>
|
||||||
<listitem><para>Required Patch: <ulink
|
<listitem><para>Required Patch: <ulink
|
||||||
url="&hfile-root;/wvstreams-&wvstreams-version;-wvresolver.patch"/></para></listitem>
|
url="&patch-root;/wvstreams-&wvstreams-version;-wvresolver.patch"/></para></listitem>
|
||||||
</itemizedlist></sect3>
|
</itemizedlist></sect3>
|
||||||
|
|
||||||
<sect3><title><application>WvStreams</application> dependencies</title>
|
<sect3><title><application>WvStreams</application> dependencies</title>
|
||||||
|
@ -1,6 +1,7 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of <application><acronym>CVS</acronym></application></title>
|
<title>Installation of <application><acronym>CVS</acronym></application></title>
|
||||||
|
|
||||||
|
<!--
|
||||||
<para>The <filename>cvs-&cvs-version;-zlib.patch</filename> patch is
|
<para>The <filename>cvs-&cvs-version;-zlib.patch</filename> patch is
|
||||||
used to compile <application><acronym>CVS</acronym></application>
|
used to compile <application><acronym>CVS</acronym></application>
|
||||||
dynamically against <application>zlib</application> instead of using the version
|
dynamically against <application>zlib</application> instead of using the version
|
||||||
@ -14,6 +15,7 @@ will be fixed.</para>
|
|||||||
<para>If you are going to use the patch mentioned above, first apply it:</para>
|
<para>If you are going to use the patch mentioned above, first apply it:</para>
|
||||||
|
|
||||||
<screen><userinput><command>patch -Np1 -i ../cvs-&cvs-version;-zlib.patch</command></userinput></screen>
|
<screen><userinput><command>patch -Np1 -i ../cvs-&cvs-version;-zlib.patch</command></userinput></screen>
|
||||||
|
-->
|
||||||
|
|
||||||
<para>Install <application><acronym>cvs</acronym></application> by running the following commands:</para>
|
<para>Install <application><acronym>cvs</acronym></application> by running the following commands:</para>
|
||||||
|
|
||||||
|
@ -14,8 +14,10 @@ working or where archives of previous versions of files need to be kept.</para>
|
|||||||
<listitem><para>Estimated build time: &cvs-time;</para></listitem></itemizedlist>
|
<listitem><para>Estimated build time: &cvs-time;</para></listitem></itemizedlist>
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
|
<!--
|
||||||
<sect3><title>Additional downloads</title>
|
<sect3><title>Additional downloads</title>
|
||||||
<itemizedlist spacing='compact'>
|
<itemizedlist spacing='compact'>
|
||||||
<listitem><para>Optional Patch: <ulink url="&hfile-root;/cvs-&cvs-version;-zlib.patch"/></para></listitem></itemizedlist></sect3>
|
<listitem><para>Optional Patch: <ulink url="&hfile-root;/cvs-&cvs-version;-zlib.patch"/></para></listitem></itemizedlist></sect3>
|
||||||
|
-->
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
@ -10,6 +10,11 @@ installed in the <acronym>LFS</acronym> Book.</para>
|
|||||||
this option if you didn't install <application>tcp-wrappers</application>.
|
this option if you didn't install <application>tcp-wrappers</application>.
|
||||||
</para>
|
</para>
|
||||||
|
|
||||||
|
<para><option>--disable-whois</option>: This switch will prevent
|
||||||
|
<application>Inetutils</application> installing a WhoIs client, since the
|
||||||
|
included whois client is out of date. Add this option if you plan on installing
|
||||||
|
<xref linkend="whois"/>.</para>
|
||||||
|
|
||||||
<para><option>--with-pam</option>: This switch makes <application>Inetutils
|
<para><option>--with-pam</option>: This switch makes <application>Inetutils
|
||||||
</application> compile against for <application>Linux-<acronym>PAM</acronym>
|
</application> compile against for <application>Linux-<acronym>PAM</acronym>
|
||||||
</application>. Add this option if you want to utilize <acronym>PAM</acronym>.
|
</application>. Add this option if you want to utilize <acronym>PAM</acronym>.
|
||||||
|
@ -6,9 +6,11 @@ commands:</para>
|
|||||||
|
|
||||||
<screen><userinput><command>./configure --prefix=/usr --disable-syslogd \
|
<screen><userinput><command>./configure --prefix=/usr --disable-syslogd \
|
||||||
--libexecdir=/usr/sbin --infodir=/usr/share/info \
|
--libexecdir=/usr/sbin --infodir=/usr/share/info \
|
||||||
|
--sysconfdir=/etc --localstatedir=/var \
|
||||||
--mandir=/usr/share/man --with-wrap &&
|
--mandir=/usr/share/man --with-wrap &&
|
||||||
make &&
|
make &&
|
||||||
make install</command></userinput></screen>
|
make install &&
|
||||||
|
mv /usr/bin/ping /bin</command></userinput></screen>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
@ -2,7 +2,9 @@
|
|||||||
<title>Introduction to <application>Inetutils</application></title>
|
<title>Introduction to <application>Inetutils</application></title>
|
||||||
|
|
||||||
<para>The <application>Inetutils</application> package contains network clients
|
<para>The <application>Inetutils</application> package contains network clients
|
||||||
and servers.</para>
|
and servers. <application>Inetutils</application> installation in LFS lacks
|
||||||
|
installation of the various servers that are included in the package. The instructions
|
||||||
|
in <acronym>BLFS</acronym> removes this deficiency.</para>
|
||||||
|
|
||||||
<sect3><title>Package information</title>
|
<sect3><title>Package information</title>
|
||||||
<itemizedlist spacing='compact'>
|
<itemizedlist spacing='compact'>
|
||||||
@ -15,7 +17,7 @@ and servers.</para>
|
|||||||
|
|
||||||
<sect3><title><application>Inetutils</application> dependencies</title>
|
<sect3><title><application>Inetutils</application> dependencies</title>
|
||||||
<sect4><title>Optional</title>
|
<sect4><title>Optional</title>
|
||||||
<para><xref linkend="Linux_PAM"/></para></sect4>
|
<para><xref linkend="Linux_PAM"/>, and <xref linkend="tcpwrappers"/></para></sect4>
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
|
|
||||||
|
@ -3,7 +3,7 @@
|
|||||||
|
|
||||||
<para><application><acronym>BIND</acronym> Utilities</application> is not a
|
<para><application><acronym>BIND</acronym> Utilities</application> is not a
|
||||||
separate package, it is a collection of the client side programs that are
|
separate package, it is a collection of the client side programs that are
|
||||||
included with <application><acronym>BIND</acronym></application>. The
|
included with <application><xref linkend="bind"/></application>. The
|
||||||
<application><acronym>BIND</acronym></application> package includes client
|
<application><acronym>BIND</acronym></application> package includes client
|
||||||
side programs such as <command>nslookup</command>, <command>dig</command> and
|
side programs such as <command>nslookup</command>, <command>dig</command> and
|
||||||
<command>host</command>. If you install <application><acronym>BIND</acronym>
|
<command>host</command>. If you install <application><acronym>BIND</acronym>
|
||||||
|
@ -15,4 +15,9 @@ fingerprinting.</para>
|
|||||||
<listitem><para>Estimated build time: &nmap-time;</para></listitem></itemizedlist>
|
<listitem><para>Estimated build time: &nmap-time;</para></listitem></itemizedlist>
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
|
<sect3><title><application>Nmap</application> dependencies</title>
|
||||||
|
<sect4><title>Optional</title>
|
||||||
|
<para><xref linkend="GTK"/> (for building the front-end)</para></sect4>
|
||||||
|
</sect3>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
@ -1,30 +1,27 @@
|
|||||||
<sect2>
|
<sect2>
|
||||||
<title>Installation of <application><acronym>GPM</acronym></application></title>
|
<title>Installation of <application><acronym>GPM</acronym></application></title>
|
||||||
|
|
||||||
<para>Download the patches for <application><acronym>GPM</acronym></application> from <ulink url="&patch-root;"/>.</para>
|
|
||||||
|
|
||||||
<para>Install <application><acronym>GPM</acronym></application> by running the following commands:
|
<para>Install <application><acronym>GPM</acronym></application> by running the following commands:
|
||||||
</para>
|
</para>
|
||||||
<!--
|
|
||||||
<note><para>The <envar>LDFLAGS</envar> environment variable must be set before
|
|
||||||
configuring <application>gpm</application>.</para></note> -->
|
|
||||||
|
|
||||||
<screen><userinput><command>patch -Np1 -i ../gpm-1.20.1-segfault.patch &&
|
<screen><userinput><command>patch -Np1 -i ../gpm-1.20.1-segfault.patch &&
|
||||||
patch -Np1 -i ../gpm-1.20.1-silent.patch &&
|
patch -Np1 -i ../gpm-1.20.1-silent.patch &&
|
||||||
LDFLAGS="-lm" ./configure --prefix=/usr &&
|
LDFLAGS="-lm" ./configure --prefix=/usr &&
|
||||||
make &&
|
make &&
|
||||||
make install</command></userinput></screen>
|
make install &&
|
||||||
|
ldconfig -n -l /usr/lib/libgpm.so.1.19.0</command></userinput></screen>
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
|
||||||
<sect2>
|
<sect2>
|
||||||
<title>Command explanations</title>
|
<title>Command explanations</title>
|
||||||
|
|
||||||
<para><command>export LDFLAGS="-lm"</command>: The math library
|
<para><command>export LDFLAGS="-lm"</command>: The math library
|
||||||
must be linked with <command>gpm</command>, as ceil() is used in some cursor
|
must be linked with <command>gpm</command>, as ceil() is used in some cursor
|
||||||
scrolling logic. <envar>LDFLAGS</envar> is only needed if you optimize
|
scrolling logic. <envar>LDFLAGS</envar> is only needed if you optimize
|
||||||
<command>gpm</command> for size.
|
<command>gpm</command> for size.</para>
|
||||||
</para>
|
|
||||||
|
<para><command>ldconfig -n -l </command>: During installation, gpm outputs a
|
||||||
|
message to run the above command to create the proper library links.</para>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
|
||||||
|
@ -19,5 +19,13 @@ url="&gpm-download-ftp;"/></para></listitem>
|
|||||||
&gpm-time;</para></listitem></itemizedlist>
|
&gpm-time;</para></listitem></itemizedlist>
|
||||||
</sect3>
|
</sect3>
|
||||||
|
|
||||||
|
<sect3><title>Additional downloads</title>
|
||||||
|
<itemizedlist spacing='compact'>
|
||||||
|
<listitem><para>Recommended patch: <ulink
|
||||||
|
url="&patch-root;/gpm-1.20.1-segfault.patch"/></para></listitem>
|
||||||
|
<listitem><para>Recommended patch: <ulink
|
||||||
|
url="&patch-root;/gpm-1.20.1-silent.patch"/></para></listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
</sect3>
|
||||||
|
|
||||||
</sect2>
|
</sect2>
|
||||||
|
@ -4,6 +4,7 @@
|
|||||||
|
|
||||||
&intro-important-unpacking;
|
&intro-important-unpacking;
|
||||||
&intro-important-position;
|
&intro-important-position;
|
||||||
|
&intro-important-patches;
|
||||||
&intro-important-bootscripts;
|
&intro-important-bootscripts;
|
||||||
&intro-important-beyond;
|
&intro-important-beyond;
|
||||||
|
|
||||||
|
21
introduction/important/patches.xml
Normal file
21
introduction/important/patches.xml
Normal file
@ -0,0 +1,21 @@
|
|||||||
|
<sect1 id="intro-important-patches">
|
||||||
|
<?dbhtml filename="patches.html" dir="introduction"?>
|
||||||
|
<title>Optional Patches</title>
|
||||||
|
|
||||||
|
<para>As you follow the various sections in the book, you will observe that
|
||||||
|
the book includes various patches that are required for a successful and
|
||||||
|
secure installation of the packages. The general policy of the book is to
|
||||||
|
include patches that fall in one of the following criteria:</para>
|
||||||
|
|
||||||
|
<itemizedlist>
|
||||||
|
<listitem><para>Fixes a compilation problem.</para></listitem>
|
||||||
|
<listitem><para>Fixes a security problem.</para></listitem>
|
||||||
|
<listitem><para>Fixes a broken functionality.</para></listitem>
|
||||||
|
</itemizedlist>
|
||||||
|
|
||||||
|
<para>In short, the book only includes patches that are either Required or
|
||||||
|
Recommended. There is a <ulink url="http://www.linuxfromscratch.org/patches">Patches subproject</ulink>
|
||||||
|
which hosts various patches (includng the patches included in the books)
|
||||||
|
to enable you to configure your <acronym>LFS</acronym> the way you like it:)</para>
|
||||||
|
|
||||||
|
</sect1>
|
@ -16,4 +16,5 @@
|
|||||||
<!ENTITY intro-important-unpacking SYSTEM "important/unpacking.xml">
|
<!ENTITY intro-important-unpacking SYSTEM "important/unpacking.xml">
|
||||||
<!ENTITY intro-important-position SYSTEM "important/position.xml">
|
<!ENTITY intro-important-position SYSTEM "important/position.xml">
|
||||||
<!ENTITY intro-important-bootscripts SYSTEM "important/bootscripts.xml">
|
<!ENTITY intro-important-bootscripts SYSTEM "important/bootscripts.xml">
|
||||||
|
<!ENTITY intro-important-patches SYSTEM "important/patches.xml">
|
||||||
<!ENTITY intro-important-beyond SYSTEM "important/beyond.xml">
|
<!ENTITY intro-important-beyond SYSTEM "important/beyond.xml">
|
||||||
|
@ -39,15 +39,15 @@ bash -c "source LinuxIntelEnv.Set.sh; dmake"</command></userinput></screen>
|
|||||||
to unzip them to the appropriate directory as mentioned below and then recreate
|
to unzip them to the appropriate directory as mentioned below and then recreate
|
||||||
the installation set.</para>
|
the installation set.</para>
|
||||||
|
|
||||||
<screen><userinput><command>cd solver/641/unxlngi4.pro/pck &&
|
<screen><userinput><command>cd solver/645/unxlngi4.pro/pck &&
|
||||||
for i in $(ls ../../../../../helpcontent_*_unix.tgz)
|
for i in $(ls ../../../../../helpcontent_*_unix.tgz)
|
||||||
do
|
do
|
||||||
tar -xvzf $i
|
tar -xvzf $i
|
||||||
done &&
|
done &&
|
||||||
cd ../../../../instsetoo &&
|
cd ../../../../instsetoo &&
|
||||||
rm -rf unxlngi4.pro &&
|
rm -rf unxlngi4.pro &&
|
||||||
dmake &&
|
cd .. &&
|
||||||
cd ..</command></userinput></screen>
|
bash -c "source LinuxIntelEnv.Set.sh ; dmake"</command></userinput></screen>
|
||||||
|
|
||||||
<para>Install <application>OpenOffice</application> using the following
|
<para>Install <application>OpenOffice</application> using the following
|
||||||
commands. The following commands install the English language set. To install a localized version, replace the
|
commands. The following commands install the English language set. To install a localized version, replace the
|
||||||
|
Loading…
Reference in New Issue
Block a user