summaryrefslogtreecommitdiff
path: root/security/qca-tls
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2004-11-27 20:27:06 +0000
committerjdolecek <jdolecek@pkgsrc.org>2004-11-27 20:27:06 +0000
commit53fc522fa7bf701393047a71e7f316ad1e2f9fe6 (patch)
treed95fdf4dd26969588e0b7341c6f508522c3ae3f2 /security/qca-tls
parent564ded127a6b86dd1586dcb52b068bf9833bedcb (diff)
downloadpkgsrc-53fc522fa7bf701393047a71e7f316ad1e2f9fe6.tar.gz
Add qca-tls 1.0 - QT Cryptography Architecture TLS plugin. Features
SSL/TLS, X509, RSA, Hasing (SHA1, MD5), Ciphers (Blowfish, 3DES, AES). Uses QT conventions and plugin mechanism, and provides the crypto services for applications such as PSI (Jabber client).
Diffstat (limited to 'security/qca-tls')
-rw-r--r--security/qca-tls/DESCR16
-rw-r--r--security/qca-tls/Makefile34
-rw-r--r--security/qca-tls/PLIST3
-rw-r--r--security/qca-tls/distinfo4
4 files changed, 57 insertions, 0 deletions
diff --git a/security/qca-tls/DESCR b/security/qca-tls/DESCR
new file mode 100644
index 00000000000..7389c8bcb16
--- /dev/null
+++ b/security/qca-tls/DESCR
@@ -0,0 +1,16 @@
+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.
+
+Features:
+* SSL/TLS
+* X509
+* RSA
+* Hashing (SHA1, MD5)
+* Ciphers (Blowfish, 3DES, AES)
diff --git a/security/qca-tls/Makefile b/security/qca-tls/Makefile
new file mode 100644
index 00000000000..d5faa6a158e
--- /dev/null
+++ b/security/qca-tls/Makefile
@@ -0,0 +1,34 @@
+# $NetBSD: Makefile,v 1.1.1.1 2004/11/27 20:27:06 jdolecek Exp $
+
+DISTNAME= qca-tls-1.0
+PKGREVISION= # empty
+CATEGORIES= security
+MASTER_SITES= ${MASTER_SITE_SOURCEFORCE:=psi/}
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= jdolecek@NetBSD.org
+HOMEPAGE= http://delta.affinix.com/qca/
+COMMENT= Cross-platform crypto API for QT
+
+USE_BUILDLINK3= yes
+USE_GNU_TOOLS+= make
+USE_LIBTOOL= yes
+USE_X11= yes
+HAS_CONFIGURE= yes
+
+post-configure:
+ cd ${WRKSRC} && ( \
+ ${QTDIR}/bin/qmake qca-tls.pro -o Makefile.orig; \
+ ${SED} -e "s,-rpath .*,-rpath ${QTDIR}/lib," Makefile.orig > Makefile; \
+ )
+
+do-install:
+ ${INSTALL_DATA_DIR} ${QTDIR}/plugins/crypto
+ cd ${WRKSRC} && \
+ libtool --mode=install ${INSTALL_LIB} libqca-tls.la ${QTDIR}/plugins/crypto
+
+.include "../../security/openssl/buildlink3.mk"
+.include "../../x11/qt3-libs/buildlink3.mk"
+BUILDLINK_DEPMETHOD.qt3-tools= build
+.include "../../x11/qt3-tools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/qca-tls/PLIST b/security/qca-tls/PLIST
new file mode 100644
index 00000000000..9b52485a50c
--- /dev/null
+++ b/security/qca-tls/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2004/11/27 20:27:07 jdolecek Exp $
+qt3/plugins/crypto/libqca-tls.la
+@dirrm qt3/plugins/crypto
diff --git a/security/qca-tls/distinfo b/security/qca-tls/distinfo
new file mode 100644
index 00000000000..c74598bed34
--- /dev/null
+++ b/security/qca-tls/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2004/11/27 20:27:07 jdolecek Exp $
+
+SHA1 (qca-tls-1.0.tar.bz2) = 775e764c5be342048eba11dae5c5fd3b636d23c5
+Size (qca-tls-1.0.tar.bz2) = 23489 bytes