Author: dj
Date: Sat Sep 17 16:17:33 2016
New Revision: 17773

Log:
Add nghttp2. Fixes #8229.

Added:
   trunk/BOOK/networking/netlibs/nghttp2.xml   (contents, props changed)
Modified:
   trunk/BOOK/introduction/welcome/changelog.xml
   trunk/BOOK/networking/netlibs/curl.xml
   trunk/BOOK/networking/netlibs/netlibs.xml
   trunk/BOOK/packages.ent
   trunk/BOOK/server/major/apache.xml

Modified: trunk/BOOK/introduction/welcome/changelog.xml
==============================================================================
--- trunk/BOOK/introduction/welcome/changelog.xml       Sat Sep 17 13:30:34 
2016        (r17772)
+++ trunk/BOOK/introduction/welcome/changelog.xml       Sat Sep 17 16:17:33 
2016        (r17773)
@@ -51,6 +51,10 @@
           libsysstat library installed in $LXQT_PREFIX/lib instead of lib64.
           Fixes <ulink url="&blfs-ticket-root;8311">#8311</ulink>.</para>
         </listitem>
+        <listitem>
+          <para>[dj] - Added nghttp2-1.14.1. Fixes
+          <ulink url="&blfs-ticket-root;8229">#8229</ulink>.</para>
+        </listitem>
       </itemizedlist>
     </listitem>
 

Modified: trunk/BOOK/networking/netlibs/curl.xml
==============================================================================
--- trunk/BOOK/networking/netlibs/curl.xml      Sat Sep 17 13:30:34 2016        
(r17772)
+++ trunk/BOOK/networking/netlibs/curl.xml      Sat Sep 17 16:17:33 2016        
(r17773)
@@ -86,6 +86,7 @@
     <para role="optional">
       <xref linkend="libidn"/>,
       <xref linkend="mitkrb"/>,
+      <xref linkend="nghttp2"/>,
       <xref linkend="openldap"/>,
       <xref linkend="samba"/>,
       <ulink url="http://daniel.haxx.se/projects/c-ares/";>c-ares</ulink>,
@@ -93,7 +94,6 @@
       <ulink url="https://github.com/rockdaboot/libpsl";>libpsl</ulink>,
       <ulink url="http://rtmpdump.mplayerhq.hu/";>librtmp</ulink>,
       <ulink url="http://www.libssh2.org";>libssh2</ulink>,
-      <ulink url="https://nghttp2.org/";>nghttp2</ulink>,
       <ulink url="https://tls.mbed.org/";>mbed TLS (formerly known as
       PolarSSL)</ulink>, and
       <ulink url="http://spnego.sourceforge.net/";>

Modified: trunk/BOOK/networking/netlibs/netlibs.xml
==============================================================================
--- trunk/BOOK/networking/netlibs/netlibs.xml   Sat Sep 17 13:30:34 2016        
(r17772)
+++ trunk/BOOK/networking/netlibs/netlibs.xml   Sat Sep 17 16:17:33 2016        
(r17773)
@@ -36,6 +36,7 @@
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="libsoup.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="libtirpc.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="neon.xml"/>
+  <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="nghttp2.xml"/>
   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"; href="serf.xml"/>
 
   <!-- systemd only -->

Added: trunk/BOOK/networking/netlibs/nghttp2.xml
==============================================================================
--- /dev/null   00:00:00 1970   (empty, because file is newly added)
+++ trunk/BOOK/networking/netlibs/nghttp2.xml   Sat Sep 17 16:17:33 2016        
(r17773)
@@ -0,0 +1,192 @@
+<?xml version="1.0" encoding="ISO-8859-1"?>
+<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
+   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd"; [
+  <!ENTITY % general-entities SYSTEM "../../general.ent">
+  %general-entities;
+
+  <!ENTITY nghttp2-download-http
+           
"https://github.com/nghttp2/nghttp2/releases/download/v&nghttp2-version;/nghttp2-&nghttp2-version;.tar.bz2";>
+  <!ENTITY nghttp2-download-ftp " ">
+  <!ENTITY nghttp2-md5sum        "aae232d0e20782f32f19a46f23dff7e0">
+  <!ENTITY nghttp2-size          "1.7 MB">
+  <!ENTITY nghttp2-buildsize     "16 MB">
+  <!ENTITY nghttp2-time          "0.1 SBU">
+]>
+
+<sect1 id="nghttp2" xreflabel="nghttp2-&nghttp2-version;">
+  <?dbhtml filename="nghttp2.html"?>
+
+  <sect1info>
+    <othername>$LastChangedBy$</othername>
+    <date>$Date$</date>
+  </sect1info>
+
+  <title>nghttp2-&nghttp2-version;</title>
+
+  <indexterm zone="nghttp2">
+    <primary sortas="a-nghttp2">nghttp2</primary>
+  </indexterm>
+
+  <sect2 role="package">
+    <title>Introduction to nghttp2</title>
+
+    <para>
+      <application>nghttp2</application> is an implementation of HTTP/2 and
+      its header compression algorithm, HPACK.
+    </para>
+
+    &lfs7a_checked;
+
+    <bridgehead renderas="sect3">Package Information</bridgehead>
+    <itemizedlist spacing="compact">
+      <listitem>
+        <para>
+          Download (HTTP): <ulink url="&nghttp2-download-http;"/>
+        </para>
+      </listitem>
+<!--      <listitem>
+        <para>
+          Download (FTP): <ulink url="&nghttp2-download-ftp;"/>
+        </para>
+      </listitem> -->
+      <listitem>
+        <para>
+          Download MD5 sum: &nghttp2-md5sum;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Download size: &nghttp2-size;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated disk space required: &nghttp2-buildsize;
+        </para>
+      </listitem>
+      <listitem>
+        <para>
+          Estimated build time: &nghttp2-time;
+        </para>
+      </listitem>
+    </itemizedlist>
+
+    <bridgehead renderas="sect3">nghttp2 Dependencies</bridgehead>
+
+    <bridgehead renderas="sect4">Recommended</bridgehead>
+    <para role="required">
+      <xref linkend="libxml2"/>
+    </para>
+
+    <bridgehead renderas="sect4">Optional</bridgehead>
+    <para role="optional">
+      <xref linkend="boost"/>, <!--required for the C++ asio library)-->
+      <xref linkend="python2"/>, <!--required for the python bindings)-->
+      <xref linkend="setuptools"/>, <!--(required for the python bindings-->
+      <ulink url="http://cunit.sourceforge.net/";>CUnit</ulink> (required for
+      the testsuite),
+      <ulink url="http://cython.org/";>Cython</ulink>, <!--required for the
+      python bindings-->
+      <ulink url="http://www.digip.org/jansson/";>Jansson</ulink>, <!--required
+      to build the HPACK tools-->
+      <ulink url="http://www.canonware.com/jemalloc/";>jemalloc</ulink>,
+      <!--required for the example HTTP server-->
+      <ulink url="http://software.schmorp.de/pkg/libev.html";>libev</ulink>,
+      <!--required to build the applications-->
+      <ulink url="http://libevent.org/";>libevent</ulink>, <!--required to build
+      the examples-->
+      <ulink url="https://mruby.org/";>mruby</ulink>, <!--provides ruby support
+      in the sample HTTP server-->
+      <ulink url="https://tatsuhiro-t.github.io/spdylay/";>Spdylay</ulink>, and
+      <!--provide SPDY functionality-->
+      <ulink url="http://sphinx-doc.org/";>Sphinx</ulink>. <!--required to build
+      documentation-->
+    </para>
+
+    <para condition="html" role="usernotes">
+      User Notes: <ulink url="&blfs-wiki;/nghttp2"/>
+    </para>
+  </sect2>
+
+  <sect2 role="installation">
+    <title>Installation of nghttp2</title>
+
+    <para>
+      Install <application>nghttp2</application> by running the following
+      commands:
+    </para>
+
+<screen><userinput>./configure --prefix=/usr    \
+            --disable-static \
+            --enable-lib-only &amp;&amp;
+make</userinput></screen>
+
+    <para>
+      This package does not come with a usable test suite.
+    </para>
+
+    <para>
+      Now, as the <systemitem class="username">root</systemitem> user:
+    </para>
+
+<screen role="root"><userinput>make install</userinput></screen>
+
+  </sect2>
+
+  <sect2 role="commands">
+    <title>Command Explanations</title>
+
+   <xi:include xmlns:xi="http://www.w3.org/2001/XInclude";
+      href="../../xincludes/static-libraries.xml"/>
+
+    <para>
+      <parameter>--enable-lib-only</parameter>: only build libnghttp2. Omit
+      this switch if you'd like to build the example applications, Python
+      bindings, or the C++ asio library.
+    </para>
+
+  </sect2>
+
+  <sect2 role="content">
+    <title>Contents</title>
+
+    <segmentedlist>
+      <segtitle>Installed Programs</segtitle>
+      <segtitle>Installed Libraries</segtitle>
+      <segtitle>Installed Directories</segtitle>
+
+      <seglistitem>
+        <seg>
+          None
+        </seg>
+        <seg>
+          libnghttp2.so.14.10.1
+        </seg>
+        <seg>
+          /usr/include/nghttp2
+        </seg>
+      </seglistitem>
+    </segmentedlist>
+
+    <variablelist>
+      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
+      <?dbfo list-presentation="list"?>
+      <?dbhtml list-presentation="table"?>
+
+      <varlistentry id="libnghttp2">
+        <term><filename 
class="libraryfile">libnghttp2.so.14.10.1</filename></term>
+        <listitem>
+          <para>
+            an implementation of the Hypertext Transfer Protocol version 2 in 
C.
+          </para>
+          <indexterm zone="nghttp2 libnghttp2">
+            <primary sortas="c-libnghttp2">libnghttp2.so.14.10.1</primary>
+          </indexterm>
+        </listitem>
+      </varlistentry>
+
+    </variablelist>
+
+  </sect2>
+
+</sect1>

Modified: trunk/BOOK/packages.ent
==============================================================================
--- trunk/BOOK/packages.ent     Sat Sep 17 13:30:34 2016        (r17772)
+++ trunk/BOOK/packages.ent     Sat Sep 17 16:17:33 2016        (r17773)
@@ -427,6 +427,7 @@
 <!ENTITY libsoup-version              "2.54.1">
 <!ENTITY libtirpc-version             "1.0.1">
 <!ENTITY neon-version                 "0.30.1">
+<!ENTITY nghttp2-version              "1.14.1">
 <!ENTITY serf-version                 "1.3.9">
 <!ENTITY uhttpmock-version            "0.5.0">
 

Modified: trunk/BOOK/server/major/apache.xml
==============================================================================
--- trunk/BOOK/server/major/apache.xml  Sat Sep 17 13:30:34 2016        (r17772)
+++ trunk/BOOK/server/major/apache.xml  Sat Sep 17 16:17:33 2016        (r17773)
@@ -103,6 +103,7 @@
       <xref linkend="lynx"/> or
       <xref linkend="Links"/> or
       <ulink url="http://elinks.or.cz/";>ELinks</ulink>,
+      <xref linkend="nghttp2"/>,
       <xref linkend="openldap"/> (<xref linkend="apr-util"/> needs to be
       installed with ldap suport),
       <xref linkend="rsync"/>,
-- 
http://lists.linuxfromscratch.org/listinfo/blfs-book
FAQ: http://www.linuxfromscratch.org/blfs/faq.html
Unsubscribe: See the above information page

Reply via email to