liboauth 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.
This package is known to build and work properly using an LFS-8.2 platform.
Download (HTTP): https://downloads.sourceforge.net/liboauth/liboauth-1.0.3.tar.gz
Download MD5 sum: 689b46c2b3ab1a39735ac33f714c4f7f
Download size: 496 KB
Estimated disk space required: 3.5 MB
Estimated build time: less than 0.1 SBU
Required patch for use with openssl: http://www.linuxfromscratch.org/patches/blfs/8.2/liboauth-1.0.3-openssl-1.1.0-2.patch
NSS-3.35 and Doxygen-1.8.14 (to build documentation)
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/liboauth
Apply a patch for the current version of openssl:
patch -Np1 -i ../liboauth-1.0.3-openssl-1.1.0-2.patch
Install liboauth by running the following commands:
./configure --prefix=/usr --disable-static && make
If you have installed Doxygen-1.8.14, issue make dox to build the documentation.
To test the results, issue: make check.
Now, as the root
user:
make install
If you have previously built the documentation, install it by
running the following commands as the root
user:
install -v -dm755 /usr/share/doc/liboauth-1.0.3 && cp -rv doc/html/* /usr/share/doc/liboauth-1.0.3
--disable-static
: This
switch prevents installation of static versions of the libraries.
--enable-nss
: Use this switch if you
want to use Mozilla NSS instead of OpenSSL.
Last updated on 2018-02-22 11:45:27 -0800