aboutsummaryrefslogtreecommitdiff
path: root/packages
diff options
context:
space:
mode:
authorDan Fandrich <dan@coneharvesters.com>2008-10-25 05:41:01 +0000
committerDan Fandrich <dan@coneharvesters.com>2008-10-25 05:41:01 +0000
commite9c94cdd49b49266fab7b46ef613ac1ace38a7d3 (patch)
treec37497736d0c0f73b0657ea2985c965fd2f1454e /packages
parentd104216bbeed0b4ed13063f3b627d4d9527b6b08 (diff)
Added experimental support for zlib and OpenSSL on Symbian OS.
Diffstat (limited to 'packages')
-rw-r--r--packages/Symbian/group/libcurl.mmp19
-rw-r--r--packages/Symbian/readme.txt12
2 files changed, 28 insertions, 3 deletions
diff --git a/packages/Symbian/group/libcurl.mmp b/packages/Symbian/group/libcurl.mmp
index 7cc421ec9..abcf86a74 100644
--- a/packages/Symbian/group/libcurl.mmp
+++ b/packages/Symbian/group/libcurl.mmp
@@ -2,11 +2,22 @@
// 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
TARGETTYPE dll
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
SOURCE \
@@ -27,6 +38,12 @@ SYSTEMINCLUDE ../../../include ../../../include/curl \
/epoc32/include/stdapis /epoc32/include
LIBRARY euser.lib libc.lib
+#ifdef ENABLE_ZLIB
+LIBRARY ezlib.lib
+#endif
+#ifdef ENABLE_SSL
+LIBRARY libssl.lib libcrypto.lib
+#endif
CAPABILITY NetworkServices
diff --git a/packages/Symbian/readme.txt b/packages/Symbian/readme.txt
index 5dc69e0ec..cdd9f7450 100644
--- a/packages/Symbian/readme.txt
+++ b/packages/Symbian/readme.txt
@@ -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
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
additional symbol exports in the library which are not frozen in the .def
@@ -77,4 +85,4 @@ files.
Dan Fandrich
dan@coneharvesters.com
-July 2008
+October 2008