[139df56] | 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 |
|
---|
[d0151ee] | 7 | <!ENTITY libksba-download-http "&sources-anduin-http;/l/libksba-&libksba-version;.tar.bz2">
|
---|
[139df56] | 8 | <!ENTITY libksba-download-ftp "ftp://ftp.gnupg.org/gcrypt/libksba/libksba-&libksba-version;.tar.bz2">
|
---|
[d146ee9] | 9 | <!ENTITY libksba-md5sum "e797f370b69b4dc776499d6a071ae137">
|
---|
| 10 | <!ENTITY libksba-size "580 KB">
|
---|
| 11 | <!ENTITY libksba-buildsize "9.4 MB">
|
---|
| 12 | <!ENTITY libksba-time "0.1 SBU">
|
---|
[139df56] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="libksba" xreflabel="Libksba-&libksba-version;">
|
---|
| 16 | <?dbhtml filename="libksba.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Libksba-&libksba-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="libksba">
|
---|
| 26 | <primary sortas="a-Libksba">Libksba</primary>
|
---|
| 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
| 30 | <title>Introduction to Libksba</title>
|
---|
| 31 |
|
---|
| 32 | <para>The <application>Libksba</application> package contains a library
|
---|
| 33 | used to make X.509 certificates as well as making the CMS (Cryptographic
|
---|
| 34 | Message Syntax) easily accessible by other applications. Both
|
---|
| 35 | specifications are building blocks of S/MIME and TLS. The library does not
|
---|
| 36 | rely on another cryptographic library but provides hooks for easy
|
---|
| 37 | integration with <application>Libgcrypt</application>.</para>
|
---|
[fd7e0ed6] | 38 |
|
---|
[9b30e2d2] | 39 | &lfs71_checked;
|
---|
[8c39cb01] | 40 |
|
---|
[139df56] | 41 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 42 | <itemizedlist spacing="compact">
|
---|
| 43 | <listitem>
|
---|
| 44 | <para>Download (HTTP): <ulink url="&libksba-download-http;"/></para>
|
---|
| 45 | </listitem>
|
---|
| 46 | <listitem>
|
---|
| 47 | <para>Download (FTP): <ulink url="&libksba-download-ftp;"/></para>
|
---|
| 48 | </listitem>
|
---|
| 49 | <listitem>
|
---|
| 50 | <para>Download MD5 sum: &libksba-md5sum;</para>
|
---|
| 51 | </listitem>
|
---|
| 52 | <listitem>
|
---|
| 53 | <para>Download size: &libksba-size;</para>
|
---|
| 54 | </listitem>
|
---|
| 55 | <listitem>
|
---|
| 56 | <para>Estimated disk space required: &libksba-buildsize;</para>
|
---|
| 57 | </listitem>
|
---|
| 58 | <listitem>
|
---|
| 59 | <para>Estimated build time: &libksba-time;</para>
|
---|
| 60 | </listitem>
|
---|
| 61 | </itemizedlist>
|
---|
| 62 |
|
---|
| 63 | <bridgehead renderas="sect3">Libksba Dependencies</bridgehead>
|
---|
| 64 |
|
---|
| 65 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 66 | <para role="required"><xref linkend="libgpg-error"/></para>
|
---|
| 67 |
|
---|
| 68 | <para condition="html" role="usernotes">User Notes:
|
---|
| 69 | <ulink url="&blfs-wiki;/libksba"/></para>
|
---|
| 70 |
|
---|
| 71 | </sect2>
|
---|
| 72 |
|
---|
| 73 | <sect2 role="installation">
|
---|
| 74 | <title>Installation of Libksba</title>
|
---|
| 75 |
|
---|
| 76 | <para>Install <application>Libksba</application> by running the
|
---|
| 77 | following commands:</para>
|
---|
| 78 |
|
---|
| 79 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[f1e103a] | 80 | make &&
|
---|
[139df56] | 81 |
|
---|
[f1e103a] | 82 | makeinfo --html --no-split -o doc/ksba_nochunks.html doc/ksba.texi &&
|
---|
| 83 | makeinfo --plaintext -o doc/ksba.txt doc/ksba.texi</userinput></screen>
|
---|
| 84 |
|
---|
| 85 | <para>If you wish to build alternate formats of the documentation, you
|
---|
[27d0323] | 86 | must have <!--<xref linkend="tetex"/> or--> <xref linkend="texlive"/> installed,
|
---|
[f1e103a] | 87 | then issue the following commands:</para>
|
---|
[139df56] | 88 |
|
---|
| 89 | <screen><userinput>tex --output-directory=doc ksba.texi &&
|
---|
| 90 | dvips -o doc/ksba.ps doc/ksba.dvi &&
|
---|
[f1e103a] | 91 | make -C doc pdf html</userinput></screen>
|
---|
[139df56] | 92 |
|
---|
| 93 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 94 |
|
---|
| 95 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 96 | user:</para>
|
---|
| 97 |
|
---|
| 98 | <screen role="root"><userinput>make install &&
|
---|
[f1e103a] | 99 |
|
---|
| 100 | install -v -m755 -d /usr/share/doc/libksba-&libksba-version; &&
|
---|
| 101 | install -v -m644 README doc/ksba{_nochunks.html,.txt,.texi} \
|
---|
| 102 | /usr/share/doc/libksba-&libksba-version;</userinput></screen>
|
---|
[139df56] | 103 |
|
---|
| 104 | <para>If you built the additional documentation, install it by issuing the
|
---|
| 105 | following commands as the <systemitem class="username">root</systemitem>
|
---|
| 106 | user:</para>
|
---|
| 107 |
|
---|
| 108 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/libksba-&libksba-version;/html &&
|
---|
| 109 | install -v -m644 doc/ksba.html/* \
|
---|
| 110 | /usr/share/doc/libksba-&libksba-version;/html &&
|
---|
[f1e103a] | 111 | install -v -m644 doc/ksba.{pdf,ps,dvi} \
|
---|
[139df56] | 112 | /usr/share/doc/libksba-&libksba-version;</userinput></screen>
|
---|
| 113 |
|
---|
| 114 | </sect2>
|
---|
| 115 |
|
---|
| 116 | <sect2 role="content">
|
---|
| 117 | <title>Contents</title>
|
---|
| 118 |
|
---|
| 119 | <segmentedlist>
|
---|
| 120 | <segtitle>Installed Program</segtitle>
|
---|
[d284bee] | 121 | <segtitle>Installed Library</segtitle>
|
---|
[139df56] | 122 | <segtitle>Installed Directory</segtitle>
|
---|
| 123 |
|
---|
| 124 | <seglistitem>
|
---|
[2b81e19] | 125 | <seg>ksba-config</seg>
|
---|
[139df56] | 126 | <seg>libksba.{so,a}</seg>
|
---|
| 127 | <seg>/usr/share/doc/libksba-&libksba-version;</seg>
|
---|
| 128 | </seglistitem>
|
---|
| 129 | </segmentedlist>
|
---|
| 130 |
|
---|
| 131 | <variablelist>
|
---|
| 132 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 133 | <?dbfo list-presentation="list"?>
|
---|
| 134 | <?dbhtml list-presentation="table"?>
|
---|
| 135 |
|
---|
[2b81e19] | 136 | <varlistentry id="ksba-config">
|
---|
| 137 | <term><command>ksba-config</command></term>
|
---|
[139df56] | 138 | <listitem>
|
---|
| 139 | <para>is a utility used to configure and build applications based on
|
---|
| 140 | the libksba(3) library. It can be used to query the C compiler and
|
---|
| 141 | linker flags which are required to correctly compile and link the
|
---|
| 142 | application against the libksba(3) library.</para>
|
---|
[2b81e19] | 143 | <indexterm zone="libksba ksba-config">
|
---|
| 144 | <primary sortas="b-ksba-config">ksba-config</primary>
|
---|
[139df56] | 145 | </indexterm>
|
---|
| 146 | </listitem>
|
---|
| 147 | </varlistentry>
|
---|
| 148 |
|
---|
| 149 | <varlistentry id="libksba-lib">
|
---|
| 150 | <term><filename class='libraryfile'>libksba.{so,a}</filename></term>
|
---|
| 151 | <listitem>
|
---|
| 152 | <para>contains the cryptographic API functions.</para>
|
---|
| 153 | <indexterm zone="libksba libksba-lib">
|
---|
| 154 | <primary sortas="c-libksba">libksba.{so,a}</primary>
|
---|
| 155 | </indexterm>
|
---|
| 156 | </listitem>
|
---|
| 157 | </varlistentry>
|
---|
| 158 |
|
---|
| 159 | </variablelist>
|
---|
| 160 |
|
---|
| 161 | </sect2>
|
---|
| 162 |
|
---|
| 163 | </sect1>
|
---|