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