mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-02-03 06:27:16 +08:00
69a16457da
(systemd/gnome merge staging) Update to libgweather-3.20.1 (systemd/gnome merge staging) Update to libgtop-2.34.0 (systemd/gnome merge staging) Update to libgdata-0.17.5 (systemd/gnome merge staging) Update to libchamplain-0.12.13 (systemd/gnome merge staging) Update to gtkhtml-4.10.0 (systemd/gnome merge staging) Update to grilo-0.3.1 (systemd/gnome merge) Greenlighted libgtop and libpeas (systemd/gnome merge) Moved grilo, gtkhtml, libchamplain, libgdata, libgee, libgweather, and libwacom over to trunk Added libwacom as an optional dependency to libinput on systemd systems Merged switches and dependencies for Clutter from systemd branch (for systemd systems) Tags Added DJ's name in the changelog for his recent commit git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@17564 af4574ff-66df-0310-9fd7-8a98e5e911e0
191 lines
5.4 KiB
XML
191 lines
5.4 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 "http://sourceforge.net/projects/liboauth/files/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;" revision="systemd">
|
|
<?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>
|
|
|
|
&lfs79_checked;&gcc6_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">liboauth Dependencies</bridgehead>
|
|
|
|
<bridgehead renderas="sect4">Required</bridgehead>
|
|
<para role="required">
|
|
<xref linkend="curl"/> and
|
|
<xref linkend="openssl"/> or
|
|
<xref linkend="nss"/>
|
|
</para>
|
|
|
|
<bridgehead renderas="sect4">Optional</bridgehead>
|
|
<para role="optional">
|
|
<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>
|
|
Install <application>liboauth</application> by running the following
|
|
commands:
|
|
</para>
|
|
|
|
<screen><userinput>./configure --prefix=/usr --disable-static &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
If you have installed <xref linkend="doxygen"/>, issue
|
|
<command>make dox</command> to build the documentation.
|
|
</para>
|
|
|
|
<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"><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>
|