source: networking/netlibs/serf.xml@ 20a35ab

11.0 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 20a35ab was 20a35ab, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tags

  • Property mode set to 100644
File size: 5.5 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 " ">
[ba8f1a8]9 <!ENTITY serf-md5sum "370a6340ff20366ab088012cd13f2b57">
10 <!ENTITY serf-size "144 KB">
[30f98dc]11 <!ENTITY serf-buildsize "3.2 MB">
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 <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
[20a35ab]39 &lfs110a_checked;
[299d5c54]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">
[94b42903]79 <xref linkend="apr-util"/> and
[1b35ce63]80 <xref linkend="scons"/>
[299d5c54]81 </para>
82
[d0b65e4]83 <bridgehead renderas="sect4">Optional</bridgehead>
84 <para role="optional">
85 <xref linkend="mitkrb"/>, for the GSSAPI
86 </para>
87
[299d5c54]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
[fabeff7]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;
[440647ab]105sed -i "/get_contents()/s/,/.decode()&amp;/" SConstruct &amp;&amp;
[fabeff7]106
[46491e5]107scons PREFIX=/usr</userinput></screen>
[299d5c54]108
[ba8f1a8]109<!-- I did not find this to be needed as of 1.3.9 -renodr
[299d5c54]110 <para>
[7f08245]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>
[ba8f1a8]116-->
[7f08245]117
[440647ab]118<!-- With Python 3, check.py is broken. It could be fixed, but since the
119 testsuite hangs anyway...
[7f08245]120 <para>
[45f8102]121 To test the results, issue: <command>scons check</command>.
122 The tests currently will cause a hang.
[440647ab]123 </para>
124-->
125
126 <para>
127 This package does not come with a functional testsuite.
[299d5c54]128 </para>
129
130 <para>
131 Now, as the <systemitem class="username">root</systemitem> user:
132 </para>
133
[b26bc4c]134<screen role="root"><userinput>scons PREFIX=/usr install</userinput></screen>
[1b35ce63]135
[299d5c54]136 </sect2>
137
138 <sect2 role="commands">
139 <title>Command Explanations</title>
140
[1b35ce63]141 <para>
[5bff14ac]142 <command>sed -i "..."</command>: The first command removes the runtime
[9c93f095]143 path from a shared library and the next two commands disable building and
[440647ab]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>.
[f3429309]147 </para>
[299d5c54]148
[d0b65e4]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
[299d5c54]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>
[4c24eb0a]186 contains the <application>Serf</application> API functions
[299d5c54]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.