source: postlfs/security/liboauth.xml@ 8dfc5c3

10.0 10.1 11.0 11.1 11.2 11.3 12.0 12.1 8.1 8.2 8.3 8.4 9.0 9.1 basic bdubbs/svn elogind kea ken/TL2024 ken/inkscape-core-mods ken/tuningfonts lazarus lxqt perl-modules 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 8dfc5c3 was 8dfc5c3, checked in by Krejzi <krejzi@…>, 7 years ago

Fix some URLs

  • Switch to https:// scheme where possible to avoid redirects
  • Unify all kernel.org, Sourceforge and GNU URLs
  • Fix python and perl module URLs to be consistent
  • Fix github provided URLs to properly download tarballs instead of vFOO.tar.gz
  • Use upstream locations for some packages or better/shorter URLs if available
  • Add https:// URLs for gnupg packages

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

  • Property mode set to 100644
File size: 6.0 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;" revision="systemd">
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 &lfs80_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 <xref linkend="openssl"/>: <ulink
80 url="&patch-root;/liboauth-&liboauth-version;-openssl-1.1.0-2.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"/> and
90 <xref linkend="openssl"/> or
91 <xref linkend="nss"/>
92 </para>
93
94 <bridgehead renderas="sect4">Optional</bridgehead>
95 <para role="optional">
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 If building with <xref linkend="openssl"/> support, apply a patch for the
109 new version:
110 </para>
111
112<screen><userinput>patch -Np1 -i ../liboauth-&liboauth-version;-openssl-1.1.0-2.patch</userinput></screen>
113
114 <para>
115 Install <application>liboauth</application> by running the following
116 commands:
117 </para>
118
119<screen><userinput>./configure --prefix=/usr --disable-static &amp;&amp;
120make</userinput></screen>
121
122 <para>
123 If you have installed <xref linkend="doxygen"/>, issue
124 <command>make dox</command> to build the documentation.
125 </para>
126
127 <para>
128 To test the results, issue: <command>make check</command>.
129 </para>
130
131 <para>
132 Now, as the <systemitem class="username">root</systemitem> user:
133 </para>
134
135<screen role="root"><userinput>make install</userinput></screen>
136
137 <para>
138 If you have previously built the documentation, install it by
139 running the following commands as the
140 <systemitem class="username">root</systemitem> user:
141 </para>
142
143<screen role="root"><userinput>install -v -dm755 /usr/share/doc/liboauth-&liboauth-version; &amp;&amp;
144cp -rv doc/html/* /usr/share/doc/liboauth-&liboauth-version;</userinput></screen>
145
146 </sect2>
147
148 <sect2 role="commands">
149 <title>Command Explanations</title>
150
151 <xi:include xmlns:xi="http://www.w3.org/2001/XInclude"
152 href="../../xincludes/static-libraries.xml"/>
153
154 <para>
155 <option>--enable-nss</option>: Use this switch if you want to
156 use Mozilla NSS instead of <application>OpenSSL</application>.
157 </para>
158
159 </sect2>
160
161 <sect2 role="content">
162 <title>Contents</title>
163
164 <segmentedlist>
165 <segtitle>Installed Programs</segtitle>
166 <segtitle>Installed Libraries</segtitle>
167 <segtitle>Installed Directories</segtitle>
168
169 <seglistitem>
170 <seg>
171 None
172 </seg>
173 <seg>
174 liboauth.so
175 </seg>
176 <seg>
177 /usr/share/doc/liboauth-&liboauth-version;
178 </seg>
179 </seglistitem>
180 </segmentedlist>
181
182 <variablelist>
183 <bridgehead renderas="sect3">Short Descriptions</bridgehead>
184 <?dbfo list-presentation="list"?>
185 <?dbhtml list-presentation="table"?>
186
187 <varlistentry id="liboauth-lib">
188 <term><filename class="libraryfile">liboauth.so</filename></term>
189 <listitem>
190 <para>
191 provides functions to escape and encode stings according to
192 OAuth specifications and offers high-level functionality built
193 on top to sign requests or verify signatures using either NSS or
194 OpenSSL for calculating the hash/signatures.
195 </para>
196 <indexterm zone="liboauth liboauth-lib">
197 <primary sortas="c-liboauth">liboauth.so</primary>
198 </indexterm>
199 </listitem>
200 </varlistentry>
201
202 </variablelist>
203
204 </sect2>
205
206</sect1>
Note: See TracBrowser for help on using the repository browser.