]> granicus.if.org Git - curl/commitdiff
Fix OS400 scripts to make it compilable again.
authorPatrick Monnerat <pm@datasphere.ch>
Thu, 14 Jul 2011 15:07:35 +0000 (17:07 +0200)
committerPatrick Monnerat <pm@datasphere.ch>
Thu, 14 Jul 2011 15:07:35 +0000 (17:07 +0200)
Upgrade ILE/RPG binding to 7.21.7.
Update OS400 documentation accordingly.

packages/OS400/README.OS400
packages/OS400/curl.inc.in
packages/OS400/initscript.sh
packages/OS400/make-lib.sh
packages/OS400/make-tests.sh

index 0cd5633aac06be0d90150c2f6fb5994895c16698..0dba7654a4ccf866d3184a240567a7c50bb636b0 100644 (file)
@@ -147,6 +147,10 @@ use:
         CURLINFO_EFFECTIVE_URL
         CURLINFO_CONTENT_TYPE
         CURLINFO_FTP_ENTRY_PATH
+        CURLINFO_REDIRECT_URL
+        CURLINFO_PRIMARY_IP
+        CURLINFO_RTSP_SESSION_ID
+        CURLINFO_LOCAL_IP
   Other options are processed like in curl_easy_getinfo().
 
   Standard compilation environment does support neither autotools nor make;
@@ -159,14 +163,27 @@ OS/400.
 
 
 Protocols currently implemented on OS/400:
-_ HTTP
-_ HTTPS
+_ DICT
+_ FILE
 _ FTP
 _ FTPS
-_ FTP with secure transmission.
+_ FTP with secure transmission
+_ GOPHER
+_ HTTP
+_ HTTPS
+_ IMAP
+_ IMAPS
+_ IMAP with secure transmission
 _ LDAP
-_ DICT
+_ POP3
+_ POP3S
+_ POP3 with secure transmission
+_ RTSP
+_ SMTP
+_ SMTPS
+_ SMTP with secure transmission
 _ TELNET
+_ TFTP
 
 
 
index 65c1e72be6dfea054d67cf593e29dd819766a40a..ce70ba47197fdf530ed21144ed529ad225562646 100644 (file)
      d  CURLOPT_SHARE  c                   10100
      d  CURLOPT_PROXYTYPE...
      d                 c                   00101
-     d  CURLOPT_ENCODING...
+     d  CURLOPT_ACCEPT_ENCODING...
      d                 c                   10102
      d  CURLOPT_PRIVATE...
      d                 c                   10103
      d                 c                   10205
      d  CURLOPT_TLSAUTH_TYPE...
      d                 c                   10206
+     d  CURLOPT_TRANSFER_ENCODING...
+     d                 c                   00207
+     d  CURLOPT_CLOSESOCKETFUNCTION...
+     d                 c                   20208
+     d  CURLOPT_CLOSESOCKETDATA...
+     d                 c                   10209
       *
       /if not defined(CURL_NO_OLDIES)
      d  CURLOPT_SSLKEYPASSWD...
      d                 c                   00050
      d  CURLOPT_KRB4LEVEL...
      d                 c                   10063
+     d  CURLOPT_ENCODING...
+     d                 c                   10102
      d  CURLOPT_SERVER_RESPONSE_TIMEOUT...
      d                 c                   00112
      d  CURLOPT_FTP_SSL...
      d                 s               *   based(######ptr######) procptr
       *
      d curl_fnmatch_callback...
+     d                 s               *   based(######ptr######) procptr
+      *
+     d curl_closesocket_callback...
      d                 s               *   based(######ptr######) procptr
       *
       **************************************************************************
index 9bf93a8e6426ddc15eacbc856e250caf4a435470..97e978158b817b7c5746782006665ad3b92706f0 100644 (file)
@@ -155,7 +155,7 @@ db2_name()
 
 {
         basename "${1}"                                                 |
-        tr '[a-z-]' '[A-Z_]'                                            |
+        tr 'a-z-' 'A-Z_'                                                |
         sed -e 's/\..*//'                                               \
             -e 's/^\(..........\).*/\1/'
 }
index 9b3e335ab14acb45faa6587dc5738d998326c900..46c479c3ff3573d1900bcf336e295ecbf182d50b 100644 (file)
@@ -46,9 +46,7 @@ make_module     OS400SYS        "${SCRIPTDIR}/os400sys.c"
 make_module     CCSIDCURL       "${SCRIPTDIR}/ccsidcurl.c"
 
 for SRC in ${CSOURCES}
-do      MODULE=`basename "${SRC}" .c |
-                tr '[a-z]' '[A-Z]'   |
-                sed -e 's/^\(..........\).*/\1/'`
+do      MODULE=`db2_name "${SRC}"`
         make_module "${MODULE}" "${SRC}"
 done
 
index cee3ed95d2d08995e4bb5ce0e7b21dc567c8835f..e40b41046427a55f3a3578787b8d65903d9cb016 100644 (file)
@@ -22,6 +22,8 @@ cd libtest
 #       _ Retain only lines that begins with "identifier =".
 #       _ Turn these lines into shell variable assignments.
 
+top_srcdir="${TOPDIR}"
+export top_srcdir
 eval "`sed -e ': begin'                                                 \
         -e '/\\\\$/{'                                                   \
         -e 'N'                                                          \