feat: build proect for restproxy

This commit is contained in:
zhangsz
2025-03-06 20:02:40 +08:00
parent aca2bace68
commit fea044e6fe
3962 changed files with 979480 additions and 222551 deletions

View File

@@ -0,0 +1,10 @@
//
// libcurl and curl bld.inf file for Symbian OS
//
PRJ_EXPORTS
libcurl.iby /epoc32/rom/include/libcurl.iby
curl.iby /epoc32/rom/include/curl.iby
PRJ_MMPFILES
libcurl.mmp
curl.mmp

View File

@@ -0,0 +1,15 @@
//
// curl file transfer utility command-line utility
//
// Use this file with buildrom to add curl to a device ROM
//
#ifndef CURL_IBY
#define CURL_IBY
#include <openenv.iby>
#include <libcurl.iby>
file=ABI_DIR\BUILD_DIR\curl.exe \sys\bin\curl.exe
#endif // CURL_IBY

View File

@@ -0,0 +1,64 @@
//
// curl network retrieval client
//
TARGET curl.exe
TARGETTYPE exe
UID 0x00000000 0xF0206442
SOURCEPATH ../../../src
SOURCE \
tool_binmode.c \
tool_bname.c \
tool_cb_dbg.c \
tool_cb_hdr.c \
tool_cb_prg.c \
tool_cb_rea.c \
tool_cb_see.c \
tool_cb_wrt.c \
tool_cfgable.c \
tool_convert.c \
tool_dirhie.c \
tool_doswin.c \
tool_easysrc.c \
tool_formparse.c \
tool_getparam.c \
tool_getpass.c \
tool_help.c \
tool_helpers.c \
tool_homedir.c \
tool_hugehelp.c \
tool_libinfo.c \
tool_main.c \
tool_metalink.c \
tool_mfiles.c \
tool_msgs.c \
tool_operate.c \
tool_operhlp.c \
tool_panykey.c \
tool_paramhlp.c \
tool_parsecfg.c \
tool_setopt.c \
tool_sleep.c \
tool_urlglob.c \
tool_util.c \
tool_vms.c \
tool_writeenv.c \
tool_writeout.c \
tool_xattr.c
SOURCEPATH ../../../lib
SOURCE \
strcase.c nonblock.c
USERINCLUDE ../../../src ../../../lib ../../../include/curl
SYSTEMINCLUDE ../../../include /epoc32/include /epoc32/include/stdapis
LIBRARY euser.lib libc.lib libcurl.lib
STATICLIBRARY libcrt0.lib
CAPABILITY NetworkServices
EPOCSTACKSIZE 0x8000

View File

@@ -0,0 +1,26 @@
; curl package definition file
; Use with makesis to create a Symbian .sis package
;Language - standard language definitions
&EN
;Header - standard sis file header including version number
;Version scheme: curl's major, curl's minor, curl's subminor*100 + build number
; e.g. The third Symbian package of curl ver. 7.20.1 would have a SIS package
; version of 7, 20, 103
#{"curl"}, (0xF0206442), 7, 20, <please_update_version>, TYPE=SA
; Vendor name
%{"curl project"}
:"curl project"
; Embedded component
@"libcurl.sis",(0xF0206D00)
; A dependency on P.I.P.S. and the stdio server are probably good to have here
;(0x20009A80), *, *, *, {"Open C Standard Libraries"}
;(0x20009A81), *, *, *, {"P.I.P.S. for UIQ 3"}
;(0x20009AA2), *, *, *, {"Symbian OS STDIOSERVER"}
;Files - standard file specifications
"\epoc32\release\armv5\urel\curl.exe" - "$:\sys\bin\curl.exe"

View File

@@ -0,0 +1,14 @@
//
// libcurl file transfer DLL
//
// Use this file with buildrom to add libcurl to a device ROM
//
#ifndef LIBCURL_IBY
#define LIBCURL_IBY
#include <openenv.iby>
file=ABI_DIR\BUILD_DIR\libcurl.dll \sys\bin\libcurl.dll
#endif // LIBCURL_IBY

View File

@@ -0,0 +1,67 @@
//
// libcurl.dll curl network retrieval client library
//
// Build-time options (uncomment these to enable)
#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
#ifdef ENABLE_ZLIB
MACRO HAVE_LIBZ
#endif
#ifdef ENABLE_SSL
MACRO USE_OPENSSL
#endif
SOURCEPATH ../../../lib
SOURCE \
file.c timeval.c base64.c hostip.c progress.c formdata.c \
cookie.c http.c sendf.c ftp.c url.c dict.c if2ip.c speedcheck.c \
ldap.c vtls/openssl.c version.c getenv.c escape.c mprintf.c telnet.c \
netrc.c getinfo.c transfer.c strequal.c easy.c security.c krb4.c \
curl_fnmatch.c fileinfo.c ftplistparser.c wildcard.c krb5.c \
memdebug.c http_chunks.c strtok.c connect.c llist.c hash.c multi.c \
content_encoding.c share.c http_digest.c md4.c md5.c curl_rand.c \
http_negotiate.c inet_pton.c strtoofft.c strerror.c amigaos.c \
hostasyn.c hostip4.c hostip6.c hostsyn.c inet_ntop.c parsedate.c \
select.c vtls/gtls.c vtls/vtls.c tftp.c splay.c strdup.c socks.c \
ssh.c vtls/nss.c strcase.c curl_addrinfo.c socks_gssapi.c \
socks_sspi.c curl_sspi.c slist.c nonblock.c curl_memrchr.c imap.c \
pop3.c smtp.c pingpong.c rtsp.c curl_threads.c warnless.c hmac.c \
vtls/polarssl.c curl_rtmp.c openldap.c curl_gethostname.c gopher.c \
vtls/axtls.c idn_win32.c vtls/cyassl.c http_proxy.c non-ascii.c \
asyn-ares.c asyn-thread.c curl_gssapi.c http_ntlm.c curl_ntlm_wb.c \
curl_ntlm_core.c curl_sasl.c vtls/schannel.c curl_multibyte.c \
vtls/darwinssl.c conncache.c curl_sasl_sspi.c smb.c curl_endian.c \
curl_des.c system_win32.c \
vauth/vauth.c vauth/cleartext.c vauth/cram.c vauth/digest.c \
vauth/digest_sspi.c vauth/krb5_gssapi.c vauth/krb5_sspi.c \
vauth/ntlm.c vauth/ntlm_sspi.c vauth/oauth2.c vauth/spnego_gssapi.c \
vauth/spnego_sspi.c
USERINCLUDE ../../../lib ../../../include/curl
#ifdef ENABLE_SSL
SYSTEMINCLUDE /epoc32/include/osextensions/stdapis
// Older versions of the SDK need this instead:
//USERINCLUDE /epoc32/include/stdapis/openssl
#endif
SYSTEMINCLUDE ../../../include /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
EPOCALLOWDLLDATA

View File

@@ -0,0 +1,22 @@
; libcurl package definition file
; Use with makesis to create a Symbian .sis package
;Language - standard language definitions
&EN
;Header - standard sis file header including version number
;Version scheme: curl's major, curl's minor, curl's subminor*100 + build number
; e.g. The third Symbian package of curl ver. 7.20.1 would have a SIS package
; version of 7, 20, 103
#{"libcurl"}, (0xF0206D00), 7, 20, <please_update_version>, TYPE=SA
; Vendor name
%{"curl project"}
:"curl project"
; A dependency on P.I.P.S. is probably a good idea to add here
;(0x20009A80), *, *, *, {"Open C Standard Libraries"}
;(0x20009A81), *, *, *, {"P.I.P.S. for UIQ 3"}
;Files - standard file specifications
"\epoc32\release\armv5\urel\libcurl.dll" - "$:\sys\bin\libcurl.dll"