Update of /cvsroot/fink/dists/10.4/stable/main/finkinfo/libs
In directory vz-cvs-3.sog:/tmp/cvs-serv28623/stable/main/finkinfo/libs
Added Files:
qca-10.6.info qca.patch
Log Message:
sync qca-10.6 to stable to satisfy dep of a pile of kde3 things in stable
--- NEW FILE: qca.patch ---
diff -Nurd qca-tls-1.0/qca-tls.cpp qca-tls-1.0/qca-tls.cpp
--- qca-tls-1.0/qca-tls.cpp 2003-12-10 11:53:57.000000000 -0500
+++ qca-tls-1.0-new/qca-tls.cpp 2009-09-09 07:59:41.000000000 -0400
@@ -454,7 +454,11 @@
if(!r) {
// try this other public function, for whatever
reason
p = (void *)in;
+#ifdef OSSL_097
+ r = d2i_RSA_PUBKEY(NULL, (const unsigned char
**)&p, len);
+#else
r = d2i_RSA_PUBKEY(NULL, (unsigned char **)&p,
len);
+#endif
}
if(r) {
if(pub) {
@@ -799,7 +803,11 @@
bool createFromDER(const char *in, unsigned int len)
{
unsigned char *p = (unsigned char *)in;
- X509 *t = d2i_X509(NULL, &p, len);
+#ifdef OSSL_097
+ X509 *t = d2i_X509(NULL, (const unsigned char**)&p, len);
+#else
+ X509 *t = d2i_X509(NULL, (unsigned char**)&p, len);
+#endif
if(!t)
return false;
fromX509(t);
--- NEW FILE: qca-10.6.info ---
Package: qca
Version: 1.0
Revision: 1024
Distribution: 10.6
Depends: %N-shlibs
BuildDepends: <<
fink (>= 0.28.0-1),
cyrus-sasl2-dev,
system-openssl-dev,
qt3 (>= 3.3.3-4)
<<
BuildDependsOnly: true
Source: http://delta.affinix.com/qca/qca-%v.tar.bz2
Source-MD5: ee44022eb0e5b8b5df64c62630f6e6b6
Source2: http://delta.affinix.com/qca/qca-tls-%v.tar.bz2
Source2-MD5: 886b1f60fc31de3b1a0bd93281e27b73
Source3: http://delta.affinix.com/qca/qca-sasl-%v.tar.bz2
Source3-MD5: 2e324cb45706f37a8d2b196f43428023
PatchFile: %n.patch
PatchFile-MD5: fb804ac32c99a1ebb17e8e9ad44d8e84
GCC: 4.0
PatchScript: <<
cd ..; patch -p0 < %{PatchFile}
<<
CompileScript: <<
#!/bin/sh -ex
if [ -x /usr/bin/gcc-4.2 ]; then
export CC=gcc-4.2 CXX=g++-4.2 CPP=cpp-4.2
fi
export lt_cv_sys_max_cmd_len=65536
./configure --prefix=%p --qtdir=%p
make
pushd ../qca-sasl-%v
./configure --with-sasl-inc=%p/include --with-sasl-lib=%p/lib --qtdir=%p
make
popd
pushd ../qca-tls-%v
./configure --qtdir=%p --with-openssl-inc=%p/lib/system-openssl/include
--with-openssl-lib=%p/lib/system-openssl/lib
make LIBS='-L%p/lib/system-openssl/lib -lssl -lcrypto -L%p/lib -lqt-mt
$(SUBLIBS)'
popd
<<
InstallScript: <<
#!/bin/sh -ex
install -d -m 755 %i/include/qt
install -d -m 755 %i/lib
install -d %i/lib/qt3-plugins/crypto
install -d -m 755 %i/share/doc/%N/
mv *.dylib %i/lib/
mv src/*.h %i/include/qt/
cp -pR examples %i/share/doc/%N/
install -c -m 755 ../qca-*-%v/*.so %i/lib/qt3-plugins/crypto/
<<
SplitOff: <<
Package: %N-shlibs
Depends: cyrus-sasl2-shlibs, qt3-shlibs (>= 3.3.0-1)
Files: <<
lib/libqca.*.dylib
lib/qt3-plugins
<<
Shlibs: %p/lib/libqca.1.dylib 1.0.0 %n (>= 1.0-1)
DocFiles: COPYING*
<<
DocFiles: COPYING INSTALL README TODO
Description: Qt Cryptographic Architecture
DescDetail: <<
Taking a hint from the similarly-named Java Cryptography Architecture,
QCA aims to provide a straightforward and cross-platform crypto API,
using Qt datatypes and conventions. QCA separates the API from the
implementation, using plugins known as Providers. The advantage of
this model is to allow applications to avoid linking to or explicitly
depending on any particular cryptographic library. This allows one to
easily change or upgrade crypto implementations without even needing
to recompile the application!
<<
License: LGPL
Maintainer: Benjamin Reed <[email protected]>
Homepage: http://delta.affinix.com/qca/
------------------------------------------------------------------------------
The demand for IT networking professionals continues to grow, and the
demand for specialized networking skills is growing even more rapidly.
Take a complimentary Learning@Ciosco Self-Assessment and learn
about Cisco certifications, training, and career opportunities.
http://p.sf.net/sfu/cisco-dev2dev
_______________________________________________
Fink-commits mailing list
[email protected]
http://news.gmane.org/gmane.os.apple.fink.cvs