[arch-commits] Commit in (5 files)

Pierre Schmitz pierre at archlinux.org
Fri May 1 08:08:36 EDT 2009


    Date: Friday, May 1, 2009 @ 08:08:36
  Author: pierre
Revision: 37389

qca-ossl as separate package

Added:
  qca-ossl/
  qca-ossl/repos/
  qca-ossl/trunk/
  qca-ossl/trunk/PKGBUILD
  qca-ossl/trunk/no-whirlpool.patch

--------------------+
 PKGBUILD           |   24 ++++++++++++++++++++++++
 no-whirlpool.patch |   21 +++++++++++++++++++++
 2 files changed, 45 insertions(+)

Added: qca-ossl/trunk/PKGBUILD
===================================================================
--- qca-ossl/trunk/PKGBUILD	                        (rev 0)
+++ qca-ossl/trunk/PKGBUILD	2009-05-01 12:08:36 UTC (rev 37389)
@@ -0,0 +1,24 @@
+# $Id: $
+# Maintainer: Pierre Schmitz <pierre at archlinux.de>
+
+pkgname=qca-ossl
+pkgver=2.0.0
+_pkgver=2.0.0-beta3
+pkgrel=1
+pkgdesc="Qt Cryptographic Architecture"
+arch=('i686' 'x86_64')
+url="http://delta.affinix.com/qca/"
+license=('LGPL')
+depends=('qca')
+source=("http://delta.affinix.com/download/qca/2.0/plugins/${pkgname}-${_pkgver}.tar.bz2" 'no-whirlpool.patch')
+#md5sums=('bdc62c01321385c7da8d27b3902910ce')
+
+build() {
+	cd $srcdir/${pkgname}-${_pkgver}
+	patch -p1 -i $srcdir/no-whirlpool.patch
+	./configure \
+		--release \
+		--no-separate-debug-info
+	make
+	make INSTALL_ROOT=$pkgdir install
+}

Added: qca-ossl/trunk/no-whirlpool.patch
===================================================================
--- qca-ossl/trunk/no-whirlpool.patch	                        (rev 0)
+++ qca-ossl/trunk/no-whirlpool.patch	2009-05-01 12:08:36 UTC (rev 37389)
@@ -0,0 +1,21 @@
+diff -up qca-ossl-2.0.0-beta3/qca-ossl.cpp.no-whirlpool qca-ossl-2.0.0-beta3/qca-ossl.cpp
+--- qca-ossl-2.0.0-beta3/qca-ossl.cpp.no-whirlpool	2007-12-11 07:34:57.000000000 +0100
++++ qca-ossl-2.0.0-beta3/qca-ossl.cpp	2009-01-26 14:59:42.000000000 +0100
+@@ -6597,7 +6597,7 @@ static QStringList all_hash_types()
+ #ifdef SHA512_DIGEST_LENGTH
+ 	list += "sha512";
+ #endif
+-#ifdef OBJ_whirlpool
++#ifdef WHIRLPOOL_DIGEST_LENGTH
+ 	list += "whirlpool";
+ #endif
+ 	return list;
+@@ -6810,7 +6810,7 @@ public:
+ 		else if ( type == "sha512" )
+ 			return new opensslHashContext( EVP_sha512(), this, type);
+ #endif
+-#ifdef OBJ_whirlpool
++#ifdef WHIRLPOOL_DIGEST_LENGTH
+ 		else if ( type == "whirlpool" )
+ 			return new opensslHashContext( EVP_whirlpool(), this, type);
+ #endif



More information about the arch-commits mailing list