source: networking/netlibs/nghttp2.xml@ d6d0a2cb

10.0 10.1 11.0 8.4 9.0 9.1 bdubbs/svn elogind ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since d6d0a2cb was d6d0a2cb, checked in by Douglas R. Reno <renodr@…>, 3 years ago

Add Jansson

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20535 af4574ff-66df-0310-9fd7-8a98e5e911e0

  • Property mode set to 100644
File size: 6.2 KB
Line 
1<?xml version="1.0" encoding="ISO-8859-1"?>
2<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
3 "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
4 <!ENTITY % general-entities SYSTEM "../../general.ent">
5 %general-entities;
6
7 <!ENTITY nghttp2-download-http "https://github.com/nghttp2/nghttp2/releases/download/v&nghttp2-version;/nghttp2-&nghttp2-version;.tar.xz">
8 <!ENTITY nghttp2-download-ftp " ">
9 <!ENTITY nghttp2-md5sum "20b35b896c06a7f0027ee553d7a91278">
10 <!ENTITY nghttp2-size "1.5 MB">
11 <!ENTITY nghttp2-buildsize "16 MB">
12 <!ENTITY nghttp2-time "0.1 SBU">
13]>
14
15<sect1 id="nghttp2" xreflabel="nghttp2-&nghttp2-version;">
16 <?dbhtml filename="nghttp2.html"?>
17
18 <sect1info>
19 <othername>$LastChangedBy$</othername>
20 <date>$Date$</date>
21 </sect1info>
22
23 <title>nghttp2-&nghttp2-version;</title>
24
25 <indexterm zone="nghttp2">
26 <primary sortas="a-nghttp2">nghttp2</primary>
27 </indexterm>
28
29 <sect2 role="package">
30 <title>Introduction to nghttp2</title>
31
32 <para>
33 <application>nghttp2</application> is an implementation of HTTP/2 and
34 its header compression algorithm, HPACK.
35 </para>
36
37 &lfs83_checked;
38
39 <bridgehead renderas="sect3">Package Information</bridgehead>
40 <itemizedlist spacing="compact">
41 <listitem>
42 <para>
43 Download (HTTP): <ulink url="&nghttp2-download-http;"/>
44 </para>
45 </listitem>
46 <listitem>
47 <para>
48 Download (FTP): <ulink url="&nghttp2-download-ftp;"/>
49 </para>
50 </listitem>
51 <listitem>
52 <para>
53 Download MD5 sum: &nghttp2-md5sum;
54 </para>
55 </listitem>
56 <listitem>
57 <para>
58 Download size: &nghttp2-size;
59 </para>
60 </listitem>
61 <listitem>
62 <para>
63 Estimated disk space required: &nghttp2-buildsize;
64 </para>
65 </listitem>
66 <listitem>
67 <para>
68 Estimated build time: &nghttp2-time;
69 </para>
70 </listitem>
71 </itemizedlist>
72<!--
73 <note><para>Download this file via wget as:</para>
74<screen><userinput>wget https://github.com/nghttp2/nghttp2/archive/v&nghttp2-version;.tar.gz \
75 -O nghttp2-&nghttp2-version;.tar.gz</userinput></screen>
76 </note>
77-->
78 <bridgehead renderas="sect3">nghttp2 Dependencies</bridgehead>
79
80 <bridgehead renderas="sect4">Recommended</bridgehead>
81 <para role="required">
82 <xref linkend="libxml2"/>
83 </para>
84
85 <bridgehead renderas="sect4">Optional</bridgehead>
86 <para role="optional">
87 <xref linkend="boost"/>, <!--required for the C++ asio library)-->
88 <xref linkend="jansson"/>, <!-- required to build the HPACK tools -->
89 <xref linkend="libevent"/>, <!--required to build the examples-->
90 <xref linkend="python2"/>, <!--required for the python bindings)-->
91<!--- <phrase revision="systemd">
92 <xref linkend="setuptools"/>, <!- -(required for the python bindings- ->
93 </phrase> -->
94 <ulink url="http://cunit.sourceforge.net/">CUnit</ulink> (required for
95 the testsuite),
96 <ulink url="http://cython.org/">Cython</ulink>, <!--required for the
97 python bindings-->
98<!-- <ulink url="http://www.digip.org/jansson/">Jansson</ulink>, <!- -required
99 to build the HPACK tools-->
100 <ulink url="http://www.canonware.com/jemalloc/">jemalloc</ulink>,
101 <!--required for the example HTTP server-->
102 <ulink url="http://software.schmorp.de/pkg/libev.html">libev</ulink>,
103 <!--required to build the applications-->
104 <ulink url="https://mruby.org/">mruby</ulink>, <!--provides ruby support
105 in the sample HTTP server-->
106<!-- <phrase revision="sysv">
107 <ulink url="https://pypi.python.org/pypi/setuptools/">Setuptools</ulink>,
108 </phrase> -->
109 <ulink url="https://tatsuhiro-t.github.io/spdylay/">Spdylay</ulink>, and
110 <!--provide SPDY functionality-->
111 <ulink url="http://sphinx-doc.org/">Sphinx</ulink>. <!--required to build
112 documentation-->
113 </para>
114
115 <para condition="html" role="usernotes">
116 User Notes: <ulink url="&blfs-wiki;/nghttp2"/>
117 </para>
118 </sect2>
119
120 <sect2 role="installation">
121 <title>Installation of nghttp2</title>
122
123 <para>
124 Install <application>nghttp2</application> by running the following
125 commands:
126 </para>
127
128<screen><userinput>./configure --prefix=/usr \
129 --disable-static \
130 --enable-lib-only \
131 --docdir=/usr/share/doc/nghttp2-&nghttp2-version; &amp;&amp;
132make</userinput></screen>
133
134 <para>
135 This package does not come with a usable test suite.
136 </para>
137
138 <para>
139 Now, as the <systemitem class="username">root</systemitem> user:
140 </para>
141
142<screen role="root"><userinput>make install</userinput></screen>
143
144 </sect2>
145
146 <sect2 role="commands">
147 <title>Command Explanations</title>
148
149 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
150 href="../../xincludes/static-libraries.xml"/>
151
152 <para>
153 <parameter>--enable-lib-only</parameter>: only build libnghttp2. Omit
154 this switch if you'd like to build the example applications, Python
155 bindings, or the C++ asio library.
156 </para>
157
158 </sect2>
159
160 <sect2 role="content">
161 <title>Contents</title>
162
163 <segmentedlist>
164 <segtitle>Installed Programs</segtitle>
165 <segtitle>Installed Libraries</segtitle>
166 <segtitle>Installed Directories</segtitle>
167
168 <seglistitem>
169 <seg>
170 None
171 </seg>
172 <seg>
173 libnghttp2.so
174 </seg>
175 <seg>
176 /usr/include/nghttp2
177 </seg>
178 </seglistitem>
179 </segmentedlist>
180
181 <variablelist>
182 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
183 <?dbfo list-presentation="list"?>
184 <?dbhtml list-presentation="table"?>
185
186 <varlistentry id="libnghttp2">
187 <term><filename class="libraryfile">libnghttp2.so</filename></term>
188 <listitem>
189 <para>
190 an implementation of the Hypertext Transfer Protocol version 2 in C.
191 </para>
192 <indexterm zone="nghttp2 libnghttp2">
193 <primary sortas="c-libnghttp2">libnghttp2.so</primary>
194 </indexterm>
195 </listitem>
196 </varlistentry>
197
198 </variablelist>
199
200 </sect2>
201
202</sect1>
Note: See TracBrowser for help on using the repository browser.