summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorjdolecek <jdolecek>2007-12-23 21:05:51 +0000
committerjdolecek <jdolecek>2007-12-23 21:05:51 +0000
commit9a32d5a2936a8f5dda6de3176499d583a87523eb (patch)
tree2999cbe370e725e22796368df10fb806f2ffc110 /security
parentc55c30a68d35d6bd80a41766f1d12873ff6c3f15 (diff)
downloadpkgsrc-9a32d5a2936a8f5dda6de3176499d583a87523eb.tar.gz
restore security/qca-tls to state on pkgsrc-2007Q3-base tag (just before
the removal), rather then revision 1.1 of all files, used for original revival test compiled on Mac OS X 10.5
Diffstat (limited to 'security')
-rw-r--r--security/qca-tls/Makefile27
-rw-r--r--security/qca-tls/distinfo5
-rw-r--r--security/qca-tls/patches/patch-aa17
-rw-r--r--security/qca-tls/patches/patch-ab6
4 files changed, 29 insertions, 26 deletions
diff --git a/security/qca-tls/Makefile b/security/qca-tls/Makefile
index 89a0818b74b..0c78fa5fd30 100644
--- a/security/qca-tls/Makefile
+++ b/security/qca-tls/Makefile
@@ -1,34 +1,25 @@
-# $NetBSD: Makefile,v 1.22 2007/12/20 20:37:24 jdolecek Exp $
+# $NetBSD: Makefile,v 1.23 2007/12/23 21:05:51 jdolecek Exp $
DISTNAME= qca-tls-1.0
-PKGREVISION= # empty
+PKGREVISION= 3
CATEGORIES= security
-MASTER_SITES= ${MASTER_SITE_SOURCEFORCE:=psi/}
+MASTER_SITES= http://delta.affinix.com/download/qca/
EXTRACT_SUFX= .tar.bz2
MAINTAINER= jdolecek@NetBSD.org
HOMEPAGE= http://delta.affinix.com/qca/
-COMMENT= Cross-platform crypto API for QT
+COMMENT= Cross-platform crypto API for QT - TLS plugin
-USE_BUILDLINK3= yes
-USE_GNU_TOOLS+= make
+USE_TOOLS+= gmake
USE_LIBTOOL= yes
-USE_X11= yes
HAS_CONFIGURE= yes
+USE_LANGUAGES= c c++
-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
+CONFIGURE_ARGS+= --with-openssl-inc=${SSLBASE}/include
+CONFIGURE_ARGS+= --with-openssl-lib=${SSLBASE}/lib
.include "../../security/openssl/buildlink3.mk"
.include "../../x11/qt3-libs/buildlink3.mk"
-BUILDLINK_DEPMETHOD.qt3-tools= build
+BUILDLINK_API_DEPENDS.qt3-tools+= qt3-tools>=3.3.5nb6
.include "../../x11/qt3-tools/buildlink3.mk"
.include "../../mk/bsd.pkg.mk"
diff --git a/security/qca-tls/distinfo b/security/qca-tls/distinfo
index 1a6928b7331..489dcfe04cd 100644
--- a/security/qca-tls/distinfo
+++ b/security/qca-tls/distinfo
@@ -1,4 +1,7 @@
-$NetBSD: distinfo,v 1.8 2007/12/20 20:37:26 jdolecek Exp $
+$NetBSD: distinfo,v 1.9 2007/12/23 21:05:51 jdolecek Exp $
SHA1 (qca-tls-1.0.tar.bz2) = 775e764c5be342048eba11dae5c5fd3b636d23c5
+RMD160 (qca-tls-1.0.tar.bz2) = c553782e77ab54edde7e4f0676a3caad74dfa910
Size (qca-tls-1.0.tar.bz2) = 23489 bytes
+SHA1 (patch-aa) = 2c28782e3af7ecffa0b5758f1671c0773bc9af03
+SHA1 (patch-ab) = 3d59570c75a52f0ce9850584326ceeb4bf59f08f
diff --git a/security/qca-tls/patches/patch-aa b/security/qca-tls/patches/patch-aa
index b508b4435b4..e99fca36063 100644
--- a/security/qca-tls/patches/patch-aa
+++ b/security/qca-tls/patches/patch-aa
@@ -1,8 +1,8 @@
-$NetBSD: patch-aa,v 1.4 2007/12/20 20:37:27 jdolecek Exp $
+$NetBSD: patch-aa,v 1.5 2007/12/23 21:05:51 jdolecek Exp $
---- configure.orig 2004-12-19 09:10:21.000000000 +0000
-+++ configure 2004-12-19 09:20:50.000000000 +0000
-@@ -144,8 +144,10 @@
+--- configure.orig 2003-12-17 17:54:50.000000000 -0500
++++ configure
+@@ -144,8 +144,10 @@ public:
s = conf->getenv("QC_WITH_OPENSSL_LIB");
if(!s.isEmpty()) {
@@ -13,3 +13,12 @@ $NetBSD: patch-aa,v 1.4 2007/12/20 20:37:27 jdolecek Exp $
lib = s;
}
else {
+@@ -168,7 +170,7 @@ public:
+ if(kb)
+ ext += QString("-I") + kbdir + ' ';
+ if(!lib.isEmpty())
+- ext += QString("-L") + lib + " -lssl -lcrypto ";
++ ext += QString("-L") + lib + " " + QString("-R") + lib + " -lssl -lcrypto ";
+ int ret;
+ if(!conf->doCompileAndLink(str, ext, &ret))
+ return false;
diff --git a/security/qca-tls/patches/patch-ab b/security/qca-tls/patches/patch-ab
index 2b53de120ff..fb9a83331e4 100644
--- a/security/qca-tls/patches/patch-ab
+++ b/security/qca-tls/patches/patch-ab
@@ -1,4 +1,4 @@
-$NetBSD: patch-ab,v 1.4 2007/12/20 20:37:27 jdolecek Exp $
+$NetBSD: patch-ab,v 1.5 2007/12/23 21:05:51 jdolecek Exp $
--- qca-tls.cpp.orig 2005-12-27 22:22:32.000000000 +0000
+++ qca-tls.cpp
@@ -6,7 +6,7 @@ $NetBSD: patch-ab,v 1.4 2007/12/20 20:37:27 jdolecek Exp $
if(!r) {
// try this other public function, for whatever reason
p = (void *)in;
-+#ifdef OSSL_097
++#if OPENSSL_VERSION_NUMBER >= 0x00908000
+ r = d2i_RSA_PUBKEY(NULL, (const unsigned char **)&p, len);
+#else
r = d2i_RSA_PUBKEY(NULL, (unsigned char **)&p, len);
@@ -18,7 +18,7 @@ $NetBSD: patch-ab,v 1.4 2007/12/20 20:37:27 jdolecek Exp $
bool createFromDER(const char *in, unsigned int len)
{
-+#ifdef OSSL_097
++#if OPENSSL_VERSION_NUMBER >= 0x00908000
+ const unsigned char *p = (const unsigned char *)in;
+#else
unsigned char *p = (unsigned char *)in;