source: postlfs/security/liboauth.xml@ 7d90b1b

12.0 12.1 kea ken/TL2024 ken/tuningfonts lazarus lxqt plabs/newcss python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk xry111/llvm18 xry111/xf86-video-removal
Last change on this file since 7d90b1b was cfd4fa8, checked in by Bruce Dubbs <bdubbs@…>, 16 months ago

Tags

  • Property mode set to 100644
File size: 5.8 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
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 &lfs113_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">Additional Downloads</bridgehead>
73 <itemizedlist spacing="compact">
74 <listitem>
75 <para>
76 Required patch for use with openssl: <ulink url=
77 "&patch-root;/liboauth-&liboauth-version;-openssl-1.1.0-3.patch"/>
78 </para>
79 </listitem>
80 </itemizedlist>
81
82 <bridgehead renderas="sect3">liboauth Dependencies</bridgehead>
83
84 <bridgehead renderas="sect4">Required</bridgehead>
85 <para role="required">
86 <xref linkend="curl"/>
87 </para>
88
89 <bridgehead renderas="sect4">Optional</bridgehead>
90 <para role="optional">
91 <xref linkend="nss"/> and
92 <xref linkend="doxygen"/> (to build documentation)
93 </para>
94
95 <para condition="html" role="usernotes">User Notes:
96 <ulink url="&blfs-wiki;/liboauth"/>
97 </para>
98 </sect2>
99
100 <sect2 role="installation">
101 <title>Installation of liboauth</title>
102
103 <para>
104 Apply a patch for the current version of openssl:
105 </para>
106
107<screen><userinput>patch -Np1 -i ../liboauth-&liboauth-version;-openssl-1.1.0-3.patch</userinput></screen>
108
109 <para>
110 Install <application>liboauth</application> by running the following
111 commands:
112 </para>
113
114<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
115make</userinput></screen>
116
117 <para>
118 If you wish to build the documentation (needs <xref linkend="doxygen"/>),
119 issue:
120 </para>
121
122<screen remap="doc"><userinput>make dox</userinput></screen>
123
124 <para>
125 To test the results, issue: <command>make check</command>.
126 </para>
127
128 <para>
129 Now, as the <systemitem class="username">root</systemitem> user:
130 </para>
131
132<screen role="root"><userinput>make install</userinput></screen>
133
134 <para>
135 If you have previously built the documentation, install it by
136 running the following commands as the
137 <systemitem class="username">root</systemitem> user:
138 </para>
139
140<screen role="root"
141 remap="doc"><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 strings 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.