mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 06:52:14 +08:00
3ff1723b2b
Various tags. git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@22017 af4574ff-66df-0310-9fd7-8a98e5e911e0
208 lines
5.9 KiB
XML
208 lines
5.9 KiB
XML
<?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 liboauth-download-http "&sourceforge-dl;/liboauth/liboauth-&liboauth-version;.tar.gz">
|
|
<!ENTITY liboauth-download-ftp " ">
|
|
<!ENTITY liboauth-md5sum "689b46c2b3ab1a39735ac33f714c4f7f">
|
|
<!ENTITY liboauth-size "496 KB">
|
|
<!ENTITY liboauth-buildsize "3.5 MB">
|
|
<!ENTITY liboauth-time "less than 0.1 SBU">
|
|
]>
|
|
|
|
<sect1 id="liboauth" xreflabel="liboauth-&liboauth-version;">
|
|
<?dbhtml filename="liboauth.html"?>
|
|
|
|
<sect1info>
|
|
<othername>$LastChangedBy$</othername>
|
|
<date>$Date$</date>
|
|
</sect1info>
|
|
|
|
<title>liboauth-&liboauth-version;</title>
|
|
|
|
<indexterm zone="liboauth">
|
|
<primary sortas="a-liboauth">liboauth</primary>
|
|
</indexterm>
|
|
|
|
<sect2 role="package">
|
|
<title>Introduction to liboauth</title>
|
|
|
|
<para>
|
|
<application>liboauth</application> is a collection of POSIX-C functions
|
|
implementing the OAuth Core RFC 5849 standard. Liboauth provides functions
|
|
to escape and encode parameters according to OAuth specification and
|
|
offers high-level functionality to sign requests or verify OAuth signatures
|
|
as well as perform HTTP requests.
|
|
</para>
|
|
|
|
&lfs90_checked;
|
|
|
|
<bridgehead renderas="sect3">Package Information</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>
|
|
Download (HTTP): <ulink url="&liboauth-download-http;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download (FTP): <ulink url="&liboauth-download-ftp;"/>
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download MD5 sum: &liboauth-md5sum;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Download size: &liboauth-size;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated disk space required: &liboauth-buildsize;
|
|
</para>
|
|
</listitem>
|
|
<listitem>
|
|
<para>
|
|
Estimated build time: &liboauth-time;
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
|
|
<itemizedlist spacing="compact">
|
|
<listitem>
|
|
<para>Required patch for use with openssl: <ulink
|
|
url="&patch-root;/liboauth-&liboauth-version;-openssl-1.1.0-3.patch"/>
|
|
</para>
|
|
</listitem>
|
|
</itemizedlist>
|
|
|
|
<bridgehead renderas="sect3">liboauth Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="curl"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<xref linkend="nss"/> and
|
|
<xref linkend="doxygen"/> (to build documentation)
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/liboauth"/>
|
|
</para>
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of liboauth</title>
|
|
|
|
<para>
|
|
Apply a patch for the current version of openssl:
|
|
</para>
|
|
|
|
<screen><userinput>patch -Np1 -i ../liboauth-&liboauth-version;-openssl-1.1.0-3.patch</userinput></screen>
|
|
|
|
<para>
|
|
Install <application>liboauth</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
If you wish to build the documentation (needs <xref linkend="doxygen"/>),
|
|
issue:
|
|
</para>
|
|
|
|
<screen remap="doc"><userinput>make dox</userinput></screen>
|
|
|
|
<para>
|
|
To test the results, issue: <command>make check</command>.
|
|
</para>
|
|
|
|
<para>
|
|
Now, as the <systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"><userinput>make install</userinput></screen>
|
|
|
|
<para>
|
|
If you have previously built the documentation, install it by
|
|
running the following commands as the
|
|
<systemitem class="username">root</systemitem> user:
|
|
</para>
|
|
|
|
<screen role="root"
|
|
remap="doc"><userinput>install -v -dm755 /usr/share/doc/liboauth-&liboauth-version; &&
|
|
cp -rv doc/html/* /usr/share/doc/liboauth-&liboauth-version;</userinput></screen>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="commands">
|
|
<title>Command Explanations</title>
|
|
|
|
<xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
|
|
href="../../xincludes/static-libraries.xml"/>
|
|
|
|
<para>
|
|
<option>--enable-nss</option>: Use this switch if you want to
|
|
use Mozilla NSS instead of <application>OpenSSL</application>.
|
|
</para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="content">
|
|
<title>Contents</title>
|
|
|
|
<segmentedlist>
|
|
<segtitle>Installed Programs</segtitle>
|
|
<segtitle>Installed Libraries</segtitle>
|
|
<segtitle>Installed Directories</segtitle>
|
|
|
|
<seglistitem>
|
|
<seg>
|
|
None
|
|
</seg>
|
|
<seg>
|
|
liboauth.so
|
|
</seg>
|
|
<seg>
|
|
/usr/share/doc/liboauth-&liboauth-version;
|
|
</seg>
|
|
</seglistitem>
|
|
</segmentedlist>
|
|
|
|
<variablelist>
|
|
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
|
<?dbfo list-presentation="list"?>
|
|
<?dbhtml list-presentation="table"?>
|
|
|
|
<varlistentry id="liboauth-lib">
|
|
<term><filename class="libraryfile">liboauth.so</filename></term>
|
|
<listitem>
|
|
<para>
|
|
provides functions to escape and encode stings according to
|
|
OAuth specifications and offers high-level functionality built
|
|
on top to sign requests or verify signatures using either NSS or
|
|
OpenSSL for calculating the hash/signatures.
|
|
</para>
|
|
<indexterm zone="liboauth liboauth-lib">
|
|
<primary sortas="c-liboauth">liboauth.so</primary>
|
|
</indexterm>
|
|
</listitem>
|
|
</varlistentry>
|
|
|
|
</variablelist>
|
|
|
|
</sect2>
|
|
|
|
</sect1>
|