New Ticket     Wiki     Browse Source     Timeline     Roadmap     Ticket Reports     Search

Ticket #15474: Portfile-shttpd.diff

File Portfile-shttpd.diff, 2.1 KB (added by valenok@…, 4 years ago)
  • Portfile

    old new  
    22 
    33PortSystem 1.0 
    44name             shttpd 
    5 version          1.34 
     5version          1.41 
    66categories       www 
    77maintainers      nomaintainer 
    8 description      embeddable MIT-licensed web server 
     8description      Beerware-licensed web server 
    99long_description \ 
    1010        SHTTPD is simple, easy to use, embeddable web server with CGI, \ 
    11         SSL, cookies support. It is written in C, as one single source \ 
    12         file shttpd.c. It compiles both in UNIX and Windows environments. \ 
    13         It gives very small footprint when linked against uclibc or \ 
     11        SSL, Digest Authorization, resumed download, aliases, IP-based \ 
     12        ACLs. It gives very small footprint when linked against uclibc or \ 
    1413        dietlibc. It is a good choice to serve Web based GUI for various \ 
    1514        applications, where other sophisticated servers like Apache, IIS \ 
    1615        etc are too big, hard to install and configure or overcomplicated. \ 
     
    1817        web-oriented software demos. Beginner (and not just beginner) web \ 
    1918        developers may find it very useful as well: shttpd serves PHP, \ 
    2019        Perl and other CGI applications without any additional \ 
    21         configuration. Regardless its small size, shttpd is fully \ 
    22         functional and is ready to be used in production environment. 
     20        configuration. SHTTPD is mature and stable product, and is ready \ 
     21        to be used in production environment. 
    2322homepage         http://shttpd.sourceforge.net/ 
    2423platforms        darwin 
    2524master_sites     sourceforge 
    26 checksums        sha1 596ce7b0aa480b3450b6574ac128e9f6513fb128 
     25checksums        sha1 a3f23c3d06997d1c73771848d0db73fac421e46f 
    2726 
    28 use_configure    no 
     27use_configure   no 
    2928 
    30 build.cmd        gcc 
    31 build.target 
    32 build.args       -Wall -g -DCONFIG=\\"${prefix}/etc/shttpd.conf\\" shttpd.c -o shttpd 
     29worksrcdir      ${name}-${version}/src 
     30build.target    unix 
     31build.args      "CFLAGS=\"-W -Wall -O2\"" 
    3332 
    3433destroot { 
    3534        xinstall ${worksrcpath}/shttpd ${destroot}${prefix}/bin 
    3635        xinstall ${worksrcpath}/shttpd.1 ${destroot}${prefix}/share/man/man1 
    37         xinstall ${worksrcpath}/shttpd.pem ${destroot}${prefix}/etc 
    3836}