source: networking/netlibs/serf.xml@ fdb76cd

11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since fdb76cd was 8558044, checked in by Pierre Labastie <pierre.labastie@…>, 3 years ago

Remove spaces at the end of lines

I know it is somewhat useless, but I don't like them for
two reasons: first they cannot be seen, and I do not like things I
cannot see. Second, git highlights them, and this is disturbing...

  • Property mode set to 100644
File size: 5.5 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 serf-download-http "https://archive.apache.org/dist/serf/serf-&serf-version;.tar.bz2">
8 <!ENTITY serf-download-ftp " ">
9 <!ENTITY serf-md5sum "370a6340ff20366ab088012cd13f2b57">
10 <!ENTITY serf-size "144 KB">
11 <!ENTITY serf-buildsize "3.2 MB">
12 <!ENTITY serf-time "less than 0.1 SBU">
13]>
14
15<sect1 id="serf" xreflabel="Serf-&serf-version;">
16 <?dbhtml filename="serf.html"?>
17
18 <sect1info>
19 <date>$Date$</date>
20 </sect1info>
21
22 <title>Serf-&serf-version;</title>
23
24 <indexterm zone="serf">
25 <primary sortas="a-Serf">Serf</primary>
26 </indexterm>
27
28 <sect2 role="package">
29 <title>Introduction to Serf</title>
30
31 <para>
32 The <application>Serf</application> package contains a C-based HTTP client
33 library built upon the Apache Portable Runtime (APR) library. It
34 multiplexes connections, running the read/write communication asynchronously.
35 Memory copies and transformations are kept to a minimum to provide high
36 performance operation.
37 </para>
38
39 &lfs110a_checked;
40
41 <bridgehead renderas="sect3">Package Information</bridgehead>
42 <itemizedlist spacing="compact">
43 <listitem>
44 <para>
45 Download (HTTP): <ulink url="&serf-download-http;"/>
46 </para>
47 </listitem>
48 <listitem>
49 <para>
50 Download (FTP): <ulink url="&serf-download-ftp;"/>
51 </para>
52 </listitem>
53 <listitem>
54 <para>
55 Download MD5 sum: &serf-md5sum;
56 </para>
57 </listitem>
58 <listitem>
59 <para>
60 Download size: &serf-size;
61 </para>
62 </listitem>
63 <listitem>
64 <para>
65 Estimated disk space required: &serf-buildsize;
66 </para>
67 </listitem>
68 <listitem>
69 <para>
70 Estimated build time: &serf-time;
71 </para>
72 </listitem>
73 </itemizedlist>
74
75 <bridgehead renderas="sect3">Serf Dependencies</bridgehead>
76
77 <bridgehead renderas="sect4">Required</bridgehead>
78 <para role="required">
79 <xref linkend="apr-util"/> and
80 <xref linkend="scons"/>
81 </para>
82
83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <xref linkend="mitkrb"/>, for the GSSAPI
86 </para>
87
88 <para condition="html" role="usernotes">
89 User Notes: <ulink url="&blfs-wiki;/serf"/>
90 </para>
91 </sect2>
92
93 <sect2 role="installation">
94 <title>Installation of Serf</title>
95
96 <para>
97 Install <application>Serf</application> by running the following
98 commands:
99 </para>
100
101<screen><userinput>sed -i "/Append/s:RPATH=libdir,::" SConstruct &amp;&amp;
102sed -i "/Default/s:lib_static,::" SConstruct &amp;&amp;
103sed -i "/Alias/s:install_static,::" SConstruct &amp;&amp;
104sed -i "/ print/{s/print/print(/; s/$/)/}" SConstruct &amp;&amp;
105sed -i "/get_contents()/s/,/.decode()&amp;/" SConstruct &amp;&amp;
106
107scons PREFIX=/usr</userinput></screen>
108
109<!-- I did not find this to be needed as of 1.3.9 -renodr
110 <para>
111 If you wish to run the test suite, fix one file:
112 </para>
113
114<screen><userinput>sed -i test/test_buckets.c \
115 -e 's://\( buf_size = orig_len + (orig_len / 1000) + 12;\):/\*\1\ */:'</userinput></screen>
116-->
117
118<!-- With Python 3, check.py is broken. It could be fixed, but since the
119 testsuite hangs anyway...
120 <para>
121 To test the results, issue: <command>scons check</command>.
122 The tests currently will cause a hang.
123 </para>
124-->
125
126 <para>
127 This package does not come with a functional testsuite.
128 </para>
129
130 <para>
131 Now, as the <systemitem class="username">root</systemitem> user:
132 </para>
133
134<screen role="root"><userinput>scons PREFIX=/usr install</userinput></screen>
135
136 </sect2>
137
138 <sect2 role="commands">
139 <title>Command Explanations</title>
140
141 <para>
142 <command>sed -i "..."</command>: The first command removes the runtime
143 path from a shared library and the next two commands disable building and
144 installing of the static library. The fourth command corrects for
145 changes in scons-3.x. The last command allows to use <application>
146 Python 3</application>.
147 </para>
148
149 <para>
150 <option>GSSAPI=/usr</option>: Use this switch if you have installed a
151 GSSAPI library and you want <application>serf</application> to use it.
152 </para>
153
154 </sect2>
155
156 <sect2 role="content">
157 <title>Contents</title>
158
159 <segmentedlist>
160 <segtitle>Installed Programs</segtitle>
161 <segtitle>Installed Library</segtitle>
162 <segtitle>Installed Directory</segtitle>
163
164 <seglistitem>
165 <seg>
166 None
167 </seg>
168 <seg>
169 libserf-1.so
170 </seg>
171 <seg>
172 /usr/include/serf-1
173 </seg>
174 </seglistitem>
175 </segmentedlist>
176
177 <variablelist>
178 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
179 <?dbfo list-presentation="list"?>
180 <?dbhtml list-presentation="table"?>
181
182 <varlistentry id="libserf-1">
183 <term><filename class="libraryfile">libserf-1.so</filename></term>
184 <listitem>
185 <para>
186 contains the <application>Serf</application> API functions
187 </para>
188 <indexterm zone="serf libserf-1">
189 <primary sortas="c-libserf-1">libserf-1.so</primary>
190 </indexterm>
191 </listitem>
192 </varlistentry>
193
194 </variablelist>
195
196 </sect2>
197
198</sect1>
Note: See TracBrowser for help on using the repository browser.