source: postlfs/security/liboauth.xml@ d5cc78a

11.0 11.1 11.2 11.3 12.0 12.1 kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt plabs/newcss plabs/python-mods python3.11 qt5new rahul/power-profiles-daemon renodr/vulkan-addition trunk upgradedb xry111/intltool xry111/llvm18 xry111/soup3 xry111/test-20220226 xry111/xf86-video-removal
Last change on this file since d5cc78a was eef74ab, checked in by Bruce Dubbs <bdubbs@…>, 3 years ago

Tags for postlfs, general libraries, and programming

git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24259 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 &lfs101_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">Additional Downloads</bridgehead>
77 <itemizedlist spacing="compact">
78 <listitem>
79 <para>
80 Required patch for use with openssl: <ulink url=
81 "&patch-root;/liboauth-&liboauth-version;-openssl-1.1.0-3.patch"/>
82 </para>
83 </listitem>
84 </itemizedlist>
85
86 <bridgehead renderas="sect3">liboauth Dependencies</bridgehead>
87
88 <bridgehead renderas="sect4">Required</bridgehead>
89 <para role="required">
90 <xref linkend="curl"/>
91 </para>
92
93 <bridgehead renderas="sect4">Optional</bridgehead>
94 <para role="optional">
95 <xref linkend="nss"/> and
96 <xref linkend="doxygen"/> (to build documentation)
97 </para>
98
99 <para condition="html" role="usernotes">User Notes:
100 <ulink url="&blfs-wiki;/liboauth"/>
101 </para>
102 </sect2>
103
104 <sect2 role="installation">
105 <title>Installation of liboauth</title>
106
107 <para>
108 Apply a patch for the current version of openssl:
109 </para>
110
111<screen><userinput>patch -Np1 -i ../liboauth-&liboauth-version;-openssl-1.1.0-3.patch</userinput></screen>
112
113 <para>
114 Install <application>liboauth</application> by running the following
115 commands:
116 </para>
117
118<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
119make</userinput></screen>
120
121 <para>
122 If you wish to build the documentation (needs <xref linkend="doxygen"/>),
123 issue:
124 </para>
125
126<screen remap="doc"><userinput>make dox</userinput></screen>
127
128 <para>
129 To test the results, issue: <command>make check</command>.
130 </para>
131
132 <para>
133 Now, as the <systemitem class="username">root</systemitem> user:
134 </para>
135
136<screen role="root"><userinput>make install</userinput></screen>
137
138 <para>
139 If you have previously built the documentation, install it by
140 running the following commands as the
141 <systemitem class="username">root</systemitem> user:
142 </para>
143
144<screen role="root"
145 remap="doc"><userinput>install -v -dm755 /usr/share/doc/liboauth-&liboauth-version; &amp;&amp;
146cp -rv doc/html/* /usr/share/doc/liboauth-&liboauth-version;</userinput></screen>
147
148 </sect2>
149
150 <sect2 role="commands">
151 <title>Command Explanations</title>
152
153 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
154 href="../../xincludes/static-libraries.xml"/>
155
156 <para>
157 <option>--enable-nss</option>: Use this switch if you want to
158 use Mozilla NSS instead of <application>OpenSSL</application>.
159 </para>
160
161 </sect2>
162
163 <sect2 role="content">
164 <title>Contents</title>
165
166 <segmentedlist>
167 <segtitle>Installed Programs</segtitle>
168 <segtitle>Installed Libraries</segtitle>
169 <segtitle>Installed Directories</segtitle>
170
171 <seglistitem>
172 <seg>
173 None
174 </seg>
175 <seg>
176 liboauth.so
177 </seg>
178 <seg>
179 /usr/share/doc/liboauth-&liboauth-version;
180 </seg>
181 </seglistitem>
182 </segmentedlist>
183
184 <variablelist>
185 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
186 <?dbfo list-presentation="list"?>
187 <?dbhtml list-presentation="table"?>
188
189 <varlistentry id="liboauth-lib">
190 <term><filename class="libraryfile">liboauth.so</filename></term>
191 <listitem>
192 <para>
193 provides functions to escape and encode stings according to
194 OAuth specifications and offers high-level functionality built
195 on top to sign requests or verify signatures using either NSS or
196 OpenSSL for calculating the hash/signatures
197 </para>
198 <indexterm zone="liboauth liboauth-lib">
199 <primary sortas="c-liboauth">liboauth.so</primary>
200 </indexterm>
201 </listitem>
202 </varlistentry>
203
204 </variablelist>
205
206 </sect2>
207
208</sect1>
Note: See TracBrowser for help on using the repository browser.