source: networking/netlibs/nghttp2.xml@ 10af883

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 10af883 was 8bc3eda0, checked in by Bruce Dubbs <bdubbs@…>, 13 months ago

Update to nghttp2-1.53.0.

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