<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
   "http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
  <!ENTITY % general-entities SYSTEM "../../general.ent">
  %general-entities;

  <!ENTITY neon-download-http "http://www.webdav.org/neon/neon-&neon-version;.tar.gz">
  <!ENTITY neon-download-ftp  " ">
  <!ENTITY neon-md5sum        "231adebe5c2f78fded3e3df6e958878e">
  <!ENTITY neon-size          "892 KB">
  <!ENTITY neon-buildsize     "7.9 MB (additional 18 MB for the tests)">
  <!ENTITY neon-time          "0.1 SBU (additional 0.2 SBU for the tests)">
]>

<sect1 id="neon" xreflabel="neon-&neon-version;">
  <?dbhtml filename="neon.html"?>

  <sect1info>
    <othername>$LastChangedBy: bdubbs $</othername>
    <date>$Date: 2015-02-24 20:21:19 -0500 (Tue, 24 Feb 2015) $</date>
  </sect1info>

  <title>neon-&neon-version;</title>

  <indexterm zone="neon">
    <primary sortas="a-neon">neon</primary>
  </indexterm>

  <sect2 role="package">
    <title>Introduction to neon</title>

    <para>
      <application>neon</application> is an HTTP and WebDAV
      client library, with a C interface.
    </para>

    &lfs77_checked;

    <bridgehead renderas="sect3">Package Information</bridgehead>
    <itemizedlist spacing="compact">
      <listitem>
        <para>
          Download (HTTP): <ulink url="&neon-download-http;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download (FTP): <ulink url="&neon-download-ftp;"/>
        </para>
      </listitem>
      <listitem>
        <para>
          Download MD5 sum: &neon-md5sum;
        </para>
      </listitem>
      <listitem>
        <para>
          Download size: &neon-size;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated disk space required: &neon-buildsize;
        </para>
      </listitem>
      <listitem>
        <para>
          Estimated build time: &neon-time;
        </para>
      </listitem>
    </itemizedlist>

    <bridgehead renderas="sect3">neon Dependencies</bridgehead>

    <bridgehead renderas="sect4">Recommended</bridgehead>
    <para role="recommended">
      <xref linkend="openssl"/> or
      <xref linkend="gnutls"/>
    </para>

    <bridgehead renderas="sect4">Optional</bridgehead>
    <para role="optional">
      <xref linkend="libxml2"/>,
      <xref linkend="mitkrb"/>,
      <ulink url="http://code.google.com/p/libproxy/">libproxy</ulink>, and
      <ulink url="http://www.manyfish.co.uk/pakchois/">pakchois</ulink>,
    </para>

    <para condition="html" role="usernotes">User Notes:
      <ulink url="&blfs-wiki;/neon"/>
    </para>
  </sect2>

  <sect2 role="installation">
    <title>Installation of neon</title>

    <para>
      Install <application>neon</application> by running the following
      commands:
    </para>

<screen><userinput>./configure --prefix=/usr --enable-shared --with-ssl --disable-static &amp;&amp;
make</userinput></screen>

    <para>
      To test the results, issue: <command>make -k check</command>.
      Some tests are known to fail.
    </para>

    <para>
      Now, as the <systemitem class="username">root</systemitem> user:
    </para>

<screen role="root"><userinput>make install</userinput></screen>

  </sect2>

  <sect2 role="commands">
    <title>Command Explanations</title>

    <para>
      <parameter>--with-ssl</parameter>: This switch enables SSL support
      using <application>OpenSSL</application> or
      <application>GnuTLS</application> respectively. Remove it if
      you don't have any of these installed. To force
      <application>GnuTLS</application> usage when both are present,
      simply pass <option>--with-ssl=gnutls</option> to the
      <command>configure</command> script.
    </para>

    <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
      href="../../xincludes/static-libraries.xml"/>

    <para>
      <option>--with-libxml2</option>: This switch forces the use of
      <application>libxml2</application> instead of
      <application>Expat</application>.
    </para>

  </sect2>

  <sect2 role="content">
    <title>Contents</title>

    <segmentedlist>
      <segtitle>Installed Program</segtitle>
      <segtitle>Installed Library</segtitle>
      <segtitle>Installed Directories</segtitle>

      <seglistitem>
        <seg>
          neon-config
        </seg>
        <seg>
          libneon.so
        </seg>
        <seg>
          /usr/include/neon and
          /usr/share/doc/neon-&neon-version;
        </seg>
      </seglistitem>
    </segmentedlist>

    <variablelist>
      <bridgehead renderas="sect3">Short Descriptions</bridgehead>
      <?dbfo list-presentation="list"?>
      <?dbhtml list-presentation="table"?>

      <varlistentry id="libneon">
        <term><filename class="libraryfile">libneon.so</filename></term>
        <listitem>
          <para>
            is used as a high-level interface to common HTTP and WebDAV
            methods.
          </para>
          <indexterm zone="neon libneon">
            <primary sortas="c-libneon">libneon.so</primary>
          </indexterm>
        </listitem>
      </varlistentry>

    </variablelist>

  </sect2>

</sect1>
