summaryrefslogtreecommitdiff
path: root/security
diff options
context:
space:
mode:
authorstacktic <stacktic>2008-12-30 15:13:28 +0000
committerstacktic <stacktic>2008-12-30 15:13:28 +0000
commit85f9c99fc533e36eddfec7ff65516d1eef6b9cd1 (patch)
treeef6a321edc15f3f7402a3cf94ab38d1686f5d0a8 /security
parentd86158405a7325dd2793d6179fdb1f844d0ff39f (diff)
downloadpkgsrc-85f9c99fc533e36eddfec7ff65516d1eef6b9cd1.tar.gz
Fixed build (removed whirlpool) (ok by wiz)
Diffstat (limited to 'security')
-rw-r--r--security/qca2-ossl/Makefile4
-rw-r--r--security/qca2-ossl/distinfo3
-rw-r--r--security/qca2-ossl/patches/patch-aa29
3 files changed, 33 insertions, 3 deletions
diff --git a/security/qca2-ossl/Makefile b/security/qca2-ossl/Makefile
index 95bc9cb193d..4cbc3f9d74e 100644
--- a/security/qca2-ossl/Makefile
+++ b/security/qca2-ossl/Makefile
@@ -1,8 +1,8 @@
-# $NetBSD: Makefile,v 1.3 2008/01/18 05:09:41 tnn Exp $
+# $NetBSD: Makefile,v 1.4 2008/12/30 15:13:28 stacktic Exp $
DISTNAME= qca-ossl-2.0.0-beta3
PKGNAME= qca2-ossl-${DISTNAME:S/-beta/beta/:C/.*-//}
-PKGREVISION= 2
+PKGREVISION= 3
CATEGORIES= security
MASTER_SITES= http://delta.affinix.com/download/qca/2.0/plugins/
EXTRACT_SUFX= .tar.bz2
diff --git a/security/qca2-ossl/distinfo b/security/qca2-ossl/distinfo
index d309e537e76..9305d91a2f0 100644
--- a/security/qca2-ossl/distinfo
+++ b/security/qca2-ossl/distinfo
@@ -1,5 +1,6 @@
-$NetBSD: distinfo,v 1.1.1.1 2007/12/20 20:20:17 jdolecek Exp $
+$NetBSD: distinfo,v 1.2 2008/12/30 15:13:28 stacktic Exp $
SHA1 (qca-ossl-2.0.0-beta3.tar.bz2) = dd925e8732ff76f24f9f90f4094abaf2f0ac27bf
RMD160 (qca-ossl-2.0.0-beta3.tar.bz2) = c979c3c3427eb45e8866e28746f83966e8bcf3c2
Size (qca-ossl-2.0.0-beta3.tar.bz2) = 49188 bytes
+SHA1 (patch-aa) = 30059ab5aa0a71382da68159fc7779a7a2663c7d
diff --git a/security/qca2-ossl/patches/patch-aa b/security/qca2-ossl/patches/patch-aa
new file mode 100644
index 00000000000..494c5d97954
--- /dev/null
+++ b/security/qca2-ossl/patches/patch-aa
@@ -0,0 +1,29 @@
+$NetBSD: patch-aa,v 1.1 2008/12/30 15:13:28 stacktic Exp $
+
+--- qca-ossl.cpp.orig 2007-12-11 07:34:57.000000000 +0100
++++ qca-ossl.cpp
+@@ -6597,9 +6597,11 @@ static QStringList all_hash_types()
+ #ifdef SHA512_DIGEST_LENGTH
+ list += "sha512";
+ #endif
++/*
+ #ifdef OBJ_whirlpool
+ list += "whirlpool";
+ #endif
++*/
+ return list;
+ }
+
+@@ -6810,10 +6812,12 @@ public:
+ else if ( type == "sha512" )
+ return new opensslHashContext( EVP_sha512(), this, type);
+ #endif
++/*
+ #ifdef OBJ_whirlpool
+ else if ( type == "whirlpool" )
+ return new opensslHashContext( EVP_whirlpool(), this, type);
+ #endif
++*/
+ else if ( type == "pbkdf1(sha1)" )
+ return new opensslPbkdf1Context( EVP_sha1(), this, type );
+ else if ( type == "pbkdf1(md2)" )