Upgrade to Tar-1.25 and install its HTML documentation. Fixes #2777 and #2786.

git-svn-id: http://svn.linuxfromscratch.org/LFS/trunk/BOOK@9411 4aa44e1e-78dd-0310-a6d2-fbcd4c07a689
This commit is contained in:
Matthew Burgess 2010-11-10 22:23:21 +00:00
parent b4a1c5e185
commit 64af1f62ed
7 changed files with 41 additions and 33 deletions

View File

@ -36,6 +36,18 @@
</listitem>
-->
<listitem>
<para>2010-11-10</para>
<itemizedlist>
<listitem>
<para>[matthew] Upgrade to Tar-1.25, and also install its HTML
documentation. Fixes
<ulink url="&lfs-ticket-root;2777">#2777</ulink> and
<ulink url="&lfs-ticket-root;2786">#2786</ulink>.</para>
</listitem>
</itemizedlist>
</listitem>
<listitem>
<para>2010-10-27</para>
<itemizedlist>

View File

@ -181,9 +181,9 @@
<!--<listitem>
<para>SysVinit &sysvinit-version;</para>
</listitem>-->
<!--<listitem>
<listitem>
<para>Tar &tar-version;</para>
</listitem>-->
</listitem>
<listitem>
<para>TCL &tcl-version;</para>
</listitem>
@ -272,6 +272,10 @@
<para>perl-5.12.1-libc-1.patch</para>
</listitem>
<listitem>
<para>tar-1.23-overflow-1.patch</para>
</listitem>
</itemizedlist>
</sect1>

View File

@ -180,14 +180,6 @@
</listitem>
</varlistentry>
<varlistentry>
<term>Tar Overflow Patch - <token>&tar-overflow-patch-size;</token>:</term>
<listitem>
<para>Download: <ulink url="&patches-root;&tar-overflow-patch;"/></para>
<para>MD5 sum: <literal>&tar-overflow-patch-md5;</literal></para>
</listitem>
</varlistentry>
<!-- <varlistentry>
<term>Shadow Useradd Patch - <token>&shadow-useradd-patch-size;</token>:</term>
<listitem>

View File

@ -43,10 +43,6 @@
<sect2 role="installation">
<title>Installation of Tar</title>
<para>First fix a bug that was inserted into the latest code release:</para>
<screen><userinput remap="pre">sed -i /SIGPIPE/d src/tar.c</userinput></screen>
<para>Prepare Tar for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/tools</userinput></screen>

View File

@ -40,18 +40,23 @@
<sect2 role="installation">
<title>Installation of Tar</title>
<para>Again, fix a bug that was inserted into the latest code release:</para>
<screen><userinput remap="pre">sed -i /SIGPIPE/d src/tar.c</userinput></screen>
<para>Also, fix a bug that causes a buffer overflow when creating a new
tar file. This fix is needed when building with gcc-4.5 and later.</para>
<screen><userinput remap="pre">patch -Np1 -i ../&tar-overflow-patch;</userinput></screen>
<para>Prepare Tar for compilation:</para>
<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
<screen><userinput remap="configure">FORCE_UNSAFE_CONFIGURE=1 ./configure --prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</userinput></screen>
<variablelist>
<title>The meaning of the configure options:</title>
<varlistentry>
<term><envar>FORCE_UNSAFE_CONFIGURE=1</envar></term>
<listitem>
<para>This forces the test for <function>mknod</function> to be run
as root. It is generally considered dangerous to run this test as
the root user, but as it is being run on an only partially built
system, overriding it is OK.</para>
</listitem>
</varlistentry>
</variablelist>
<para>Compile the package:</para>
@ -59,13 +64,12 @@
<para>To test the results (about 1 SBU), issue:</para>
<screen><userinput remap="test">sed -i '35 i\
AT_UNPRIVILEGED_PREREQ' tests/remfiles01.at
make check</userinput></screen>
<screen><userinput remap="test">make check</userinput></screen>
<para>Install the package:</para>
<screen><userinput remap="install">make install</userinput></screen>
<screen><userinput remap="install">make install
make -C doc install-html docdir=/usr/share/doc/tar-&tar-version;</userinput></screen>
</sect2>

View File

@ -1,5 +1,5 @@
<!ENTITY version "SVN-20101029">
<!ENTITY releasedate "October 29, 2010">
<!ENTITY version "SVN-20101110">
<!ENTITY releasedate "November 10, 2010">
<!ENTITY copyrightdate "1999-2010"><!-- jhalfs needs a literal dash, not &ndash; -->
<!ENTITY milestone "6.8">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or "x.y[-pre{x}]" -->

View File

@ -485,10 +485,10 @@
<!ENTITY sysvinit-ch6-du "1 MB">
<!ENTITY sysvinit-ch6-sbu "less than 0.1 SBU">
<!ENTITY tar-version "1.23">
<!ENTITY tar-size "2,138 KB">
<!ENTITY tar-version "1.25">
<!ENTITY tar-size "2,273 KB">
<!ENTITY tar-url "&gnu;tar/tar-&tar-version;.tar.bz2">
<!ENTITY tar-md5 "41e2ca4b924ec7860e51b43ad06cdb7e">
<!ENTITY tar-md5 "6e497f861c77bbba2f7da4e10270995b">
<!ENTITY tar-home "&gnu-software;tar/">
<!ENTITY tar-ch5-du "20.9 MB">
<!ENTITY tar-ch5-sbu "0.3 SBU">