summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorjdolecek <jdolecek@pkgsrc.org>2005-04-02 11:23:30 +0000
committerjdolecek <jdolecek@pkgsrc.org>2005-04-02 11:23:30 +0000
commit628028210beb836bccd43e7f2f8b46f23e86acba (patch)
tree10e12469da68ddf4ddfa91d3287b5a3c9ce6e4a2
parent04374df8a11cfe9233bd965a08d066e74004ad35 (diff)
downloadpkgsrc-628028210beb836bccd43e7f2f8b46f23e86acba.tar.gz
Add package for main QCA library - Cross-platform crypto API for QT.
This is required by PSI 0.9.3. Package provided by Piotr Kalinowski in PR pkg/29277
-rw-r--r--doc/CHANGES3
-rw-r--r--security/Makefile3
-rw-r--r--security/qca/DESCR16
-rw-r--r--security/qca/Makefile27
-rw-r--r--security/qca/PLIST3
-rw-r--r--security/qca/buildlink3.mk21
-rw-r--r--security/qca/distinfo4
7 files changed, 75 insertions, 2 deletions
diff --git a/doc/CHANGES b/doc/CHANGES
index 0ecc10aad20..5d441c0939e 100644
--- a/doc/CHANGES
+++ b/doc/CHANGES
@@ -1,4 +1,4 @@
-$NetBSD: CHANGES,v 1.9716 2005/04/01 20:00:17 drochner Exp $
+$NetBSD: CHANGES,v 1.9717 2005/04/02 11:26:17 jdolecek Exp $
Changes to the packages collection and infrastructure in 2005:
@@ -1859,3 +1859,4 @@ Changes to the packages collection and infrastructure in 2005:
Added partysip-2.2.1 [drochner 2005-04-01]
Updated scribus to 1.2.1 [drochner 2005-04-01]
Updated gimp-ufraw to 0.4 [drochner 2005-04-01]
+ Added qca-1.0 [jdolecek 2005-04-02]
diff --git a/security/Makefile b/security/Makefile
index edce92f8125..9b2dc2d26aa 100644
--- a/security/Makefile
+++ b/security/Makefile
@@ -1,4 +1,4 @@
-# $NetBSD: Makefile,v 1.232 2005/03/28 09:39:57 jlam Exp $
+# $NetBSD: Makefile,v 1.233 2005/04/02 11:26:17 jdolecek Exp $
#
COMMENT= Security tools
@@ -184,6 +184,7 @@ SUBDIR+= py-gnupg
SUBDIR+= py-gnutls
SUBDIR+= py-m2crypto
SUBDIR+= pyca
+SUBDIR+= qca
SUBDIR+= qca-tls
SUBDIR+= qident
SUBDIR+= racoon
diff --git a/security/qca/DESCR b/security/qca/DESCR
new file mode 100644
index 00000000000..7389c8bcb16
--- /dev/null
+++ b/security/qca/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/Makefile b/security/qca/Makefile
new file mode 100644
index 00000000000..f1876e7089a
--- /dev/null
+++ b/security/qca/Makefile
@@ -0,0 +1,27 @@
+# $NetBSD: Makefile,v 1.1.1.1 2005/04/02 11:23:30 jdolecek Exp $
+
+DISTNAME= qca-1.0
+PKGREVISION= # empty
+CATEGORIES= security
+MASTER_SITES= http://delta.affinix.com/qca/
+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
+
+do-install:
+ cd ${WRKSRC} && ${INSTALL} src/qca.h ${PREFIX}/include
+ cd ${WRKSRC} && \
+ libtool --mode=install ${INSTALL_LIB} libqca.la ${PREFIX}/lib
+
+.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/PLIST b/security/qca/PLIST
new file mode 100644
index 00000000000..468acfa82e2
--- /dev/null
+++ b/security/qca/PLIST
@@ -0,0 +1,3 @@
+@comment $NetBSD: PLIST,v 1.1.1.1 2005/04/02 11:23:30 jdolecek Exp $
+include/qca.h
+lib/libqca.la
diff --git a/security/qca/buildlink3.mk b/security/qca/buildlink3.mk
new file mode 100644
index 00000000000..ed13a6a22b7
--- /dev/null
+++ b/security/qca/buildlink3.mk
@@ -0,0 +1,21 @@
+# $NetBSD: buildlink3.mk,v 1.1.1.1 2005/04/02 11:23:30 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
+
+.if !empty(QCA_BUILDLINK3_MK:M+)
+BUILDLINK_DEPENDS.qca+= qca>=1.0
+BUILDLINK_PKGSRCDIR.qca?= ../../security/qca
+.endif # QCA_BUILDLINK3_MK
+
+.include "../../x11/qt3-libs/buildlink3.mk"
+.include "../../x11/qt3-tools/buildlink3.mk"
+
+BUILDLINK_DEPTH:= ${BUILDLINK_DEPTH:S/+$//}
diff --git a/security/qca/distinfo b/security/qca/distinfo
new file mode 100644
index 00000000000..389e043e220
--- /dev/null
+++ b/security/qca/distinfo
@@ -0,0 +1,4 @@
+$NetBSD: distinfo,v 1.1.1.1 2005/04/02 11:23:30 jdolecek Exp $
+
+SHA1 (qca-1.0.tar.bz2) = b4b166f9dbbe222ebaf5287582a0ba29ddbc1391
+Size (qca-1.0.tar.bz2) = 30677 bytes