1
0
forked from ports/contrib

qca: 2.0.3 -> 2.1.3

This commit is contained in:
Danny Rawlins 2017-06-19 22:40:20 +10:00
parent 77b4bbc1fb
commit 443d6a812a
5 changed files with 44 additions and 53 deletions

@ -1,6 +1,9 @@
drwxr-xr-x root/root usr/
drwxr-xr-x root/root usr/bin/
-rwxr-xr-x root/root usr/bin/qcatool2
-rwxr-xr-x root/root usr/bin/mozcerts
-rwxr-xr-x root/root usr/bin/qcatool
drwxr-xr-x root/root usr/certs/
-rw-r--r-- root/root usr/certs/rootcerts.pem
drwxr-xr-x root/root usr/include/
drwxr-xr-x root/root usr/include/QtCrypto/
-rw-r--r-- root/root usr/include/QtCrypto/QtCrypto
@ -11,28 +14,37 @@ drwxr-xr-x root/root usr/include/QtCrypto/
-rw-r--r-- root/root usr/include/QtCrypto/qca_export.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_keystore.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_publickey.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_safetimer.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_securelayer.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_securemessage.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_support.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_textfilter.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_tools.h
-rw-r--r-- root/root usr/include/QtCrypto/qca_version.h
-rw-r--r-- root/root usr/include/QtCrypto/qcaprovider.h
-rw-r--r-- root/root usr/include/QtCrypto/qpipe.h
drwxr-xr-x root/root usr/lib/
-rw-r--r-- root/root usr/lib/libqca.prl
lrwxrwxrwx root/root usr/lib/libqca.so -> libqca.so.2.0.3
lrwxrwxrwx root/root usr/lib/libqca.so.2 -> libqca.so.2.0.3
lrwxrwxrwx root/root usr/lib/libqca.so.2.0 -> libqca.so.2.0.3
-rwxr-xr-x root/root usr/lib/libqca.so.2.0.3
drwxr-xr-x root/root usr/lib/cmake/
drwxr-xr-x root/root usr/lib/cmake/Qca/
-rw-r--r-- root/root usr/lib/cmake/Qca/QcaConfig.cmake
-rw-r--r-- root/root usr/lib/cmake/Qca/QcaConfigVersion.cmake
-rw-r--r-- root/root usr/lib/cmake/Qca/QcaTargets-release.cmake
-rw-r--r-- root/root usr/lib/cmake/Qca/QcaTargets.cmake
lrwxrwxrwx root/root usr/lib/libqca.so -> libqca.so.2
lrwxrwxrwx root/root usr/lib/libqca.so.2 -> libqca.so.2.1.3
-rwxr-xr-x root/root usr/lib/libqca.so.2.1.3
drwxr-xr-x root/root usr/lib/pkgconfig/
-rw-r--r-- root/root usr/lib/pkgconfig/qca2.pc
drwxr-xr-x root/root usr/man/
drwxr-xr-x root/root usr/man/man1/
-rw-r--r-- root/root usr/man/man1/qcatool2.1.gz
drwxr-xr-x root/root usr/lib/qca/
drwxr-xr-x root/root usr/lib/qca/crypto/
-rwxr-xr-x root/root usr/lib/qca/crypto/libqca-gnupg.so
-rwxr-xr-x root/root usr/lib/qca/crypto/libqca-logger.so
-rwxr-xr-x root/root usr/lib/qca/crypto/libqca-ossl.so
-rwxr-xr-x root/root usr/lib/qca/crypto/libqca-softstore.so
drwxr-xr-x root/root usr/share/
drwxr-xr-x root/root usr/share/qca/
drwxr-xr-x root/root usr/share/qca/certs/
-rw-r--r-- root/root usr/share/qca/certs/rootcerts.pem
drwxr-xr-x root/root usr/share/man/
drwxr-xr-x root/root usr/share/man/man1/
-rw-r--r-- root/root usr/share/man/man1/qcatool.1.gz
drwxr-xr-x root/root usr/share/qt4/
drwxr-xr-x root/root usr/share/qt4/mkspecs/
drwxr-xr-x root/root usr/share/qt4/mkspecs/features/

@ -1,2 +1 @@
dffc7367152d8888c1447253a0387a2a gcc47.patch
fc15bd4da22b8096c51fcfe52d2fa309 qca-2.0.3.tar.bz2
5019cc29efcf828681cd93164238ce26 qca-2.1.3.tar.xz

@ -1,6 +1,5 @@
untrusted comment: verify with /etc/ports/contrib.pub
RWSagIOpLGJF35pSDF4vw6yYXUqMd3KiAwH1OmhRZukSsdgHIAPBDCSyO66ppnJTVUOLeXT+WLfio5YKtuO4n7yFXwndp9KILQI=
SHA256 (Pkgfile) = 7dae1ffd440001c5d36c5a4606c4a5f8b18eec4e8f0a8c9c709bab3e010e4c79
SHA256 (.footprint) = adcbe6674f94ca51a3b35411acebce2f4bbd46d196d639a4825798b375b9aef8
SHA256 (qca-2.0.3.tar.bz2) = 8da20c89f390954fdcfcd3c4deef379213ddb5ae9d6b5e0c917d23f5e474895f
SHA256 (gcc47.patch) = 3ea84530fabb0045927d8e979c644f8ca872752fde4452afee590b19d01d412d
RWSagIOpLGJF33APFyK/NEw0tmbITyy95tz06114KKT6cDx1t116UxzLaHC92JRZY3hr9oqicWx+53+An/g/q0uISmkZTPNbqAE=
SHA256 (Pkgfile) = d34dab5a523d12f85527476a2922f51386329a49506ab71ae5787936cc541ed6
SHA256 (.footprint) = d0c4ef8c5583cbbd086890a5f6c38380fb5d48138092a9f88fb72168d8bbe649
SHA256 (qca-2.1.3.tar.xz) = 003fd86a32421057a03b18a8168db52e2940978f9db5ebbb6a08882f8ab1e353

@ -1,30 +1,28 @@
# Description: QCA aims to provide a straightforward and cross-platform crypto API, using Qt.
# URL: http://delta.affinix.com/qca/
# URL: https://userbase.kde.org/QCA
# Maintainer: Jose V Beneyto, sepen at crux dot nu
# Packager: Jose V Beneyto, sepen at crux dot nu
# Depends on: qt4
name=qca
version=2.0.3
release=2
source=(http://delta.affinix.com/download/$name/2.0/$name-$version.tar.bz2 \
gcc47.patch)
version=2.1.3
release=1
source=(http://download.kde.org/stable/$name/$version/src/$name-$version.tar.xz)
build() {
cd $name-$version
patch -p1 -i $SRC/gcc47.patch
install -d build
cd build
./configure --prefix=/usr \
--qtdir=/usr/share/qt4 \
--disable-tests \
--release \
--no-separate-debug-info
cmake .. \
-DCMAKE_INSTALL_PREFIX=/usr \
-DCMAKE_BUILD_TYPE=Release \
-DBUILD_TESTS=OFF \
-DQT4_BUILD=ON \
-DQCA_LIBRARY_INSTALL_DIR=/usr/lib \
-DQCA_FEATURE_INSTALL_DIR=/usr/share/qt4/mkspecs/features
[ "$CXX" ] || CXX=g++
make CXX="$CXX" $MAKEFLAGS
make INSTALL_ROOT=$PKG install
mv $PKG/usr/share/man $PKG/usr
rm $PKG/usr/share/qca/certs/README
make
make DESTDIR=$PKG install
}

@ -1,17 +0,0 @@
--- ./src/botantools/botan/botan/secmem.h.orig 2012-01-07 20:09:35.427999593 +0100
+++ ./src/botantools/botan/botan/secmem.h 2012-01-07 20:09:52.540001422 +0100
@@ -214,11 +214,11 @@
SecureVector(u32bit n = 0) { MemoryRegion<T>::init(true, n); }
SecureVector(const T in[], u32bit n)
- { MemoryRegion<T>::init(true); set(in, n); }
+ { MemoryRegion<T>::init(true); this->set(in, n); }
SecureVector(const MemoryRegion<T>& in)
- { MemoryRegion<T>::init(true); set(in); }
+ { MemoryRegion<T>::init(true); this->set(in); }
SecureVector(const MemoryRegion<T>& in1, const MemoryRegion<T>& in2)
- { MemoryRegion<T>::init(true); set(in1); append(in2); }
+ { MemoryRegion<T>::init(true); this->set(in1); append(in2); }
};
/*************************************************