Ajp-wsgi version 1.0 - How to Download and Install on Mac OS X
Friday the 20th of November, 2009

    ajp-wsgi  most recent diff


    version 1.0

      View the most recent changes for the ajp-wsgi port at: ajp-wsgi.darwinports.com/diff
      Scroll down toward the bottom of the page to get installation instructions for ajp-wsgi.
      The raw portfile for ajp-wsgi 1.0 is located here:
      http://ajp-wsgi.darwinports.com/dports/www/ajp-wsgi/Portfile
      Find related portfiles with the unique DarwinPorts.com search feature.
      Check for any related Fink projects here: pdb.finkproject.org/pdb/package.php/ajp-wsgi


      The ajp-wsgi Portfile 57375 2009-09-10 08:16:41Z ryandesign macports.org $

      PortSystem 1.0
      Name: ajp-wsgi
      Version: 1.0
      Revision: 1
      Category: www
      Maintainers: blb
      Description: WSGI server/gateway implementing AJP
      Long Description: ajp-wsgi is a WSGI server/gateway that implements AJP 1.3 to communicate with a web server. It is written in C and embeds a Python interpreter to run the actual application. Since all of the low-level transport code is in C, ajp-wsgi is significantly faster than flup's pure-Python ajp server.

      Platform: darwin

      Homepage: http://www.saddi.com/software/ajp-wsgi
      Master Sites: ${homepage}/dist/
      use_bzip2 yes

      Checksums: md5 bce919cac8d964dfecfc4f407002d52b sha1 1c17de9dbd8057b0754850b261a798bfcd874cab rmd160 a18856043b83dcdcee4ab41f79de4ae13bc19022

      configure.args configure.py
      configure.pre_args

      destroot {
      xinstall -m 755 -d ${destroot}${prefix}/bin ${destroot}${prefix}/share/doc/${name} ${destroot}${prefix}/share/examples/${name}
      xinstall -m 755 -W ${worksrcpath} ${name} ${destroot}${prefix}/bin
      xinstall -m 644 -W ${worksrcpath} ChangeLog README ${destroot}${prefix}/share/doc/${name}
      xinstall -m 644 -W ${worksrcpath} test.py ${destroot}${prefix}/share/examples/${name}
      }

      Variant: python24 conflicts python25 python26 description {Use with Python 2.4} {
      depends_lib-append port:python24
      configure.cmd ${prefix}/bin/python2.4
      }

      Variant: python25 conflicts python24 python26 description {Use with Python 2.5} {
      depends_lib-append port:python25
      configure.cmd ${prefix}/bin/python2.5
      }

      Variant: python26 conflicts python24 python25 description {Use with Python 2.6} {
      depends_lib-append port:python26
      configure.cmd ${prefix}/bin/python2.6
      }

      if {![variant_isset python24] && ![variant_isset python25] && ![variant_isset python26]} {
      default_variants +python26
      }

      platform macosx {
      if {[variant_isset python25]} {
      # work around funky LINKFORSHARED with python25
      patchfiles-append patch-Makefile.in.py25mac.diff
      post-patch {
      reinplace "s| FRAMEWORKS_DIR |${frameworks_dir}|g" ${worksrcpath}/Makefile.in
      }
      }
      }

      livecheck.type regex
      livecheck.url "${master_sites}?C=M;O=D"
      livecheck.regex "${name}-(\[0-9.\]+)${extract.suffix}"


    If you haven't already installed Darwin Ports, you can find easy instructions for doing so at the main Darwin Ports page.

    Once Darwin Ports has been installed, in a terminal window and while online, type the following and hit return:


      %  cd /opt/local/bin/portslocation/dports/ajp-wsgi
      % sudo port install ajp-wsgi
      Password:
    You will then be prompted for your root password, which you should enter. You may have to wait for a few minutes while the software is retrieved from the network and installed for you. Y ou should see something that looks similar to:

      ---> Fetching ajp-wsgi
      ---> Verifying checksum for ajp-wsgi
      ---> Extracting ajp-wsgi
      ---> Configuring ajp-wsgi
      ---> Building ajp-wsgi with target all
      ---> Staging ajp-wsgi into destroot
      ---> Installing ajp-wsgi
    - Make sure that you do not close the terminal window while Darwin Ports is working. Once the software has been installed, you can find further information about using ajp-wsgi with these commands:
      %  man ajp-wsgi
      % apropos ajp-wsgi
      % which ajp-wsgi
      % locate ajp-wsgi

     Where to find more information:

    Darwin Ports



    Lightbox this page.