diff --git a/common/shlibs b/common/shlibs index 36d0a9aeefb..74dfcf8eaa5 100644 --- a/common/shlibs +++ b/common/shlibs @@ -1257,3 +1257,4 @@ libdbusmenu-qt.so.2 libdbusmenu-qt-0.9.2_1 libgrantlee_gui.so.0 grantlee-0.3.0_1 libgrantlee_core.so.0 grantlee-0.3.0_1 libattica.so.0 attica-0.4.2_1 +libqca.so.2 qca-2.0.3_1 diff --git a/srcpkgs/qca-devel b/srcpkgs/qca-devel new file mode 120000 index 00000000000..28e094dfc3b --- /dev/null +++ b/srcpkgs/qca-devel @@ -0,0 +1 @@ +qca \ No newline at end of file diff --git a/srcpkgs/qca/patches/gcc47.patch b/srcpkgs/qca/patches/gcc47.patch new file mode 100644 index 00000000000..be1399d366c --- /dev/null +++ b/srcpkgs/qca/patches/gcc47.patch @@ -0,0 +1,17 @@ +--- 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::init(true, n); } + SecureVector(const T in[], u32bit n) +- { MemoryRegion::init(true); set(in, n); } ++ { MemoryRegion::init(true); this->set(in, n); } + SecureVector(const MemoryRegion& in) +- { MemoryRegion::init(true); set(in); } ++ { MemoryRegion::init(true); this->set(in); } + SecureVector(const MemoryRegion& in1, const MemoryRegion& in2) +- { MemoryRegion::init(true); set(in1); append(in2); } ++ { MemoryRegion::init(true); this->set(in1); append(in2); } + }; + + /************************************************* diff --git a/srcpkgs/qca/template b/srcpkgs/qca/template new file mode 100644 index 00000000000..0b3621cb363 --- /dev/null +++ b/srcpkgs/qca/template @@ -0,0 +1,35 @@ +# Template file for 'qca' +pkgname=qca +version=2.0.3 +revision=1 +build_style=configure +configure_args="--prefix=/usr --disable-tests --release --no-separate-debug-info + --certstore-path=/etc/ssl/certs/ca-certificates.crt" +hostmakedepends="which" +makedepends="qt-devel ca-certificates" +short_desc="Qt Cryptographic Architecture" +maintainer="Juan RP " +license="LGPL-2.1" +homepage="http://delta.affinix.com/qca/" +distfiles="http://delta.affinix.com/download/qca/2.0/${pkgname}-${version}.tar.bz2" +checksum=8da20c89f390954fdcfcd3c4deef379213ddb5ae9d6b5e0c917d23f5e474895f + +do_install() { + make INSTALL_ROOT=${DESTDIR} install +} + +qca-devel_package() { + depends="qt-devel ${sourcepkg}-${version}_${revision}" + pkg_install() { + vmove usr/include + vmove usr/lib/pkgconfig + vmove usr/share/qt + } +} + +qca_package() { + depends="ca-certificates" + pkg_install() { + vmove usr + } +}