mirror of
https://github.com/Zeckmathederg/glfs.git
synced 2025-01-24 23:32:12 +08:00
e1cd0c153f
udisks-2.9.2 phonon-backend-vlc-0.11.2 libsamplerate-0.2.1 libsndfile-1.0.31 git-svn-id: svn://svn.linuxfromscratch.org/BLFS/trunk/BOOK@24180 af4574ff-66df-0310-9fd7-8a98e5e911e0
242 lines
6.7 KiB
XML
242 lines
6.7 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;/qca-&qca-version;.tar.xz">
|
|
<!ENTITY qca-download-ftp " ">
|
|
<!ENTITY qca-md5sum "328ca1e968ee29a2bf6f383b1f9c163e">
|
|
<!ENTITY qca-size "718 KB">
|
|
<!ENTITY qca-buildsize "43 MB">
|
|
<!ENTITY qca-time "0.6 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>
|
|
|
|
&lfs10_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"/>,
|
|
<xref linkend="which"/>, and
|
|
<ulink url="https://botan.randombit.net/">Botan</ulink>
|
|
</para>
|
|
|
|
<para condition="html" role="usernotes">User Notes:
|
|
<ulink url="&blfs-wiki;/qca"/></para>
|
|
|
|
</sect2>
|
|
|
|
<sect2 role="installation">
|
|
<title>Installation of Qca</title>
|
|
|
|
<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 &&
|
|
cd build &&
|
|
|
|
cmake -DCMAKE_INSTALL_PREFIX=$QT5DIR \
|
|
-DCMAKE_BUILD_TYPE=Release \
|
|
-DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man \
|
|
.. &&
|
|
make</userinput></screen>
|
|
|
|
<para>
|
|
To test the results, issue <command>make test</command>. <!--One test
|
|
using <xref linkend="gnupg2"/> fails without a correct passphrase. The
|
|
required passphrase does not seem to be published.-->
|
|
</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>
|