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