[ab4fdfc] | 1 | <?xml version="1.0" encoding="UTF-8"?>
|
---|
[76eb118] | 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"> -->
|
---|
[7813f84] | 8 | <!ENTITY neon-download-http "https://notroj.github.io/neon/neon-&neon-version;.tar.gz">
|
---|
[76eb118] | 9 | <!ENTITY neon-download-ftp " ">
|
---|
[34a96c3] | 10 | <!ENTITY neon-md5sum "f0c6f84835f93892c22750ff60955898">
|
---|
| 11 | <!ENTITY neon-size "892 KB">
|
---|
| 12 | <!ENTITY neon-buildsize "8.6 MB (additional 53 MB for tests)">
|
---|
[4bd4b77] | 13 | <!ENTITY neon-time "0.1 SBU (add 0.4 SBU for tests)">
|
---|
[76eb118] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="neon" xreflabel="neon-&neon-version;">
|
---|
| 17 | <?dbhtml filename="neon.html"?>
|
---|
| 18 |
|
---|
| 19 |
|
---|
| 20 | <title>neon-&neon-version;</title>
|
---|
| 21 |
|
---|
| 22 | <indexterm zone="neon">
|
---|
| 23 | <primary sortas="a-neon">neon</primary>
|
---|
| 24 | </indexterm>
|
---|
| 25 |
|
---|
| 26 | <sect2 role="package">
|
---|
| 27 | <title>Introduction to neon</title>
|
---|
| 28 |
|
---|
[318c0b1] | 29 | <para>
|
---|
| 30 | <application>neon</application> is an HTTP and WebDAV
|
---|
| 31 | client library, with a C interface.
|
---|
| 32 | </para>
|
---|
[76eb118] | 33 |
|
---|
[fc09938] | 34 | &lfs122_checked;
|
---|
[43a56d1] | 35 |
|
---|
[76eb118] | 36 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 37 | <itemizedlist spacing="compact">
|
---|
| 38 | <listitem>
|
---|
[318c0b1] | 39 | <para>
|
---|
| 40 | Download (HTTP): <ulink url="&neon-download-http;"/>
|
---|
| 41 | </para>
|
---|
[76eb118] | 42 | </listitem>
|
---|
| 43 | <listitem>
|
---|
[318c0b1] | 44 | <para>
|
---|
| 45 | Download (FTP): <ulink url="&neon-download-ftp;"/>
|
---|
| 46 | </para>
|
---|
[76eb118] | 47 | </listitem>
|
---|
| 48 | <listitem>
|
---|
[318c0b1] | 49 | <para>
|
---|
| 50 | Download MD5 sum: &neon-md5sum;
|
---|
| 51 | </para>
|
---|
[76eb118] | 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
[318c0b1] | 54 | <para>
|
---|
| 55 | Download size: &neon-size;
|
---|
| 56 | </para>
|
---|
[76eb118] | 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
[318c0b1] | 59 | <para>
|
---|
| 60 | Estimated disk space required: &neon-buildsize;
|
---|
| 61 | </para>
|
---|
[76eb118] | 62 | </listitem>
|
---|
| 63 | <listitem>
|
---|
[318c0b1] | 64 | <para>
|
---|
| 65 | Estimated build time: &neon-time;
|
---|
| 66 | </para>
|
---|
[76eb118] | 67 | </listitem>
|
---|
| 68 | </itemizedlist>
|
---|
| 69 |
|
---|
| 70 | <bridgehead renderas="sect3">neon Dependencies</bridgehead>
|
---|
[cac7f93] | 71 |
|
---|
[76eb118] | 72 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[9cf2b10b] | 73 | <para role="optional">
|
---|
[94b42903] | 74 | <xref linkend="gnutls"/>,
|
---|
[6b4f8529] | 75 | <xref linkend="libxml2"/>,
|
---|
[56605b9] | 76 | <xref linkend="mitkrb"/>,
|
---|
[0cc3e3a] | 77 | <xref linkend="nss"/> (for some tests),
|
---|
[27d786c2] | 78 | <xref linkend="xmlto"/> (to regenerate the documentation),
|
---|
[9be39a1] | 79 | <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>, and
|
---|
[75e3e09] | 80 | <ulink url="https://www.manyfish.co.uk/pakchois/">PaKChoiS</ulink>
|
---|
[9cf2b10b] | 81 | </para>
|
---|
[76eb118] | 82 |
|
---|
| 83 | </sect2>
|
---|
| 84 |
|
---|
| 85 | <sect2 role="installation">
|
---|
| 86 | <title>Installation of neon</title>
|
---|
[27d786c2] | 87 | <!-- Not needed for 0.32.2
|
---|
[fdb76cd] | 88 | <para>
|
---|
[c1d5e64] | 89 | The build mechanism tries to recreate the documentation even
|
---|
[fdb76cd] | 90 | though its included in the archive. Recreating would require
|
---|
| 91 | <application>xmlto</application> to be installed. Apply the
|
---|
| 92 | following sed to not recreate the docs:
|
---|
| 93 | </para>
|
---|
| 94 |
|
---|
| 95 | <screen><userinput>sed 's/\(install-\(html\|man\):\).*/\1/' -i Makefile.in</userinput></screen>
|
---|
[27d786c2] | 96 | -->
|
---|
[318c0b1] | 97 | <para>
|
---|
| 98 | Install <application>neon</application> by running the following
|
---|
| 99 | commands:
|
---|
| 100 | </para>
|
---|
[76eb118] | 101 |
|
---|
[fdd8c7d] | 102 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 103 | --with-ssl \
|
---|
| 104 | --enable-shared \
|
---|
| 105 | --disable-static &&
|
---|
[76eb118] | 106 | make</userinput></screen>
|
---|
| 107 |
|
---|
[318c0b1] | 108 | <para>
|
---|
[fdd8c7d] | 109 | To test the results, issue: <command>make check</command>.
|
---|
[318c0b1] | 110 | </para>
|
---|
[76eb118] | 111 |
|
---|
[27d786c2] | 112 | <para>
|
---|
| 113 | If you wish to regenerate the documentation, issue:
|
---|
| 114 | </para>
|
---|
| 115 |
|
---|
| 116 | <screen remap="doc"><userinput>make docs</userinput></screen>
|
---|
| 117 |
|
---|
[318c0b1] | 118 | <para>
|
---|
| 119 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 120 | </para>
|
---|
[76eb118] | 121 |
|
---|
| 122 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 123 |
|
---|
| 124 | </sect2>
|
---|
| 125 |
|
---|
| 126 | <sect2 role="commands">
|
---|
| 127 | <title>Command Explanations</title>
|
---|
| 128 |
|
---|
[318c0b1] | 129 | <para>
|
---|
[e0933bc] | 130 | <parameter>--with-ssl</parameter>: This switch enables SSL support
|
---|
[27d786c2] | 131 | using <application>OpenSSL</application>.
|
---|
| 132 | <application>GnuTLS</application> can be used instead, by passing
|
---|
| 133 | <option>--with-ssl=gnutls</option> and
|
---|
[5c3f3856] | 134 | <option>--with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt</option> to the
|
---|
[318c0b1] | 135 | <command>configure</command> script.
|
---|
| 136 | </para>
|
---|
[76eb118] | 137 |
|
---|
[318c0b1] | 138 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 139 | href="../../xincludes/static-libraries.xml"/>
|
---|
[76eb118] | 140 |
|
---|
[f70504f] | 141 | <!-- We have Expat in LFS now, so this really isn't applicable anymore.
|
---|
[318c0b1] | 142 | <para>
|
---|
[f70504f] | 143 | <option>- -with-libxml2</option>: This switch forces the use of
|
---|
[318c0b1] | 144 | <application>libxml2</application> instead of
|
---|
| 145 | <application>Expat</application>.
|
---|
| 146 | </para>
|
---|
[f70504f] | 147 | -->
|
---|
[43a56d1] | 148 |
|
---|
[76eb118] | 149 | </sect2>
|
---|
| 150 |
|
---|
| 151 | <sect2 role="content">
|
---|
| 152 | <title>Contents</title>
|
---|
| 153 |
|
---|
| 154 | <segmentedlist>
|
---|
| 155 | <segtitle>Installed Program</segtitle>
|
---|
| 156 | <segtitle>Installed Library</segtitle>
|
---|
| 157 | <segtitle>Installed Directories</segtitle>
|
---|
| 158 |
|
---|
| 159 | <seglistitem>
|
---|
[318c0b1] | 160 | <seg>
|
---|
| 161 | neon-config
|
---|
| 162 | </seg>
|
---|
| 163 | <seg>
|
---|
| 164 | libneon.so
|
---|
| 165 | </seg>
|
---|
| 166 | <seg>
|
---|
| 167 | /usr/include/neon and
|
---|
| 168 | /usr/share/doc/neon-&neon-version;
|
---|
| 169 | </seg>
|
---|
[76eb118] | 170 | </seglistitem>
|
---|
| 171 | </segmentedlist>
|
---|
| 172 |
|
---|
| 173 | <variablelist>
|
---|
| 174 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 175 | <?dbfo list-presentation="list"?>
|
---|
| 176 | <?dbhtml list-presentation="table"?>
|
---|
| 177 |
|
---|
[6d772cc] | 178 | <varlistentry id="neon-config">
|
---|
| 179 | <term><command>neon-config</command></term>
|
---|
| 180 | <listitem>
|
---|
| 181 | <para>
|
---|
[4bd4b77] | 182 | is a script that provides information about an installed copy
|
---|
[4c24eb0a] | 183 | of the neon library
|
---|
[6d772cc] | 184 | </para>
|
---|
| 185 | <indexterm zone="neon neon-config">
|
---|
| 186 | <primary sortas="b-neon-config">neon-config</primary>
|
---|
| 187 | </indexterm>
|
---|
| 188 | </listitem>
|
---|
| 189 | </varlistentry>
|
---|
| 190 |
|
---|
[76eb118] | 191 | <varlistentry id="libneon">
|
---|
[318c0b1] | 192 | <term><filename class="libraryfile">libneon.so</filename></term>
|
---|
[76eb118] | 193 | <listitem>
|
---|
[318c0b1] | 194 | <para>
|
---|
| 195 | is used as a high-level interface to common HTTP and WebDAV
|
---|
[4c24eb0a] | 196 | methods
|
---|
[318c0b1] | 197 | </para>
|
---|
[76eb118] | 198 | <indexterm zone="neon libneon">
|
---|
[43a56d1] | 199 | <primary sortas="c-libneon">libneon.so</primary>
|
---|
[76eb118] | 200 | </indexterm>
|
---|
| 201 | </listitem>
|
---|
| 202 | </varlistentry>
|
---|
| 203 |
|
---|
| 204 | </variablelist>
|
---|
| 205 |
|
---|
| 206 | </sect2>
|
---|
| 207 |
|
---|
| 208 | </sect1>
|
---|