Introduction to Libksba
The Libksba package contains a
library used to make X.509 certificates as well as making the CMS
(Cryptographic Message Syntax) easily accessible by other
applications. Both specifications are building blocks of S/MIME and
TLS. The library does not rely on another cryptographic library but
provides hooks for easy integration with Libgcrypt.
This package is known to build and work properly using an LFS-7.0
platform.
Package Information
Libksba Dependencies
Required
libgpg-error-1.10
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libksba
Installation of Libksba
Install Libksba by running the
following commands:
./configure --prefix=/usr &&
make &&
makeinfo --html --no-split -o doc/ksba_nochunks.html doc/ksba.texi &&
makeinfo --plaintext -o doc/ksba.txt doc/ksba.texi
If you wish to build alternate formats of the documentation, you
must have TeX Live-20110705 installed, then issue the
following commands:
tex --output-directory=doc ksba.texi &&
dvips -o doc/ksba.ps doc/ksba.dvi &&
make -C doc pdf html
To test the results, issue: make
check.
Now, as the root
user:
make install &&
install -v -m755 -d /usr/share/doc/libksba-1.2.0 &&
install -v -m644 README doc/ksba{_nochunks.html,.txt,.texi} \
/usr/share/doc/libksba-1.2.0
If you built the additional documentation, install it by issuing
the following commands as the root
user:
install -v -m755 -d /usr/share/doc/libksba-1.2.0/html &&
install -v -m644 doc/ksba.html/* \
/usr/share/doc/libksba-1.2.0/html &&
install -v -m644 doc/ksba.{pdf,ps,dvi} \
/usr/share/doc/libksba-1.2.0