source: postlfs/security/liboauth.xml@ be2215e

10.0 10.1 11.0 8.4 9.0 9.1 ken/refactor-virt lazarus qt5new trunk xry111/git-date xry111/git-date-for-trunk xry111/git-date-test
Last change on this file since be2215e was be2215e, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tag packages in postlfs part

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@21199 af4574ff-66df-0310-9fd7-8a98e5e911e0

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