1
0
mirror of https://github.com/moparisthebest/curl synced 2024-12-21 23:58:49 -05:00

Added experimental support for zlib and OpenSSL on Symbian OS.

This commit is contained in:
Dan Fandrich 2008-10-25 05:41:01 +00:00
parent d104216bbe
commit e9c94cdd49
5 changed files with 46 additions and 9 deletions

View File

@ -6,6 +6,9 @@
Changelog Changelog
Daniel Fandrich (24 Oct 2008)
- Added experimental support for zlib and OpenSSL on Symbian OS.
Daniel Fandrich (21 Oct 2008) Daniel Fandrich (21 Oct 2008)
- Fixed some problems with SFTP range support to fix test cases 634 through - Fixed some problems with SFTP range support to fix test cases 634 through
637. 637.

View File

@ -291,9 +291,6 @@
/* Define to 1 if you have the `ssl' library (-lssl). */ /* Define to 1 if you have the `ssl' library (-lssl). */
/*#define HAVE_LIBSSL 1*/ /*#define HAVE_LIBSSL 1*/
/* if zlib is available */
/*#define HAVE_LIBZ 1*/
/* Define to 1 if you have the <limits.h> header file. */ /* Define to 1 if you have the <limits.h> header file. */
#define HAVE_LIMITS_H 1 #define HAVE_LIMITS_H 1
@ -619,9 +616,6 @@
/* Define to 1 if you have the <x509.h> header file. */ /* Define to 1 if you have the <x509.h> header file. */
/* #undef HAVE_X509_H */ /* #undef HAVE_X509_H */
/* if you have the zlib.h header file */
/*#define HAVE_ZLIB_H 1*/
/* Define to 1 if you are building a native Windows target. */ /* Define to 1 if you are building a native Windows target. */
/* #undef NATIVE_WINDOWS */ /* #undef NATIVE_WINDOWS */
@ -798,3 +792,14 @@
#ifndef __LONG_LONG_SUPPORTED #ifndef __LONG_LONG_SUPPORTED
#define __LONG_LONG_SUPPORTED #define __LONG_LONG_SUPPORTED
#endif #endif
/* Enable appropriate header only when zlib support is enabled */
#ifdef HAVE_LIBZ
#define HAVE_ZLIB_H 1
#endif
/* Enable appropriate definitions only when OpenSSL support is enabled */
#ifdef USE_SSL
#define USE_OPENSSL 1
#define USE_SSLEAY 1
#endif

View File

@ -106,6 +106,10 @@
#ifdef HAVE_ZLIB_H #ifdef HAVE_ZLIB_H
#include <zlib.h> /* for content-encoding */ #include <zlib.h> /* for content-encoding */
#ifdef __SYMBIAN32__
/* zlib pollutes the namespace with this definition */
#undef WIN32
#endif
#endif #endif
#ifdef USE_ARES #ifdef USE_ARES

View File

@ -2,11 +2,22 @@
// libcurl.dll cURL network retrieval client library // libcurl.dll cURL network retrieval client library
// //
// Build-time options
//#define ENABLE_ZLIB // Enable gzip/deflate decompression
//#define ENABLE_SSL // Enable SSL for HTTPS/FTPS (requires S60 Open C SDK)
TARGET libcurl.dll TARGET libcurl.dll
TARGETTYPE dll TARGETTYPE dll
UID 0x1000008d 0xF0206D00 UID 0x1000008d 0xF0206D00
MACRO BUILDING_LIBCURL=1 MACRO BUILDING_LIBCURL
#ifdef ENABLE_ZLIB
MACRO HAVE_LIBZ
#endif
#ifdef ENABLE_SSL
MACRO USE_SSL
#endif
SOURCEPATH ../../../lib SOURCEPATH ../../../lib
SOURCE \ SOURCE \
@ -27,6 +38,12 @@ SYSTEMINCLUDE ../../../include ../../../include/curl \
/epoc32/include/stdapis /epoc32/include /epoc32/include/stdapis /epoc32/include
LIBRARY euser.lib libc.lib LIBRARY euser.lib libc.lib
#ifdef ENABLE_ZLIB
LIBRARY ezlib.lib
#endif
#ifdef ENABLE_SSL
LIBRARY libssl.lib libcrypto.lib
#endif
CAPABILITY NetworkServices CAPABILITY NetworkServices

View File

@ -68,7 +68,15 @@ P.I.P.S. doesn't support signals or the alarm() call, so some timeouts
P.I.P.S. causes a USER:87 panic if certain timeouts much longer than P.I.P.S. causes a USER:87 panic if certain timeouts much longer than
half an hour are selected. half an hour are selected.
SSL/TLS encryption is not supported, nor are LDAP, SCP or SFTP URLs. LDAP, SCP or SFTP methods are not supported.
gzip and deflate decompression is supported when enabled in the libcurl.mmp
file.
SSL/TLS encryption is not supported by default, but it has been reported
to be made working with macros similar to the ones in config-symbian.h
and libcurl.mmp. This requires the OpenSSL libraries included in the S60
Open C SDK.
Debug builds are not supported (i.e. --enable-debug) because they cause Debug builds are not supported (i.e. --enable-debug) because they cause
additional symbol exports in the library which are not frozen in the .def additional symbol exports in the library which are not frozen in the .def
@ -77,4 +85,4 @@ files.
Dan Fandrich Dan Fandrich
dan@coneharvesters.com dan@coneharvesters.com
July 2008 October 2008