source: networking/netlibs/serf.xml@ ba8f1a8

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.0 8.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 nosym 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 ba8f1a8 was ba8f1a8, checked in by Douglas R. Reno <renodr@…>, 8 years ago

Update to cups-filters-1.11.2
Update to gsl-2.2.1
Update to harfbuzz-1.3.1
Update to pango-1.40.2
Update to PyYAML-3.12
Update to serf-1.3.9

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17748 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<!-- This link does not work presently (as of February 16th, 2014), but the
8 next one may have to be updated soon.
9 <!ENTITY serf-download-http "https://serf.googlecode.com/files/serf-&serf-version;.tar.bz2">-->
10 <!ENTITY serf-download-http "https://archive.apache.org/dist/serf/serf-&serf-version;.tar.bz2">
11 <!ENTITY serf-download-ftp " ">
12 <!ENTITY serf-md5sum "370a6340ff20366ab088012cd13f2b57">
13 <!ENTITY serf-size "144 KB">
14 <!ENTITY serf-buildsize "3.2 MB (additional 3 MB for the tests)">
15 <!ENTITY serf-time "less than 0.1 SBU (additional 0.5 SBU for the tests)">
16]>
17
18<sect1 id="serf" xreflabel="Serf-&serf-version;">
19 <?dbhtml filename="serf.html"?>
20
21 <sect1info>
22 <othername>$LastChangedBy$</othername>
23 <date>$Date$</date>
24 </sect1info>
25
26 <title>Serf-&serf-version;</title>
27
28 <indexterm zone="serf">
29 <primary sortas="a-Serf">Serf</primary>
30 </indexterm>
31
32 <sect2 role="package">
33 <title>Introduction to Serf</title>
34
35 <para>
36 The <application>Serf</application> package contains a C-based HTTP client
37 library built upon the Apache Portable Runtime (APR) library. It
38 multiplexes connections, running the read/write communication asynchronously.
39 Memory copies and transformations are kept to a minimum to provide high
40 performance operation.
41 </para>
42
43 &lfs7a_checked;
44
45 <bridgehead renderas="sect3">Package Information</bridgehead>
46 <itemizedlist spacing="compact">
47 <listitem>
48 <para>
49 Download (HTTP): <ulink url="&serf-download-http;"/>
50 </para>
51 </listitem>
52 <listitem>
53 <para>
54 Download (FTP): <ulink url="&serf-download-ftp;"/>
55 </para>
56 </listitem>
57 <listitem>
58 <para>
59 Download MD5 sum: &serf-md5sum;
60 </para>
61 </listitem>
62 <listitem>
63 <para>
64 Download size: &serf-size;
65 </para>
66 </listitem>
67 <listitem>
68 <para>
69 Estimated disk space required: &serf-buildsize;
70 </para>
71 </listitem>
72 <listitem>
73 <para>
74 Estimated build time: &serf-time;
75 </para>
76 </listitem>
77 </itemizedlist>
78
79 <bridgehead renderas="sect3">Serf Dependencies</bridgehead>
80
81 <bridgehead renderas="sect4">Required</bridgehead>
82 <para role="required">
83 <xref linkend="apr-util"/>,
84 <xref linkend="openssl"/>, and
85 <xref linkend="scons"/>
86 </para>
87
88 <bridgehead renderas="sect4">Optional</bridgehead>
89 <para role="optional">
90 <xref linkend="mitkrb"/>, for the GSSAPI
91 </para>
92
93 <para condition="html" role="usernotes">
94 User Notes: <ulink url="&blfs-wiki;/serf"/>
95 </para>
96 </sect2>
97
98 <sect2 role="installation">
99 <title>Installation of Serf</title>
100
101 <para>
102 Install <application>Serf</application> by running the following
103 commands:
104 </para>
105
106<screen><userinput>sed -i "/Append/s:RPATH=libdir,::" SConstruct &amp;&amp;
107sed -i "/Default/s:lib_static,::" SConstruct &amp;&amp;
108sed -i "/Alias/s:install_static,::" SConstruct &amp;&amp;
109scons PREFIX=/usr</userinput></screen>
110
111<!-- I did not find this to be needed as of 1.3.9 -renodr
112 <para>
113 If you wish to run the test suite, fix one file:
114 </para>
115
116<screen><userinput>sed -i test/test_buckets.c \
117 -e 's://\( buf_size = orig_len + (orig_len / 1000) + 12;\):/\*\1\ */:'</userinput></screen>
118-->
119
120 <para>
121 To test the results, issue: <command>scons check</command>. <!-- With above
122 fix, 1 out of 65 tests still fails for unknown reasons. -->
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.
140 </para>
141
142 <para>
143 <option>GSSAPI=/usr</option>: Use this switch if you have installed a
144 GSSAPI library and you want <application>serf</application> to use it.
145 </para>
146
147 </sect2>
148
149 <sect2 role="content">
150 <title>Contents</title>
151
152 <segmentedlist>
153 <segtitle>Installed Programs</segtitle>
154 <segtitle>Installed Library</segtitle>
155 <segtitle>Installed Directory</segtitle>
156
157 <seglistitem>
158 <seg>
159 None
160 </seg>
161 <seg>
162 libserf-1.so
163 </seg>
164 <seg>
165 /usr/include/serf-1
166 </seg>
167 </seglistitem>
168 </segmentedlist>
169
170 <variablelist>
171 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
172 <?dbfo list-presentation="list"?>
173 <?dbhtml list-presentation="table"?>
174
175 <varlistentry id="libserf-1">
176 <term><filename class="libraryfile">libserf-1.so</filename></term>
177 <listitem>
178 <para>
179 contains the <application>Serf</application> API functions.
180 </para>
181 <indexterm zone="serf libserf-1">
182 <primary sortas="c-libserf-1">libserf-1.so</primary>
183 </indexterm>
184 </listitem>
185 </varlistentry>
186
187 </variablelist>
188
189 </sect2>
190
191</sect1>
Note: See TracBrowser for help on using the repository browser.