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 neon-download-http "http://www.webdav.org/neon/neon-&neon-version;.tar.gz">
|
---|
8 | <!ENTITY neon-download-ftp " ">
|
---|
9 | <!ENTITY neon-md5sum "e28d77bf14032d7f5046b3930704ef41">
|
---|
10 | <!ENTITY neon-size "911 KB">
|
---|
11 | <!ENTITY neon-buildsize "8.5 MB (additional 18 MB for the tests)">
|
---|
12 | <!ENTITY neon-time "0.1 SBU (additional 0.3 SBU for the tests)">
|
---|
13 | ]>
|
---|
14 |
|
---|
15 | <sect1 id="neon" xreflabel="neon-&neon-version;">
|
---|
16 | <?dbhtml filename="neon.html"?>
|
---|
17 |
|
---|
18 | <sect1info>
|
---|
19 | <othername>$LastChangedBy$</othername>
|
---|
20 | <date>$Date$</date>
|
---|
21 | </sect1info>
|
---|
22 |
|
---|
23 | <title>neon-&neon-version;</title>
|
---|
24 |
|
---|
25 | <indexterm zone="neon">
|
---|
26 | <primary sortas="a-neon">neon</primary>
|
---|
27 | </indexterm>
|
---|
28 |
|
---|
29 | <sect2 role="package">
|
---|
30 | <title>Introduction to neon</title>
|
---|
31 |
|
---|
32 | <para>
|
---|
33 | <application>neon</application> is an HTTP and WebDAV
|
---|
34 | client library, with a C interface.
|
---|
35 | </para>
|
---|
36 |
|
---|
37 | &lfs80_checked;
|
---|
38 |
|
---|
39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
40 | <itemizedlist spacing="compact">
|
---|
41 | <listitem>
|
---|
42 | <para>
|
---|
43 | Download (HTTP): <ulink url="&neon-download-http;"/>
|
---|
44 | </para>
|
---|
45 | </listitem>
|
---|
46 | <listitem>
|
---|
47 | <para>
|
---|
48 | Download (FTP): <ulink url="&neon-download-ftp;"/>
|
---|
49 | </para>
|
---|
50 | </listitem>
|
---|
51 | <listitem>
|
---|
52 | <para>
|
---|
53 | Download MD5 sum: &neon-md5sum;
|
---|
54 | </para>
|
---|
55 | </listitem>
|
---|
56 | <listitem>
|
---|
57 | <para>
|
---|
58 | Download size: &neon-size;
|
---|
59 | </para>
|
---|
60 | </listitem>
|
---|
61 | <listitem>
|
---|
62 | <para>
|
---|
63 | Estimated disk space required: &neon-buildsize;
|
---|
64 | </para>
|
---|
65 | </listitem>
|
---|
66 | <listitem>
|
---|
67 | <para>
|
---|
68 | Estimated build time: &neon-time;
|
---|
69 | </para>
|
---|
70 | </listitem>
|
---|
71 | </itemizedlist>
|
---|
72 |
|
---|
73 | <bridgehead renderas="sect3">neon Dependencies</bridgehead>
|
---|
74 |
|
---|
75 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
76 | <para role="recommended">
|
---|
77 | <xref linkend="openssl"/> or
|
---|
78 | <xref linkend="gnutls"/>
|
---|
79 | </para>
|
---|
80 |
|
---|
81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
82 | <para role="optional">
|
---|
83 | <xref linkend="libxml2"/>,
|
---|
84 | <xref linkend="mitkrb"/>,
|
---|
85 | <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>, and
|
---|
86 | <ulink url="http://www.manyfish.co.uk/pakchois/">pakchois</ulink>,
|
---|
87 | </para>
|
---|
88 |
|
---|
89 | <para condition="html" role="usernotes">User Notes:
|
---|
90 | <ulink url="&blfs-wiki;/neon"/>
|
---|
91 | </para>
|
---|
92 | </sect2>
|
---|
93 |
|
---|
94 | <sect2 role="installation">
|
---|
95 | <title>Installation of neon</title>
|
---|
96 |
|
---|
97 | <para>Fix some code when building with gnutls-3.4 and later:</para>
|
---|
98 |
|
---|
99 | <screen><userinput>sed -e 's/client_set/set/' \
|
---|
100 | -e 's/gnutls_retr/&2/' \
|
---|
101 | -e 's/type = t/cert_&/' \
|
---|
102 | -i src/ne_gnutls.c</userinput></screen>
|
---|
103 |
|
---|
104 | <para>
|
---|
105 | Install <application>neon</application> by running the following
|
---|
106 | commands:
|
---|
107 | </para>
|
---|
108 |
|
---|
109 | <screen><userinput>./configure --prefix=/usr \
|
---|
110 | --with-ssl \
|
---|
111 | --enable-shared \
|
---|
112 | --disable-static &&
|
---|
113 | make</userinput></screen>
|
---|
114 |
|
---|
115 | <para>
|
---|
116 | To test the results, issue: <command>make check</command>.
|
---|
117 | Most of the <parameter>ssl</parameter> tests fail, using
|
---|
118 | <option>--with-ssl=gnutls</option>.
|
---|
119 | </para>
|
---|
120 |
|
---|
121 | <para>
|
---|
122 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
123 | </para>
|
---|
124 |
|
---|
125 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
126 |
|
---|
127 | </sect2>
|
---|
128 |
|
---|
129 | <sect2 role="commands">
|
---|
130 | <title>Command Explanations</title>
|
---|
131 |
|
---|
132 | <para>
|
---|
133 | <parameter>--with-ssl</parameter>: This switch enables SSL support
|
---|
134 | using <application>OpenSSL</application> or
|
---|
135 | <application>GnuTLS</application> respectively. Remove it if
|
---|
136 | you don't have any of these installed. To force
|
---|
137 | <application>GnuTLS</application> usage when both are present,
|
---|
138 | simply pass <option>--with-ssl=gnutls</option> and
|
---|
139 | <option>--with-ca-bundle=/etc/ssl/ca-bundle.crt</option> to the
|
---|
140 | <command>configure</command> script.
|
---|
141 | </para>
|
---|
142 |
|
---|
143 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
144 | href="../../xincludes/static-libraries.xml"/>
|
---|
145 |
|
---|
146 | <para>
|
---|
147 | <option>--with-libxml2</option>: This switch forces the use of
|
---|
148 | <application>libxml2</application> instead of
|
---|
149 | <application>Expat</application>.
|
---|
150 | </para>
|
---|
151 |
|
---|
152 | </sect2>
|
---|
153 |
|
---|
154 | <sect2 role="content">
|
---|
155 | <title>Contents</title>
|
---|
156 |
|
---|
157 | <segmentedlist>
|
---|
158 | <segtitle>Installed Program</segtitle>
|
---|
159 | <segtitle>Installed Library</segtitle>
|
---|
160 | <segtitle>Installed Directories</segtitle>
|
---|
161 |
|
---|
162 | <seglistitem>
|
---|
163 | <seg>
|
---|
164 | neon-config
|
---|
165 | </seg>
|
---|
166 | <seg>
|
---|
167 | libneon.so
|
---|
168 | </seg>
|
---|
169 | <seg>
|
---|
170 | /usr/include/neon and
|
---|
171 | /usr/share/doc/neon-&neon-version;
|
---|
172 | </seg>
|
---|
173 | </seglistitem>
|
---|
174 | </segmentedlist>
|
---|
175 |
|
---|
176 | <variablelist>
|
---|
177 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
178 | <?dbfo list-presentation="list"?>
|
---|
179 | <?dbhtml list-presentation="table"?>
|
---|
180 |
|
---|
181 | <varlistentry id="neon-config">
|
---|
182 | <term><command>neon-config</command></term>
|
---|
183 | <listitem>
|
---|
184 | <para>
|
---|
185 | is a script that provide information about an installed copy
|
---|
186 | of the neon library.
|
---|
187 | </para>
|
---|
188 | <indexterm zone="neon neon-config">
|
---|
189 | <primary sortas="b-neon-config">neon-config</primary>
|
---|
190 | </indexterm>
|
---|
191 | </listitem>
|
---|
192 | </varlistentry>
|
---|
193 |
|
---|
194 | <varlistentry id="libneon">
|
---|
195 | <term><filename class="libraryfile">libneon.so</filename></term>
|
---|
196 | <listitem>
|
---|
197 | <para>
|
---|
198 | is used as a high-level interface to common HTTP and WebDAV
|
---|
199 | methods.
|
---|
200 | </para>
|
---|
201 | <indexterm zone="neon libneon">
|
---|
202 | <primary sortas="c-libneon">libneon.so</primary>
|
---|
203 | </indexterm>
|
---|
204 | </listitem>
|
---|
205 | </varlistentry>
|
---|
206 |
|
---|
207 | </variablelist>
|
---|
208 |
|
---|
209 | </sect2>
|
---|
210 |
|
---|
211 | </sect1>
|
---|