r8649 - in trunk/BOOK: . general/genlib introduction/welcome postlfs/security

ken at linuxfromscratch.org ken at linuxfromscratch.org
Tue Oct 26 11:25:00 PDT 2010


Author: ken
Date: 2010-10-26 12:24:49 -0600 (Tue, 26 Oct 2010)
New Revision: 8649

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/general/genlib/nspr.xml
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/security/nss.xml
Log:
Upgrade nspr and nss to the versions firefox wants, and add the options for x86_64.  Thanks to 'bambi' for pointing out I'd omitted this upgrade.

Modified: trunk/BOOK/general/genlib/nspr.xml
===================================================================
--- trunk/BOOK/general/genlib/nspr.xml	2010-10-24 23:06:27 UTC (rev 8648)
+++ trunk/BOOK/general/genlib/nspr.xml	2010-10-26 18:24:49 UTC (rev 8649)
@@ -6,10 +6,10 @@
 
   <!ENTITY nspr-download-http "http://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v&nspr-version;/src/nspr-&nspr-version;.tar.gz">
   <!ENTITY nspr-download-ftp  "ftp://ftp.mozilla.org/pub/mozilla.org/nspr/releases/v&nspr-version;/src/nspr-&nspr-version;.tar.gz">
-  <!ENTITY nspr-md5sum        "c12ef68285aa631f8a335a547c434ad9">
-  <!ENTITY nspr-size          "1.1 MB">
-  <!ENTITY nspr-buildsize     "12.5 MB">
-  <!ENTITY nspr-time          "less than 0.1 SBU">
+  <!ENTITY nspr-md5sum        "592c275728c29d193fdba8009165990b">
+  <!ENTITY nspr-size          "1.2 MB">
+  <!ENTITY nspr-buildsize     "16.5 MB">
+  <!ENTITY nspr-time          "0.1 SBU">
 ]>
 
 <sect1 id="nspr" xreflabel="NSPR-&nspr-version;">
@@ -32,6 +32,8 @@
     <para><application>Netscape Portable Runtime</application> (NSPR) provides
     a platform-neutral API for system level and libc like functions.</para>
 
+    &lfs67_checked;
+
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>
@@ -95,12 +97,17 @@
     <title>Command Explanations</title>
 
     <para><parameter>--with-mozilla</parameter>: This parameter adds Mozilla
-    supprt to the libraries (required if you want to build any Mozilla
+    support to the libraries (required if you want to build any Mozilla
     products).</para>
 
     <para><parameter>--with-pthreads</parameter>: This parameter forces use of
     the system pthreads library.</para>
 
+    <para><parameter>--enable-64bit</parameter>: This parameter is required
+    <emphasis>on an x86_64 system</emphasis> to prevent
+    <command>configure</command> failing with a claim that this is a system
+    without pthread support.</para>
+
   </sect2>
 
   <sect2 role="content">

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2010-10-24 23:06:27 UTC (rev 8648)
+++ trunk/BOOK/general.ent	2010-10-26 18:24:49 UTC (rev 8649)
@@ -3,7 +3,7 @@
 $Date$
 -->
 
-<!ENTITY day          "24">                   <!-- Always 2 digits -->
+<!ENTITY day          "26">                   <!-- Always 2 digits -->
 <!ENTITY month        "10">                   <!-- Always 2 digits -->
 <!ENTITY year         "2010">
 <!ENTITY copyrightdate "2001-&year;">
@@ -107,7 +107,7 @@
 <!ENTITY cyrus-sasl-version           "2.1.23">
 <!ENTITY stunnel-version              "4.21">
 <!ENTITY sudo-version                 "1.7.4p4">
-<!ENTITY nss-version                  "3.12.5">
+<!ENTITY nss-version                  "3.12.8">
 <!ENTITY policykit-version            "0.9">
 <!ENTITY polkit-version               "0.94">
 <!ENTITY polkit-gnome-version         "0.94">
@@ -185,7 +185,7 @@
 <!ENTITY libtasn1-version             "2.5">
 <!ENTITY libunique-version            "1.1.2">
 <!ENTITY liboil-version               "0.3.17">
-<!ENTITY nspr-version                 "4.8.3">
+<!ENTITY nspr-version                 "4.8.6">
 <!ENTITY libffi-version               "3.0.8">
 <!ENTITY gobject-introspection-version "0.6.14">
 <!ENTITY gir-repository-version       "0.6.5">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2010-10-24 23:06:27 UTC (rev 8648)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2010-10-26 18:24:49 UTC (rev 8649)
@@ -42,6 +42,18 @@
 -->
 
     <listitem>
+      <para>October 26th, 2010</para>
+      <itemizedlist>
+        <listitem>
+          <para>[ken] - Updated to
+          nspr-4.8.6 and nss-3.12.8 (fixes tickets
+          <ulink url="&blfs-ticket-root;3176">#3176 et seq.</ulink>)
+          </para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
       <para>October 24th, 2010</para>
       <itemizedlist>
         <listitem>

Modified: trunk/BOOK/postlfs/security/nss.xml
===================================================================
--- trunk/BOOK/postlfs/security/nss.xml	2010-10-24 23:06:27 UTC (rev 8648)
+++ trunk/BOOK/postlfs/security/nss.xml	2010-10-26 18:24:49 UTC (rev 8649)
@@ -4,12 +4,12 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
-  <!ENTITY nss-download-http "http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_5_RTM/src/nss-&nss-version;.tar.gz">
-  <!ENTITY nss-download-ftp  "ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_5_RTM/src/nss-&nss-version;.tar.gz">
-  <!ENTITY nss-md5sum        "50089cd0f14c690d41392fdbb1f69181">
-  <!ENTITY nss-size          "5.1 MB">
-  <!ENTITY nss-buildsize     "62 MB">
-  <!ENTITY nss-time          "1.0 SBU (additional 0.9 SBU to run the test suite)">
+  <!ENTITY nss-download-http "http://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_8_RTM/src/nss-&nss-version;.tar.gz">
+  <!ENTITY nss-download-ftp  "ftp://ftp.mozilla.org/pub/mozilla.org/security/nss/releases/NSS_3_12_8_RTM/src/nss-&nss-version;.tar.gz">
+  <!ENTITY nss-md5sum        "40bf1bb0c7567827d3768d1fc6081100">
+  <!ENTITY nss-size          "5.7 MB">
+  <!ENTITY nss-buildsize     "73 MB (more than double this to run the test suite)">
+  <!ENTITY nss-time          "0.9 SBU (at least an additional 3.5 SBU to run the test suite)">
 ]>
 
 <sect1 id="nss" xreflabel="NSS-&nss-version;">
@@ -37,6 +37,8 @@
     security standards. This is useful for implementing SSL and S/MIME or
     other Internet security standards into an application.</para>
 
+    &lfs67_checked;
+
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>
@@ -98,14 +100,20 @@
 patch -Np1 -i ../nss-&nss-version;-standalone-1.patch &&
 make -C mozilla/security/nss nss_build_all</userinput></screen>
 
-    <para>To test the results, you'll need to set the domain name of your
-    system in the <envar>DOMSUF</envar> environment variable. Most of the tests
-    will fail if you don't provide the correct domain name. A self-generated
-    log file will be parsed at the end of the test to display how many tests
-    passed. It should return 800. To run the tests, ensure you change the
+    <para>If you wish to test the results, you'll need to set the domain name of
+    your system in the <envar>DOMSUF</envar> environment variable. Most of the
+    tests will fail if you don't provide the correct domain name. The voluminous
+    output will report how many of the several thousand tests passed, and if any
+    failed.  To review the details of any failures, you may wish to capture
+    stdout and stderr in a file.</para>
+
+    <para>To run the tests, ensure you change the
     <command>export DOMSUF</command> command below to an appropriate value,
-    e.g., <parameter>mydomain.com</parameter> and issue the following
-    commands:</para>
+    e.g., <parameter>mydomain.com</parameter> or, if you do not have any domain
+    in your <filename>/etc/hosts</filename> replace this with the developers'
+    recommendation of
+    <command>"export HOST=localhost DOMSUF=localdomain"</command> and issue the
+    following commands:</para>
 
 <screen><userinput>bash
 
@@ -149,6 +157,10 @@
     serves the purpose of restoring the environment and returning back to the
     original directory when the installation is complete.</para>
 
+    <para><command>export USE_64=1</command>:This command is
+    <emphasis>required on x86_64</emphasis>, otherwise the build will attempt
+    to create 32-bit objects and fail in a non-multilib system.</para>
+
     <para><command>export BUILD_OPT=1</command>: This variable is set so that
     the build is performed with no debugging symbols built into the binaries
     and that the default compiler optimizations are used.</para>




More information about the blfs-book mailing list