1*6236dae4SAndroid Build Coastguard Worker _ _ ____ _ 2*6236dae4SAndroid Build Coastguard Worker ___| | | | _ \| | 3*6236dae4SAndroid Build Coastguard Worker / __| | | | |_) | | 4*6236dae4SAndroid Build Coastguard Worker ( (__| |_| | _ <| |___ 5*6236dae4SAndroid Build Coastguard Worker \___|\___/|_| \_\_____| 6*6236dae4SAndroid Build Coastguard Worker for OpenVMS 7*6236dae4SAndroid Build Coastguard Worker 8*6236dae4SAndroid Build Coastguard WorkerHistory: 9*6236dae4SAndroid Build Coastguard Worker 10*6236dae4SAndroid Build Coastguard Worker 9-MAR-2004, Created this readme. file. Marty Kuhrt (MSK). 11*6236dae4SAndroid Build Coastguard Worker15-MAR-2004, MSK, Updated to reflect the new files in this directory. 12*6236dae4SAndroid Build Coastguard Worker14-FEB-2005, MSK, removed config-vms.h_with* file comments 13*6236dae4SAndroid Build Coastguard Worker10-FEB-2010, SMS. General update. 14*6236dae4SAndroid Build Coastguard Worker14-Jul-2013, JEM, General Update, add GNV build information. 15*6236dae4SAndroid Build Coastguard Worker 16*6236dae4SAndroid Build Coastguard Worker 17*6236dae4SAndroid Build Coastguard WorkerThe release notes installed by the PCSI kit consist of this file and the 18*6236dae4SAndroid Build Coastguard Workercurl_gnv_build_steps.txt and other useful information. 19*6236dae4SAndroid Build Coastguard Worker 20*6236dae4SAndroid Build Coastguard WorkerPrerequisites: 21*6236dae4SAndroid Build Coastguard Worker 22*6236dae4SAndroid Build Coastguard WorkerOpenVMS V7.0 or later (any platform) 23*6236dae4SAndroid Build Coastguard WorkerDECC V6.5 or later 24*6236dae4SAndroid Build Coastguard WorkerOpenSSL or hp SSL, if you want SSL support 25*6236dae4SAndroid Build Coastguard Worker 26*6236dae4SAndroid Build Coastguard WorkerWhat is Here: 27*6236dae4SAndroid Build Coastguard Worker 28*6236dae4SAndroid Build Coastguard WorkerThis directory contains the following files for a DCL based build. 29*6236dae4SAndroid Build Coastguard Worker 30*6236dae4SAndroid Build Coastguard Workerbackup_gnv_curl_src.com This procedure backs up the source modules for 31*6236dae4SAndroid Build Coastguard Worker creating a PCSI kit. 32*6236dae4SAndroid Build Coastguard Worker 33*6236dae4SAndroid Build Coastguard Workerbuild_curl-config_script.com 34*6236dae4SAndroid Build Coastguard Worker Procedure to create the curl-config script. 35*6236dae4SAndroid Build Coastguard Worker 36*6236dae4SAndroid Build Coastguard Workerbuild_gnv_curl.com This procedure does a build of curl using the 37*6236dae4SAndroid Build Coastguard Worker GNV utilities and then uses DCL tools to build 38*6236dae4SAndroid Build Coastguard Worker the libcurl shared image. The setup_gnv_curl_build.com 39*6236dae4SAndroid Build Coastguard Worker procedure must be run first. 40*6236dae4SAndroid Build Coastguard Worker 41*6236dae4SAndroid Build Coastguard Workerbuild_gnv_curl_pcsi_desc.com 42*6236dae4SAndroid Build Coastguard Worker This procedure builds the pcsi$desc file for 43*6236dae4SAndroid Build Coastguard Worker creating a PCSI based package. 44*6236dae4SAndroid Build Coastguard Worker 45*6236dae4SAndroid Build Coastguard Workerbuild_gnv_curl_pcsi_text.com 46*6236dae4SAndroid Build Coastguard Worker This procedure builds the pcsi$text file for 47*6236dae4SAndroid Build Coastguard Worker creating a PCSI based package. 48*6236dae4SAndroid Build Coastguard Worker 49*6236dae4SAndroid Build Coastguard Workerbuild_gnv_curl_release_notes.com 50*6236dae4SAndroid Build Coastguard Worker This procedure creates the release notes for 51*6236dae4SAndroid Build Coastguard Worker a PCSI kit based on curl_release_note_start.txt, 52*6236dae4SAndroid Build Coastguard Worker this readme file, and the curl_gnv_build_steps.txt 53*6236dae4SAndroid Build Coastguard Worker 54*6236dae4SAndroid Build Coastguard Workerbuild_libcurl_pc.com Procedure to create a libcurl.pc file. 55*6236dae4SAndroid Build Coastguard Worker 56*6236dae4SAndroid Build Coastguard Workerbuild_vms.com DCL based build procedure. 57*6236dae4SAndroid Build Coastguard Worker 58*6236dae4SAndroid Build Coastguard Workerclean_gnv_curl.com This procedure cleans up the files generated by 59*6236dae4SAndroid Build Coastguard Worker a GNV based build. 60*6236dae4SAndroid Build Coastguard Worker 61*6236dae4SAndroid Build Coastguard Workerconfig_h.com DCL based procedure used by build_vms.com 62*6236dae4SAndroid Build Coastguard Worker to run generate the curl_config.h file. 63*6236dae4SAndroid Build Coastguard Worker This is a generic procedure that does most 64*6236dae4SAndroid Build Coastguard Worker of the work for generating config.h files. 65*6236dae4SAndroid Build Coastguard Worker 66*6236dae4SAndroid Build Coastguard Workercompare_curl_source.com Procedure to compare the working directory 67*6236dae4SAndroid Build Coastguard Worker with a repository directory or a backup staging 68*6236dae4SAndroid Build Coastguard Worker directory. 69*6236dae4SAndroid Build Coastguard Worker 70*6236dae4SAndroid Build Coastguard Workercurl_crtl_init.c A special pre-initialization routine to for 71*6236dae4SAndroid Build Coastguard Worker programs to behave more Unix like when run 72*6236dae4SAndroid Build Coastguard Worker under GNV. 73*6236dae4SAndroid Build Coastguard Worker 74*6236dae4SAndroid Build Coastguard Workercurl_gnv_build_steps.txt 75*6236dae4SAndroid Build Coastguard Worker Detailed instructions on how to built curl using 76*6236dae4SAndroid Build Coastguard Worker GNV and how to build the libcurl shared image and 77*6236dae4SAndroid Build Coastguard Worker PCSI kit. 78*6236dae4SAndroid Build Coastguard Worker 79*6236dae4SAndroid Build Coastguard Workercurl_release_note_start.txt 80*6236dae4SAndroid Build Coastguard Worker The first part of the curl release notes. 81*6236dae4SAndroid Build Coastguard Worker 82*6236dae4SAndroid Build Coastguard Workercurl_startup.com A procedure run at VMS startup to install the 83*6236dae4SAndroid Build Coastguard Worker libcurl shared image and to set up the needed 84*6236dae4SAndroid Build Coastguard Worker logical names. 85*6236dae4SAndroid Build Coastguard Worker 86*6236dae4SAndroid Build Coastguard Workercurlmsg.h C header defining curl status code macros. 87*6236dae4SAndroid Build Coastguard Worker 88*6236dae4SAndroid Build Coastguard Workercurlmsg.msg Error message source for curlmsg.h and curlmsg.sdl. 89*6236dae4SAndroid Build Coastguard Worker 90*6236dae4SAndroid Build Coastguard Workercurlmsg.sdl SDL source defining curl status code constants. 91*6236dae4SAndroid Build Coastguard Worker 92*6236dae4SAndroid Build Coastguard Workercurlmsg_vms.h Mapping of curl status codes to VMS-form codes. 93*6236dae4SAndroid Build Coastguard Worker 94*6236dae4SAndroid Build Coastguard Workergenerate_config_vms_h_curl.com 95*6236dae4SAndroid Build Coastguard Worker DCL procedure to generate the curl specific 96*6236dae4SAndroid Build Coastguard Worker definitions for curl_config.h that config_h.com 97*6236dae4SAndroid Build Coastguard Worker can not properly generate. 98*6236dae4SAndroid Build Coastguard Worker 99*6236dae4SAndroid Build Coastguard Workergenerate_vax_transfer.com 100*6236dae4SAndroid Build Coastguard Worker DCL procedure to read an Alpha/IA64 symbol vector 101*6236dae4SAndroid Build Coastguard Worker linker option file and generate the VAX transfer 102*6236dae4SAndroid Build Coastguard Worker vector modules. 103*6236dae4SAndroid Build Coastguard Worker 104*6236dae4SAndroid Build Coastguard Workergnv_conftest.c_first A helper file for the configure script. 105*6236dae4SAndroid Build Coastguard Worker 106*6236dae4SAndroid Build Coastguard Workergnv_curl_configure.sh A script to run the configure script with the 107*6236dae4SAndroid Build Coastguard Worker options needed for VMS. 108*6236dae4SAndroid Build Coastguard Worker 109*6236dae4SAndroid Build Coastguard Workergnv_libcurl_symbols.opt The symbol vectors needed for Alpha and IA64 110*6236dae4SAndroid Build Coastguard Worker libcurl shared image. 111*6236dae4SAndroid Build Coastguard Worker 112*6236dae4SAndroid Build Coastguard Workergnv_link_curl.com Links the libcurl shared image and then links a curl 113*6236dae4SAndroid Build Coastguard Worker image to use the libcurl. 114*6236dae4SAndroid Build Coastguard Worker 115*6236dae4SAndroid Build Coastguard Workermacro32_exactcase.patch The patch file needed to modify VAX Macro32 to be 116*6236dae4SAndroid Build Coastguard Worker case sensitive and case preserving. 117*6236dae4SAndroid Build Coastguard Worker 118*6236dae4SAndroid Build Coastguard WorkerMakefile.am curl kit file list for this directory. 119*6236dae4SAndroid Build Coastguard Worker 120*6236dae4SAndroid Build Coastguard WorkerMakefile.in curl kit makefile source for this directory. 121*6236dae4SAndroid Build Coastguard Worker 122*6236dae4SAndroid Build Coastguard Workermake_gnv_curl_install.sh 123*6236dae4SAndroid Build Coastguard Worker Script to do a make install using GNV after running 124*6236dae4SAndroid Build Coastguard Worker the configure script. 125*6236dae4SAndroid Build Coastguard Worker 126*6236dae4SAndroid Build Coastguard Workermake_pcsi_curl_kit_name.com 127*6236dae4SAndroid Build Coastguard Worker This generates the name of the PCSI kit based on 128*6236dae4SAndroid Build Coastguard Worker the version of curl being built. 129*6236dae4SAndroid Build Coastguard Worker 130*6236dae4SAndroid Build Coastguard Workerpcsi_gnv_curl_file_list.txt 131*6236dae4SAndroid Build Coastguard Worker This is a text file describing what files should 132*6236dae4SAndroid Build Coastguard Worker be included in a PCSI kit. 133*6236dae4SAndroid Build Coastguard Worker 134*6236dae4SAndroid Build Coastguard Workerpcsi_product_gnv_curl.com 135*6236dae4SAndroid Build Coastguard Worker This generates the PCSI kit after the libcurl 136*6236dae4SAndroid Build Coastguard Worker shared image has been made. 137*6236dae4SAndroid Build Coastguard Worker 138*6236dae4SAndroid Build Coastguard Workerreadme. This file. 139*6236dae4SAndroid Build Coastguard Worker 140*6236dae4SAndroid Build Coastguard Workerreport_openssl_version.c 141*6236dae4SAndroid Build Coastguard Worker Program to check that the OpenSSL version is new 142*6236dae4SAndroid Build Coastguard Worker enough for building a shared libcurl image. 143*6236dae4SAndroid Build Coastguard Worker 144*6236dae4SAndroid Build Coastguard Workersetup_gnv_curl_build.com 145*6236dae4SAndroid Build Coastguard Worker This procedure sets up symbols and logical names 146*6236dae4SAndroid Build Coastguard Worker for a GNV build environment and also copies some 147*6236dae4SAndroid Build Coastguard Worker helper files. 148*6236dae4SAndroid Build Coastguard Worker 149*6236dae4SAndroid Build Coastguard Workerstage_curl_install.com This procedure sets up new_gnu: directory tree to 150*6236dae4SAndroid Build Coastguard Worker for testing the install and building the PCSI kit. 151*6236dae4SAndroid Build Coastguard Worker It takes a "remove" option to remove all the staged 152*6236dae4SAndroid Build Coastguard Worker files. 153*6236dae4SAndroid Build Coastguard Worker 154*6236dae4SAndroid Build Coastguard Workervms_eco_level.h This sets the ECO level for the PCSI kit name. 155*6236dae4SAndroid Build Coastguard Worker 156*6236dae4SAndroid Build Coastguard Worker 157*6236dae4SAndroid Build Coastguard WorkerHow to Build: 158*6236dae4SAndroid Build Coastguard Worker 159*6236dae4SAndroid Build Coastguard WorkerThe GNV based build and the DCL based build procedures are not compatible 160*6236dae4SAndroid Build Coastguard Workerand you must make sure that none of the build files are present before 161*6236dae4SAndroid Build Coastguard Workerrunning a different type of build. Use the "REALCLEAN" option for 162*6236dae4SAndroid Build Coastguard WorkerBUILD_VMS.COM and the "REALCLEAN" option for clean_gnv_curl.com. 163*6236dae4SAndroid Build Coastguard Worker 164*6236dae4SAndroid Build Coastguard WorkerThe (brute-force) DCL based builder is [.packages.vms]build_vms.com. 165*6236dae4SAndroid Build Coastguard WorkerComments in this procedure describe various optional parameters which 166*6236dae4SAndroid Build Coastguard Workerenable or disable optional program features, or which control the build 167*6236dae4SAndroid Build Coastguard Workerin other ways. Product files (.EXE, .H, .LIS, .MAP, .OBJ, .OLB, ...) 168*6236dae4SAndroid Build Coastguard Workershould be produced in an architecture-specific subdirectory under this 169*6236dae4SAndroid Build Coastguard Workerdirectory ([.ALPHA], [.IA64], [.VAX]). 170*6236dae4SAndroid Build Coastguard Worker 171*6236dae4SAndroid Build Coastguard WorkerThe file curl_gnv_build_steps.txt contains information on building using 172*6236dae4SAndroid Build Coastguard Workerthe GNV tool kit, building a shared libcurl, and producing a PCSI kit for 173*6236dae4SAndroid Build Coastguard Workerdistribution. The curl_gnv_build_steps.text is included in the release 174*6236dae4SAndroid Build Coastguard Workernotes file of the PCSI kit. 175*6236dae4SAndroid Build Coastguard Worker 176*6236dae4SAndroid Build Coastguard WorkerThe building with 64-bit pointers does not currently work. 177*6236dae4SAndroid Build Coastguard Worker 178*6236dae4SAndroid Build Coastguard WorkerThe build procedure will detect if HP OpenSSL, LDAP, and Kerberos are 179*6236dae4SAndroid Build Coastguard Workerinstalled and default to building with them. 180*6236dae4SAndroid Build Coastguard Worker 181*6236dae4SAndroid Build Coastguard WorkerThe build procedure will also detect if a compatible ZLIB shared image 182*6236dae4SAndroid Build Coastguard Workeris installed from a PCSI kit and default to using it. 183*6236dae4SAndroid Build Coastguard Worker 184*6236dae4SAndroid Build Coastguard Worker Example build commands: 185*6236dae4SAndroid Build Coastguard Worker 186*6236dae4SAndroid Build Coastguard Worker @ [.packages.vms]build_vms.com CLEAN 187*6236dae4SAndroid Build Coastguard Worker @ [.packages.vms]build_vms.com LARGE LDAP 188*6236dae4SAndroid Build Coastguard Worker submit /noprint [.packages.vms]build_vms.com /param = (LARGE, LDAP) 189*6236dae4SAndroid Build Coastguard Worker 190*6236dae4SAndroid Build Coastguard WorkerThe build_vms.com procedure does not build the shared image file or the PCSI 191*6236dae4SAndroid Build Coastguard Workerkit. If you have built a curl with ZLIB and HPSSL support as well as if 192*6236dae4SAndroid Build Coastguard WorkerLDAP and Kerberos installed, you can use the GNV_LINK_CURL.COM file. 193*6236dae4SAndroid Build Coastguard Worker 194*6236dae4SAndroid Build Coastguard WorkerThe GNV_LINK_CURL.COM contains information on how to link and run with a newer 195*6236dae4SAndroid Build Coastguard Workerversion of HP SSL than what may be install on an Alpha or IA64 based system. 196*6236dae4SAndroid Build Coastguard Worker 197*6236dae4SAndroid Build Coastguard WorkerTo build the PCSI kit, follow the instructions in the file 198*6236dae4SAndroid Build Coastguard Workercurl_gnv_build_steps.txt. 199*6236dae4SAndroid Build Coastguard Worker 200*6236dae4SAndroid Build Coastguard WorkerOther Notes: 201*6236dae4SAndroid Build Coastguard Worker 202*6236dae4SAndroid Build Coastguard WorkerThis release fixes known bugs #22, and #57 in the [curl.docs]known_bugs. 203*6236dae4SAndroid Build Coastguard Workerfile. 204*6236dae4SAndroid Build Coastguard Worker 205*6236dae4SAndroid Build Coastguard WorkerThe libcurl formdata.c module and Curl tools post form now have some 206*6236dae4SAndroid Build Coastguard Workerunderstanding of VMS file types. Files will be posted in STREAM_LF format. 207*6236dae4SAndroid Build Coastguard Worker 208*6236dae4SAndroid Build Coastguard WorkerThe Curl tool now has some understanding of VMS file types and will upload the 209*6236dae4SAndroid Build Coastguard Workerfiles in STREAM_LF format. 210*6236dae4SAndroid Build Coastguard Worker 211*6236dae4SAndroid Build Coastguard WorkerWhen CURL is uploading a VARIABLE format VMS file, it is less efficient as in 212*6236dae4SAndroid Build Coastguard Workerorder to get the file size, it will first read the entire file once, and then 213*6236dae4SAndroid Build Coastguard Workerread the file again for the actual upload. 214*6236dae4SAndroid Build Coastguard Worker 215*6236dae4SAndroid Build Coastguard WorkerThe Curl tool will now always download files into STREAM_LF format. Even if a 216*6236dae4SAndroid Build Coastguard Workerfile by that name with a different format already exists. This is needed to 217*6236dae4SAndroid Build Coastguard Workerallow interrupted downloads to be continued. 218*6236dae4SAndroid Build Coastguard Worker 219*6236dae4SAndroid Build Coastguard Worker 220*6236dae4SAndroid Build Coastguard WorkerThe libcurl file module still does not understand VMS file types and requires 221*6236dae4SAndroid Build Coastguard Workerthe input files to be in STREAM_LF to work property. 222*6236dae4SAndroid Build Coastguard Worker 223*6236dae4SAndroid Build Coastguard WorkerThe test suites are not supported as of 7.11.0. 224*6236dae4SAndroid Build Coastguard Worker 225*6236dae4SAndroid Build Coastguard WorkerThe curlmsg.sdl and curlmsg.h files are generated from curlmsg.msg. 226*6236dae4SAndroid Build Coastguard WorkerThis is not done automatically, since the .MSG file is a hand edit 227*6236dae4SAndroid Build Coastguard Workerof the relevant stuff from the curl.h file. If you want to do this 228*6236dae4SAndroid Build Coastguard Workeryourself you'll need the SDL package from the freeware collection. 229