glfs/general/genlib/qca.xml
Bruce Dubbs 5ac58b5408 Update to plasma5-5.14.4.
Update to kf5-apps-18.12.0 and kwave-18.12.0. 
Update to kf5-5.53. 



git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@20819 af4574ff-66df-0310-9fd7-8a98e5e911e0
2018-12-16 05:24:03 +00:00

216 lines
6.6 KiB
XML

<?xml version="1.0" encoding="ISO-8859-1"?>
<!DOCTYPE sect1 PUBLIC "-//OASIS//DTD DocBook XML V4.5//EN"
"http://www.oasis-open.org/docbook/xml/4.5/docbookx.dtd" [
<!ENTITY % general-entities SYSTEM "../../general.ent">
%general-entities;
<!ENTITY qca-download-http "http://download.kde.org/stable/qca/&qca-version;/src/qca-&qca-version;.tar.xz">
<!ENTITY qca-download-ftp " ">
<!ENTITY qca-md5sum "5019cc29efcf828681cd93164238ce26">
<!ENTITY qca-size "672 KB">
<!ENTITY qca-buildsize "28 MB">
<!ENTITY qca-time "0.5 SBU (using parallelism=4; add 0.6 SBU for tests)">
]>
<sect1 id="qca" xreflabel="qca-&qca-version;">
<?dbhtml filename="qca.html"?>
<sect1info>
<othername>$LastChangedBy$</othername>
<date>$Date$</date>
</sect1info>
<title>Qca-&qca-version;</title>
<indexterm zone="qca">
<primary sortas="a-qca">qca</primary>
</indexterm>
<sect2 role="package">
<title>Introduction to Qca</title>
<para><application>Qca</application> aims to provide a straightforward
and cross-platform crypto API, using <application>Qt</application> datatypes
and conventions. <application>Qca</application> separates the API from
the implementation, using plugins known as Providers.</para>
&lfs83_checked;
<bridgehead renderas="sect3">Package Information</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>Download (HTTP): <ulink url="&qca-download-http;"/></para>
</listitem>
<listitem>
<para>Download (FTP): <ulink url="&qca-download-ftp;"/></para>
</listitem>
<listitem>
<para>Download MD5 sum: &qca-md5sum;</para>
</listitem>
<listitem>
<para>Download size: &qca-size;</para>
</listitem>
<listitem>
<para>Estimated disk space required: &qca-buildsize;</para>
</listitem>
<listitem>
<para>Estimated build time: &qca-time;</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Additional Downloads</bridgehead>
<itemizedlist spacing="compact">
<listitem>
<para>
Required patch:
<ulink url="&patch-root;/qca-&qca-version;-openssl-1.patch"/>
</para>
</listitem>
</itemizedlist>
<bridgehead renderas="sect3">Qca Dependencies</bridgehead>
<bridgehead renderas="sect4">Required</bridgehead>
<para role="required">
<xref linkend="make-ca"/>,
<xref linkend="cmake"/>,
<xref linkend="qt5"/>, and
<xref linkend="which"/>
</para>
<bridgehead renderas="sect4">Optional</bridgehead>
<para role="Optional">
<xref linkend="cyrus-sasl"/>,
<xref linkend="gnupg2"/>,
<xref linkend="libgcrypt"/>,
<xref linkend="libgpg-error"/>,
<xref linkend="nss"/>,
<xref linkend="nspr"/>,
<xref linkend="p11-kit"/>,
<xref linkend="doxygen"/>, and
<xref linkend="which"/>
</para>
<para condition="html" role="usernotes">User Notes:
<ulink url="&blfs-wiki;/qca"/></para>
</sect2>
<sect2 role="installation">
<title>Installation of Qca</title>
<para>Use <application>openssl-1.1</application>:</para>
<screen><userinput>patch -Np1 -i ../qca-2.1.3-openssl-1.patch</userinput></screen>
<para>Fix the location of the CA certificates:</para>
<screen><userinput>sed -i 's@cert.pem@certs/ca-bundle.crt@' CMakeLists.txt</userinput></screen>
<para>Install <application>Qca</application> by running the following
commands:</para>
<screen><userinput>mkdir build &amp;&amp;
cd build &amp;&amp;
cmake -DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man \
-DOPENSSL_INCLUDE_DIR=/usr/include/openssl-1.0 \
-DOPENSSL_SSL_LIBRARY=/usr/lib/openssl-1.0/libssl.so \
-DOPENSSL_CRYPTO_LIBRARY=/usr/lib/openssl-1.0/libcrypto.so \
.. &amp;&amp;
make</userinput></screen>
<para>To test the results, issue <command>make test</command>. One
test is known to fail.</para>
<para>Now, as the <systemitem class="username">root</systemitem> user:</para>
<screen role="root"><userinput>make install</userinput></screen>
</sect2>
<sect2 role="commands">
<title>Command Explanations</title>
<para><parameter>-DCMAKE_BUILD_TYPE=Release</parameter>: This switch is
used to apply a higher level of compiler optimizations.</para>
<para><parameter>-DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man</parameter>:
Install the qca man page in the normal location.</para>
</sect2>
<sect2 role="content">
<title>Contents</title>
<segmentedlist>
<segtitle>Installed Programs</segtitle>
<segtitle>Installed Libraries</segtitle>
<segtitle>Installed Directories</segtitle>
<seglistitem>
<seg>mozcerts-qt5 and qcatool-qt5</seg>
<seg>
libqca-qt5.so,
libqca-cyrus-sasl.so,
libqca-gcrypt.so,
libqca-gnupg.so,
libqca-logger.so,
libqca-nss.so,
libqca-ossl.so, and
libqca-softstore.so
</seg>
<seg>
&qt5-dir;/include/Qca-qt5,
&qt5-dir;/lib/cmake/Qca-qt5, and
&qt5-dir;/lib/qca-qt5
</seg>
</seglistitem>
</segmentedlist>
<variablelist>
<bridgehead renderas="sect3">Short Descriptions</bridgehead>
<?dbfo list-presentation="list"?>
<?dbhtml list-presentation="table"?>
<varlistentry id="mozcerts">
<term><command>mozcerts-qt5</command></term>
<listitem>
<para>is a command line tool for converting certdata.txt into
outfile.pem files.</para>
<indexterm zone="qca mozcerts">
<primary sortas="b-mozcerts">mozcerts-qt5</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="qcatool">
<term><command>qcatool-qt5</command></term>
<listitem>
<para>is a command line tool for performing various cryptographic
operations with Qca.</para>
<indexterm zone="qca qcatool">
<primary sortas="b-qcatool">qcatool-qt5</primary>
</indexterm>
</listitem>
</varlistentry>
<varlistentry id="libqca">
<term><filename class='libraryfile'>libqca-qt5.so</filename></term>
<listitem>
<para>is the Qt Cryptography Architecture (Qca) library.</para>
<indexterm zone="qca libqca">
<primary sortas="c-libqca">libqca-qt5.so</primary>
</indexterm>
</listitem>
</varlistentry>
</variablelist>
</sect2>
</sect1>