[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"> -->
|
---|
[7813f84] | 8 | <!ENTITY neon-download-http "https://notroj.github.io/neon/neon-&neon-version;.tar.gz">
|
---|
[76eb118] | 9 | <!ENTITY neon-download-ftp " ">
|
---|
[b07baeb] | 10 | <!ENTITY neon-md5sum "7976b1cd67b7228cddb7eb4f39640ac5">
|
---|
[4bd4b77] | 11 | <!ENTITY neon-size "876 KB">
|
---|
[b07baeb] | 12 | <!ENTITY neon-buildsize "8.6 MB (additional 18 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 |
|
---|
[b6a907b0] | 34 | &lfs112_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 | <para condition="html" role="usernotes">User Notes:
|
---|
[318c0b1] | 84 | <ulink url="&blfs-wiki;/neon"/>
|
---|
| 85 | </para>
|
---|
[76eb118] | 86 | </sect2>
|
---|
| 87 |
|
---|
| 88 | <sect2 role="installation">
|
---|
| 89 | <title>Installation of neon</title>
|
---|
[27d786c2] | 90 | <!-- Not needed for 0.32.2
|
---|
[fdb76cd] | 91 | <para>
|
---|
[c1d5e64] | 92 | The build mechanism tries to recreate the documentation even
|
---|
[fdb76cd] | 93 | though its included in the archive. Recreating would require
|
---|
| 94 | <application>xmlto</application> to be installed. Apply the
|
---|
| 95 | following sed to not recreate the docs:
|
---|
| 96 | </para>
|
---|
| 97 |
|
---|
| 98 | <screen><userinput>sed 's/\(install-\(html\|man\):\).*/\1/' -i Makefile.in</userinput></screen>
|
---|
[27d786c2] | 99 | -->
|
---|
[318c0b1] | 100 | <para>
|
---|
| 101 | Install <application>neon</application> by running the following
|
---|
| 102 | commands:
|
---|
| 103 | </para>
|
---|
[76eb118] | 104 |
|
---|
[fdd8c7d] | 105 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 106 | --with-ssl \
|
---|
| 107 | --enable-shared \
|
---|
| 108 | --disable-static &&
|
---|
[76eb118] | 109 | make</userinput></screen>
|
---|
| 110 |
|
---|
[318c0b1] | 111 | <para>
|
---|
[fdd8c7d] | 112 | To test the results, issue: <command>make check</command>.
|
---|
[318c0b1] | 113 | </para>
|
---|
[76eb118] | 114 |
|
---|
[27d786c2] | 115 | <para>
|
---|
| 116 | If you wish to regenerate the documentation, issue:
|
---|
| 117 | </para>
|
---|
| 118 |
|
---|
| 119 | <screen remap="doc"><userinput>make docs</userinput></screen>
|
---|
| 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
|
---|
[27d786c2] | 134 | using <application>OpenSSL</application>.
|
---|
| 135 | <application>GnuTLS</application> can be used instead, by passing
|
---|
| 136 | <option>--with-ssl=gnutls</option> and
|
---|
[5c3f3856] | 137 | <option>--with-ca-bundle=/etc/pki/tls/certs/ca-bundle.crt</option> to the
|
---|
[318c0b1] | 138 | <command>configure</command> script.
|
---|
| 139 | </para>
|
---|
[76eb118] | 140 |
|
---|
[318c0b1] | 141 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 142 | href="../../xincludes/static-libraries.xml"/>
|
---|
[76eb118] | 143 |
|
---|
[f70504f] | 144 | <!-- We have Expat in LFS now, so this really isn't applicable anymore.
|
---|
[318c0b1] | 145 | <para>
|
---|
[f70504f] | 146 | <option>- -with-libxml2</option>: This switch forces the use of
|
---|
[318c0b1] | 147 | <application>libxml2</application> instead of
|
---|
| 148 | <application>Expat</application>.
|
---|
| 149 | </para>
|
---|
[f70504f] | 150 | -->
|
---|
[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>
|
---|
[4bd4b77] | 185 | is a script that provides information about an installed copy
|
---|
[4c24eb0a] | 186 | of the neon library
|
---|
[6d772cc] | 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
|
---|
[4c24eb0a] | 199 | methods
|
---|
[318c0b1] | 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>
|
---|