Download and Install lws version 0.2.1 on Mac OS X
Thursday the 3rd of July, 2008

    lws  most recent diff


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



      # $Id: Portfile 30257 2007-10-23 02:28:30Z jmpp macports.org $

      PortSystem 1.0
      Name: lws
      Version: 0.2.1
      Category: www
      Maintainers: nomaintainer
      Description: The Lil' Web Server
      Long Description: LWS is a lightweight web server which uses pthreads(3) for multi-tasking and the PDEL library for HTTP, HTTPS, and configurable servlet support. The server can be configured via a buit-in admin web interface, or by manually editing the XML configuration file. LWS supports multiple HTTP and HTTPS servers, each containing multiple virtual hosts. Each virtual host has a configurable list of servlets. The supported servlets types are file, redirect, and cookieauth. The file servlet includes optional support for tmpl(3) HTML templates. LWS maintains a self-rotating logfile(3) error log, with optional support for logging via syslog as well. LWS is intended to demonstrate features of the PDEL library, and to be a lightweight web server for simple applications.
      Homepage: http://www.dellroad.org/lws/index
      Platform: darwin
      master_sites ftp://ftp.FreeBSD.org/pub/FreeBSD/ports/local-distfiles/archie/
      checksums md5 3b285f661ad8cd2a5e3b346a169921ca

      depends_lib port:libpdel port:expat port:openssl

      patchfiles patch-GNUmakefile

      post-patch {
      reinplace "s|__PREFIX__|${prefix}|g" ${worksrcpath}/GNUmakefile
      }

      use_configure no

    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/lws
      % sudo port install lws
      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 lws
      ---> Verifying checksum for lws
      ---> Extracting lws
      ---> Configuring lws
      ---> Building lws with target all
      ---> Staging lws into destroot
      ---> Installing lws
    - 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 lws with these commands:
      %  man lws
      % apropos lws
      % which lws
      % locate lws

     Where to find more information:

    Darwin Ports



    image test