source: networking/netlibs/serf.xml@ 066d29d1

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 066d29d1 was bb0a661, checked in by Bruce Dubbs <bdubbs@…>, 13 months ago

Update to serf-1.3.10.

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