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