source: networking/netlibs/serf.xml@ af451f4

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 af451f4 was fabeff7, checked in by Bruce Dubbs <bdubbs@…>, 7 years ago

Update to scons-3.0.0.
Update to mercurial-4.3.2.
Update to shared-mime-info-1.9.
Update to six-1.11.0 (Python module).
Update to pycairo-1.15.3 (python module).
Update to iso-codes-3.76.
Update to python2-2.7.14.
Update to enchant-2.1.1.

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@19274 af4574ff-66df-0310-9fd7-8a98e5e911e0

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