source: networking/netlibs/nghttp2.xml@ 5f3bda7

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 5f3bda7 was 5f3bda7, checked in by Xi Ruoyao <xry111@…>, 11 months ago

network: Remove non-exist User Notes link

Part of User Notes removal by
https://www.linuxfromscratch.org/~xry111/remove-nonexist-usernote.sh

  • Property mode set to 100644
File size: 5.7 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 "8833c8ff79b328711079cb3e34a6e4ff">
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 </sect2>
104
105 <sect2 role="installation">
106 <title>Installation of nghttp2</title>
107
108 <para>
109 Install <application>nghttp2</application> by running the following
110 commands:
111 </para>
112
113<screen><userinput>./configure --prefix=/usr \
114 --disable-static \
115 --enable-lib-only \
116 --docdir=/usr/share/doc/nghttp2-&nghttp2-version; &amp;&amp;
117make</userinput></screen>
118
119 <para>
120 The test suite needs CUnit, which is beyond the scope of BLFS.
121 </para>
122
123 <para>
124 Now, as the <systemitem class="username">root</systemitem> user:
125 </para>
126
127<screen role="root"><userinput>make install</userinput></screen>
128
129 </sect2>
130
131 <sect2 role="commands">
132 <title>Command Explanations</title>
133
134 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
135 href="../../xincludes/static-libraries.xml"/>
136
137 <para>
138 <parameter>--enable-lib-only</parameter>: only build libnghttp2. Omit
139 this switch if you'd like to build the example applications, Python
140 bindings, or the C++ asio library.
141 </para>
142
143 </sect2>
144
145 <sect2 role="content">
146 <title>Contents</title>
147
148 <segmentedlist>
149 <segtitle>Installed Programs</segtitle>
150 <segtitle>Installed Libraries</segtitle>
151 <segtitle>Installed Directories</segtitle>
152
153 <seglistitem>
154 <seg>
155 None
156 </seg>
157 <seg>
158 libnghttp2.so
159 </seg>
160 <seg>
161 /usr/include/nghttp2,
162 /usr/share/nghttp2, and
163 /usr/share/doc/nghttp2-&nghttp2-version;
164 </seg>
165 </seglistitem>
166 </segmentedlist>
167
168 <variablelist>
169 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
170 <?dbfo list-presentation="list"?>
171 <?dbhtml list-presentation="table"?>
172
173 <varlistentry id="libnghttp2">
174 <term><filename class="libraryfile">libnghttp2.so</filename></term>
175 <listitem>
176 <para>
177 an implementation of the Hypertext Transfer Protocol version 2 in C
178 </para>
179 <indexterm zone="nghttp2 libnghttp2">
180 <primary sortas="c-libnghttp2">libnghttp2.so</primary>
181 </indexterm>
182 </listitem>
183 </varlistentry>
184
185 </variablelist>
186
187 </sect2>
188
189</sect1>
Note: See TracBrowser for help on using the repository browser.