Add cpio security patch

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@4865 af4574ff-66df-0310-9fd7-8a98e5e911e0
This commit is contained in:
Bruce Dubbs 2005-07-31 22:34:32 +00:00
parent e8d4427c26
commit 82941804ea
2 changed files with 14 additions and 4 deletions

View File

@ -9,7 +9,7 @@
<!ENTITY cpio-md5sum "76b4145f33df088a5bade3bf4373d17d">
<!ENTITY cpio-size "561 KB">
<!ENTITY cpio-buildsize "5.3 MB">
<!ENTITY cpio-time "0.12 SBU">
<!ENTITY cpio-time "0.1 SBU">
]>
<sect1 id="cpio" xreflabel="cpio-&cpio-version;">
@ -54,6 +54,14 @@
</listitem>
</itemizedlist>
<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>
</sect2>
<sect2 role="installation">
@ -63,6 +71,7 @@
commands:</para>
<screen><userinput>sed -i -e "s/invalid_arg/argmatch_invalid/" src/mt.c &amp;&amp;
patch -Np1 -i ../cpio-&cpio-version;-security_fixes-1.patch &amp;&amp;
./configure CPIO_MT_PROG=mt --prefix=/usr \
--bindir=/bin --libexecdir=/tmp \
--with-rmt=/usr/sbin/rmt &amp;&amp;

View File

@ -90,9 +90,10 @@ install -v -m 644 lib/*.h /usr/include/pci</userinput></screen>
<para>The current version of <application>PCI Utilities</application> is a
bit dated (2003). The application works quite well, but the default data
file, <filename>pci.ids</filename>, is out of date. To get a current
version of this file, run <command>update-pciids</command>. This program
uses <application>wget</application> or <application>lynx</application> to
fetch the most current file and place it in <filename
version of this file, run <command>update-pciids</command> as the
<systemitem class="username">root</systemitem> user. This program uses
<application>wget</application> or <application>lynx</application> to fetch
the most current file and place it in <filename
class='directory'>/usr/share</filename>.</para>
</sect2>