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