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