[47969a6] | 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 |
|
---|
[692b415e] | 7 | <!ENTITY qca-download-http "http://download.kde.org/stable/qca/&qca-version;/src/qca-&qca-version;.tar.xz">
|
---|
[47969a6] | 8 | <!ENTITY qca-download-ftp " ">
|
---|
[75c06a6] | 9 | <!ENTITY qca-md5sum "5019cc29efcf828681cd93164238ce26">
|
---|
| 10 | <!ENTITY qca-size "672 KB">
|
---|
[5982e67] | 11 | <!ENTITY qca-buildsize "28 MB">
|
---|
[b7a66395] | 12 | <!ENTITY qca-time "0.5 SBU (using parallelism=4; add 0.6 SBU for tests)">
|
---|
[47969a6] | 13 | ]>
|
---|
| 14 |
|
---|
| 15 | <sect1 id="qca" xreflabel="qca-&qca-version;">
|
---|
| 16 | <?dbhtml filename="qca.html"?>
|
---|
| 17 |
|
---|
| 18 | <sect1info>
|
---|
| 19 | <othername>$LastChangedBy$</othername>
|
---|
| 20 | <date>$Date$</date>
|
---|
| 21 | </sect1info>
|
---|
| 22 |
|
---|
| 23 | <title>Qca-&qca-version;</title>
|
---|
| 24 |
|
---|
| 25 | <indexterm zone="qca">
|
---|
[81586492] | 26 | <primary sortas="a-qca">qca</primary>
|
---|
[47969a6] | 27 | </indexterm>
|
---|
| 28 |
|
---|
| 29 | <sect2 role="package">
|
---|
[ad41452] | 30 | <title>Introduction to Qca</title>
|
---|
[47969a6] | 31 |
|
---|
[0d7900a] | 32 | <para><application>Qca</application> aims to provide a straightforward
|
---|
| 33 | and cross-platform crypto API, using <application>Qt</application> datatypes
|
---|
| 34 | and conventions. <application>Qca</application> separates the API from
|
---|
[47969a6] | 35 | the implementation, using plugins known as Providers.</para>
|
---|
| 36 |
|
---|
[e66a8c3] | 37 | &lfs83_checked;
|
---|
[47969a6] | 38 |
|
---|
| 39 | <bridgehead renderas="sect3">Package Information</bridgehead>
|
---|
| 40 | <itemizedlist spacing="compact">
|
---|
| 41 | <listitem>
|
---|
| 42 | <para>Download (HTTP): <ulink url="&qca-download-http;"/></para>
|
---|
| 43 | </listitem>
|
---|
| 44 | <listitem>
|
---|
| 45 | <para>Download (FTP): <ulink url="&qca-download-ftp;"/></para>
|
---|
| 46 | </listitem>
|
---|
| 47 | <listitem>
|
---|
| 48 | <para>Download MD5 sum: &qca-md5sum;</para>
|
---|
| 49 | </listitem>
|
---|
| 50 | <listitem>
|
---|
| 51 | <para>Download size: &qca-size;</para>
|
---|
| 52 | </listitem>
|
---|
| 53 | <listitem>
|
---|
| 54 | <para>Estimated disk space required: &qca-buildsize;</para>
|
---|
| 55 | </listitem>
|
---|
| 56 | <listitem>
|
---|
| 57 | <para>Estimated build time: &qca-time;</para>
|
---|
| 58 | </listitem>
|
---|
| 59 | </itemizedlist>
|
---|
| 60 |
|
---|
[ad41452] | 61 | <bridgehead renderas="sect3">Qca Dependencies</bridgehead>
|
---|
[47969a6] | 62 |
|
---|
| 63 | <bridgehead renderas="sect4">Required</bridgehead>
|
---|
| 64 | <para role="required">
|
---|
[2198a32] | 65 | <xref linkend="make-ca"/>,
|
---|
[615961f] | 66 | <xref linkend="cmake"/>,
|
---|
[67b1a0a1] | 67 | <xref linkend="qt5"/>, and
|
---|
[e40b79b6] | 68 | <xref linkend="which"/>
|
---|
[47969a6] | 69 | </para>
|
---|
| 70 |
|
---|
[615961f] | 71 | <bridgehead renderas="sect4">Optional</bridgehead>
|
---|
| 72 | <para role="Optional">
|
---|
| 73 | <xref linkend="cyrus-sasl"/>,
|
---|
| 74 | <xref linkend="gnupg2"/>,
|
---|
| 75 | <xref linkend="libgcrypt"/>,
|
---|
| 76 | <xref linkend="libgpg-error"/>,
|
---|
| 77 | <xref linkend="nss"/>,
|
---|
| 78 | <xref linkend="nspr"/>,
|
---|
[a4f37269] | 79 | <xref linkend="openssl10"/>,
|
---|
[615961f] | 80 | <xref linkend="p11-kit"/>,
|
---|
| 81 | <xref linkend="doxygen"/>, and
|
---|
| 82 | <xref linkend="which"/>
|
---|
| 83 | </para>
|
---|
| 84 |
|
---|
[47969a6] | 85 | <para condition="html" role="usernotes">User Notes:
|
---|
| 86 | <ulink url="&blfs-wiki;/qca"/></para>
|
---|
| 87 |
|
---|
| 88 | </sect2>
|
---|
| 89 |
|
---|
| 90 | <sect2 role="installation">
|
---|
[ad41452] | 91 | <title>Installation of Qca</title>
|
---|
[47969a6] | 92 |
|
---|
[1e314ce] | 93 | <para>Fix the location of the CA certificates:</para>
|
---|
| 94 |
|
---|
| 95 | <screen><userinput>sed -i 's@ca-bundle.pem@ca-bundle.crt@' CMakeLists.txt</userinput></screen>
|
---|
| 96 |
|
---|
[ad41452] | 97 | <para>Install <application>Qca</application> by running the following
|
---|
[47969a6] | 98 | commands:</para>
|
---|
| 99 |
|
---|
[615961f] | 100 | <screen><userinput>mkdir build &&
|
---|
| 101 | cd build &&
|
---|
| 102 |
|
---|
[a4f37269] | 103 | cmake -DCMAKE_INSTALL_PREFIX=$QT5DIR \
|
---|
| 104 | -DCMAKE_BUILD_TYPE=Release \
|
---|
| 105 | -DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man \
|
---|
| 106 | -DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0 \
|
---|
| 107 | -DOPENSSL_SSL_LIBRARY=/usr/lib/openssl-1.0/libssl.so \
|
---|
| 108 | -DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.0/libcrypto.so \
|
---|
| 109 | .. &&
|
---|
[b6d3d395] | 110 |
|
---|
[47969a6] | 111 | make</userinput></screen>
|
---|
| 112 |
|
---|
[9ca304a] | 113 | <para>To test the results, issue <command>make test</command>.</para>
|
---|
| 114 |
|
---|
[47969a6] | 115 | <para>Now, as the <systemitem class="username">root</systemitem> user:</para>
|
---|
| 116 |
|
---|
| 117 | <screen role="root"><userinput>make install</userinput></screen>
|
---|
| 118 |
|
---|
| 119 | </sect2>
|
---|
[ad41452] | 120 |
|
---|
[47969a6] | 121 | <sect2 role="commands">
|
---|
| 122 | <title>Command Explanations</title>
|
---|
| 123 |
|
---|
[615961f] | 124 | <para><parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is
|
---|
| 125 | used to apply a higher level of compiler optimizations.</para>
|
---|
[47969a6] | 126 |
|
---|
[f3429309] | 127 | <para><parameter>-DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man</parameter>:
|
---|
[cbdad90b] | 128 | Install the qca man page in the normal location.</para>
|
---|
| 129 |
|
---|
[47969a6] | 130 | </sect2>
|
---|
[ad41452] | 131 |
|
---|
[47969a6] | 132 | <sect2 role="content">
|
---|
| 133 | <title>Contents</title>
|
---|
| 134 |
|
---|
| 135 | <segmentedlist>
|
---|
[ad41452] | 136 | <segtitle>Installed Programs</segtitle>
|
---|
[47969a6] | 137 | <segtitle>Installed Libraries</segtitle>
|
---|
[ad41452] | 138 | <segtitle>Installed Directories</segtitle>
|
---|
[47969a6] | 139 |
|
---|
| 140 | <seglistitem>
|
---|
[67b1a0a1] | 141 | <seg>mozcerts-qt5 and qcatool-qt5</seg>
|
---|
| 142 | <seg>libqca-qt5.so</seg>
|
---|
[615961f] | 143 | <seg>
|
---|
[67b1a0a1] | 144 | &qt5-dir;/include/Qca-qt5,
|
---|
| 145 | &qt5-dir;/lib/cmake/Qca-qt5, and
|
---|
| 146 | &qt5-dir;/lib/qca-qt5
|
---|
[615961f] | 147 | </seg>
|
---|
[47969a6] | 148 | </seglistitem>
|
---|
| 149 | </segmentedlist>
|
---|
[a88acf4] | 150 |
|
---|
[47969a6] | 151 | <variablelist>
|
---|
| 152 | <bridgehead renderas="sect3">Short Descriptions</bridgehead>
|
---|
| 153 | <?dbfo list-presentation="list"?>
|
---|
| 154 | <?dbhtml list-presentation="table"?>
|
---|
| 155 |
|
---|
[615961f] | 156 | <varlistentry id="mozcerts">
|
---|
[67b1a0a1] | 157 | <term><command>mozcerts-qt5</command></term>
|
---|
[615961f] | 158 | <listitem>
|
---|
| 159 | <para>is a command line tool for converting certdata.txt into
|
---|
| 160 | outfile.pem files.</para>
|
---|
| 161 | <indexterm zone="qca mozcerts">
|
---|
[67b1a0a1] | 162 | <primary sortas="b-mozcerts">mozcerts-qt5</primary>
|
---|
[615961f] | 163 | </indexterm>
|
---|
| 164 | </listitem>
|
---|
| 165 | </varlistentry>
|
---|
| 166 |
|
---|
| 167 | <varlistentry id="qcatool">
|
---|
[67b1a0a1] | 168 | <term><command>qcatool-qt5</command></term>
|
---|
[a88acf4] | 169 | <listitem>
|
---|
| 170 | <para>is a command line tool for performing various cryptographic
|
---|
[615961f] | 171 | operations with Qca.</para>
|
---|
| 172 | <indexterm zone="qca qcatool">
|
---|
[67b1a0a1] | 173 | <primary sortas="b-qcatool">qcatool-qt5</primary>
|
---|
[a88acf4] | 174 | </indexterm>
|
---|
| 175 | </listitem>
|
---|
| 176 | </varlistentry>
|
---|
| 177 |
|
---|
| 178 | <varlistentry id="libqca">
|
---|
[67b1a0a1] | 179 | <term><filename class='libraryfile'>libqca-qt5.so</filename></term>
|
---|
[47969a6] | 180 | <listitem>
|
---|
[a88acf4] | 181 | <para>is the Qt Cryptography Architecture (Qca) library.</para>
|
---|
| 182 | <indexterm zone="qca libqca">
|
---|
[67b1a0a1] | 183 | <primary sortas="c-libqca">libqca-qt5.so</primary>
|
---|
[47969a6] | 184 | </indexterm>
|
---|
| 185 | </listitem>
|
---|
| 186 | </varlistentry>
|
---|
| 187 |
|
---|
| 188 | </variablelist>
|
---|
[a88acf4] | 189 |
|
---|
[47969a6] | 190 | </sect2>
|
---|
| 191 |
|
---|
| 192 | </sect1>
|
---|