Qca aims to provide a straightforward and cross-platform crypto API, using Qt datatypes and conventions. Qca separates the API from the implementation, using plugins known as Providers.
This package is known to build and work properly using an LFS 11.3 platform.
Download (HTTP): https://download.kde.org/stable/qca/2.3.5/qca-2.3.5.tar.xz
Download MD5 sum: 64a8c4c30a42740fca1f9a6937d3fbae
Download size: 724 KB
Estimated disk space required: 42 MB
Estimated build time: 0.5 SBU (using parallelism=4; add 0.1 SBU for tests)
make-ca-1.12, CMake-3.25.2, Qt-5.15.8, and Which-2.21
Cyrus SASL-2.1.28, GnuPG-2.4.0, libgcrypt-1.10.1, libgpg-error-1.46, nss-3.88.1, NSPR-4.35, p11-kit-0.24.1, Doxygen-1.9.6, Which-2.21, and Botan
User Notes: https://wiki.linuxfromscratch.org/blfs/wiki/qca
Fix the location of the CA certificates:
sed -i 's@cert.pem@certs/ca-bundle.crt@' CMakeLists.txt
Install Qca by running the following commands:
mkdir build && cd build && cmake -DCMAKE_INSTALL_PREFIX=$QT5DIR \ -DCMAKE_BUILD_TYPE=Release \ -DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man \ .. && make
To test the results, issue make test.
Now, as the root
user:
make install
-DCMAKE_BUILD_TYPE=Release
: This switch is
used to apply a higher level of compiler optimizations.
-DQCA_MAN_INSTALL_DIR:PATH=/usr/share/man
:
Install the qca man page in the normal location.