summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorschnoebe <schnoebe@pkgsrc.org>2011-10-18 00:46:58 +0000
committerschnoebe <schnoebe@pkgsrc.org>2011-10-18 00:46:58 +0000
commita7d1b8b1d450bf0ca7b80e5a0afb0d7a7ac64198 (patch)
treea67be337511ad3d9417b2572bd88e9e5857d41de /security
parent9788000bcc31a915f601ab052b9b135b510a2885 (diff)
downloadpkgsrc-a7d1b8b1d450bf0ca7b80e5a0afb0d7a7ac64198.tar.gz
Imported qca2-gnupg from pkgsrc-wip.
Taking a hint from the similarly-named Java Cryptography Architecture, 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. The advantage of this model is to allow applications to avoid linking to or explicitly depending on any particular cryptographic library. This allows one to easily change or upgrade crypto implementations without even needing to recompile the application. QCA should work everywhere Qt does, including Windows/Unix/MacOSX. Capabilities: TLS, CMS, X.509, RSA, DSA, Diffie-Hellman, PKCS#7, PKCS#12, SHA0, SHA1, SHA224, SHA256, SHA384, SHA512, MD2, MD4, MD5, RIPEMD160, Blowfish, DES, 3DES, AES128, AES192, AES256, CAST5, HMAC(SHA1, MD5, RIPEMD160), PBKDF1(MD2, SHA1), PBKDF2(SHA1) This is the GnuPG plugin. Packaged by jfranz@bsdprojects.net.
Diffstat (limited to 'security')
-rw-r--r--security/qca2-gnupg/DESCR17
-rw-r--r--security/qca2-gnupg/Makefile29
-rw-r--r--security/qca2-gnupg/PLIST2
-rw-r--r--security/qca2-gnupg/distinfo5
4 files changed, 53 insertions, 0 deletions
diff --git a/security/qca2-gnupg/DESCR b/security/qca2-gnupg/DESCR
new file mode 100644
index 00000000000..7c6d9141d34
--- /dev/null
+++ b/security/qca2-gnupg/DESCR
@@ -0,0 +1,17 @@
+Taking a hint from the similarly-named Java Cryptography Architecture,
+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. The advantage
+of this model is to allow applications to avoid linking to or
+explicitly depending on any particular cryptographic library. This
+allows one to easily change or upgrade crypto implementations
+without even needing to recompile the application. QCA should work
+everywhere Qt does, including Windows/Unix/MacOSX.
+
+Capabilities:
+TLS, CMS, X.509, RSA, DSA, Diffie-Hellman, PKCS#7, PKCS#12, SHA0,
+SHA1, SHA224, SHA256, SHA384, SHA512, MD2, MD4, MD5, RIPEMD160,
+Blowfish, DES, 3DES, AES128, AES192, AES256, CAST5, HMAC(SHA1, MD5,
+RIPEMD160), PBKDF1(MD2, SHA1), PBKDF2(SHA1)
+
+This is the GnuPG plugin.
diff --git a/security/qca2-gnupg/Makefile b/security/qca2-gnupg/Makefile
new file mode 100644
index 00000000000..9ef856fec18
--- /dev/null
+++ b/security/qca2-gnupg/Makefile
@@ -0,0 +1,29 @@
+# $NetBSD: Makefile,v 1.1.1.1 2011/10/18 00:46:58 schnoebe Exp $
+
+DISTNAME= qca-gnupg-2.0.0-beta3
+PKGNAME= qca2-gnupg-${DISTNAME:S/-beta/beta/:C/.*-//}
+CATEGORIES= security
+MASTER_SITES= http://delta.affinix.com/download/qca/2.0/plugins/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= jfranz@bsdprojects.net
+HOMEPAGE= http://delta.affinix.com/qca/
+COMMENT= Cross-platform crypto API for QT - GnuPG plugin
+LICENSE= gnu-lgpl-v2.1
+
+PKG_DESTDIR_SUPPORT= user-destdir
+
+USE_TOOLS+= gmake
+USE_LIBTOOL= yes
+HAS_CONFIGURE= yes
+USE_LANGUAGES= c c++
+
+CONFIGURE_ARGS+= --qtdir=${QTDIR}
+CONFIGURE_ARGS+= --with-qca=${QTDIR}
+CONFIGURE_ARGS+= --plugins-path=${DESTDIR}${QTDIR}/plugins
+#CONFIGURE_ARGS+= --with-openssl-inc=${SSLBASE}/include
+#CONFIGURE_ARGS+= --with-openssl-lib=${SSLBASE}/lib
+
+.include "../../security/qca2/buildlink3.mk"
+.include "../../security/gnupg2/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/qca2-gnupg/PLIST b/security/qca2-gnupg/PLIST
new file mode 100644
index 00000000000..179fb68eaa6
--- /dev/null
+++ b/security/qca2-gnupg/PLIST
@@ -0,0 +1,2 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2011/10/18 00:46:58 schnoebe Exp $
+qt4/plugins/crypto/libqca-gnupg.la
diff --git a/security/qca2-gnupg/distinfo b/security/qca2-gnupg/distinfo
new file mode 100644
index 00000000000..35d0ccd6bc5
--- /dev/null
+++ b/security/qca2-gnupg/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2011/10/18 00:46:58 schnoebe Exp $
+
+SHA1 (qca-gnupg-2.0.0-beta3.tar.bz2) = 77e3874b9ed427e281b23b9bf41ecc95e74f7053
+RMD160 (qca-gnupg-2.0.0-beta3.tar.bz2) = 2531d81179e0b78cc3689c7891b4c6c60d56a422
+Size (qca-gnupg-2.0.0-beta3.tar.bz2) = 38177 bytes