Download and Install ajp-wsgi version 1.0 on Mac OS X
Thursday the 24th of July, 2008

    ajp-wsgi  most recent diff


      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
      Google
      Web Darwinports.com



      # $Id: Portfile 28161 2007-08-23 09:57:51Z ryandesign macports.org $

      PortSystem 1.0
      Name: ajp-wsgi
      Version: 1.0
      Category: www
      Maintainers: blb macports.org
      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

      depends_lib port:python24

      configure {
      cd ${worksrcpath}
      if {[variant_isset python25]} {
      system "${prefix}/bin/python2.5 configure.py"
      } else {
      system "${prefix}/bin/python configure.py"
      }
      }

      post-configure {
      reinplace "s|Python.framework/Versions/.../Python||" ${worksrcpath}/Makefile
      reinplace "s|LDFLAGS=.*$|LDFLAGS=-L${prefix}/lib|" ${worksrcpath}/Makefile
      }

      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: python25 {
      depends_lib-delete port:python24
      depends_lib-append port:python25
      }

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

    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



    image test