wok-undigest diff Qt4-qca-ossl/receipt @ rev 168
Add: qTwitter v0.10.0 (Twitter/StatusNet client) and deps:
- Qt4-QCA v2.0.2 (Qt Crypto Arch)
- Qt4-QCA-OSSL v2.0.0-beta3 (SSL plug-in)
- QoAuth v1.0 (Qt oAuth) -- may need fixes on file locations
- Qt4-QCA v2.0.2 (Qt Crypto Arch)
- Qt4-QCA-OSSL v2.0.0-beta3 (SSL plug-in)
- QoAuth v1.0 (Qt oAuth) -- may need fixes on file locations
author | Ben Arnold <ben@seawolfsanctuary.com> |
---|---|
date | Sat Sep 04 21:46:16 2010 +0100 (2010-09-04) |
parents | |
children | 804453aa6c68 |
line diff
1.1 --- /dev/null Thu Jan 01 00:00:00 1970 +0000 1.2 +++ b/Qt4-qca-ossl/receipt Sat Sep 04 21:46:16 2010 +0100 1.3 @@ -0,0 +1,81 @@ 1.4 +# SliTaz package receipt. 1.5 + 1.6 +NAME="qca-ossl" 1.7 +PACKAGE="Qt4-$NAME" 1.8 +MAJORVERSION="2.0" 1.9 +VERSION="2.0.0-beta3" 1.10 +CATEGORY="development" 1.11 +SHORT_DESC="OpenSSL plug-in for the Qt Cryptographic Architecture (QCA)." 1.12 +MAINTAINER="ben@seawolfsanctuary.com" 1.13 +DEPENDS="glibc-locale libQtCore libQtGui libQtNetwork libQtSvg libQtXml \ 1.14 +libQtDesigner libQtScript libQt3Support libQtClucene libQtDBus libQtHelp \ 1.15 +libQtOpenGL libQtSql libQtWebkit Qt4-qca openssl" 1.16 +BUILD_DEPENDS="xorg-libX11-dev dbus-dev openssl-dev Qt4-dev Qt4-qca \ 1.17 +slitaz-toolchain" 1.18 +TARBALL="$NAME-$VERSION.tar.bz2" 1.19 +WEB_SITE="http://delta.affinix.com/$NAME" 1.20 +WGET_URL="http://delta.affinix.com/download/qca/$MAJORVERSION/plugins/$TARBALL" 1.21 + 1.22 +# Rules to configure and make the package. 1.23 +compile_rules() 1.24 +{ 1.25 + cd $NAME-$VERSION 1.26 + 1.27 + patch -u <<EOP 1.28 +--- qca-ossl.cpp 1.29 ++++ qca-ossl.cpp 1.30 +@@ -330,1 +330,1 @@ 1.31 +- X509_EXTENSION *ex = X509V3_EXT_conf_nid(NULL, &ctx, NID_subject_key_identifier, "hash"); 1.32 ++ X509_EXTENSION *ex = X509V3_EXT_conf_nid(NULL, &ctx, NID_subject_key_identifier, (char *)"hash"); 1.33 +EOP 1.34 + status 1.35 + patch -u <<EOP 1.36 +--- qca-ossl.cpp 1.37 ++++ qca-ossl.cpp 1.38 +@@ -6597,9 +6597,11 @@ 1.39 + #ifdef SHA512_DIGEST_LENGTH 1.40 + list += "sha512"; 1.41 + #endif 1.42 ++ /* 1.43 + #ifdef OBJ_whirlpool 1.44 + list += "whirlpool"; 1.45 + #endif 1.46 ++ */ 1.47 + return list; 1.48 + } 1.49 +EOP 1.50 + status 1.51 + patch -u <<EOP 1.52 +--- qca-ossl.cpp 1.53 ++++ qca-ossl.cpp 1.54 +@@ -6812,10 +6812,12 @@ 1.55 + else if ( type == "sha512" ) 1.56 + return new opensslHashContext( EVP_sha512(), this, type); 1.57 + #endif 1.58 ++/* 1.59 + #ifdef OBJ_whirlpool 1.60 + else if ( type == "whirlpool" ) 1.61 + return new opensslHashContext( EVP_whirlpool(), this, type); 1.62 + #endif 1.63 ++*/ 1.64 + else if ( type == "pbkdf1(sha1)" ) 1.65 + return new opensslPbkdf1Context( EVP_sha1(), this, type ); 1.66 + else if ( type == "pbkdf1(md2)" ) 1.67 +EOP 1.68 + status 1.69 + 1.70 + chmod +x configure 1.71 + ./configure \ 1.72 + --qtdir=/usr/lib/qt && \ 1.73 + make -j4 && make DESTDIR=$_pkg install 1.74 +} 1.75 + 1.76 +# Rules to gen a SliTaz package suitable for Tazpkg. 1.77 +genpkg_rules() 1.78 +{ 1.79 + mkdir -p $fs/usr/lib/qt/plugins/crypto 1.80 + cp -a $WOK/$PACKAGE/$NAME-$VERSION/lib/* $fs/usr/lib/qt/plugins/crypto/ 1.81 + 1.82 + # Copy .desktop file: 1.83 +# cp -a $WOK/$PACKAGE/stuff/* $fs/usr 1.84 +}