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-6.5
platform.
Package Information
Libksba Dependencies
Required
Libgpg-error-1.7
User Notes: http://wiki.linuxfromscratch.org/blfs/wiki/libksba
Installation of Libksba
Install Libksba by running the
following commands:
./configure --prefix=/usr &&
make
Only info
documentation is shipped in the package tarball. If you wish to
build alternate formats of the documentation, you must have
teTeX-3.0 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 &&
makeinfo --html --no-split -o doc/ksba_nochunks.html doc/ksba.texi &&
makeinfo --plaintext -o doc/ksba.txt doc/ksba.texi
To test the results, issue: make
check.
Now, as the root user:
make install &&
install -v -m644 -D README /usr/share/doc/libksba-1.0.7/README
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.0.7/html &&
install -v -m644 doc/ksba.html/* \
/usr/share/doc/libksba-1.0.7/html &&
install -v -m644 doc/ksba_*.html \
/usr/share/doc/libksba-1.0.7 &&
install -v -m644 doc/ksba.{pdf,ps,dvi,txt,texi} \
/usr/share/doc/libksba-1.0.7