source: networking/netlibs/serf.xml@ 23b6848

12.0 12.1 12.2 gimp3 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/for-12.3 xry111/llvm18 xry111/spidermonkey128 xry111/xf86-video-removal
Last change on this file since 23b6848 was bb0a661, checked in by Bruce Dubbs <bdubbs@…>, 16 months ago

Update to serf-1.3.10.

  • Property mode set to 100644
File size: 6.0 KB
RevLine 
[299d5c54]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
[d5cddad]7 <!ENTITY serf-download-http "https://archive.apache.org/dist/serf/serf-&serf-version;.tar.bz2">
[299d5c54]8 <!ENTITY serf-download-ftp " ">
[bb0a661]9 <!ENTITY serf-md5sum "5320087299084c297eff8e1dacfab1af">
10 <!ENTITY serf-size "148 KB">
11 <!ENTITY serf-buildsize "2.4 MB">
[30f98dc]12 <!ENTITY serf-time "less than 0.1 SBU">
[299d5c54]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
[15445ab]36 &lfs113_checked;
[299d5c54]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>
[bb0a661]71<!--
[3d50d36]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>
[bb0a661]81-->
[299d5c54]82 <bridgehead renderas="sect3">Serf Dependencies</bridgehead>
83
84 <bridgehead renderas="sect4">Required</bridgehead>
85 <para role="required">
[94b42903]86 <xref linkend="apr-util"/> and
[1b35ce63]87 <xref linkend="scons"/>
[299d5c54]88 </para>
89
[d0b65e4]90 <bridgehead renderas="sect4">Optional</bridgehead>
91 <para role="optional">
92 <xref linkend="mitkrb"/>, for the GSSAPI
93 </para>
94
[299d5c54]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>
[bb0a661]102<!--
[3d50d36]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>
[bb0a661]109-->
[299d5c54]110 <para>
111 Install <application>Serf</application> by running the following
112 commands:
113 </para>
114
[fabeff7]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
[46491e5]119scons PREFIX=/usr</userinput></screen>
[bb0a661]120<!--
121sed -i "/ print/{s/print/print(/; s/$/)/}" SConstruct &amp;&amp;
122sed -i "/get_contents()/s/,/.decode()&amp;/" SConstruct &amp;&amp;
123-->
[299d5c54]124
[ba8f1a8]125<!-- I did not find this to be needed as of 1.3.9 -renodr
[299d5c54]126 <para>
[7f08245]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>
[ba8f1a8]132-->
[7f08245]133
[440647ab]134<!-- With Python 3, check.py is broken. It could be fixed, but since the
[48771ae]135 test suite hangs anyway...
[7f08245]136 <para>
[45f8102]137 To test the results, issue: <command>scons check</command>.
138 The tests currently will cause a hang.
[440647ab]139 </para>
140-->
141
142 <para>
[48771ae]143 This package does not come with a functional test suite.
[299d5c54]144 </para>
145
146 <para>
147 Now, as the <systemitem class="username">root</systemitem> user:
148 </para>
149
[b26bc4c]150<screen role="root"><userinput>scons PREFIX=/usr install</userinput></screen>
[1b35ce63]151
[299d5c54]152 </sect2>
153
154 <sect2 role="commands">
155 <title>Command Explanations</title>
156
[1b35ce63]157 <para>
[5bff14ac]158 <command>sed -i "..."</command>: The first command removes the runtime
[9c93f095]159 path from a shared library and the next two commands disable building and
[bb0a661]160 installing of the static library. <!--The fourth command corrects for
[440647ab]161 changes in scons-3.x. The last command allows to use <application>
[bb0a661]162 Python 3</application>.-->
[f3429309]163 </para>
[299d5c54]164
[d0b65e4]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
[299d5c54]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>
[4c24eb0a]202 contains the <application>Serf</application> API functions
[299d5c54]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.