mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
Updated to cpio-2.7
git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@6678 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
parent
8f331d759b
commit
6426122b77
@ -3,7 +3,7 @@ $LastChangedBy$
|
||||
$Date$
|
||||
-->
|
||||
|
||||
<!ENTITY day "18"> <!-- Always 2 digits -->
|
||||
<!ENTITY day "19"> <!-- Always 2 digits -->
|
||||
<!ENTITY month "03"> <!-- Always 2 digits -->
|
||||
<!ENTITY year "2007">
|
||||
<!ENTITY version "svn-&year;&month;&day;">
|
||||
@ -171,7 +171,7 @@ $Date$
|
||||
<!ENTITY pciutils-version "2.2.3">
|
||||
<!ENTITY usbutils-version "0.72">
|
||||
<!ENTITY pkgconfig-version "0.21">
|
||||
<!ENTITY cpio-version "2.6">
|
||||
<!ENTITY cpio-version "2.7">
|
||||
<!ENTITY mc-version "4.6.1">
|
||||
<!ENTITY sysstat-version "7.0.4">
|
||||
<!ENTITY apache-ant-version "1.6.5">
|
||||
|
@ -4,12 +4,12 @@
|
||||
<!ENTITY % general-entities SYSTEM "../../general.ent">
|
||||
%general-entities;
|
||||
|
||||
<!ENTITY cpio-download-http "http://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz">
|
||||
<!ENTITY cpio-download-ftp "ftp://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.gz">
|
||||
<!ENTITY cpio-md5sum "76b4145f33df088a5bade3bf4373d17d">
|
||||
<!ENTITY cpio-size "561 KB">
|
||||
<!ENTITY cpio-buildsize "5.3 MB">
|
||||
<!ENTITY cpio-time "0.1 SBU">
|
||||
<!ENTITY cpio-download-http "http://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.bz2">
|
||||
<!ENTITY cpio-download-ftp "ftp://ftp.gnu.org/pub/gnu/cpio/cpio-&cpio-version;.tar.bz2">
|
||||
<!ENTITY cpio-md5sum "69ad6cb3d288aafe5f969f68d9fd0fb7">
|
||||
<!ENTITY cpio-size "698 KB">
|
||||
<!ENTITY cpio-buildsize "10 MB">
|
||||
<!ENTITY cpio-time "0.2 SBU">
|
||||
]>
|
||||
|
||||
<sect1 id="cpio" xreflabel="cpio-&cpio-version;">
|
||||
@ -54,13 +54,13 @@
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
|
||||
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||
<!-- <bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
||||
<itemizedlist spacing="compact">
|
||||
<listitem>
|
||||
<para>Required Patch: <ulink
|
||||
url="&patch-root;/cpio-&cpio-version;-security_fixes-1.patch"/></para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</itemizedlist> -->
|
||||
|
||||
<para condition="html" role="usernotes">User Notes:
|
||||
<ulink url="&blfs-wiki;/cpio"/></para>
|
||||
@ -73,13 +73,11 @@
|
||||
<para>Install <application>cpio</application> by running the following
|
||||
commands:</para>
|
||||
|
||||
<screen><userinput>sed -i "s/invalid_arg/argmatch_invalid/" src/mt.c &&
|
||||
patch -Np1 -i ../cpio-&cpio-version;-security_fixes-1.patch &&
|
||||
./configure CPIO_MT_PROG=mt --prefix=/usr \
|
||||
--bindir=/bin --libexecdir=/tmp \
|
||||
--with-rmt=/usr/sbin/rmt &&
|
||||
echo "#define HAVE_SETLOCALE 1" >> config.h &&
|
||||
echo "#define HAVE_LSTAT 1" >> config.h &&
|
||||
<screen><userinput>./configure CPIO_MT_PROG=mt \
|
||||
--prefix=/usr \
|
||||
--bindir=/bin \
|
||||
--libexecdir=/tmp \
|
||||
--with-rmt=/usr/sbin/rmt &&
|
||||
make</userinput></screen>
|
||||
|
||||
<para>If you have <xref linkend="tetex"/> installed and wish to create
|
||||
@ -91,10 +89,7 @@ make -C doc ps &&
|
||||
texi2html -o doc/cpio.html doc/cpio.texi &&
|
||||
makeinfo --plaintext -o doc/cpio.txt doc/cpio.texi</userinput></screen>
|
||||
|
||||
<para>To test the results, issue:</para>
|
||||
|
||||
<screen><userinput>sed -i 's/static const char/const char/' tests/genfile.c &&
|
||||
make check</userinput></screen>
|
||||
<para>To test the results, issue <command>make check</command></para>
|
||||
|
||||
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
||||
|
||||
@ -113,10 +108,6 @@ install -v -m644 doc/cpio.{pdf,ps,dvi,html,txt} \
|
||||
<sect2 role="commands">
|
||||
<title>Command Explanations</title>
|
||||
|
||||
<para><command>sed -i "s/invalid_arg/argmatch_invalid/"
|
||||
src/mt.c</command>: This command fixes a build problem with the
|
||||
<command>mt</command> program.</para>
|
||||
|
||||
<para><parameter>CPIO_MT_PROG=mt</parameter>: This parameter forces the
|
||||
building and installation of the <command>mt</command> program.</para>
|
||||
|
||||
@ -133,18 +124,6 @@ install -v -m644 doc/cpio.{pdf,ps,dvi,html,txt} \
|
||||
inhibits building the <command>rmt</command> program as it is already
|
||||
installed by the <application>Tar</application> package in LFS.</para>
|
||||
|
||||
<para><command>echo "#define HAVE_SETLOCALE 1" >> config.h</command>: This
|
||||
command specifies that the system <application>Libc</application>
|
||||
implements the setlocale function since it is not detected by
|
||||
<command>configure</command>.</para>
|
||||
|
||||
<para><command>echo "#define HAVE_LSTAT 1" >> config.h</command>: This
|
||||
define fixes a bug that causes <command>cpio</command> to convert symlinks
|
||||
into regular files during archive creation.</para>
|
||||
|
||||
<para><command>sed -i 's/static const ...</command>: This command fixes
|
||||
a build problem when compiling the tests with GCC-&gcc-version;.</para>
|
||||
|
||||
</sect2>
|
||||
|
||||
<sect2 role="content">
|
||||
|
@ -41,6 +41,15 @@
|
||||
|
||||
-->
|
||||
|
||||
<listitem>
|
||||
<para>March 19th, 2007</para>
|
||||
<itemizedlist>
|
||||
<listitem>
|
||||
<para>[randy] - Updated to cpio-2.7.</para>
|
||||
</listitem>
|
||||
</itemizedlist>
|
||||
</listitem>
|
||||
|
||||
<listitem>
|
||||
<para>March 18th, 2007</para>
|
||||
<itemizedlist>
|
||||
|
Loading…
Reference in New Issue
Block a user