Author: matthew
Date: 2010-11-10 15:23:21 -0700 (Wed, 10 Nov 2010)
New Revision: 9411
Modified:
trunk/BOOK/chapter01/changelog.xml
trunk/BOOK/chapter01/whatsnew.xml
trunk/BOOK/chapter03/patches.xml
trunk/BOOK/chapter05/tar.xml
trunk/BOOK/chapter06/tar.xml
trunk/BOOK/general.ent
trunk/BOOK/packages.ent
Log:
Upgrade to Tar-1.25 and install its HTML documentation. Fixes #2777 and #2786.
Modified: trunk/BOOK/chapter01/changelog.xml
===================================================================
--- trunk/BOOK/chapter01/changelog.xml 2010-10-29 14:56:26 UTC (rev 9410)
+++ trunk/BOOK/chapter01/changelog.xml 2010-11-10 22:23:21 UTC (rev 9411)
@@ -37,6 +37,18 @@
-->
<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>
<listitem>
Modified: trunk/BOOK/chapter01/whatsnew.xml
===================================================================
--- trunk/BOOK/chapter01/whatsnew.xml 2010-10-29 14:56:26 UTC (rev 9410)
+++ trunk/BOOK/chapter01/whatsnew.xml 2010-11-10 22:23:21 UTC (rev 9411)
@@ -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>
Modified: trunk/BOOK/chapter03/patches.xml
===================================================================
--- trunk/BOOK/chapter03/patches.xml 2010-10-29 14:56:26 UTC (rev 9410)
+++ trunk/BOOK/chapter03/patches.xml 2010-11-10 22:23:21 UTC (rev 9411)
@@ -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>
Modified: trunk/BOOK/chapter05/tar.xml
===================================================================
--- trunk/BOOK/chapter05/tar.xml 2010-10-29 14:56:26 UTC (rev 9410)
+++ trunk/BOOK/chapter05/tar.xml 2010-11-10 22:23:21 UTC (rev 9411)
@@ -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>
Modified: trunk/BOOK/chapter06/tar.xml
===================================================================
--- trunk/BOOK/chapter06/tar.xml 2010-10-29 14:56:26 UTC (rev 9410)
+++ trunk/BOOK/chapter06/tar.xml 2010-11-10 22:23:21 UTC (rev 9411)
@@ -40,32 +40,36 @@
<sect2 role="installation">
<title>Installation of Tar</title>
- <para>Again, fix a bug that was inserted into the latest code
release:</para>
+ <para>Prepare Tar for compilation:</para>
-<screen><userinput remap="pre">sed -i /SIGPIPE/d src/tar.c</userinput></screen>
+<screen><userinput remap="configure">FORCE_UNSAFE_CONFIGURE=1 ./configure
--prefix=/usr --bindir=/bin --libexecdir=/usr/sbin</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>
+ <variablelist>
+ <title>The meaning of the configure options:</title>
-<screen><userinput remap="pre">patch -Np1 -i
../&tar-overflow-patch;</userinput></screen>
+ <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>Prepare Tar for compilation:</para>
-
-<screen><userinput remap="configure">./configure --prefix=/usr --bindir=/bin
--libexecdir=/usr/sbin</userinput></screen>
-
<para>Compile the package:</para>
<screen><userinput remap="make">make</userinput></screen>
<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>
Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent 2010-10-29 14:56:26 UTC (rev 9410)
+++ trunk/BOOK/general.ent 2010-11-10 22:23:21 UTC (rev 9411)
@@ -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
– -->
<!ENTITY milestone "6.8">
<!ENTITY generic-version "development"> <!-- Use "development", "testing", or
"x.y[-pre{x}]" -->
Modified: trunk/BOOK/packages.ent
===================================================================
--- trunk/BOOK/packages.ent 2010-10-29 14:56:26 UTC (rev 9410)
+++ trunk/BOOK/packages.ent 2010-11-10 22:23:21 UTC (rev 9411)
@@ -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">
--
http://linuxfromscratch.org/mailman/listinfo/lfs-book
FAQ: http://www.linuxfromscratch.org/lfs/faq.html
Unsubscribe: See the above information page