qca: update to 2.1.0.

This commit is contained in:
Duncan Overbruck 2015-01-24 04:33:59 +01:00
parent 53ed2d0acf
commit e226f0f9de
3 changed files with 26 additions and 3 deletions

1
srcpkgs/qca-ossl Symbolic link
View File

@ -0,0 +1 @@
qca

View File

@ -0,0 +1,14 @@
# upstream
# http://quickgit.kde.org/?p=qca.git&a=commit&h=593de6855a4f4dc26cface3e96de8889f90cb4bb
--- plugins/qca-ossl/qca-ossl.cpp 2015-01-24 00:38:42.000000000 +0100
+++ plugins/qca-ossl/qca-ossl.cpp 2015-01-24 00:38:27.000000000 +0100
@@ -5801,7 +5801,7 @@
{
SessionInfo sessInfo;
- sessInfo.isCompressed = (0 != ssl->session->compress_meth);
+ sessInfo.isCompressed = (0 != SSL_SESSION_get_compress_id(ssl->session));
if (ssl->version == TLS1_VERSION)
sessInfo.version = TLS::TLS_v1;

View File

@ -1,11 +1,11 @@
# Template file for 'qca'
pkgname=qca
version=2.1.0
revision=1
revision=2
build_style=cmake
configure_args="-DBUILD_TESTS=0 -DQCA_FEATURE_INSTALL_DIR=/usr/share/qca/mkspecs"
configure_args="-DBUILD_TESTS=0 -DQCA_FEATURE_INSTALL_DIR=/usr/share/qca/mkspecs -DWITH_ossl_PLUGIN=yes"
hostmakedepends="cmake pkg-config"
makedepends="nss-devel libgcrypt-devel qt-devel ca-certificates"
makedepends="nss-devel libgcrypt-devel qt-devel ca-certificates libressl-devel"
depends="ca-certificates"
short_desc="Qt Cryptographic Architecture"
maintainer="Juan RP <xtraeme@gmail.com>"
@ -14,6 +14,14 @@ homepage="http://delta.affinix.com/qca/"
distfiles="http://delta.affinix.com/download/qca/2.0/${pkgname}-${version}.tar.gz"
checksum=226dcd76138c3738cdc15863607a96b3758a4c3efd3c47295939bcea4e7a9284
qca-ossl_package() {
depends="${sourcepkg}-${version}_${revision} libressl"
short_desc+=" - QCA OSSL plugin"
pkg_install() {
vmove usr/lib/qca/crypto/libqca-ossl.so
}
}
qca-devel_package() {
depends="qt-devel ${sourcepkg}-${version}_${revision}"
pkg_install() {