[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 |
|
---|
[662e411] | 7 | <!ENTITY libksba-download-http " ">
|
---|
[139df56] | 8 | <!ENTITY libksba-download-ftp "ftp://ftp.gnupg.org/gcrypt/libksba/libksba-&libksba-version;.tar.bz2">
|
---|
[200bab29] | 9 | <!ENTITY libksba-md5sum "a5dd3c57fca254935f5cf8db26e39065">
|
---|
| 10 | <!ENTITY libksba-size "608 KB">
|
---|
| 11 | <!ENTITY libksba-buildsize "6.5 MB">
|
---|
[d146ee9] | 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 |
|
---|
[08efd97] | 39 | &lfs77_checked; &gcc5_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 |
|
---|
[6b4f8529] | 68 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 69 | <para role="optional"><xref linkend="valgrind"/></para>
|
---|
| 70 |
|
---|
[139df56] | 71 | <para condition="html" role="usernotes">User Notes:
|
---|
| 72 | <ulink url="&blfs-wiki;/libksba"/></para>
|
---|
| 73 |
|
---|
| 74 | </sect2>
|
---|
| 75 |
|
---|
| 76 | <sect2 role="installation">
|
---|
| 77 | <title>Installation of Libksba</title>
|
---|
| 78 |
|
---|
| 79 | <para>Install <application>Libksba</application> by running the
|
---|
| 80 | following commands:</para>
|
---|
| 81 |
|
---|
| 82 | <screen><userinput>./configure --prefix=/usr &&
|
---|
[5030bab] | 83 | make</userinput></screen><!-- &&
|
---|
[139df56] | 84 |
|
---|
[5030bab] | 85 | makeinfo - -html - -no-split -o doc/ksba_nochunks.html doc/ksba.texi &&
|
---|
| 86 | makeinfo - -plaintext -o doc/ksba.txt doc/ksba.texi</userinput></screen>
|
---|
[f1e103a] | 87 |
|
---|
| 88 | <para>If you wish to build alternate formats of the documentation, you
|
---|
[8aeb474] | 89 | must have <xref linkend="texlive"/> installed,
|
---|
[f1e103a] | 90 | then issue the following commands:</para>
|
---|
[139df56] | 91 |
|
---|
[5030bab] | 92 | <screen><userinput>make -C doc ps pdf html</userinput></screen> -->
|
---|
[139df56] | 93 |
|
---|
| 94 | <para>To test the results, issue: <command>make check</command>.</para>
|
---|
| 95 |
|
---|
| 96 | <para>Now, as the <systemitem class="username">root</systemitem>
|
---|
| 97 | user:</para>
|
---|
| 98 |
|
---|
[5030bab] | 99 | <screen role="root"><userinput>make install</userinput></screen><!-- &&
|
---|
[f1e103a] | 100 |
|
---|
| 101 | install -v -m755 -d /usr/share/doc/libksba-&libksba-version; &&
|
---|
| 102 | install -v -m644 README doc/ksba{_nochunks.html,.txt,.texi} \
|
---|
| 103 | /usr/share/doc/libksba-&libksba-version;</userinput></screen>
|
---|
[139df56] | 104 |
|
---|
| 105 | <para>If you built the additional documentation, install it by issuing the
|
---|
| 106 | following commands as the <systemitem class="username">root</systemitem>
|
---|
| 107 | user:</para>
|
---|
| 108 |
|
---|
| 109 | <screen role="root"><userinput>install -v -m755 -d /usr/share/doc/libksba-&libksba-version;/html &&
|
---|
| 110 | install -v -m644 doc/ksba.html/* \
|
---|
| 111 | /usr/share/doc/libksba-&libksba-version;/html &&
|
---|
[f1e103a] | 112 | install -v -m644 doc/ksba.{pdf,ps,dvi} \
|
---|
[5030bab] | 113 | /usr/share/doc/libksba-&libksba-version;</userinput></screen> -->
|
---|
[139df56] | 114 |
|
---|
| 115 | </sect2>
|
---|
| 116 |
|
---|
| 117 | <sect2 role="content">
|
---|
| 118 | <title>Contents</title>
|
---|
| 119 |
|
---|
| 120 | <segmentedlist>
|
---|
| 121 | <segtitle>Installed Program</segtitle>
|
---|
[d284bee] | 122 | <segtitle>Installed Library</segtitle>
|
---|
[139df56] | 123 | <segtitle>Installed Directory</segtitle>
|
---|
| 124 |
|
---|
| 125 | <seglistitem>
|
---|
[2b81e19] | 126 | <seg>ksba-config</seg>
|
---|
[528bf1b] | 127 | <seg>libksba.so</seg>
|
---|
[5030bab] | 128 | <seg>None<!--/usr/share/doc/libksba-&libksba-version;--></seg>
|
---|
[139df56] | 129 | </seglistitem>
|
---|
| 130 | </segmentedlist>
|
---|
| 131 |
|
---|
| 132 | <variablelist>
|
---|
| 133 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 134 | <?dbfo list-presentation="list"?>
|
---|
| 135 | <?dbhtml list-presentation="table"?>
|
---|
| 136 |
|
---|
[2b81e19] | 137 | <varlistentry id="ksba-config">
|
---|
| 138 | <term><command>ksba-config</command></term>
|
---|
[139df56] | 139 | <listitem>
|
---|
| 140 | <para>is a utility used to configure and build applications based on
|
---|
| 141 | the libksba(3) library. It can be used to query the C compiler and
|
---|
| 142 | linker flags which are required to correctly compile and link the
|
---|
| 143 | application against the libksba(3) library.</para>
|
---|
[2b81e19] | 144 | <indexterm zone="libksba ksba-config">
|
---|
| 145 | <primary sortas="b-ksba-config">ksba-config</primary>
|
---|
[139df56] | 146 | </indexterm>
|
---|
| 147 | </listitem>
|
---|
| 148 | </varlistentry>
|
---|
| 149 |
|
---|
| 150 | <varlistentry id="libksba-lib">
|
---|
| 151 | <term><filename class='libraryfile'>libksba.{so,a}</filename></term>
|
---|
| 152 | <listitem>
|
---|
| 153 | <para>contains the cryptographic API functions.</para>
|
---|
| 154 | <indexterm zone="libksba libksba-lib">
|
---|
| 155 | <primary sortas="c-libksba">libksba.{so,a}</primary>
|
---|
| 156 | </indexterm>
|
---|
| 157 | </listitem>
|
---|
| 158 | </varlistentry>
|
---|
| 159 |
|
---|
| 160 | </variablelist>
|
---|
| 161 |
|
---|
| 162 | </sect2>
|
---|
| 163 |
|
---|
| 164 | </sect1>
|
---|