summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2007-12-20 20:17:47 +0000
committerjdolecek <jdolecek@pkgsrc.org>2007-12-20 20:17:47 +0000
commit99087ddfcd17ac3496eaea64faf1355e755e1143 (patch)
tree79d321c5cca1faf5f72c385558f4cef9c3157079
parent2ad56ad2fb25fce5abd06fde318b24f00f82a622 (diff)
downloadpkgsrc-99087ddfcd17ac3496eaea64faf1355e755e1143.tar.gz
re-import security/qca version 2.0.0 as security/qca2 in preparation for
having both qca 1.x and qca 2.x in tree
-rw-r--r--security/qca2/DESCR16
-rw-r--r--security/qca2/Makefile21
-rw-r--r--security/qca2/PLIST26
-rw-r--r--security/qca2/buildlink3.mk23
-rw-r--r--security/qca2/distinfo5
5 files changed, 91 insertions, 0 deletions
diff --git a/security/qca2/DESCR b/security/qca2/DESCR
new file mode 100644
index 00000000000..7389c8bcb16
--- /dev/null
+++ b/security/qca2/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/qca2/Makefile b/security/qca2/Makefile
new file mode 100644
index 00000000000..5e90a4d5297
--- /dev/null
+++ b/security/qca2/Makefile
@@ -0,0 +1,21 @@
+# $NetBSD: Makefile,v 1.1.1.1 2007/12/20 20:17:47 jdolecek Exp $
+
+DISTNAME= qca-2.0.0
+CATEGORIES= security
+MASTER_SITES= http://delta.affinix.com/download/qca/2.0/
+EXTRACT_SUFX= .tar.bz2
+
+MAINTAINER= jdolecek@NetBSD.org
+HOMEPAGE= http://delta.affinix.com/qca/
+COMMENT= Cross-platform crypto API for QT
+
+USE_TOOLS+= gmake
+USE_LIBTOOL= yes
+HAS_CONFIGURE= yes
+USE_LANGUAGES= c++
+
+INSTALLATION_DIRS= include lib
+
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
+.include "../../mk/bsd.pkg.mk"
diff --git a/security/qca2/PLIST b/security/qca2/PLIST
new file mode 100644
index 00000000000..3400b8f08fd
--- /dev/null
+++ b/security/qca2/PLIST
@@ -0,0 +1,26 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2007/12/20 20:17:47 jdolecek Exp $
+include/QtCrypto/QtCrypto
+include/QtCrypto/qca.h
+include/QtCrypto/qca_basic.h
+include/QtCrypto/qca_cert.h
+include/QtCrypto/qca_core.h
+include/QtCrypto/qca_export.h
+include/QtCrypto/qca_keystore.h
+include/QtCrypto/qca_publickey.h
+include/QtCrypto/qca_securelayer.h
+include/QtCrypto/qca_securemessage.h
+include/QtCrypto/qca_support.h
+include/QtCrypto/qca_textfilter.h
+include/QtCrypto/qca_tools.h
+include/QtCrypto/qcaprovider.h
+include/QtCrypto/qpipe.h
+lib/libqca.la
+lib/libqca.prl
+lib/pkgconfig/qca2.pc
+qt4/mkspecs/features/crypto.prf
+share/man/man1/qcatool2.1
+share/qca/certs/README
+share/qca/certs/rootcerts.pem
+@dirrm share/qca/certs
+@dirrm share/qca
+@dirrm include/QtCrypto
diff --git a/security/qca2/buildlink3.mk b/security/qca2/buildlink3.mk
new file mode 100644
index 00000000000..008d2e3b2ba
--- /dev/null
+++ b/security/qca2/buildlink3.mk
@@ -0,0 +1,23 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2007/12/20 20:17:47 jdolecek Exp $
+#
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH}+
+QCA_BUILDLINK3_MK:= ${QCA_BUILDLINK3_MK}+
+
+.if !empty(BUILDLINK_DEPTH:M+)
+BUILDLINK_DEPENDS+= qca
+.endif
+
+BUILDLINK_PACKAGES:= ${BUILDLINK_PACKAGES:Nqca}
+BUILDLINK_PACKAGES+= qca
+BUILDLINK_ORDER:= ${BUILDLINK_ORDER} ${BUILDLINK_DEPTH}qca
+
+.if !empty(QCA_BUILDLINK3_MK:M+)
+BUILDLINK_API_DEPENDS.qca+= qca>=2.0.0
+BUILDLINK_ABI_DEPENDS.qca?= qca>=2.0.0
+BUILDLINK_PKGSRCDIR.qca?= ../../security/qca
+.endif # QCA_BUILDLINK3_MK
+
+.include "../../x11/qt4-libs/buildlink3.mk"
+.include "../../x11/qt4-tools/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/security/qca2/distinfo b/security/qca2/distinfo
new file mode 100644
index 00000000000..e5c30eb6a48
--- /dev/null
+++ b/security/qca2/distinfo
@@ -0,0 +1,5 @@
+$NetBSD: distinfo,v 1.1.1.1 2007/12/20 20:17:47 jdolecek Exp $
+
+SHA1 (qca-2.0.0.tar.bz2) = 5b896647426637e1974703f2950786746408c70b
+RMD160 (qca-2.0.0.tar.bz2) = 256ca518fea507d03b67c0f5d26ba2ac7b3db517
+Size (qca-2.0.0.tar.bz2) = 5106520 bytes