source: networking/netlibs/serf.xml@ f113369

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 7.10 7.6 7.6-blfs 7.6-systemd 7.7 7.8 7.9 8.0 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind gnome kde5-13430 kde5-14269 kde5-14686 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts krejzi/svn lazarus lxqt nosym perl-modules plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition systemd-11177 systemd-13485 trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since f113369 was 7715803, checked in by Fernando de Oliveira <fernando@…>, 10 years ago

totem-3.12.1, libtasn1-3.5, iso-codes-3.53, openjpeg-1.5.2, mercurial-3.0, whois_5.1.2, xterm-304, rxvt-unicode-9.20, screen-4.2.1, serf-1.3.5 and libdrm-2.4.54. Fixes to colord-1.2.0 and ConsoleKit-0.4.6.

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

  • Property mode set to 100644
File size: 5.1 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://serf.googlecode.com/svn/src_releases/serf-&serf-version;.tar.bz2">
11 <!ENTITY serf-download-ftp " ">
12 <!ENTITY serf-md5sum "5f642135442ae5a9658ab5c82bfc5209">
13 <!ENTITY serf-size "140 KB">
14 <!ENTITY serf-buildsize "2.6 MB (additional 2.0 MB for the tests)">
15 <!ENTITY serf-time "less than 0.1 SBU (additional 0.3 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 &lfs75_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 <para>
112 To test the results, issue: <command>scons check</command>.
113 </para>
114
115 <para>
116 Now, as the <systemitem class="username">root</systemitem> user:
117 </para>
118
119<screen role="root"><userinput>scons PREFIX=/usr install</userinput></screen>
120
121 </sect2>
122
123 <sect2 role="commands">
124 <title>Command Explanations</title>
125
126 <para>
127 <command>sed -i "..."</command>: The first command removes the runtime
128 path from a shared library and the next two commands disable building and
129 installing of the static library.
130 </para>
131
132 <para>
133 <option>GSSAPI=/usr</option>: Use this switch if you have installed a
134 GSSAPI library and you want <application>serf</application> to use it.
135 </para>
136
137 </sect2>
138
139 <sect2 role="content">
140 <title>Contents</title>
141
142 <segmentedlist>
143 <segtitle>Installed Programs</segtitle>
144 <segtitle>Installed Library</segtitle>
145 <segtitle>Installed Directory</segtitle>
146
147 <seglistitem>
148 <seg>
149 None
150 </seg>
151 <seg>
152 libserf-1.so
153 </seg>
154 <seg>
155 /usr/include/serf-1
156 </seg>
157 </seglistitem>
158 </segmentedlist>
159
160 <variablelist>
161 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
162 <?dbfo list-presentation="list"?>
163 <?dbhtml list-presentation="table"?>
164
165 <varlistentry id="libserf-1">
166 <term><filename class="libraryfile">libserf-1.so</filename></term>
167 <listitem>
168 <para>
169 contains the <application>Serf</application> API functions.
170 </para>
171 <indexterm zone="serf libserf-1">
172 <primary sortas="c-libserf-1">libserf-1.so</primary>
173 </indexterm>
174 </listitem>
175 </varlistentry>
176
177 </variablelist>
178
179 </sect2>
180
181</sect1>
Note: See TracBrowser for help on using the repository browser.