[76eb118] | 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 |
|
---|
[318c0b1] | 7 | <!ENTITY neon-download-http "http://www.webdav.org/neon/neon-&neon-version;.tar.gz">
|
---|
[76eb118] | 8 | <!ENTITY neon-download-ftp " ">
|
---|
[a08727f] | 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)">
|
---|
[76eb118] | 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 |
|
---|
[318c0b1] | 32 | <para>
|
---|
| 33 | <application>neon</application> is an HTTP and WebDAV
|
---|
| 34 | client library, with a C interface.
|
---|
| 35 | </para>
|
---|
[76eb118] | 36 |
|
---|
[747db59e] | 37 | &lfs80_checked;
|
---|
[43a56d1] | 38 |
|
---|
[76eb118] | 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
[318c0b1] | 42 | <para>
|
---|
| 43 | Download (HTTP): <ulink url="&neon-download-http;"/>
|
---|
| 44 | </para>
|
---|
[76eb118] | 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
[318c0b1] | 47 | <para>
|
---|
| 48 | Download (FTP): <ulink url="&neon-download-ftp;"/>
|
---|
| 49 | </para>
|
---|
[76eb118] | 50 | </listitem>
|
---|
| 51 | <listitem>
|
---|
[318c0b1] | 52 | <para>
|
---|
| 53 | Download MD5 sum: &neon-md5sum;
|
---|
| 54 | </para>
|
---|
[76eb118] | 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
[318c0b1] | 57 | <para>
|
---|
| 58 | Download size: &neon-size;
|
---|
| 59 | </para>
|
---|
[76eb118] | 60 | </listitem>
|
---|
| 61 | <listitem>
|
---|
[318c0b1] | 62 | <para>
|
---|
| 63 | Estimated disk space required: &neon-buildsize;
|
---|
| 64 | </para>
|
---|
[76eb118] | 65 | </listitem>
|
---|
| 66 | <listitem>
|
---|
[318c0b1] | 67 | <para>
|
---|
| 68 | Estimated build time: &neon-time;
|
---|
| 69 | </para>
|
---|
[76eb118] | 70 | </listitem>
|
---|
| 71 | </itemizedlist>
|
---|
| 72 |
|
---|
| 73 | <bridgehead renderas="sect3">neon Dependencies</bridgehead>
|
---|
| 74 |
|
---|
[318c0b1] | 75 | <bridgehead renderas="sect4">Recommended</bridgehead>
|
---|
| 76 | <para role="recommended">
|
---|
| 77 | <xref linkend="openssl"/> or
|
---|
| 78 | <xref linkend="gnutls"/>
|
---|
| 79 | </para>
|
---|
[76eb118] | 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[9cf2b10b] | 82 | <para role="optional">
|
---|
[6b4f8529] | 83 | <xref linkend="libxml2"/>,
|
---|
[56605b9] | 84 | <xref linkend="mitkrb"/>,
|
---|
[9be39a1] | 85 | <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>, and
|
---|
[6b4f8529] | 86 | <ulink url="http://www.manyfish.co.uk/pakchois/">pakchois</ulink>,
|
---|
[9cf2b10b] | 87 | </para>
|
---|
[76eb118] | 88 |
|
---|
| 89 | <para condition="html" role="usernotes">User Notes:
|
---|
[318c0b1] | 90 | <ulink url="&blfs-wiki;/neon"/>
|
---|
| 91 | </para>
|
---|
[76eb118] | 92 | </sect2>
|
---|
| 93 |
|
---|
| 94 | <sect2 role="installation">
|
---|
| 95 | <title>Installation of neon</title>
|
---|
| 96 |
|
---|
[b9abcb5] | 97 | <para>Fix some code when building with gnutls-3.4 and later:</para>
|
---|
| 98 |
|
---|
[ec06894] | 99 | <screen><userinput>sed -e 's/client_set/set/' \
|
---|
| 100 | -e 's/gnutls_retr/&2/' \
|
---|
| 101 | -e 's/type = t/cert_&/' \
|
---|
[b9abcb5] | 102 | -i src/ne_gnutls.c</userinput></screen>
|
---|
| 103 |
|
---|
[318c0b1] | 104 | <para>
|
---|
| 105 | Install <application>neon</application> by running the following
|
---|
| 106 | commands:
|
---|
| 107 | </para>
|
---|
[76eb118] | 108 |
|
---|
[fdd8c7d] | 109 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 110 | --with-ssl \
|
---|
| 111 | --enable-shared \
|
---|
| 112 | --disable-static &&
|
---|
[76eb118] | 113 | make</userinput></screen>
|
---|
| 114 |
|
---|
[318c0b1] | 115 | <para>
|
---|
[fdd8c7d] | 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>.
|
---|
[318c0b1] | 119 | </para>
|
---|
[76eb118] | 120 |
|
---|
[318c0b1] | 121 | <para>
|
---|
| 122 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 123 | </para>
|
---|
[76eb118] | 124 |
|
---|
| 125 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 126 |
|
---|
| 127 | </sect2>
|
---|
| 128 |
|
---|
| 129 | <sect2 role="commands">
|
---|
| 130 | <title>Command Explanations</title>
|
---|
| 131 |
|
---|
[318c0b1] | 132 | <para>
|
---|
[e0933bc] | 133 | <parameter>--with-ssl</parameter>: This switch enables SSL support
|
---|
[318c0b1] | 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,
|
---|
[34484cf] | 138 | simply pass <option>--with-ssl=gnutls</option> and
|
---|
| 139 | <option>--with-ca-bundle=/etc/ssl/ca-bundle.crt</option> to the
|
---|
[318c0b1] | 140 | <command>configure</command> script.
|
---|
| 141 | </para>
|
---|
[76eb118] | 142 |
|
---|
[318c0b1] | 143 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 144 | href="../../xincludes/static-libraries.xml"/>
|
---|
[76eb118] | 145 |
|
---|
[318c0b1] | 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>
|
---|
[43a56d1] | 151 |
|
---|
[76eb118] | 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>
|
---|
[318c0b1] | 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>
|
---|
[76eb118] | 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 |
|
---|
[6d772cc] | 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 |
|
---|
[76eb118] | 194 | <varlistentry id="libneon">
|
---|
[318c0b1] | 195 | <term><filename class="libraryfile">libneon.so</filename></term>
|
---|
[76eb118] | 196 | <listitem>
|
---|
[318c0b1] | 197 | <para>
|
---|
| 198 | is used as a high-level interface to common HTTP and WebDAV
|
---|
| 199 | methods.
|
---|
| 200 | </para>
|
---|
[76eb118] | 201 | <indexterm zone="neon libneon">
|
---|
[43a56d1] | 202 | <primary sortas="c-libneon">libneon.so</primary>
|
---|
[76eb118] | 203 | </indexterm>
|
---|
| 204 | </listitem>
|
---|
| 205 | </varlistentry>
|
---|
| 206 |
|
---|
| 207 | </variablelist>
|
---|
| 208 |
|
---|
| 209 | </sect2>
|
---|
| 210 |
|
---|
| 211 | </sect1>
|
---|