[blfs-book] r10435 - in trunk/BOOK: . introduction/welcome postlfs/security

krejzi at linuxfromscratch.org krejzi at linuxfromscratch.org
Sat Jul 21 09:25:24 PDT 2012


Author: krejzi
Date: 2012-07-21 10:25:13 -0600 (Sat, 21 Jul 2012)
New Revision: 10435

Modified:
   trunk/BOOK/general.ent
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/postlfs/security/gnutls.xml
   trunk/BOOK/postlfs/security/nettle.xml
Log:
Nettle 2.5 and GnuTLS 3.0.21

Modified: trunk/BOOK/general.ent
===================================================================
--- trunk/BOOK/general.ent	2012-07-20 18:59:51 UTC (rev 10434)
+++ trunk/BOOK/general.ent	2012-07-21 16:25:13 UTC (rev 10435)
@@ -3,13 +3,13 @@
 $Date$
 -->
 
-<!ENTITY day          "20">                   <!-- Always 2 digits -->
+<!ENTITY day          "21">                   <!-- Always 2 digits -->
 <!ENTITY month        "07">                   <!-- Always 2 digits -->
 <!ENTITY year         "2012">
 <!ENTITY copyrightdate "2001-&year;">
 <!ENTITY copyholder   "The BLFS Development Team">
 <!ENTITY version      "&year;-&month;-&day;">
-<!ENTITY releasedate  "July 20th, &year;">
+<!ENTITY releasedate  "July 21st, &year;">
 <!-- <!ENTITY releasedate  "November &day;st, &year;"> -->
 <!ENTITY pubdate      "&year;-&month;-&day;"> <!-- metadata req. by TLDP -->
 <!ENTITY blfs-version "svn">                  <!-- svn|[release #] -->
@@ -125,14 +125,14 @@
 <!ENTITY cyrus-sasl-version           "2.1.25">
 <!ENTITY gnupg-version                "1.4.12">
 <!ENTITY gnupg2-version               "2.0.18">
-<!ENTITY gnutls-version               "3.0.19">
+<!ENTITY gnutls-version               "3.0.21">
 <!ENTITY gpgme-version                "1.3.2">
 <!ENTITY iptables-version             "1.4.14">
 <!ENTITY libcap2-version              "2.22">
 <!ENTITY liboauth-version             "0.9.5">
 <!ENTITY linux-pam-version            "1.1.5">
 <!ENTITY mitkrb-version               "1.10.1">
-<!ENTITY nettle-version               "2.4">
+<!ENTITY nettle-version               "2.5">
 <!ENTITY nss-major-version            "13">
 <!ENTITY nss-minor-version            "5">
 <!ENTITY nss-version                  "3.&nss-major-version;.&nss-minor-version;">

Modified: trunk/BOOK/introduction/welcome/changelog.xml
===================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml	2012-07-20 18:59:51 UTC (rev 10434)
+++ trunk/BOOK/introduction/welcome/changelog.xml	2012-07-21 16:25:13 UTC (rev 10435)
@@ -45,6 +45,18 @@
       <para>July 20th, 2012</para>
       <itemizedlist>
         <listitem>
+          <para>[krejzi] - GnuTLS 3.0.21.</para>
+        </listitem>
+        <listitem>
+          <para>[krejzi] - Nettle 2.5.</para>
+        </listitem>
+      </itemizedlist>
+    </listitem>
+
+    <listitem>
+      <para>July 20th, 2012</para>
+      <itemizedlist>
+        <listitem>
           <para>[krejzi] - Upgraded ConsoleKit to 0.4.6 (git snapshot).</para>
         </listitem>
         <listitem>

Modified: trunk/BOOK/postlfs/security/gnutls.xml
===================================================================
--- trunk/BOOK/postlfs/security/gnutls.xml	2012-07-20 18:59:51 UTC (rev 10434)
+++ trunk/BOOK/postlfs/security/gnutls.xml	2012-07-21 16:25:13 UTC (rev 10435)
@@ -6,10 +6,10 @@
 
   <!ENTITY gnutls-download-http "http://ftp.gnu.org/gnu/gnutls/gnutls-&gnutls-version;.tar.xz">
   <!ENTITY gnutls-download-ftp  "ftp://ftp.gnu.org/gnu/gnutls/gnutls-&gnutls-version;.tar.xz">
-  <!ENTITY gnutls-md5sum        "05e85d18955edd5c0fe40fbb7ef168bd">
-  <!ENTITY gnutls-size          "4.9 MB">
-  <!ENTITY gnutls-buildsize     "120 MB">
-  <!ENTITY gnutls-time          "1.6 SBU (including the test suite)">
+  <!ENTITY gnutls-md5sum        "7480dff7115e5af85215893c06b3ac5c">
+  <!ENTITY gnutls-size          "4.5 MB">
+  <!ENTITY gnutls-buildsize     "95 MB">
+  <!ENTITY gnutls-time          "1.2 SBU (additional 2.5 SBU if running the testsuite)">
 ]>
 
 <sect1 id="gnutls" xreflabel="GnuTLS-&gnutls-version;">
@@ -96,12 +96,16 @@
       <xref linkend="nettle"/>
     </para>
 
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="recommended">
+      <xref linkend="libtasn1"/>
+    </para>
+
     <bridgehead renderas="sect4">Optional</bridgehead>
     <para role="optional">
       <xref linkend="gtk-doc"/>,
       <xref linkend="guile"/>,
       <xref linkend="libidn"/>,
-      <xref linkend="libtasn1"/>,
       <xref linkend="p11-kit"/> and
       <ulink url="http://valgrind.org/">Valgrind</ulink> (used during the test suite)
     </para>
@@ -113,8 +117,8 @@
     </para>
 
     <para condition="html" role="usernotes">User Notes:
-    <ulink url="&blfs-wiki;/gnutls"/></para>
-
+      <ulink url="&blfs-wiki;/gnutls"/>
+    </para>
   </sect2>
 
   <sect2 role="installation">
@@ -125,7 +129,7 @@
       following commands:
     </para>
 
-<screen><userinput>./configure --prefix=/usr &&
+<screen><userinput>./configure --prefix=/usr --disable-static &&
 make</userinput></screen>
 
     <para>
@@ -160,10 +164,10 @@
     <title>Command Explanations</title>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
-    href="../../xincludes/static-libraries.xml"/>
+      href="../../xincludes/static-libraries.xml"/>
 
     <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
-    href="../../xincludes/gtk-doc-rebuild.xml"/>
+      href="../../xincludes/gtk-doc-rebuild.xml"/>
 
   </sect2>
 
@@ -181,7 +185,7 @@
           ocsptool, p11tool, psktool, and srptool
         </seg>
         <seg>
-          libgnutls.{so,a}, libgnutls-openssl.{so,a}, and libgnutlsxx.{so,a}
+          libgnutls.so, libgnutls-openssl.so, and libgnutlsxx.so
         </seg>
         <seg>
           /usr/include/gnutls,
@@ -313,13 +317,13 @@
       </varlistentry>
 
       <varlistentry id="libgnutls">
-        <term><filename class='libraryfile'>libgnutls.{so,a}</filename></term>
+        <term><filename class='libraryfile'>libgnutls.so</filename></term>
         <listitem>
           <para>
             contains the core API functions and X.509 certificate API functions.
           </para>
           <indexterm zone="gnutls libgnutls">
-            <primary sortas="c-libgnutls">libgnutls.{so,a}</primary>
+            <primary sortas="c-libgnutls">libgnutls.so</primary>
           </indexterm>
         </listitem>
       </varlistentry>

Modified: trunk/BOOK/postlfs/security/nettle.xml
===================================================================
--- trunk/BOOK/postlfs/security/nettle.xml	2012-07-20 18:59:51 UTC (rev 10434)
+++ trunk/BOOK/postlfs/security/nettle.xml	2012-07-21 16:25:13 UTC (rev 10435)
@@ -4,15 +4,15 @@
   <!ENTITY % general-entities SYSTEM "../../general.ent">
   %general-entities;
 
-  <!ENTITY nettle-download-http "http://www.lysator.liu.se/~nisse/archive/nettle-&nettle-version;.tar.gz">
-  <!ENTITY nettle-download-ftp  "ftp://ftp.lysator.liu.se/pub/security/lsh/nettle-&nettle-version;.tar.gz">
-  <!ENTITY nettle-md5sum        "450be8c4886d46c09f49f568ad6fa013">
-  <!ENTITY nettle-size          "1.0 MB">
-  <!ENTITY nettle-buildsize     "121 MB">
-  <!ENTITY nettle-time          "0.2 SBU">
+  <!ENTITY nettle-download-http "http://ftp.gnu.org/gnu/nettle/nettle-&nettle-version;.tar.gz">
+  <!ENTITY nettle-download-ftp  "ftp://ftp.gnu.org/gnu/nettle/nettle-&nettle-version;.tar.gz">
+  <!ENTITY nettle-md5sum        "d66882e6ad31a9f651b73d7a1a93bd4c">
+  <!ENTITY nettle-size          "1.1 MB">
+  <!ENTITY nettle-buildsize     "55 MB">
+  <!ENTITY nettle-time          "0.3 SBU">
 ]>
 
-<sect1 id="nettle" xreflabel="nettle-&nettle-version;">
+<sect1 id="nettle" xreflabel="Nettle-&nettle-version;">
   <?dbhtml filename="nettle.html"?>
 
   <sect1info>
@@ -20,17 +20,18 @@
     <date>$Date$</date>
   </sect1info>
 
-  <title>nettle-&nettle-version;</title>
+  <title>Nettle-&nettle-version;</title>
 
   <indexterm zone="nettle">
-    <primary sortas="a-nettle">nettle</primary>
+    <primary sortas="a-Nettle">Nettle</primary>
   </indexterm>
 
   <sect2 role="package">
-    <title>Introduction to nettle</title>
+    <title>Introduction to Nettle</title>
 
-    <para>The <application>nettle</application> package is a low-level
-    cryptographic library that is designed to fit easily in many contexts.
+    <para>
+      The <application>Nettle</application> package contains the low-level
+      cryptographic library that is designed to fit easily in many contexts.
     </para>
 
     &lfs71_checked;
@@ -38,76 +39,84 @@
     <bridgehead renderas="sect3">Package Information</bridgehead>
     <itemizedlist spacing="compact">
       <listitem>
-        <para>Download (HTTP): <ulink url="&nettle-download-http;"/></para>
+        <para>
+          Download (HTTP): <ulink url="&nettle-download-http;"/>
+        </para>
       </listitem>
       <listitem>
-        <para>Download (FTP): <ulink url="&nettle-download-ftp;"/></para>
+        <para>
+          Download (FTP): <ulink url="&nettle-download-ftp;"/>
+        </para>
       </listitem>
       <listitem>
-        <para>Download MD5 sum: &nettle-md5sum;</para>
+        <para>
+          Download MD5 sum: &nettle-md5sum;
+        </para>
       </listitem>
       <listitem>
-        <para>Download size: &nettle-size;</para>
+        <para>
+          Download size: &nettle-size;
+        </para>
       </listitem>
       <listitem>
-        <para>Estimated disk space required: &nettle-buildsize;</para>
+        <para>
+          Estimated disk space required: &nettle-buildsize;
+        </para>
       </listitem>
       <listitem>
-        <para>Estimated build time: &nettle-time;</para>
+        <para>
+          Estimated build time: &nettle-time;
+        </para>
       </listitem>
     </itemizedlist>
 
     <para condition="html" role="usernotes">User Notes:
-    <ulink url="&blfs-wiki;/nettle"/></para>
-
+      <ulink url="&blfs-wiki;/nettle"/>
+    </para>
   </sect2>
 
   <sect2 role="installation">
-    <title>Installation of nettle</title>
+    <title>Installation of Nettle</title>
 
-    <para>Install <application>nettle</application> by running the following
+    <para>Install <application>Nettle</application> by running the following
     commands:</para>
 
 <screen><userinput>./configure --prefix=/usr &&
 make</userinput></screen>
 
-    <para>To test the results, issue: <command>make check</command>.</para>
+    <para>
+      To test the results, issue: <command>make check</command>.
+    </para>
     
-    <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
 
 <screen role="root"><userinput>make install &&
+chmod -v 755 /usr/lib/libhogweed.so.2.2 /usr/lib/libnettle.so.4.2.2 &&
 install -v -m755 -d /usr/share/doc/nettle-&nettle-version; &&
 install -v -m644 nettle.html /usr/share/doc/nettle-&nettle-version;</userinput></screen>
 
   </sect2>
 
-  <sect2 role="commands">
-    <title>Command Explanations</title>
-
-    <para><option>--enable-shared</option>: This switch will ensure
-    that shared, as well as static, libraries will be built. If you
-    have linked the packages which use these libraries
-    (<application>gnutls</application> and
-    <application>glib-networking</application>, perhaps others) to the
-    shared libraries, and ever have to rebuild
-    <application>libnettle</application> to fix a vulnerability, you
-    will not have to recompile those other applications.</para>
-
-  </sect2>
-
   <sect2 role="content">
     <title>Contents</title>
 
     <segmentedlist>
       <segtitle>Installed Programs</segtitle>
-      <segtitle>Installed Library</segtitle>
-      <segtitle>Installed Directories</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directory</segtitle>
 
       <seglistitem>
-        <seg>nettle-hash, nettle-lfib-stream, pkcs1-conv, and sexp-conv</seg>
-        <seg>libhogweed.a and libnettle.a : optionally, libhogweed.so and
-        libnettle.so</seg>
-        <seg>/usr/include/nettle</seg>
+        <seg>
+          nettle-hash, nettle-lfib-stream, pkcs1-conv and sexp-conv
+        </seg>
+        <seg>
+          libhogweed.{so,a} and libnettle.{so,a}
+        </seg>
+        <seg>
+          /usr/include/nettle
+        </seg>
       </seglistitem>
     </segmentedlist>
 
@@ -119,7 +128,9 @@
       <varlistentry id="nettle-hash">
         <term><command>nettle-hash</command></term>
         <listitem>
-          <para>calulates a hash value using a specified algorithm.</para>
+          <para>
+            calulates a hash value using a specified algorithm.
+          </para>
           <indexterm zone="nettle nettle-hash">
             <primary sortas="b-nettle-hash">nettle-hash</primary>
           </indexterm>
@@ -129,10 +140,12 @@
       <varlistentry id="nettle-lfib-stream">
         <term><command>nettle-lfib-stream</command></term>
         <listitem>
-          <para>outputs a sequence of pseudorandom (non-cryptographic)  bytes,  
-          using Knuth's lagged fibonacci generator. The stream is useful for 
-          testing, but should not be used to generate cryptographic keys or anything  
-          else that needs real randomness.</para>
+          <para>
+            outputs a sequence of pseudorandom (non-cryptographic)  bytes, using
+            Knuth's lagged fibonacci generator. The stream is useful for testing,
+            but should not be used to generate cryptographic keys or anything  
+            else that needs real randomness.
+          </para>
           <indexterm zone="nettle nettle-lfib-stream">
             <primary sortas="b-nettle-lfib-stream">nettle-lfib-stream</primary>
           </indexterm>
@@ -142,8 +155,10 @@
       <varlistentry id="pkcs1-conv">
         <term><command>pkcs1-conv</command></term>
         <listitem>
-          <para>converts private and public RSA keys from PKCS #1 format  to
-           sexp format.</para>
+          <para>
+            converts private and public RSA keys from PKCS #1 format to
+            sexp format.
+          </para>
           <indexterm zone="nettle pkcs1-conv">
             <primary sortas="b-pkcs1-conv">pkcs1-conv</primary>
           </indexterm>
@@ -153,7 +168,9 @@
       <varlistentry id="sexp-conv">
         <term><command>sexp-conv</command></term>
         <listitem>
-          <para>converts an s-expression to a different encoding.</para>
+          <para>
+            converts an s-expression to a different encoding.
+          </para>
           <indexterm zone="nettle sexp-conv">
             <primary sortas="b-sexp-conv">sexp-conv</primary>
           </indexterm>




More information about the blfs-book mailing list