[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 " ">
|
---|
[a0e61382] | 10 | <!ENTITY neon-md5sum "09dd5c5e2cf4a0e01b20dd62767a1df7">
|
---|
| 11 | <!ENTITY neon-size "864 KB">
|
---|
| 12 | <!ENTITY neon-buildsize "6.6 MB (additional 20 MB for tests)">
|
---|
| 13 | <!ENTITY neon-time "less than 0.1 SBU (add 0.5 SBU for tests)">
|
---|
[76eb118] | 14 | ]>
|
---|
| 15 |
|
---|
| 16 | <sect1 id="neon" xreflabel="neon-&neon-version;">
|
---|
| 17 | <?dbhtml filename="neon.html"?>
|
---|
| 18 |
|
---|
| 19 | <sect1info>
|
---|
| 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 |
|
---|
[3f4dc82] | 37 | &lfs111_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>
|
---|
[cac7f93] | 74 |
|
---|
[76eb118] | 75 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
[9cf2b10b] | 76 | <para role="optional">
|
---|
[94b42903] | 77 | <xref linkend="gnutls"/>,
|
---|
[6b4f8529] | 78 | <xref linkend="libxml2"/>,
|
---|
[56605b9] | 79 | <xref linkend="mitkrb"/>,
|
---|
[27d786c2] | 80 | <xref linkend="xmlto"/> (to regenerate the documentation),
|
---|
[9be39a1] | 81 | <ulink url="https://github.com/libproxy/libproxy">libproxy</ulink>, and
|
---|
[7c56ece] | 82 | <ulink url="http://www.manyfish.co.uk/pakchois/">PaKChoiS</ulink>
|
---|
[9cf2b10b] | 83 | </para>
|
---|
[76eb118] | 84 |
|
---|
| 85 | <para condition="html" role="usernotes">User Notes:
|
---|
[318c0b1] | 86 | <ulink url="&blfs-wiki;/neon"/>
|
---|
| 87 | </para>
|
---|
[76eb118] | 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="installation">
|
---|
| 91 | <title>Installation of neon</title>
|
---|
[27d786c2] | 92 | <!-- Not needed for 0.32.2
|
---|
[fdb76cd] | 93 | <para>
|
---|
[c1d5e64] | 94 | The build mechanism tries to recreate the documentation even
|
---|
[fdb76cd] | 95 | though its included in the archive. Recreating would require
|
---|
| 96 | <application>xmlto</application> to be installed. Apply the
|
---|
| 97 | following sed to not recreate the docs:
|
---|
| 98 | </para>
|
---|
| 99 |
|
---|
| 100 | <screen><userinput>sed 's/\(install-\(html\|man\):\).*/\1/' -i Makefile.in</userinput></screen>
|
---|
[27d786c2] | 101 | -->
|
---|
[318c0b1] | 102 | <para>
|
---|
| 103 | Install <application>neon</application> by running the following
|
---|
| 104 | commands:
|
---|
| 105 | </para>
|
---|
[76eb118] | 106 |
|
---|
[fdd8c7d] | 107 | <screen><userinput>./configure --prefix=/usr \
|
---|
| 108 | --with-ssl \
|
---|
| 109 | --enable-shared \
|
---|
| 110 | --disable-static &&
|
---|
[76eb118] | 111 | make</userinput></screen>
|
---|
| 112 |
|
---|
[318c0b1] | 113 | <para>
|
---|
[fdd8c7d] | 114 | To test the results, issue: <command>make check</command>.
|
---|
[318c0b1] | 115 | </para>
|
---|
[76eb118] | 116 |
|
---|
[27d786c2] | 117 | <para>
|
---|
| 118 | If you wish to regenerate the documentation, issue:
|
---|
| 119 | </para>
|
---|
| 120 |
|
---|
| 121 | <screen remap="doc"><userinput>make docs</userinput></screen>
|
---|
| 122 |
|
---|
[318c0b1] | 123 | <para>
|
---|
| 124 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 125 | </para>
|
---|
[76eb118] | 126 |
|
---|
| 127 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 128 |
|
---|
| 129 | </sect2>
|
---|
| 130 |
|
---|
| 131 | <sect2 role="commands">
|
---|
| 132 | <title>Command Explanations</title>
|
---|
| 133 |
|
---|
[318c0b1] | 134 | <para>
|
---|
[e0933bc] | 135 | <parameter>--with-ssl</parameter>: This switch enables SSL support
|
---|
[27d786c2] | 136 | using <application>OpenSSL</application>.
|
---|
| 137 | <application>GnuTLS</application> can be used instead, by passing
|
---|
| 138 | <option>--with-ssl=gnutls</option> and
|
---|
[5c3f3856] | 139 | <option>--with-ca-bundle=/etc/pki/tls/certs/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 |
|
---|
[f70504f] | 146 | <!-- We have Expat in LFS now, so this really isn't applicable anymore.
|
---|
[318c0b1] | 147 | <para>
|
---|
[f70504f] | 148 | <option>- -with-libxml2</option>: This switch forces the use of
|
---|
[318c0b1] | 149 | <application>libxml2</application> instead of
|
---|
| 150 | <application>Expat</application>.
|
---|
| 151 | </para>
|
---|
[f70504f] | 152 | -->
|
---|
[43a56d1] | 153 |
|
---|
[76eb118] | 154 | </sect2>
|
---|
| 155 |
|
---|
| 156 | <sect2 role="content">
|
---|
| 157 | <title>Contents</title>
|
---|
| 158 |
|
---|
| 159 | <segmentedlist>
|
---|
| 160 | <segtitle>Installed Program</segtitle>
|
---|
| 161 | <segtitle>Installed Library</segtitle>
|
---|
| 162 | <segtitle>Installed Directories</segtitle>
|
---|
| 163 |
|
---|
| 164 | <seglistitem>
|
---|
[318c0b1] | 165 | <seg>
|
---|
| 166 | neon-config
|
---|
| 167 | </seg>
|
---|
| 168 | <seg>
|
---|
| 169 | libneon.so
|
---|
| 170 | </seg>
|
---|
| 171 | <seg>
|
---|
| 172 | /usr/include/neon and
|
---|
| 173 | /usr/share/doc/neon-&neon-version;
|
---|
| 174 | </seg>
|
---|
[76eb118] | 175 | </seglistitem>
|
---|
| 176 | </segmentedlist>
|
---|
| 177 |
|
---|
| 178 | <variablelist>
|
---|
| 179 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 180 | <?dbfo list-presentation="list"?>
|
---|
| 181 | <?dbhtml list-presentation="table"?>
|
---|
| 182 |
|
---|
[6d772cc] | 183 | <varlistentry id="neon-config">
|
---|
| 184 | <term><command>neon-config</command></term>
|
---|
| 185 | <listitem>
|
---|
| 186 | <para>
|
---|
| 187 | is a script that provide information about an installed copy
|
---|
[4c24eb0a] | 188 | of the neon library
|
---|
[6d772cc] | 189 | </para>
|
---|
| 190 | <indexterm zone="neon neon-config">
|
---|
| 191 | <primary sortas="b-neon-config">neon-config</primary>
|
---|
| 192 | </indexterm>
|
---|
| 193 | </listitem>
|
---|
| 194 | </varlistentry>
|
---|
| 195 |
|
---|
[76eb118] | 196 | <varlistentry id="libneon">
|
---|
[318c0b1] | 197 | <term><filename class="libraryfile">libneon.so</filename></term>
|
---|
[76eb118] | 198 | <listitem>
|
---|
[318c0b1] | 199 | <para>
|
---|
| 200 | is used as a high-level interface to common HTTP and WebDAV
|
---|
[4c24eb0a] | 201 | methods
|
---|
[318c0b1] | 202 | </para>
|
---|
[76eb118] | 203 | <indexterm zone="neon libneon">
|
---|
[43a56d1] | 204 | <primary sortas="c-libneon">libneon.so</primary>
|
---|
[76eb118] | 205 | </indexterm>
|
---|
| 206 | </listitem>
|
---|
| 207 | </varlistentry>
|
---|
| 208 |
|
---|
| 209 | </variablelist>
|
---|
| 210 |
|
---|
| 211 | </sect2>
|
---|
| 212 |
|
---|
| 213 | </sect1>
|
---|