manoj       98/11/03 14:06:32

  Added:       htdocs/manual install-tpf.html readme-tpf.html
               src      Makefile.tpf
               src/main Makefile.tpf
               src/os/tpf Makefile.tmpl TPFExport ebcdic.c ebcdic.h
                        os-inline.c os.c os.h test_char.h uri_delims.h
               src/os/tpf/samples linkdll.jcl loadset.jcl
  Log:
  Submitted by: Joe Moenich and others at IBM
  Newly created files from the TPF port
  
  Revision  Changes    Path
  1.1                  apache-1.3/htdocs/manual/install-tpf.html
  
  Index: install-tpf.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  <html>
  <head>
  <title>Installing Apache on TPF</title>
  </head>
  
  <a name="top"></a>
  <h1 align="center">Installing the Apache 1.3 HTTP Server on TPF</h1>
  <hr>
  <center>[&nbsp<a href="#setup">Setup</a>
     &nbsp|&nbsp<a href="#compilation">Compilation</a>
     &nbsp|&nbsp<a href="#installation">Installation</a>
     &nbsp|&nbsp<a href="#visualage">VisualAge</a>&nbsp]
  </center>
  <hr>
  <br>
  
  <p>
  This document outlines the steps needed to install Apache onto a TPF system.
  <br><br>
  You should first read src/os/tpf/<a href="readme.tpf.html">readme.tpf.html</a>
  for basic information on the port of Apache to TPF including required PUT 
level
  and supported functions &amp; modules.
  </p>
  
  <a name="setup">&nbsp;</a>
  <h2 align=center>Setup</h2>
  <p>
  Due to the use of EBCDIC on MVS OS/390 Open Edition (later referred to simply 
as
  "Open Edition"), we've found that the most reliable
  method for loading Apache onto your system is to unzip and tar the 
distribution
  file on your PC, and then copy the extracted files to Open Edition via an NFS 
client
  capable of transferring the data in EBCDIC format.
  <br><br>
  Before moving the distribution to an
  Open Edition environment, verify that the NFS drive will transfer the
  filenames with upper/lower case preserved.
  <br><br>
  Since Open Edition is not the ultimate destination of the files,
  the only required files and subdirectories that need to be moved to Open 
Edition
  are in /src.
  <br><br>
  <font strong color=red>WARNING</font>:
  If you are using a product such as WinZip on your PC, verify that
  the <i>"TAR File Smart CR/LF Conversion"</i> option is NOT checked.
  You can find this in WinZip under Options, Configuration.
  Since you had to tar and unzip the file to read this document,
  you need to re-tar and -unzip if the CR/LF option was checked.
  This will save you lots of headaches later on.
  <br><br>
  <font strong color=red>WARNING</font>:
  Editing files on a PC before moving them to Open Edition may result
  in the loss/addition of unprintable characters.  Files of concern include 
shell
  scripts and src/Configuration.  The most common problems are with tab 
characters
  and CR/LF characters.  Most editors will handle the CR/LF problem correctly
  but none seem to handle tab characters.  If you need to edit files, edit them
  in a UNIX editor such as vi or emacs.
  </p>
  
  <a name="compilation">&nbsp;</a>
  <h2 align=center>Compilation</h2>
  <p>
  Apache supports the notion of "optional modules".  However,
  the server has to know which modules are compiled into it.  In order for
  those modules to be effective, it is necessary to generate a short bit of
  code ("modules.c") which simply has a list of them. If you are using the
  make and Configure utility, "modules.c" will be created for you.
  <br><br>
  The provided scripts assume a c89 compiler and have only been tested on an
  Open Edition environment.  If you are using a platform other that
  Open Edition you may need to modify src/os/tpf/TPFExport and src/Configure
  to match your environment.
  <br><br>
  Note that UNIX/Open Edition commands in this section are shown in
  <tt><strong>bold</strong></tt>,
  are case sensitive, and must be made from the "src" directory.
  <br><br>
  <ol>
  <li>Overlay src/Configuration with src/Configuration.tmpl:  
      <tt><strong>cp&nbsp;Configuration.tmpl&nbsp;Configuration</strong></tt>
      <br><br>
  <li>Edit src/Configuration.  It contains the list and settings
      of various "Rules" and an additional section at the bottom that determines
      which modules to compile:
      <br><br>
      <ol type=a>
      <li>Adjust the Rules and <tt>EXTRA_CFLAGS|LIBS|LDFLAGS|INCLUDES</tt>
          if you feel so inclined.
      <br><br>
      <li>Comment out (by preceding the line with a "#") lines corresponding
          to those modules you DO&nbsp;NOT wish to include.
          At present the following modules MUST be commented out
          as they are not yet supported on TPF: mod_actions, mod_auth,
          mod_cgi, mod_env, mod_include, & mod_status.
      <br><br>
      <li>Uncomment (by removing the initial "#", if present) lines
          corresponding to those optional modules you wish
          to include or add new lines corresponding to any custom modules
          you have written.
          The src/os/tpf/<a href="readme.tpf.html">readme.tpf.html</a>
          document lists the modules that have been tested on TPF.
      </ol>
      <br>
  <li>Overlay src/Makefile.tmpl with src/Makefile.tpf:
      <tt><strong>cp&nbsp;Makefile.tpf&nbsp;Makefile.tmpl</strong></tt>
      <br><br>
  <li>Overlay src/main/Makefile.tmpl with src/main/Makefile.tpf:
      
<tt><strong>cp&nbsp;main/Makefile.tpf&nbsp;main/Makefile.tmpl</strong></tt>
      <br><br>
  <li>Set the TPF environment variables:
      <tt><strong>.&nbsp;os/tpf/TPFExport</strong></tt>
      <br>
      (The initial period and blank on the command are required to ensure
      the environment variables exist beyond the scope of the shell script.)
      This script will set the environment variables required to compile the
      programs for TPF.  Verify that the export variables are valid for your
      installation, in particular, the system include file directories.  The
      system include files must reside on your Open Edition system in the
      appropriate file structure similar to /usr/include and /usr/include/sys.
      DO&nbsp;NOT modify the <tt>TPF=YES</tt> export variable.  If this is 
changed, the
      "Configure" script will not recognize TPF.
      <br><br>
  <li>Run the "Configure" script:
      <tt><strong>Configure</strong></tt>
      <br>
      The output will look something like this...
        <pre>
        Using config file: Configuration
        Creating Makefile
         + configured for TPF platform
         + setting C compiler to c89
         + setting C pre-processor to c89 -E
         + checking for system header files
         + adding selected modules
        Creating Makefile in support
        Creating Makefile in main
        Creating Makefile in ap
        Creating Makefile in regex
        Creating Makefile in os/tpf
        Creating Makefile in modules/standard
        Creating Makefile in modules/example
        $ _
        </pre>
      This generates modules.c and new versions of the Makefiles.
      <br><br>
      If you want to maintain multiple configurations, you can say, e.g.,
      <br>
      <tt><strong>Configure -file Configuration.ai</strong></tt>
      <br>
        <pre>
        Using config file: Configuration.ai
        Creating Makefile
         + configured for &lt;whatever&gt; platform
         + setting C compiler to &lt;whatever&gt;
        et cetera
        </pre>
  
      If you receive an error such as "<tt>Configure 146: FSUM7351 not 
found</tt>"
      the most likely explanation is that one or more of the make related
      files were edited on a non-UNIX platform, corrupting the end-of-line 
marks.
      Verify that lines ending with "\" in the flagged file do&nbsp;not have 
trailing
      spaces.  Using the vi editor and the sample error above as an example...
      <br><br><pre>
              pull up the flagged file:       <strong>vi&nbsp;Configure</strong>
              turn on punctuation:            <strong>:set&nbsp;list</strong>
              go to the line in question:     <strong>146G</strong>
                 or find a line with a "\":   <strong>/\\</strong></pre>
      The end of line should display as "<tt>\$</tt>".  If it is displayed as
      "<tt>\ $</tt>" (with a blank between \ and $) then you should revert to 
the
      distributed version of the file and make the site-specific
      changes again using a UNIX compatible editor such as vi or emacs.
      Then try the Configure command again.
      <br><pre>            close the file:                 <strong>:q  
</strong>(or 
  
  <strong>:quit!</strong>)</pre>
  <li>Now compile the programs: <tt><strong>make</strong></tt><br>
      The modules placed in the Apache distribution are the ones that have been
      tested and are used regularly by various members of the Apache development
      group.  Additional modules contributed by members or third parties with 
specific
      needs or functions are available at
      <a 
  
  
href="http://www.apache.org/dist/contrib/modules/";>http://www.apache.org/dist/contrib/modules/</a
  
  >.
      There are instructions on that page for linking these modules into the 
core Apache
      code.
      <br><br>
      If during compilation you get a warning about a missing 'regex.h', set
      <tt>WANTHSREGEX=yes</tt> in the src/Configuration file and start back at 
the
      <tt><strong>Configure</strong></tt> step.
  </ol>
  </p>
  
  <a name="installation">&nbsp;</a>
  <h2 align=center>Installation</h2>
  <ol>
  <li>After compilation, you will have all the object files required to build an
    "httpd" loadset.  The next step is to link the object files and create a 
loadset to be
    stored in a PDS.  Sample JCL for linking and loadsets has been included in
    src/os/tpf/samples as "linkdll.jcl" and "loadset.jcl".  You can submit 
these jobs
    from CMS or directly from Open Edition if you have the proper authority.  
After
    the jobs have completed, you can <tt>ZOLDR LOAD</tt> them to your TPF 
system.
    <br><br>
    NOTE: The <tt>mod_<i>xxx</i>.o</tt> files in the linkdll.jcl file must 
correspond to the
    <tt>mod_<i>xxx</i>.o</tt> lines in the src/Configuration file.
    <br><br>
  <li>
    Apache requires a configuration file to initialize itself during activation.
    (Previously three configuration files were used.)
    Copy the distribution version, /conf/httpd.conf-dist, to /conf/httpd.conf 
and then
    edit the /conf/httpd.conf copy with your site specific information.  This 
first release
    of Apache for TPF only runs under the "inetd" model so you
    <font strong color=red>must</font> change <tt>ServerType</tt> from 
<tt>standalone</tt>
    to <tt>inetd</tt>.
    <br><br>
    General documentation for Apache is located at
    <a href="http://www.apache.org/docs/";>http://www.apache.org/docs/</a>
    and in the HTML pages included with this distribution under the
    /htdocs/manual directory.
    <br><br>
  <li>On TPF activate ZCLAW and update INETD using ZINET entries, the common 
case:
      <br><br>
      <pre>
      ZINET ADD S-TFTP   PGM-CTFT PORT-69 PROTOCOL-UDP MODEL-NOWAIT
      ZINET ADD S-APACHE PGM-<i>pppp</i> PORT-80 PROTOCOL-TCP MODEL-NOWAIT</pre>
    Please refer to <i>IBM Transaction Processing Facility Transmission Control
    Protocol/Internet Protocol Version 4 Release 1</i> for more information
    on ZCLAW, INETD, and TFTP.
    <br><br>
  <li>Prior to sending a request to your Apache server from a browser,
      TFTP the configuration file, log, icons and web pages to your TPF system.
      A typical directory structure for Apache is as follows:
  <pre>     /usr/local/apache/conf
       /usr/local/apache/logs
       /usr/local/apache/icons
       /usr/local/apache/htdocs</pre>
      The logs directory must exist in order to avoid an
      <code>fopen</code> error while running Apache.  TFTP an empty file into
      the logs subdirectory to create it.  All gif, jpg, and zip files should be
      TFTP'd as binary; conf files and html pages should be TFTP'd as text.
  </ol>
  <a name="visualage">&nbsp;</a>
  <h2 align=center>Compiling with VisualAge TPF</h2>
  <p>
    It is not required that "make" be used to compile Apache for TPF:
    Individual programs may be compiled using IBM's VisualAge TPF product.
    This is particularly useful when compiling selected programs for the Debug 
Tool.
    <br><br>
    The following VisualAge compile settings are required:
    <ul>
    <li><i>"DEFINE - Define preprocessor macro name(s)"</i> must include
       <tt><strong>TPF, CHARSET_EBCDIC, _POSIX_SOURCE,</strong></tt> and
       <tt><strong>USE_HSREGEX</strong></tt>
    <br><br>
    <li><i>"LSEARCH - Path for user include files"</i> must include
       <tt><strong>../src/include</strong></tt> and 
<tt><strong>../src/os/tpf</strong></tt>
    <br><br>
    <li><i>"DLL - Generate DLL code"</i> must be checked
    <br><br>
    <li><i>"LONGNAME - Support long names"</i> must be checked
    </ul>
  </p>
  <hr>
  <center>[&nbsp<a href="#top">top</a>
     &nbsp|&nbsp<a href="#setup">Setup</a>
     &nbsp|&nbsp<a href="#compilation">Compilation</a>
     &nbsp|&nbsp<a href="#installation">Installation</a>
     &nbsp|&nbsp<a href="#visualage">VisualAge</a>&nbsp]
  </center>
  
  </body>
  </html>
  
  
  
  1.1                  apache-1.3/htdocs/manual/readme-tpf.html
  
  Index: readme-tpf.html
  ===================================================================
  <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 3.2 Final//EN">
  <html>
  <head>
  <title>The Apache TPF Port</title>
  </head>
  
  <a name="top"></a>
  <h1 align="center">Overview of the Apache TPF Port</h1>
  <hr>
  <center>[&nbsp<a href="#configuration_files">Configuration Files</a>
     &nbsp|&nbsp<a href="#auto_generated_files">Auto Generated Files</a>
     &nbsp|&nbsp<a href="#whats_available">What's Available</a>
     &nbsp|&nbsp<a href="#porting_notes">Porting Notes</a>&nbsp]
  </center>
  <hr>
  <br>
  
  <p>
     This version of Apache includes changes allowing it to run on
     IBM's EBCDIC-based
     <a href="http://www.s390.ibm.com/products/tpf/tpfhp.html";>TPF</a>
     (Transaction Processing Facility) operating system.
     Unless otherwise noted TPF version 4.1 PUT08 and APAR PJ25589 are required.
     <br><br>
     Refer to src/os/tpf/<a href="install.tpf.html">install.tpf.html</a>
     for step-by-step installation instructions.
     <br><br>
     As this is the first cut at making Apache run on TPF,
     performance tuning has not been done.
     <br><br>
     This port builds upon the
     <a href="http://www.apache.org/docs/ebcdic.html";>EBCDIC changes</a>
     previously made to Apache.
     <br>
  </p>
  
  <a name="configuration_files">&nbsp;</a>
  <h2 align=center>Apache Configuration Files</h2>
  <p>
     The distributed configuration files (httpd.conf-dist and
     mime.types, both located in the conf subdirectory)
     work on TPF with only a couple of operating system specific changes
     to httpd.conf:<br>
     <ul>
     <li>ServerType needs to be "inetd" since TPF does not yet support
         "standalone" mode.
     <li>Performance considerations may dictate setting KeepAlive to "Off"
         (the default is "On") or lowering the Timeout value from the default
         300 seconds (5 minutes) in order to reduce the number of active ECBs 
on your system.
     </ul>
  </p>
  
  <a name="auto_generated_files">&nbsp;</a>
  <h2 align=center>Automatically Generated Files</h2>
  <p>
     Some files that are automatically generated by Makefile on other platforms
     are included in the src/os/tpf directory...
     <ul>
     <li>test_char.h
     <li>uri_delims.h
     </ul>
  
     These files could not be automatically created for TPF because the
     Makefile platform is not the same as the run-time platform.
     (That is, you don't run Makefile on TPF itself.)
  </p>
  
  <a name="whats_available">&nbsp;</a>
  <h2 align=center>What's Available in this Version</h2>
  
     (The Apache organization provides
     <a href="http://www.apache.org/docs/";>online documentation</a>
     describing the various modules and components of the server.)
  
  <h3>Components/modules tested on TPF:</h3>
  
     <multicol COLS=3><ul>
     <li>alloc.c
     <li>ap_cpystrn.c
     <li>ap_fnmatch.c
     <li>ap_signal.c
     <li>ap_slack.c
     <li>ap_snprintf.c
     <li>buff.c
     <li>buildmark.c
     <li>ebcdic.c
     <li>http_config.c
     <li>http_core.c
     <li>http_log.c
     <li>http_main.c
     <li>http_protocol.c
     <li>http_request.c
     <li>http_vhost.c <a href="#note_2">*</a>
     <li>mod_access.c
     <li>mod_alias.c
     <li>mod_asis.c
     <li>mod_autoindex.c
     <li>mod_cern_meta.c
     <li>mod_dir.c
     <li>mod_example.c
     <li>mod_expires.c
     <li>mod_headers.c
     <li>mod_imap.c
     <li>mod_info.c
     <li>mod_log_agent.c
     <li>mod_log_config.c
     <li>mod_log_referer.c
     <li>mod_mime.c
     <li>mod_negotiation.c
     <li>mod_setenvif.c
     <li>mod_speling.c
     <li>mod_userdir.c
     <li>mod_usertrack.c
     <li>os.c
     <li>os-inline.c
     <li>regular expression parser
     <li>util.c
     <li>util_date.c
     <li>util_uri.c
     </ul></multicol>
     Please keep in mind that some major pieces are not yet in place including
     standalone mode, pipes, password/group files, CGI scripts, and MD5 support.
     <br>
     <a name="note_2">&nbsp;</a>
     <br>
     * virtual hosting requires TPF version 4.1 PUT09
  
  <h3>Components/modules not (yet?) supported on TPF:</h3>
  
     <multicol COLS=3><ul>
     <li>htpasswd.c
     <li>md5c.c
     <li>mod_actions.c
     <li>mod_auth.c
     <li>mod_auth_anon.c
     <li>mod_cgi.c
     <li>mod_digest.c
     <li>mod_env.c
     <li>mod_include.c
     <li>mod_mime_magic.c
     <li>mod_proxy.c
     <li>mod_rewrite.c
     <li>mod_status.c
     <li>mod_unique_id.c
     <li>proxy_cache.c
     <li>proxy_connect.c
     <li>proxy_ftp.c
     <li>proxy_http.c
     <li>proxy_util.c
     <li>rfc1413.c
     <li>util_md5.c
     <li>util_script.c
     </ul></multicol>
  
  <h3>Components/modules that don't apply or that probably won't ever be 
available on TPF:</h3>
  
     <multicol COLS=3><ul>
     <li>gen_test.char.c
     <li>gen_uri_delims.c
     <li>mod_auth_db.c
     <li>mod_auth_dbm.c
     <li>mod_auth_db.module
     <li>mod_mmap_static.c
     <li>mod_so.c
     </ul></multicol>
  
  <a name="porting_notes">&nbsp;</a>
  <h2 align=center>Porting Notes</h2>
  <p>
     <h3>Changes made due to differences between UNIX and
     TPF's process models:</h3>
     <ul>
     <li><b>Signals</b>: On TPF a signal that is sent to a process
        remains unhandled until the process explicitly requests that signals
        be handled using the <code>tpf_process_signals()</code> function.
        Additionally, the default action for an alarm on TPF is to take
        an OPR-7777 dump and exit.  (On UNIX the default is the equivalent
        of <code>exit()</code> with no dump taken.)
        These differences necessitated a few modifications:
        <br><br>
        <ul>
        <li>bypass the use of <code>ap_block_alarms()</code> &amp;
           <code>ap_unblock_alarms()</code>
        <li>add <code>tpf_process_signals()</code> calls
        <li>add <code>select()</code> calls in buff.c to prevent blocking.
        </ul>
     <br>
     </ul>
  
     <h3>Find that function...</h3>
     <p>Some simple functions &amp; definitions needed to be added
        on TPF, such as <code>FD_SET()</code>.
        We've put these in src/os/tpf/os.h for now.
     </p>
  
     <h3>EBCDIC changes:</h3>
     <p>TPF-specific conversion tables between US-ASCII and
        EBCDIC (character set IBM-1047 to be exact) were created
        and put into ebcdic.c in the src/os/tpf directory.
     </p>
  
     <h3>Miscellaneous, minor changes:</h3>
     <p>Various minor changes (such as casting) were made due to
        differences in how some functions are implemented on TPF.
     </p>
  
     <h3>Temporary changes:</h3>
     <p>Lastly, we needed to bypass sections of Apache processing
        since this first cut for TPF doesn't include
        Standalone mode, pipes, forking, et cetera.
     </p>
  
  <hr>
  <center>[&nbsp<a href="#top">top</a>
     &nbsp|&nbsp<a href="#configuration_files">Configuration Files</a>
     &nbsp|&nbsp<a href="#auto_generated_files">Auto Generated Files</a>
     &nbsp|&nbsp<a href="#whats_available">What's Available</a>
     &nbsp|&nbsp<a href="#porting_notes">Porting Notes</a>&nbsp]
  </center>
  
  </body>
  </html>
  
  
  
  1.1                  apache-1.3/src/Makefile.tpf
  
  Index: Makefile.tpf
  ===================================================================
  
  CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
  LIBS=$(EXTRA_LIBS) $(LIBS1)
  INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXTRA_INCLUDES)
  LDFLAGS=$(LDFLAGS1) $(EXTRA_LDFLAGS)
  
  OBJS= \
    modules.o \
    $(MODULES) \
    main/libmain.a \
    $(OSDIR)/libos.a \
    ap/libap.a
  
  .c.o:
        $(CC) -c $(INCLUDES) $(CFLAGS) $<
  
  all: @@Configuration@@ $(TARGET)
  
  @@Configuration@@: Configuration.tmpl
        @echo "++ File '@@Configuration@@' older than 'Configuration.tmpl',"
        @echo "++ or still doesn't exist. Please consider copying 
'Configuration.tmpl'"
        @echo "++ to '@@Configuration@@', editing and rerunning 'Configure'."
        @echo "++ If not, you will at least have to touch '@@Configuration@@'."
        @false
  
  $(TARGET): $(EXTRA_DEPS) $(SUBTARGET)
  
  target_static: subdirs modules.o
        $(CC) -c $(INCLUDES) $(CFLAGS) buildmark.c
  
  subdirs:
        @for i in $(SUBDIRS); do \
                echo "===> $(SDP)$$i"; \
                ( cd $$i && $(MAKE) $(MFLAGS_STATIC) SDP='$(SDP)' CC='$(CC)' 
AUX_CFLAGS='$(CFLAGS)' RANLIB='$(RANLIB)') || exit 1; \
                echo "<=== $(SDP)$$i"; \
        done
  
  support: support-dir
  
  support-dir:
        @echo "===> $(SDP)support"; \
        cd support; $(MAKE) $(MFLAGS_STATIC) SDP='$(SDP)' CC='$(CC)' 
AUX_CFLAGS='$(CFLAGS)' RANLIB='$(RANLIB)'; \
        echo "<=== $(SDP)support"
  
  clean:
        -rm -f $(TARGET) *.o
        @for i in $(SUBDIRS); do \
                echo "===> $(SDP)$$i"; \
                ( cd $$i && $(MAKE) $(MFLAGS_STATIC) SDP='$(SDP)' $@ ) || exit 
1; \
                echo "<=== $(SDP)$$i"; \
        done
  
  distclean:
        -rm -f $(TARGET) *.o
        @for i in $(SUBDIRS); do \
                echo "===> $(SDP)$$i"; \
                ( cd $$i && $(MAKE) $(MFLAGS_STATIC) SDP='$(SDP)' $@ ) || exit 
1; \
                echo "<=== $(SDP)$$i"; \
        done
        -rm -f include/ap_config_auto.h
        -rm -f modules.c
        -rm -f modules/Makefile
        -rm -f regex/Makefile
        -rm -f Makefile.config
        -rm -f Makefile
  
  install:
        @echo "++ Sorry, no installation procedure available at this level."
        @echo "++ Go to the parent directory for an 'install' target."
  
  # We really don't expect end users to use this rule.  It works only with
  # gcc, and rebuilds Makefile.tmpl.  You have to re-run Configure after
  # using it.
  depend:
        cp Makefile.tmpl Makefile.tmpl.bak \
            && sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \
            && gcc -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \
            && sed -e '1,$$s: $(INCDIR)/: $$(INCDIR)/:g' \
                   -e '1,$$s: $(OSDIR)/: $$(OSDIR)/:g' Makefile.new \
                > Makefile.tmpl \
            && rm Makefile.new
        for i in $(SUBDIRS); do \
            ( cd $$i && $(MAKE) CC='$(CC)' AUX_CFLAGS='$(CFLAGS)' 
RANLIB='$(RANLIB)' depend ) || exit 1; \
        done
  
  #Dependencies
  
  $(OBJS): Makefile subdirs
  
  # DO NOT REMOVE
  buildmark.o: buildmark.c include/ap_config.h include/ap_mmn.h \
   include/ap_config_auto.h os/unix/os.h include/ap_ctype.h \
   include/hsregex.h include/httpd.h include/alloc.h include/buff.h \
   include/ap.h include/util_uri.h
  modules.o: modules.c include/httpd.h include/ap_config.h \
   include/ap_mmn.h include/ap_config_auto.h os/unix/os.h \
   include/ap_ctype.h include/hsregex.h include/alloc.h include/buff.h \
   include/ap.h include/util_uri.h include/http_config.h
  
  
  
  1.1                  apache-1.3/src/main/Makefile.tpf
  
  Index: Makefile.tpf
  ===================================================================
  
  CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
  LIBS=$(EXTRA_LIBS) $(LIBS1)
  INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXTRA_INCLUDES)
  LDFLAGS=$(LDFLAGS1) $(EXTRA_LDFLAGS)
  
  LIB=  libmain.a
  HEADERS=
  
  OBJS= alloc.o buff.o \
        http_config.o http_core.o http_log.o \
        http_main.o http_protocol.o http_request.o http_vhost.o \
        util.o util_date.o util_script.o util_uri.o util_md5.o \
        md5c.o rfc1413.o
  
  .c.o:
        $(CC) -c $(INCLUDES) $(CFLAGS) $<
  
  all: $(HEADERS) $(LIB)
  
  $(LIB): $(OBJS)
        rm -f $@
        ar cr $@ $(OBJS)
        $(RANLIB) $@
  
  clean:
        rm -f *.o $(LIB)
  
  distclean: clean
        -rm -f Makefile
  
  # We really don't expect end users to use this rule.  It works only with
  # gcc, and rebuilds Makefile.tmpl.  You have to re-run Configure after
  # using it.
  depend:
        cp Makefile.tmpl Makefile.tmpl.bak \
            && sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \
            && gcc -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \
            && sed -e '1,$$s: $(INCDIR)/: $$(INCDIR)/:g' \
                   -e '1,$$s: $(OSDIR)/: $$(OSDIR)/:g' Makefile.new \
                > Makefile.tmpl \
            && rm Makefile.new
  
  #Dependencies
  
  $(OBJS): Makefile
  
  # DO NOT REMOVE
  alloc.o: alloc.c $(INCDIR)/httpd.h $(INCDIR)/ap_config.h \
   $(INCDIR)/ap_mmn.h $(INCDIR)/ap_config_auto.h $(OSDIR)/os.h \
   $(INCDIR)/ap_ctype.h $(INCDIR)/hsregex.h $(INCDIR)/alloc.h \
   $(INCDIR)/buff.h $(INCDIR)/ap.h $(INCDIR)/util_uri.h \
   $(INCDIR)/multithread.h $(INCDIR)/http_log.h
  buff.o: buff.c $(INCDIR)/httpd.h $(INCDIR)/ap_config.h \
   $(INCDIR)/ap_mmn.h $(INCDIR)/ap_config_auto.h $(OSDIR)/os.h \
   $(INCDIR)/ap_ctype.h $(INCDIR)/hsregex.h $(INCDIR)/alloc.h \
   $(INCDIR)/buff.h $(INCDIR)/ap.h $(INCDIR)/util_uri.h \
   $(INCDIR)/http_main.h $(INCDIR)/http_log.h
  http_config.o: http_config.c $(INCDIR)/httpd.h $(INCDIR)/ap_config.h \
   $(INCDIR)/ap_mmn.h $(INCDIR)/ap_config_auto.h $(OSDIR)/os.h \
   $(INCDIR)/ap_ctype.h $(INCDIR)/hsregex.h $(INCDIR)/alloc.h \
   $(INCDIR)/buff.h $(INCDIR)/ap.h $(INCDIR)/util_uri.h \
   $(INCDIR)/http_config.h $(INCDIR)/http_core.h $(INCDIR)/http_log.h \
   $(INCDIR)/http_request.h $(INCDIR)/http_conf_globals.h \
   $(INCDIR)/http_vhost.h $(INCDIR)/explain.h
  http_core.o: http_core.c $(INCDIR)/httpd.h $(INCDIR)/ap_config.h \
   $(INCDIR)/ap_mmn.h $(INCDIR)/ap_config_auto.h $(OSDIR)/os.h \
   $(INCDIR)/ap_ctype.h $(INCDIR)/hsregex.h $(INCDIR)/alloc.h \
   $(INCDIR)/buff.h $(INCDIR)/ap.h $(INCDIR)/util_uri.h \
   $(INCDIR)/http_config.h $(INCDIR)/http_core.h \
   $(INCDIR)/http_protocol.h $(INCDIR)/http_request.h \
   $(INCDIR)/http_conf_globals.h $(INCDIR)/http_vhost.h \
   $(INCDIR)/http_main.h $(INCDIR)/http_log.h $(INCDIR)/rfc1413.h \
   $(INCDIR)/util_md5.h $(INCDIR)/ap_md5.h $(INCDIR)/scoreboard.h \
   $(INCDIR)/fnmatch.h
  http_log.o: http_log.c $(INCDIR)/httpd.h $(INCDIR)/ap_config.h \
   $(INCDIR)/ap_mmn.h $(INCDIR)/ap_config_auto.h $(OSDIR)/os.h \
   $(INCDIR)/ap_ctype.h $(INCDIR)/hsregex.h $(INCDIR)/alloc.h \
   $(INCDIR)/buff.h $(INCDIR)/ap.h $(INCDIR)/util_uri.h \
   $(INCDIR)/http_config.h $(INCDIR)/http_core.h $(INCDIR)/http_log.h \
   $(INCDIR)/http_main.h
  http_main.o: http_main.c $(INCDIR)/httpd.h $(INCDIR)/ap_config.h \
   $(INCDIR)/ap_mmn.h $(INCDIR)/ap_config_auto.h $(OSDIR)/os.h \
   $(INCDIR)/ap_ctype.h $(INCDIR)/hsregex.h $(INCDIR)/alloc.h \
   $(INCDIR)/buff.h $(INCDIR)/ap.h $(INCDIR)/util_uri.h \
   $(INCDIR)/http_main.h $(INCDIR)/http_log.h $(INCDIR)/http_config.h \
   $(INCDIR)/http_protocol.h $(INCDIR)/http_request.h \
   $(INCDIR)/http_conf_globals.h $(INCDIR)/http_core.h \
   $(INCDIR)/http_vhost.h $(INCDIR)/util_script.h \
   $(INCDIR)/scoreboard.h $(INCDIR)/multithread.h $(INCDIR)/explain.h
  http_protocol.o: http_protocol.c $(INCDIR)/httpd.h \
   $(INCDIR)/ap_config.h $(INCDIR)/ap_mmn.h \
   $(INCDIR)/ap_config_auto.h $(OSDIR)/os.h $(INCDIR)/ap_ctype.h \
   $(INCDIR)/hsregex.h $(INCDIR)/alloc.h $(INCDIR)/buff.h \
   $(INCDIR)/ap.h $(INCDIR)/util_uri.h $(INCDIR)/http_config.h \
   $(INCDIR)/http_core.h $(INCDIR)/http_protocol.h \
   $(INCDIR)/http_main.h $(INCDIR)/http_request.h \
   $(INCDIR)/http_vhost.h $(INCDIR)/http_log.h $(INCDIR)/util_date.h \
   $(INCDIR)/http_conf_globals.h
  http_request.o: http_request.c $(INCDIR)/httpd.h \
   $(INCDIR)/ap_config.h $(INCDIR)/ap_mmn.h \
   $(INCDIR)/ap_config_auto.h $(OSDIR)/os.h $(INCDIR)/ap_ctype.h \
   $(INCDIR)/hsregex.h $(INCDIR)/alloc.h $(INCDIR)/buff.h \
   $(INCDIR)/ap.h $(INCDIR)/util_uri.h $(INCDIR)/http_config.h \
   $(INCDIR)/http_request.h $(INCDIR)/http_core.h \
   $(INCDIR)/http_protocol.h $(INCDIR)/http_conf_globals.h \
   $(INCDIR)/http_log.h $(INCDIR)/http_main.h $(INCDIR)/scoreboard.h \
   $(INCDIR)/fnmatch.h
  http_vhost.o: http_vhost.c $(INCDIR)/httpd.h $(INCDIR)/ap_config.h \
   $(INCDIR)/ap_mmn.h $(INCDIR)/ap_config_auto.h $(OSDIR)/os.h \
   $(INCDIR)/ap_ctype.h $(INCDIR)/hsregex.h $(INCDIR)/alloc.h \
   $(INCDIR)/buff.h $(INCDIR)/ap.h $(INCDIR)/util_uri.h \
   $(INCDIR)/http_config.h $(INCDIR)/http_conf_globals.h \
   $(INCDIR)/http_log.h $(INCDIR)/http_vhost.h \
   $(INCDIR)/http_protocol.h
  md5c.o: md5c.c $(INCDIR)/ap_config.h $(INCDIR)/ap_mmn.h \
   $(INCDIR)/ap_config_auto.h $(OSDIR)/os.h $(INCDIR)/ap_ctype.h \
   $(INCDIR)/hsregex.h $(INCDIR)/ap_md5.h
  rfc1413.o: rfc1413.c $(INCDIR)/httpd.h $(INCDIR)/ap_config.h \
   $(INCDIR)/ap_mmn.h $(INCDIR)/ap_config_auto.h $(OSDIR)/os.h \
   $(INCDIR)/ap_ctype.h $(INCDIR)/hsregex.h $(INCDIR)/alloc.h \
   $(INCDIR)/buff.h $(INCDIR)/ap.h $(INCDIR)/util_uri.h \
   $(INCDIR)/http_log.h $(INCDIR)/rfc1413.h $(INCDIR)/http_main.h
  util.o: util.c $(INCDIR)/httpd.h $(INCDIR)/ap_config.h \
   $(INCDIR)/ap_mmn.h $(INCDIR)/ap_config_auto.h $(OSDIR)/os.h \
   $(INCDIR)/ap_ctype.h $(INCDIR)/hsregex.h $(INCDIR)/alloc.h \
   $(INCDIR)/buff.h $(INCDIR)/ap.h $(INCDIR)/util_uri.h \
   $(INCDIR)/http_conf_globals.h $(INCDIR)/http_log.h $(OSDIR)/test_char.h
  util_date.o: util_date.c $(INCDIR)/ap_config.h $(INCDIR)/ap_mmn.h \
   $(INCDIR)/ap_config_auto.h $(OSDIR)/os.h $(INCDIR)/ap_ctype.h \
   $(INCDIR)/hsregex.h $(INCDIR)/util_date.h
  util_md5.o: util_md5.c $(INCDIR)/httpd.h $(INCDIR)/ap_config.h \
   $(INCDIR)/ap_mmn.h $(INCDIR)/ap_config_auto.h $(OSDIR)/os.h \
   $(INCDIR)/ap_ctype.h $(INCDIR)/hsregex.h $(INCDIR)/alloc.h \
   $(INCDIR)/buff.h $(INCDIR)/ap.h $(INCDIR)/util_uri.h \
   $(INCDIR)/util_md5.h $(INCDIR)/ap_md5.h
  util_script.o: util_script.c $(INCDIR)/httpd.h $(INCDIR)/ap_config.h \
   $(INCDIR)/ap_mmn.h $(INCDIR)/ap_config_auto.h $(OSDIR)/os.h \
   $(INCDIR)/ap_ctype.h $(INCDIR)/hsregex.h $(INCDIR)/alloc.h \
   $(INCDIR)/buff.h $(INCDIR)/ap.h $(INCDIR)/util_uri.h \
   $(INCDIR)/http_config.h $(INCDIR)/http_conf_globals.h \
   $(INCDIR)/http_main.h $(INCDIR)/http_log.h \
   $(INCDIR)/http_protocol.h $(INCDIR)/http_core.h \
   $(INCDIR)/http_request.h $(INCDIR)/util_script.h \
   $(INCDIR)/util_date.h
  util_uri.o: util_uri.c $(INCDIR)/httpd.h $(INCDIR)/ap_config.h \
   $(INCDIR)/ap_mmn.h $(INCDIR)/ap_config_auto.h $(OSDIR)/os.h \
   $(INCDIR)/ap_ctype.h $(INCDIR)/hsregex.h $(INCDIR)/alloc.h \
   $(INCDIR)/buff.h $(INCDIR)/ap.h $(INCDIR)/util_uri.h \
   $(INCDIR)/http_log.h $(INCDIR)/http_conf_globals.h $(OSDIR)/uri_delims.h
  
  
  
  1.1                  apache-1.3/src/os/tpf/Makefile.tmpl
  
  Index: Makefile.tmpl
  ===================================================================
  CFLAGS=$(OPTIM) $(CFLAGS1) $(EXTRA_CFLAGS)
  LIBS=$(EXTRA_LIBS) $(LIBS1)
  INCLUDES=$(INCLUDES1) $(INCLUDES0) $(EXTRA_INCLUDES)
  LDFLAGS=$(LDFLAGS1) $(EXTRA_LDFLAGS)
  
  OBJS=   os.o os-inline.o ebcdic.o
  
  LIB=  libos.a
  
  all:  $(LIB)
  
  $(LIB): $(OBJS)
        rm -f $@
        ar cr $@ $(OBJS)
        $(RANLIB) $@
  
  .c.o:
        $(CC) -c $(INCLUDES) $(CFLAGS) $(SPACER) $<
  
  clean:
        rm -f $(OBJS) $(LIB)
  
  distclean: clean
        -rm -f Makefile
  
  # We really don't expect end users to use this rule.  It works only with
  # gcc, and rebuilds Makefile.tmpl.  You have to re-run Configure after
  # using it.
  depend:
        cp Makefile.tmpl Makefile.tmpl.bak \
            && sed -ne '1,/^# DO NOT REMOVE/p' Makefile.tmpl > Makefile.new \
            && gcc -MM $(INCLUDES) $(CFLAGS) *.c >> Makefile.new \
            && sed -e '1,$$s: $(INCDIR)/: $$(INCDIR)/:g' Makefile.new \
                > Makefile.tmpl \
            && rm Makefile.new
  
  $(OBJS): Makefile
  os.o: os.c os-inline.c
  ebcdic.o: ebcdic.c
  # DO NOT REMOVE
  os.o: os.c
  
  
  
  1.1                  apache-1.3/src/os/tpf/TPFExport
  
  Index: TPFExport
  ===================================================================
  #!/bin/sh
  echo " Setting TPF/c89 environment variables"
  TZ=EST5EDT
  PATH="$PATH:/usr/sbin:/usr/share/lib/terminfo/:.:/etc:$HOME"
  NLSPATH=/usr/lpp/tcpip/usr/lib/nls/msg/%L:/usr/lib/nls/msg/%L/%N
  LIBPATH=/usr/lib
  LANG=C
  export TZ PATH NLSPATH LANG
  # Commands Reference
  # umask g=rx,o=x
  umask 022
      export _C89_CCMODE=1
      export _C89_CVERSION="0x21040000"
      export _C89_PVERSION="0x11080000"
      export _C89_CNAME="CBCDRVR"
      export _C89_PNAME="EDCPRLK"
      export _C89_PMSGS="EDCPMSGE"
      export _C89_CLIB_PREFIX="TSCTEST.OSV2R4M0"
      export _C89_PLIB_PREFIX="SHARE.CEE180"
      export _C89_INCDIRS="/u/tpf41/currentmaint/include 
/u/tpf41/currentmaint/include/oco //DD:SYSLIB //'SHARE.CEE180.SCEEH.NET.H' 
//'SHARE.CEE180.SCEEH.H' //'SHARE.CEE180.SCEEH.NETINET.H'" 
      export _C89_SSYSLIB=SHARE.CEE180.SCEEMAC
      export _C89_WORK_UNIT="VIO"
  export _BPX_SHAREAS=YES
  export PATH NLSPATH LIBPATH
  export TPF=YES
  echo "Done"
  
  
  
  1.1                  apache-1.3/src/os/tpf/ebcdic.c
  
  Index: ebcdic.c
  ===================================================================
  /* ====================================================================
   * Copyright (c) 1998 The Apache Group.  All rights reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *    notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *    notice, this list of conditions and the following disclaimer in
   *    the documentation and/or other materials provided with the
   *    distribution.
   *
   * 3. All advertising materials mentioning features or use of this
   *    software must display the following acknowledgment:
   *    "This product includes software developed by the Apache Group
   *    for use in the Apache HTTP server project (http://www.apache.org/)."
   *
   * 4. The names "Apache Server" and "Apache Group" must not be used to
   *    endorse or promote products derived from this software without
   *    prior written permission. For written permission, please contact
   *    [EMAIL PROTECTED]
   *
   * 5. Products derived from this software may not be called "Apache"
   *    nor may "Apache" appear in their names without prior written
   *    permission of the Apache Group.
   *
   * 6. Redistributions of any form whatsoever must retain the following
   *    acknowledgment:
   *    "This product includes software developed by the Apache Group
   *    for use in the Apache HTTP server project (http://www.apache.org/)."
   *
   * THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY
   * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
   * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE APACHE GROUP OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
   * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
   * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
   * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
   * OF THE POSSIBILITY OF SUCH DAMAGE.
   * ====================================================================
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Group and was originally based
   * on public domain software written at the National Center for
   * Supercomputing Applications, University of Illinois, Urbana-Champaign.
   * For more information on the Apache Group and the Apache HTTP server
   * project, please see <http://www.apache.org/>.
   *
   */
  
  
  #ifdef CHARSET_EBCDIC
  #include "ap_config.h"
  #include "ebcdic.h"
  /*
  This code does basic character mapping for IBM's TPF operating system.
  It is a modified version of <[EMAIL PROTECTED]>'s code for
  the BS2000 (apache/src/os/bs2000/ebcdic.c).
  */
  
  /*
  Bijective EBCDIC (character set IBM-1047) to US-ASCII table:
  This table is bijective - there are no ambigous or duplicate characters.
  */
  const unsigned char os_toascii_strictly[256] = {
      0x00, 0x01, 0x02, 0x03, 0x85, 0x09, 0x86, 0x7f, /* 00-0f:           */
      0x87, 0x8d, 0x8e, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, /* ................ */
      0x10, 0x11, 0x12, 0x13, 0x8f, 0x0a, 0x08, 0x97, /* 10-1f:           */
      0x18, 0x19, 0x9c, 0x9d, 0x1c, 0x1d, 0x1e, 0x1f, /* ................ */
      0x80, 0x81, 0x82, 0x83, 0x84, 0x92, 0x17, 0x1b, /* 20-2f:           */
      0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x05, 0x06, 0x07, /* ................ */
      0x90, 0x91, 0x16, 0x93, 0x94, 0x95, 0x96, 0x04, /* 30-3f:           */
      0x98, 0x99, 0x9a, 0x9b, 0x14, 0x15, 0x9e, 0x1a, /* ................ */
      0x20, 0xa0, 0xe2, 0xe4, 0xe0, 0xe1, 0xe3, 0xe5, /* 40-4f:           */
      0xe7, 0xf1, 0xa2, 0x2e, 0x3c, 0x28, 0x2b, 0x7c, /*  ...........<(+| */
      0x26, 0xe9, 0xea, 0xeb, 0xe8, 0xed, 0xee, 0xef, /* 50-5f:           */
      0xec, 0xdf, 0x21, 0x24, 0x2a, 0x29, 0x3b, 0x5e, /* &.........!$*);^ */
      0x2d, 0x2f, 0xc2, 0xc4, 0xc0, 0xc1, 0xc3, 0xc5, /* 60-6f:           */
      0xc7, 0xd1, 0xa6, 0x2c, 0x25, 0x5f, 0x3e, 0x3f, /* -/.........,%_>? */
      0xf8, 0xc9, 0xca, 0xcb, 0xc8, 0xcd, 0xce, 0xcf, /* 70-7f:           */
      0xcc, 0x60, 0x3a, 0x23, 0x40, 0x27, 0x3d, 0x22, /* .........`:#@'=" */
      0xd8, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, /* 80-8f:           */
      0x68, 0x69, 0xab, 0xbb, 0xf0, 0xfd, 0xfe, 0xb1, /* .abcdefghi...... */
      0xb0, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, 0x70, /* 90-9f:           */
      0x71, 0x72, 0xaa, 0xba, 0xe6, 0xb8, 0xc6, 0xa4, /* .jklmnopqr...... */
      0xb5, 0x7e, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, /* a0-af:           */
      0x79, 0x7a, 0xa1, 0xbf, 0xd0, 0x5b, 0xde, 0xae, /* .~stuvwxyz...[.. */
      0xac, 0xa3, 0xa5, 0xb7, 0xa9, 0xa7, 0xb6, 0xbc, /* b0-bf:           */
      0xbd, 0xbe, 0xdd, 0xa8, 0xaf, 0x5d, 0xb4, 0xd7, /* .............].. */
      0x7b, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, /* c0-cf:           */
      0x48, 0x49, 0xad, 0xf4, 0xf6, 0xf2, 0xf3, 0xf5, /* {ABCDEFGHI...... */
      0x7d, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, /* d0-df:           */
      0x51, 0x52, 0xb9, 0xfb, 0xfc, 0xf9, 0xfa, 0xff, /* }JKLMNOPQR...... */
      0x5c, 0xf7, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, /* e0-ef:           */
      0x59, 0x5a, 0xb2, 0xd4, 0xd6, 0xd2, 0xd3, 0xd5, /* \.STUVWXYZ...... */
      0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, /* f0-ff:           */
      0x38, 0x39, 0xb3, 0xdb, 0xdc, 0xd9, 0xda, 0x9f  /* 0123456789...... */
  };
  
  /*
  Server EBCDIC (character set IBM-1047) to US-ASCII table:
  This table is a copy of the os_toascii_strictly bijective table above.
  The only change is that hex 0a (\012 octal) is mapped to hex 0a
  (ASCII's line feed) instead of hex 8e.  This is done because throughout
  Apache, protocol string definitions hardcode the linefeed as \012 (octal):
  "Content-Type: text/plain\015\012".  Without this kludge all protocol
  string definitions would need to be changed from ...\012 to ...\025.
  */
  const unsigned char os_toascii[256] = {
      0x00, 0x01, 0x02, 0x03, 0x85, 0x09, 0x86, 0x7f, /* 00-0f:           */
      0x87, 0x8d, 0x0a, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, /* ................ */
      0x10, 0x11, 0x12, 0x13, 0x8f, 0x0a, 0x08, 0x97, /* 10-1f:           */
      0x18, 0x19, 0x9c, 0x9d, 0x1c, 0x1d, 0x1e, 0x1f, /* ................ */
      0x80, 0x81, 0x82, 0x83, 0x84, 0x92, 0x17, 0x1b, /* 20-2f:           */
      0x88, 0x89, 0x8a, 0x8b, 0x8c, 0x05, 0x06, 0x07, /* ................ */
      0x90, 0x91, 0x16, 0x93, 0x94, 0x95, 0x96, 0x04, /* 30-3f:           */
      0x98, 0x99, 0x9a, 0x9b, 0x14, 0x15, 0x9e, 0x1a, /* ................ */
      0x20, 0xa0, 0xe2, 0xe4, 0xe0, 0xe1, 0xe3, 0xe5, /* 40-4f:           */
      0xe7, 0xf1, 0xa2, 0x2e, 0x3c, 0x28, 0x2b, 0x7c, /*  ...........<(+| */
      0x26, 0xe9, 0xea, 0xeb, 0xe8, 0xed, 0xee, 0xef, /* 50-5f:           */
      0xec, 0xdf, 0x21, 0x24, 0x2a, 0x29, 0x3b, 0x5e, /* &.........!$*);^ */
      0x2d, 0x2f, 0xc2, 0xc4, 0xc0, 0xc1, 0xc3, 0xc5, /* 60-6f:           */
      0xc7, 0xd1, 0xa6, 0x2c, 0x25, 0x5f, 0x3e, 0x3f, /* -/.........,%_>? */
      0xf8, 0xc9, 0xca, 0xcb, 0xc8, 0xcd, 0xce, 0xcf, /* 70-7f:           */
      0xcc, 0x60, 0x3a, 0x23, 0x40, 0x27, 0x3d, 0x22, /* .........`:#@'=" */
      0xd8, 0x61, 0x62, 0x63, 0x64, 0x65, 0x66, 0x67, /* 80-8f:           */
      0x68, 0x69, 0xab, 0xbb, 0xf0, 0xfd, 0xfe, 0xb1, /* .abcdefghi...... */
      0xb0, 0x6a, 0x6b, 0x6c, 0x6d, 0x6e, 0x6f, 0x70, /* 90-9f:           */
      0x71, 0x72, 0xaa, 0xba, 0xe6, 0xb8, 0xc6, 0xa4, /* .jklmnopqr...... */
      0xb5, 0x7e, 0x73, 0x74, 0x75, 0x76, 0x77, 0x78, /* a0-af:           */
      0x79, 0x7a, 0xa1, 0xbf, 0xd0, 0x5b, 0xde, 0xae, /* .~stuvwxyz...[.. */
      0xac, 0xa3, 0xa5, 0xb7, 0xa9, 0xa7, 0xb6, 0xbc, /* b0-bf:           */
      0xbd, 0xbe, 0xdd, 0xa8, 0xaf, 0x5d, 0xb4, 0xd7, /* .............].. */
      0x7b, 0x41, 0x42, 0x43, 0x44, 0x45, 0x46, 0x47, /* c0-cf:           */
      0x48, 0x49, 0xad, 0xf4, 0xf6, 0xf2, 0xf3, 0xf5, /* {ABCDEFGHI...... */
      0x7d, 0x4a, 0x4b, 0x4c, 0x4d, 0x4e, 0x4f, 0x50, /* d0-df:           */
      0x51, 0x52, 0xb9, 0xfb, 0xfc, 0xf9, 0xfa, 0xff, /* }JKLMNOPQR...... */
      0x5c, 0xf7, 0x53, 0x54, 0x55, 0x56, 0x57, 0x58, /* e0-ef:           */
      0x59, 0x5a, 0xb2, 0xd4, 0xd6, 0xd2, 0xd3, 0xd5, /* \.STUVWXYZ...... */
      0x30, 0x31, 0x32, 0x33, 0x34, 0x35, 0x36, 0x37, /* f0-ff:           */
      0x38, 0x39, 0xb3, 0xdb, 0xdc, 0xd9, 0xda, 0x9f  /* 0123456789...... */
  };
  
  /*
  The US-ASCII to EBCDIC (character set IBM-1047) table:
  This table is bijective (no ambiguous or duplicate characters)
  */
  const unsigned char os_toebcdic[256] = {
      0x00, 0x01, 0x02, 0x03, 0x37, 0x2d, 0x2e, 0x2f, /* 00-0f:           */
      0x16, 0x05, 0x15, 0x0b, 0x0c, 0x0d, 0x0e, 0x0f, /* ................ */
      0x10, 0x11, 0x12, 0x13, 0x3c, 0x3d, 0x32, 0x26, /* 10-1f:           */
      0x18, 0x19, 0x3f, 0x27, 0x1c, 0x1d, 0x1e, 0x1f, /* ................ */
      0x40, 0x5a, 0x7f, 0x7b, 0x5b, 0x6c, 0x50, 0x7d, /* 20-2f:           */
      0x4d, 0x5d, 0x5c, 0x4e, 0x6b, 0x60, 0x4b, 0x61, /*  !"#$%&'()*+,-./ */
      0xf0, 0xf1, 0xf2, 0xf3, 0xf4, 0xf5, 0xf6, 0xf7, /* 30-3f:           */
      0xf8, 0xf9, 0x7a, 0x5e, 0x4c, 0x7e, 0x6e, 0x6f, /* 0123456789:;<=>? */
      0x7c, 0xc1, 0xc2, 0xc3, 0xc4, 0xc5, 0xc6, 0xc7, /* 40-4f:           */
      0xc8, 0xc9, 0xd1, 0xd2, 0xd3, 0xd4, 0xd5, 0xd6, /* @ABCDEFGHIJKLMNO */
      0xd7, 0xd8, 0xd9, 0xe2, 0xe3, 0xe4, 0xe5, 0xe6, /* 50-5f:           */
      0xe7, 0xe8, 0xe9, 0xad, 0xe0, 0xbd, 0x5f, 0x6d, /* PQRSTUVWXYZ[\]^_ */
      0x79, 0x81, 0x82, 0x83, 0x84, 0x85, 0x86, 0x87, /* 60-6f:           */
      0x88, 0x89, 0x91, 0x92, 0x93, 0x94, 0x95, 0x96, /* `abcdefghijklmno */
      0x97, 0x98, 0x99, 0xa2, 0xa3, 0xa4, 0xa5, 0xa6, /* 70-7f:           */
      0xa7, 0xa8, 0xa9, 0xc0, 0x4f, 0xd0, 0xa1, 0x07, /* pqrstuvwxyz{|}~. */
      0x20, 0x21, 0x22, 0x23, 0x24, 0x04, 0x06, 0x08, /* 80-8f:           */
      0x28, 0x29, 0x2a, 0x2b, 0x2c, 0x09, 0x0a, 0x14, /* ................ */
      0x30, 0x31, 0x25, 0x33, 0x34, 0x35, 0x36, 0x17, /* 90-9f:           */
      0x38, 0x39, 0x3a, 0x3b, 0x1a, 0x1b, 0x3e, 0xff, /* ................ */
      0x41, 0xaa, 0x4a, 0xb1, 0x9f, 0xb2, 0x6a, 0xb5, /* a0-af:           */
      0xbb, 0xb4, 0x9a, 0x8a, 0xb0, 0xca, 0xaf, 0xbc, /* ................ */
      0x90, 0x8f, 0xea, 0xfa, 0xbe, 0xa0, 0xb6, 0xb3, /* b0-bf:           */
      0x9d, 0xda, 0x9b, 0x8b, 0xb7, 0xb8, 0xb9, 0xab, /* ................ */
      0x64, 0x65, 0x62, 0x66, 0x63, 0x67, 0x9e, 0x68, /* c0-cf:           */
      0x74, 0x71, 0x72, 0x73, 0x78, 0x75, 0x76, 0x77, /* ................ */
      0xac, 0x69, 0xed, 0xee, 0xeb, 0xef, 0xec, 0xbf, /* d0-df:           */
      0x80, 0xfd, 0xfe, 0xfb, 0xfc, 0xba, 0xae, 0x59, /* ................ */
      0x44, 0x45, 0x42, 0x46, 0x43, 0x47, 0x9c, 0x48, /* e0-ef:           */
      0x54, 0x51, 0x52, 0x53, 0x58, 0x55, 0x56, 0x57, /* ................ */
      0x8c, 0x49, 0xcd, 0xce, 0xcb, 0xcf, 0xcc, 0xe1, /* f0-ff:           */
      0x70, 0xdd, 0xde, 0xdb, 0xdc, 0x8d, 0x8e, 0xdf  /* ................ */
  };
  
  /* Translate a memory block from EBCDIC (host charset) to ASCII (net charset)
   * dest and srce may be identical, or separate memory blocks, but
   * should not overlap.
   */
  void
  ebcdic2ascii(void *dest, const void *srce, size_t count)
  {
      unsigned char *udest = dest;
      const unsigned char *usrce = srce;
      while (count-- != 0) {
          *udest++ = os_toascii[*usrce++];
      }
  }
  void
  ebcdic2ascii_strictly(unsigned char *dest, const unsigned char *srce, size_t 
count)
  {
      while (count-- != 0) {
          *dest++ = os_toascii_strictly[*srce++];
      }
  }
  void
  ascii2ebcdic(void *dest, const void *srce, size_t count)
  {
          unsigned char *udest = dest;
          const unsigned char *usrce = srce;
  
          while (count-- != 0) {
                  *udest++ = os_toebcdic[*usrce++];
      }
  }
  #endif /*CHARSET_EBCDIC*/
   
  
  
  
  1.1                  apache-1.3/src/os/tpf/ebcdic.h
  
  Index: ebcdic.h
  ===================================================================
  #include <sys/types.h>
  
  extern const unsigned char os_toascii[256];
  extern const unsigned char os_toebcdic[256];
  void ebcdic2ascii(void *dest, const void *srce, size_t count);
  void ebcdic2ascii_strictly(unsigned char *dest, const unsigned char *srce, 
size_t count);
  void ascii2ebcdic(void *dest, const void *srce, size_t count);
  
  
  
  
  1.1                  apache-1.3/src/os/tpf/os-inline.c
  
  Index: os-inline.c
  ===================================================================
  /*
   * This file contains functions which can be inlined if the compiler
   * has an "inline" modifier. Because of this, this file is both a
   * header file and a compilable module.
   *
   * Only inlineable functions should be defined in here. They must all
   * include the INLINE modifier. 
   *
   * If the compiler supports inline, this file will be #included as a
   * header file from os.h to create all the inline function
   * definitions. INLINE will be defined to whatever is required on
   * function definitions to make them inline declarations.
   *
   * If the compiler does not support inline, this file will be compiled
   * as a normal C file into libos.a (along with os.c). In this case
   * INLINE will _not_ be set so we can use this to test if we are
   * compiling this source file.  
   */
  
  #ifndef INLINE
  #define INLINE
  
  /* Anything required only when compiling */
  #include "ap_config.h"
  
  #endif
  
  INLINE int ap_os_is_path_absolute(const char *file)
  {
    return (file && file[0] == '/' ? 1 : 0);
  }
  
  
  
  1.1                  apache-1.3/src/os/tpf/os.c
  
  Index: os.c
  ===================================================================
  /* ====================================================================
   * Copyright (c) 1998 The Apache Group.  All rights reserved.
   *
   * Redistribution and use in source and binary forms, with or without
   * modification, are permitted provided that the following conditions
   * are met:
   *
   * 1. Redistributions of source code must retain the above copyright
   *    notice, this list of conditions and the following disclaimer.
   *
   * 2. Redistributions in binary form must reproduce the above copyright
   *    notice, this list of conditions and the following disclaimer in
   *    the documentation and/or other materials provided with the
   *    distribution.
   *
   * 3. All advertising materials mentioning features or use of this
   *    software must display the following acknowledgment:
   *    "This product includes software developed by the Apache Group
   *    for use in the Apache HTTP server project (http://www.apache.org/)."
   *
   * 4. The names "Apache Server" and "Apache Group" must not be used to
   *    endorse or promote products derived from this software without
   *    prior written permission. For written permission, please contact
   *    [EMAIL PROTECTED]
   *
   * 5. Products derived from this software may not be called "Apache"
   *    nor may "Apache" appear in their names without prior written
   *    permission of the Apache Group.
   *
   * 6. Redistributions of any form whatsoever must retain the following
   *    acknowledgment:
   *    "This product includes software developed by the Apache Group
   *    for use in the Apache HTTP server project (http://www.apache.org/)."
   *
   * THIS SOFTWARE IS PROVIDED BY THE APACHE GROUP ``AS IS'' AND ANY
   * EXPRESSED OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE
   * IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR
   * PURPOSE ARE DISCLAIMED.  IN NO EVENT SHALL THE APACHE GROUP OR
   * ITS CONTRIBUTORS BE LIABLE FOR ANY DIRECT, INDIRECT, INCIDENTAL,
   * SPECIAL, EXEMPLARY, OR CONSEQUENTIAL DAMAGES (INCLUDING, BUT
   * NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS OR SERVICES;
   * LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION)
   * HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT,
   * STRICT LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE)
   * ARISING IN ANY WAY OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED
   * OF THE POSSIBILITY OF SUCH DAMAGE.
   * ====================================================================
   *
   * This software consists of voluntary contributions made by many
   * individuals on behalf of the Apache Group and was originally based
   * on public domain software written at the National Center for
   * Supercomputing Applications, University of Illinois, Urbana-Champaign.
   * For more information on the Apache Group and the Apache HTTP server
   * project, please see <http://www.apache.org/>.
   *
   */
  
  /*
   * This file will include OS specific functions which are not inlineable.
   * Any inlineable functions should be defined in os-inline.c instead.
   */
  
  #include "httpd.h"
  #include "http_core.h"
  #include "os.h"
  
  /* Check the Content-Type to decide if conversion is needed */
  int ap_checkconv(struct request_rec *r)
  {
      int convert_to_ascii;
      const char *type;
  
      /* To make serving of "raw ASCII text" files easy (they serve faster 
       * since they don't have to be converted from EBCDIC), a new
       * "magic" type prefix was invented: text/x-ascii-{plain,html,...}
       * If we detect one of these content types here, we simply correct
       * the type to the real text/{plain,html,...} type. Otherwise, we
       * set a flag that translation is required later on.
       */
  
      type = (r->content_type == NULL) ? ap_default_type(r) : r->content_type;
  
      /* If no content type is set then treat it as (ebcdic) text/plain */
      convert_to_ascii = (type == NULL);
  
      /* Conversion is applied to text/ files only, if ever. */
      if (type && (strncasecmp(type, "text/", 5) == 0 ||
                 strncasecmp(type, "message/", 8) == 0)) {
        if (strncasecmp(type, ASCIITEXT_MAGIC_TYPE_PREFIX,
                        sizeof(ASCIITEXT_MAGIC_TYPE_PREFIX)-1) == 0)
            r->content_type = ap_pstrcat(r->pool, "text/",
                                         
type+sizeof(ASCIITEXT_MAGIC_TYPE_PREFIX)-1,
                                         NULL);
          else
            /* translate EBCDIC to ASCII */
            convert_to_ascii = 1;
      }
      /* Enable conversion if it's a text document */
      ap_bsetflag(r->connection->client, B_EBCDIC2ASCII, convert_to_ascii);
  
      return convert_to_ascii;
  }
  
  int tpf_select(int maxfds, fd_set *reads, fd_set *writes, fd_set *excepts, 
struct timeval *tv)
  {
      int sockets[24];
      int no_reads = 0;
      int no_writes = 0;
      int no_excepts = 0;
      int timeout = 0;
      int counter = 0;
      int i;
      fd_set *temp;
      
      if(maxfds) {
          if(reads)
              temp = reads;
          else if(writes)
              temp = writes;
          else if(excepts)
              temp = excepts;
          else
              temp = NULL;
          
          for(i=0; i<maxfds; i++) {
              if(FD_ISSET(i,temp)) {
                  sockets[counter] = i;
                  counter++;
              }
          }
      
          if(tv)
              timeout = tv->tv_sec * 1000 + tv->tv_usec;
  
          if(reads)
              no_reads = counter;
          else if(writes)
              no_writes = counter;
          else if(excepts)
              no_excepts = counter;
      }    
      return select(sockets, no_reads, no_writes, no_excepts, timeout);
  }
     
  /* pipe is not yet available on TPF */
  int pipe(int fildes[2])
  {
      errno = ENOSYS;
      return(-1);
  }
    
  /* fork and exec functions are not defined on
     TPF due to the implementation of tpf_fork() */
   
  pid_t fork(void)
  {
      errno = ENOSYS;
      return(-1);
  }
  
  int execl(const char *path, const char *arg0, ...)
  {
      errno = ENOSYS;
      return(-1);
  }
  
  int execle(const char *path, const char *arg0, ...)
  {
      errno = ENOSYS;
      return(-1);
  }
  
  int execve(const char *path, char *const argv[], char *const envp[])
  {
      errno = ENOSYS;
      return(-1);
  }
  
  
  
  1.1                  apache-1.3/src/os/tpf/os.h
  
  Index: os.h
  ===================================================================
  #ifndef APACHE_OS_H
  #define APACHE_OS_H
  
  #define PLATFORM "TPF"
  
  #ifdef errno
  #undef errno
  #endif
  
  /*
   * This file in included in all Apache source code. It contains definitions
   * of facilities available on _this_ operating system (HAVE_* macros),
   * and prototypes of OS specific functions defined in os.c or os-inline.c
   */
  
  #include "ap_config.h"
  
  #if !defined(INLINE) && defined(USE_GNU_INLINE)
  /* Compiler supports inline, so include the inlineable functions as
   * part of the header
   */
  #define INLINE extern ap_inline
  #include "os-inline.c"
  #endif
  
  #ifndef INLINE
  /* Compiler does not support inline, so prototype the inlineable functions
   * as normal
   */
  extern int ap_os_is_path_absolute(const char *f);
  #endif
  
  /* Sorry if this is ugly, but the include order doesn't allow me
   * to use request_rec here... */
  struct request_rec;
  extern int ap_checkconv(struct request_rec *r);
   
  #ifdef FD_SETSIZE
  #undef FD_SETSIZE 
  #endif
  
  #define FD_SETSIZE    2048 
   
  #ifdef __FD_MASK
  #undef __FD_MASK 
  #endif
  
  typedef int __FD_MASK;
  
  #ifdef __NBBY
  #undef __NBBY 
  #endif
  
  #define __NBBY    8    /* number of bits in a byte */
  
  #ifdef __NFDBITS
  #undef __NFDBITS 
  #endif
  
  #define __NFDBITS (sizeof(__FD_MASK) * __NBBY)
  
  #ifndef __howmany
  #define  __howmany(x, y)  (((x)+((y)-1))/(y))
  #endif 
   
  typedef struct fd_set { 
          __FD_MASK fds_bits [__howmany(FD_SETSIZE, __NFDBITS)]; 
  } fd_set; 
  
  #define  FD_SET(n, p)((p)->fds_bits[(n)/__NFDBITS] |= (1 <<((n) % __NFDBITS)))
  
  #define  FD_CLR(n, p)((p)->fds_bits[(n)/__NFDBITS] &= ~(1 \ << ((n) % 
__NFDBITS)))
  
  #define  FD_ISSET(n, p)((p)->fds_bits[(n)/__NFDBITS] & (1 <<((n) % 
__NFDBITS)))
  
  #define  FD_ZERO(p)   memset((char *)(p), 0, sizeof(*(p)))
      
  
  #define  SIGPIPE  13
  #define  SIGQUIT  24
  #define  SO_KEEPALIVE  0x0008
  
  /* TPF doesn't have, or need, tzset (it is used in mod_expires.c) */
  #define tzset()
  
  #include <stdarg.h>
  #undef va_list
  #undef va_start
  #undef va_arg
  #undef va_end
  
  typedef char *va_list;
  
  #define __va_promote(type) (((sizeof(type) + sizeof(int) - 1) \
                             / sizeof(int)) * sizeof(int))
  
  #define va_start(ap, last) (ap = ((char *)&(last) + __va_promote(last)))
  
  #define va_arg(ap, type) ((type *)(ap += sizeof(type) < sizeof(int) ? \
                           (abort(), 0) : sizeof(type)))[-1]
  
  #define va_end(ap)
  
  #endif /*! APACHE_OS_H*/
  
  
  
  1.1                  apache-1.3/src/os/tpf/test_char.h
  
  Index: test_char.h
  ===================================================================
  /* this file is automatically generated by gen_test_char, do not edit */
  #define T_ESCAPE_SHELL_CMD    (1)
  #define T_ESCAPE_PATH_SEGMENT (2)
  #define T_OS_ESCAPE_PATH      (4)
  #define T_HTTP_TOKEN_STOP     (8)
  
  static const unsigned char test_char_table[256] = {
      0,14,14,14,6,14,6,14,6,6,6,14,14,14,14,14,14,14,14,14,
      6,15,14,6,14,14,6,6,14,14,14,14,6,6,6,6,6,6,14,14,
      6,6,6,6,6,14,14,14,6,6,14,6,6,6,6,14,6,6,6,6,
      14,14,6,14,14,6,6,6,6,6,6,6,6,6,6,0,15,9,0,7,
      1,6,6,6,6,6,6,6,6,6,0,1,1,9,15,7,0,10,6,6,
      6,6,6,6,6,6,6,8,6,0,15,15,6,6,6,6,6,6,6,6,
      6,7,8,6,8,1,8,7,6,0,0,0,0,0,0,0,0,0,6,6,
      6,6,6,6,6,0,0,0,0,0,0,0,0,0,6,6,6,6,6,6,
      6,1,0,0,0,0,0,0,0,0,6,6,6,15,6,6,6,6,6,6,
      6,6,6,6,6,6,6,6,6,15,6,6,15,0,0,0,0,0,0,0,
      0,0,6,6,6,6,6,6,15,0,0,0,0,0,0,0,0,0,6,6,
      6,6,6,6,15,6,0,0,0,0,0,0,0,0,6,6,6,6,6,6,
      0,0,0,0,0,0,0,0,0,0,6,6,6,6,6,6 
  };
  
  
  
  1.1                  apache-1.3/src/os/tpf/uri_delims.h
  
  Index: uri_delims.h
  ===================================================================
  /* this file is automatically generated by gen_uri_delims, do not edit */
  static const unsigned char uri_delims[256] = {
      T_NUL,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
      0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
      0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
      0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
      0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,T_SLASH,0,0,
      0,0,0,0,0,0,0,0,0,0,0,T_QUESTION,0,0,0,0,0,0,0,0,
      0,0,T_COLON,T_HASH,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
      0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
      0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
      0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
      0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
      0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,
      0,0,0,0,0,0,0,0,0,0,0,0,0,0,0,0 
  };
  
  
  
  1.1                  apache-1.3/src/os/tpf/samples/linkdll.jcl
  
  Index: linkdll.jcl
  ===================================================================
  //APACH JOB MSGLEVEL=(1,1),CLASS=A,MSGCLASS=A
  /*ROUTE PRINT XXXXXX.XXXXXX
  /*ROUTE PUNCH XXXXXX.XXXXXX
  /*NOTIFY XXXXXX.XXXXXX
  //CCLE JCLLIB ORDER=(SYS1.CBC.SCBCPRC,SYS1.CEE.SCEEPROC)
  //PRELINK EXEC EDCPL,COND.LKED=(0,NE),
  // PPARM='OMVS,DLLNAME(pppp)',
  // LREGSIZ='2048K',
  // LPARM='AMODE=31,RMODE=ANY,LIST,XREF'
  //PLKED.SYSLIB DD DISP=SHR,DSN=FSE0000.DEVP.STUB.OB
  //             DD DISP=SHR,DSN=FSE0000.DEVP.CLIB.OB
  //             DD DISP=SHR,DSN=ACP.CLIB.RLSE46.WEB
  //             DD DISP=SHR,DSN=ACP.STUB.RLSE46.WEB
  //             DD DISP=SHR,DSN=ACP.CLIB.RLSE40
  //             DD DISP=SHR,DSN=ACP.STUB.RLSE40
  //PLKED.SYSDEFSD DD DSN=APA0000.DEVP.IMPORTS.DSD(ppppvv),DISP=SHR
  //PLKED.DSD DD DSN=APA0000.DEVP.IMPORTS.DSD,DISP=SHR
  //PLKED.OBJLIB DD DISP=SHR,DSN=FSE0000.DEVP.TEST.OB
  //             DD DISP=SHR,DSN=ACP.OBJ.RLSE46.WEB
  //             DD DISP=SHR,DSN=ACP.OBJ.INTG98.NBS
  //             DD DISP=SHR,DSN=ACP.MAIN.SYST.OBBSS
  //             DD DISP=SHR,DSN=ACP.DF.MAIN.SYST.OBBSS
  //             DD DISP=SHR,DSN=ACP.OBJ.RLSE40.BSS
  //PLKED.OBJ1   DD PATH='/usr/local/apache/src/ap/ap_cpystrn.o'
  //PLKED.OBJ2   DD PATH='/usr/local/apache/src/ap/ap_execve.o'
  //PLKED.OBJ3   DD PATH='/usr/local/apache/src/ap/ap_signal.o'
  //PLKED.OBJ4   DD PATH='/usr/local/apache/src/ap/ap_slack.o'
  //PLKED.OBJ5   DD PATH='/usr/local/apache/src/ap/ap_snprintf.o'
  //PLKED.OBJ6   DD PATH='/usr/local/apache/src/ap/ap_strings.o'
  //PLKED.OBJ7   DD PATH='/usr/local/apache/src/os/tpf/ebcdic.o'
  //PLKED.OBJ8   DD PATH='/usr/local/apache/src/os/tpf/os.o'
  //PLKED.OBJ9   DD PATH='/usr/local/apache/src/os/tpf/os-inline.o'
  //PLKED.OBJ10  DD PATH='/usr/local/apache/src/regex/regcomp.o'
  //PLKED.OBJ11  DD PATH='/usr/local/apache/src/regex/regerror.o'
  //PLKED.OBJ12  DD PATH='/usr/local/apache/src/regex/regexec.o'
  //PLKED.OBJ13  DD PATH='/usr/local/apache/src/regex/regfree.o'
  //PLKED.OBJ14  DD PATH='/usr/local/apache/src/main/alloc.o'
  //PLKED.OBJ15  DD PATH='/usr/local/apache/src/main/buff.o'
  //PLKED.OBJ16  DD PATH='/usr/local/apache/src/main/fnmatch.o'
  //PLKED.OBJ17  DD PATH='/usr/local/apache/src/main/http_config.o'
  //PLKED.OBJ18  DD PATH='/usr/local/apache/src/main/http_core.o'
  //PLKED.OBJ19  DD PATH='/usr/local/apache/src/main/http_log.o'
  //PLKED.OBJ20  DD PATH='/usr/local/apache/src/main/http_main.o'
  //PLKED.OBJ21  DD PATH='/usr/local/apache/src/main/http_protocol.o'
  //PLKED.OBJ22  DD PATH='/usr/local/apache/src/main/http_request.o'
  //PLKED.OBJ23  DD PATH='/usr/local/apache/src/main/http_vhost.o'
  //PLKED.OBJ24  DD PATH='/usr/local/apache/src/main/md5c.o'
  //PLKED.OBJ25  DD PATH='/usr/local/apache/src/main/rfc1413.o'
  //PLKED.OBJ26  DD PATH='/usr/local/apache/src/main/util.o'
  //PLKED.OBJ27  DD PATH='/usr/local/apache/src/main/util_date.o'
  //PLKED.OBJ28  DD PATH='/usr/local/apache/src/main/util_md5.o'
  //PLKED.OBJ29  DD PATH='/usr/local/apache/src/main/util_script.o'
  //PLKED.OBJ30  DD PATH='/usr/local/apache/src/main/util_uri.o'
  //PLKED.OBJ31  DD PATH='/usr/local/apache/src/modules.o'
  //PLKED.OBJ32  DD PATH='/usr/local/apache/src/buildmark.o'
  //PLKED.OBJ33  DD PATH='/usr/local/apache/src/modules/standard/mod_auto\
  //             index.o'
  //PLKED.OBJ34  DD PATH='/usr/local/apache/src/modules/standard/mod_dir.\
  //             o'
  //PLKED.OBJ35  DD PATH='/usr/local/apache/src/modules/standard/mod_mime\
  //             .o'
  //PLKED.OBJ36  DD PATH='/usr/local/apache/src/modules/standard/mod_sete\
  //             nvif.o'
  //PLKED.OBJ37  DD PATH='/usr/local/apache/src/modules/standard/mod_alia\
  //             s.o'
  //PLKED.OBJ38  DD PATH='/usr/local/apache/src/modules/standard/mod_acce\
  //             ss.o'
  //PLKED.OBJ39  DD PATH='/usr/local/apache/src/modules/standard/mod_user\
  //             dir.o'
  //PLKED.OBJ40  DD PATH='/usr/local/apache/src/modules/standard/mod_spel\
  //             ing.o'
  //PLKED.OBJ41  DD PATH='/usr/local/apache/src/modules/standard/mod_nego\
  //             tiation.o'
  //PLKED.SYSIN DD *
   ORDER @@DLMHDR
   INCLUDE OBJLIB(CSTRTD40)
   INCLUDE OBJ1
   INCLUDE OBJ2
   INCLUDE OBJ3
   INCLUDE OBJ4
   INCLUDE OBJ5
   INCLUDE OBJ6
   INCLUDE OBJ7
   INCLUDE OBJ8
   INCLUDE OBJ9
   INCLUDE OBJ10
   INCLUDE OBJ11
   INCLUDE OBJ12
   INCLUDE OBJ13
   INCLUDE OBJ14
   INCLUDE OBJ15
   INCLUDE OBJ16
   INCLUDE OBJ17
   INCLUDE OBJ18
   INCLUDE OBJ19
   INCLUDE OBJ20
   INCLUDE OBJ21
   INCLUDE OBJ22
   INCLUDE OBJ23
   INCLUDE OBJ24
   INCLUDE OBJ25
   INCLUDE OBJ26
   INCLUDE OBJ27
   INCLUDE OBJ28
   INCLUDE OBJ29
   INCLUDE OBJ30
   INCLUDE OBJ31
   INCLUDE OBJ32
   INCLUDE OBJ33
   INCLUDE OBJ34
   INCLUDE OBJ35
   INCLUDE OBJ36
   INCLUDE OBJ37
   INCLUDE OBJ38
   INCLUDE OBJ39
   INCLUDE OBJ40
   INCLUDE OBJ41
  /*
  //*** WARNING *** NEVER change .LK to .OB in SYSLMOD!!!
  //LKED.SYSLMOD DD DISP=OLD,DSN=xxxxxx.xxxx(ppppvv)
  //
  
  
  
  1.1                  apache-1.3/src/os/tpf/samples/loadset.jcl
  
  Index: loadset.jcl
  ===================================================================
  //OLDRWEB JOB MSGLEVEL=1,CLASS=A,MSGCLASS=S
  //JOBCAT DD DSN=ICFCAT.ESAWK2,DISP=SHR
  /*ROUTE PRINT xxxxxx.xxxxxxx
  /*ROUTE PUNCH xxxxxx.xxxxxxx
  //TLDR   EXEC  PGM=TPFLDRCA,REGION=8M,
  //             PARM='OLDR,SYS=ACP,CLMSIZE=8000000'
  //STEPLIB  DD  DSN=ACP.LINK.RLSE46.WEB,DISP=SHR
  //         DD  DSN=ACP.LINK.RLSE40.BSS,DISP=SHR
  //         DD  DSN=VIS0000.DEVP.TEST.LK,DISP=SHR
  //         DD  DSN=SYS1.CEE.SCEERUN,DISP=SHR
  //SALTB    DD  DSN=ACP.SALTBL.RLSE46.WEB,DISP=SHR
  //         DD  DSN=ACP.SALTBL.INTG46.WEB,DISP=SHR
  //OBJLIB   DD  DSN=FSE0000.DEVP.TEST.OB,DISP=SHR
  //         DD  DSN=APA0000.DEVP.TEST.OB,DISP=SHR
  //         DD  DSN=ACP.DRVE.TEST.OB,DISP=SHR
  //         DD  DSN=ACP.OBJ.RLSE46.WEB,DISP=SHR
  //         DD  DSN=ACP.OBJ.INTG36.DRV,DISP=SHR
  //         DD  DSN=ACP.OBJ.INTG46.WEB,DISP=SHR
  //         DD  DSN=ACP.OBJ.INTG40.BSS,DISP=SHR
  //LOADMOD  DD  DSN=FSE0000.DEVP.TEST.LK,DISP=SHR
  //         DD  DSN=APA0000.DEVP.TEST.LK,DISP=SHR
  //         DD  DSN=CWEISS.LINK,DISP=SHR
  //         DD  DSN=ACP.DRVE.TEST.LK,DISP=SHR
  //         DD  DSN=ACP.LINK.RLSE46.WEB,DISP=SHR
  //         DD  DSN=ACP.LINK.INTG98.NBS,DISP=SHR
  //         DD  DSN=ACP.LINK.INTG46.WEB,DISP=SHR
  //         DD  DSN=ACP.LINK.INTG36.DRV,DISP=SHR
  //         DD  DSN=ACP.LINK.INTG40.BSS,DISP=SHR
  //LOADSUM  DD  DSN=&&LOADSUM,DISP=(NEW,PASS),UNIT=SYSDA,
  //             LRECL=133,SPACE=(TRK,(10,10)),RECFM=FBA
  //CPRTEMP  DD  UNIT=SYSDA,
  //             DSN=&&CPRTEMP,SPACE=(TRK,(100,20)),
  //             DCB=(RECFM=FB,BLKSIZE=4095,LRECL=4095),
  //             DISP=(NEW,DELETE)
  //PROGTEMP DD  UNIT=SYSDA,
  //             DSN=&&PRTEMP,SPACE=(TRK,(100,20)),
  //             DCB=(RECFM=FB,BLKSIZE=4095,LRECL=4095),
  //             DISP=(NEW,DELETE)
  //OUTPUT   DD  DSN=&&VRDROUT,DISP=(NEW,PASS),UNIT=SYSDA,
  //             DCB=(RECFM=F,BLKSIZE=4095,LRECL=4095)
  //SYSUDUMP DD  DUMMY
  //SYSABEND DD  DUMMY
  //SYSOUT   DD  SYSOUT=A
  //SYSPRINT DD  SYSOUT=A
  //PRINTER  DD  SYSOUT=A
  //CEEDUMP  DD  SYSOUT=A
  //SYSIN    DD  *
  SYSID=BSS
  PATVERS=NONE
  SALVERS=40
  LOADER   LOADSET  lllllll
  LOADER   CALL  PROG ppppvv
  /*
  //TRANSMIT EXEC PGM=IKJEFT01,
  //  PARM='TRANSMIT xxxxxx.xxxxxx DDNAME(SYSTSIN) NOLOG NONOTIFY SEQ'
  //SYSTSIN  DD  UNIT=SYSDA,
  //             DSN=&&VRDROUT,DISP=(OLD,DELETE)
  //SYSTSPRT DD  DUMMY
  
  
  

Reply via email to