[411e760] | 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 |
|
---|
| 7 | <!ENTITY liboauth-download-http "&sourceforge-repo;/liboauth/liboauth-&liboauth-version;.tar.gz">
|
---|
| 8 | <!ENTITY liboauth-download-ftp " ">
|
---|
| 9 | <!ENTITY liboauth-md5sum "46881d24bc7107dc0c66ef250f03d95e">
|
---|
| 10 | <!ENTITY liboauth-size "492 KB">
|
---|
| 11 | <!ENTITY liboauth-buildsize "3.5 MB">
|
---|
| 12 | <!ENTITY liboauth-time "less than 0.1 SBU">
|
---|
| 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="liboauth" xreflabel="liboauth-&liboauth-version;">
|
---|
| 16 | <?dbhtml filename="liboauth.html"?>
|
---|
| 17 |
|
---|
| 18 |
|
---|
| 19 | <title>liboauth-&liboauth-version;</title>
|
---|
| 20 |
|
---|
| 21 | <indexterm zone="liboauth">
|
---|
| 22 | <primary sortas="a-liboauth">liboauth</primary>
|
---|
| 23 | </indexterm>
|
---|
| 24 |
|
---|
| 25 | <sect2 role="package">
|
---|
| 26 | <title>Introduction to liboauth</title>
|
---|
| 27 |
|
---|
| 28 | <para>
|
---|
| 29 | <application>liboauth</application> is a collection of POSIX-C functions
|
---|
| 30 | implementing the OAuth Core RFC 5849 standard. Liboauth provides functions
|
---|
| 31 | to escape and encode parameters according to OAuth specification and
|
---|
| 32 | offers high-level functionality to sign requests or verify OAuth signatures
|
---|
| 33 | as well as perform HTTP requests.
|
---|
| 34 | </para>
|
---|
| 35 |
|
---|
| 36 | &lfs73_checked;
|
---|
| 37 |
|
---|
| 38 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 39 | <itemizedlist spacing="compact">
|
---|
| 40 | <listitem>
|
---|
| 41 | <para>
|
---|
| 42 | Download (HTTP): <ulink url="&liboauth-download-http;"/>
|
---|
| 43 | </para>
|
---|
| 44 | </listitem>
|
---|
| 45 | <listitem>
|
---|
| 46 | <para>
|
---|
| 47 | Download (FTP): <ulink url="&liboauth-download-ftp;"/>
|
---|
| 48 | </para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>
|
---|
| 52 | Download MD5 sum: &liboauth-md5sum;
|
---|
| 53 | </para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>
|
---|
| 57 | Download size: &liboauth-size;
|
---|
| 58 | </para>
|
---|
| 59 | </listitem>
|
---|
| 60 | <listitem>
|
---|
| 61 | <para>
|
---|
| 62 | Estimated disk space required: &liboauth-buildsize;
|
---|
| 63 | </para>
|
---|
| 64 | </listitem>
|
---|
| 65 | <listitem>
|
---|
| 66 | <para>
|
---|
| 67 | Estimated build time: &liboauth-time;
|
---|
| 68 | </para>
|
---|
| 69 | </listitem>
|
---|
| 70 | </itemizedlist>
|
---|
| 71 |
|
---|
| 72 | <bridgehead renderas="sect3">liboauth Dependencies</bridgehead>
|
---|
| 73 |
|
---|
| 74 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 75 | <para role="required">
|
---|
| 76 | <xref linkend="curl"/> and
|
---|
| 77 | <xref linkend="openssl"/> or
|
---|
| 78 | <xref linkend="nss"/>
|
---|
| 79 | </para>
|
---|
| 80 |
|
---|
| 81 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 82 | <para role="optional">
|
---|
| 83 | <xref linkend="doxygen"/> (to build documentation).
|
---|
| 84 | </para>
|
---|
| 85 |
|
---|
| 86 | <para condition="html" role="usernotes">User Notes:
|
---|
| 87 | <ulink url="&blfs-wiki;/liboauth"/>
|
---|
| 88 | </para>
|
---|
| 89 | </sect2>
|
---|
| 90 |
|
---|
| 91 | <sect2 role="installation">
|
---|
| 92 | <title>Installation of liboauth</title>
|
---|
| 93 |
|
---|
| 94 | <para>
|
---|
| 95 | Install <application>liboauth</application> by running the following
|
---|
| 96 | commands:
|
---|
| 97 | </para>
|
---|
| 98 |
|
---|
| 99 | <screen><userinput>./configure --prefix=/usr --disable-static &&
|
---|
| 100 | make</userinput></screen>
|
---|
| 101 |
|
---|
| 102 | <para>
|
---|
| 103 | If you have <xref linkend="doxygen"/>, issue <command>make dox</command>
|
---|
| 104 | to build documentation.
|
---|
| 105 | </para>
|
---|
| 106 |
|
---|
| 107 | <para>
|
---|
| 108 | To test the results, issue: <command>make check</command>.
|
---|
| 109 | </para>
|
---|
| 110 |
|
---|
| 111 | <para>
|
---|
| 112 | Now, as the <systemitem class="username">root</systemitem> user:
|
---|
| 113 | </para>
|
---|
| 114 |
|
---|
| 115 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 116 |
|
---|
| 117 | <para>
|
---|
| 118 | If you have built documentation previously, install it with following
|
---|
| 119 | commands as the <systemitem class="username">root</systemitem> user:
|
---|
| 120 | </para>
|
---|
| 121 |
|
---|
| 122 | <screen role="root"><userinput>mkdir -pv /usr/share/doc/liboauth-&liboauth-version; &&
|
---|
| 123 | cp -rv doc/html/* /usr/share/doc/liboauth-&liboauth-version;</userinput></screen>
|
---|
| 124 |
|
---|
| 125 | </sect2>
|
---|
| 126 |
|
---|
| 127 | <sect2 role="commands">
|
---|
| 128 | <title>Command Explanations</title>
|
---|
| 129 |
|
---|
| 130 | <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
---|
| 131 | href="../../xincludes/static-libraries.xml"/>
|
---|
| 132 |
|
---|
| 133 | <para>
|
---|
| 134 | <option>--enable-nss</option>: Use this switch if you want to
|
---|
| 135 | use Mozilla NSS instead of <application>OpenSSL</application>.
|
---|
| 136 | </para>
|
---|
| 137 |
|
---|
| 138 | </sect2>
|
---|
| 139 |
|
---|
| 140 | <sect2 role="content">
|
---|
| 141 | <title>Contents</title>
|
---|
| 142 |
|
---|
| 143 | <segmentedlist>
|
---|
| 144 | <segtitle>Installed Programs</segtitle>
|
---|
| 145 | <segtitle>Installed Library</segtitle>
|
---|
| 146 | <segtitle>Installed Directory</segtitle>
|
---|
| 147 |
|
---|
| 148 | <seglistitem>
|
---|
| 149 | <seg>
|
---|
| 150 | None
|
---|
| 151 | </seg>
|
---|
| 152 | <seg>
|
---|
| 153 | liboauth.so
|
---|
| 154 | </seg>
|
---|
| 155 | <seg>
|
---|
| 156 | /usr/share/doc/liboauth-&liboauth-version;
|
---|
| 157 | </seg>
|
---|
| 158 | </seglistitem>
|
---|
| 159 | </segmentedlist>
|
---|
| 160 |
|
---|
| 161 | <variablelist>
|
---|
| 162 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 163 | <?dbfo list-presentation="list"?>
|
---|
| 164 | <?dbhtml list-presentation="table"?>
|
---|
| 165 |
|
---|
| 166 | <varlistentry id="liboauth-lib">
|
---|
| 167 | <term><filename class="libraryfile">liboauth.so</filename></term>
|
---|
| 168 | <listitem>
|
---|
| 169 | <para>
|
---|
| 170 | provides functions to escape and encode stings according to
|
---|
| 171 | OAuth specifications and offers high-level functionality built
|
---|
| 172 | on top to sign requests or verify signatures using either NSS or
|
---|
| 173 | OpenSSL for calculating the hash/signatures.
|
---|
| 174 | </para>
|
---|
| 175 | <indexterm zone="liboauth liboauth-lib">
|
---|
| 176 | <primary sortas="c-liboauth">liboauth.so</primary>
|
---|
| 177 | </indexterm>
|
---|
| 178 | </listitem>
|
---|
| 179 | </varlistentry>
|
---|
| 180 |
|
---|
| 181 | </variablelist>
|
---|
| 182 |
|
---|
| 183 | </sect2>
|
---|
| 184 |
|
---|
| 185 | </sect1>
|
---|