Date: Sunday, February 24, 2013 @ 12:35:45 Author: pierre Revision: 178480
archrelease: copy trunk to staging-i686, staging-x86_64 Added: qca-ossl/repos/staging-i686/ qca-ossl/repos/staging-i686/PKGBUILD (from rev 178479, qca-ossl/trunk/PKGBUILD) qca-ossl/repos/staging-i686/no-whirlpool.patch (from rev 178479, qca-ossl/trunk/no-whirlpool.patch) qca-ossl/repos/staging-x86_64/ qca-ossl/repos/staging-x86_64/PKGBUILD (from rev 178479, qca-ossl/trunk/PKGBUILD) qca-ossl/repos/staging-x86_64/no-whirlpool.patch (from rev 178479, qca-ossl/trunk/no-whirlpool.patch) -----------------------------------+ staging-i686/PKGBUILD | 31 +++++++++++++++++++++++++++++++ staging-i686/no-whirlpool.patch | 21 +++++++++++++++++++++ staging-x86_64/PKGBUILD | 31 +++++++++++++++++++++++++++++++ staging-x86_64/no-whirlpool.patch | 21 +++++++++++++++++++++ 4 files changed, 104 insertions(+) Copied: qca-ossl/repos/staging-i686/PKGBUILD (from rev 178479, qca-ossl/trunk/PKGBUILD) =================================================================== --- staging-i686/PKGBUILD (rev 0) +++ staging-i686/PKGBUILD 2013-02-24 11:35:45 UTC (rev 178480) @@ -0,0 +1,31 @@ +# $Id: $ +# Maintainer: Pierre Schmitz <pie...@archlinux.de> + +pkgname=qca-ossl +pkgver=2.0.0 +_pkgver=2.0.0-beta3 +pkgrel=6 +pkgdesc="Qt Cryptographic Architecture" +arch=('i686' 'x86_64') +url="http://delta.affinix.com/qca/" +license=('LGPL') +depends=('qca') +makedepends=('icu') +source=("http://delta.affinix.com/download/qca/2.0/plugins/${pkgname}-${_pkgver}.tar.bz2" + 'no-whirlpool.patch') +md5sums=('bdc62c01321385c7da8d27b3902910ce' + '1be7ee2e5f32733b90452fb46b9c69f9') + +build() { + cd $srcdir/${pkgname}-${_pkgver} + patch -p1 -i $srcdir/no-whirlpool.patch + ./configure \ + --release \ + --no-separate-debug-info + make +} + +package() { + cd $srcdir/${pkgname}-${_pkgver} + make INSTALL_ROOT=$pkgdir install +} Copied: qca-ossl/repos/staging-i686/no-whirlpool.patch (from rev 178479, qca-ossl/trunk/no-whirlpool.patch) =================================================================== --- staging-i686/no-whirlpool.patch (rev 0) +++ staging-i686/no-whirlpool.patch 2013-02-24 11:35:45 UTC (rev 178480) @@ -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 Copied: qca-ossl/repos/staging-x86_64/PKGBUILD (from rev 178479, qca-ossl/trunk/PKGBUILD) =================================================================== --- staging-x86_64/PKGBUILD (rev 0) +++ staging-x86_64/PKGBUILD 2013-02-24 11:35:45 UTC (rev 178480) @@ -0,0 +1,31 @@ +# $Id: $ +# Maintainer: Pierre Schmitz <pie...@archlinux.de> + +pkgname=qca-ossl +pkgver=2.0.0 +_pkgver=2.0.0-beta3 +pkgrel=6 +pkgdesc="Qt Cryptographic Architecture" +arch=('i686' 'x86_64') +url="http://delta.affinix.com/qca/" +license=('LGPL') +depends=('qca') +makedepends=('icu') +source=("http://delta.affinix.com/download/qca/2.0/plugins/${pkgname}-${_pkgver}.tar.bz2" + 'no-whirlpool.patch') +md5sums=('bdc62c01321385c7da8d27b3902910ce' + '1be7ee2e5f32733b90452fb46b9c69f9') + +build() { + cd $srcdir/${pkgname}-${_pkgver} + patch -p1 -i $srcdir/no-whirlpool.patch + ./configure \ + --release \ + --no-separate-debug-info + make +} + +package() { + cd $srcdir/${pkgname}-${_pkgver} + make INSTALL_ROOT=$pkgdir install +} Copied: qca-ossl/repos/staging-x86_64/no-whirlpool.patch (from rev 178479, qca-ossl/trunk/no-whirlpool.patch) =================================================================== --- staging-x86_64/no-whirlpool.patch (rev 0) +++ staging-x86_64/no-whirlpool.patch 2013-02-24 11:35:45 UTC (rev 178480) @@ -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