Ticket #30324: cherokee.diff

File cherokee.diff, 2.9 KB (added by stahlstift@…, 13 years ago)
  • Portfile

    old new  
    33PortSystem 1.0
    44
    55name            cherokee
    6 version         1.0.8
     6version         1.2.98
    77categories      www
    88platforms       darwin
    9 maintainers     nomaintainer
    10 description     Cherokee web server
    11 long_description \
    12   Cherokee is a relatively new HTTP server designed to be as\
    13   performant as Apache and lighttpd, but much easier to \
    14   configure and maintain.  It ships out-of-the-box SCGI \
    15   support, making it ideal for deploying dynamic websites.
     9maintainers     stahlstift
     10license                 GPL 2
     11description     The Fastest free Web Server out there!
     12long_description   Cherokee is a very fast, flexible and easy to configure Web Server. \
     13        It supports the widespread technologies nowadays: \
     14        FastCGI, SCGI, PHP, CGI, uWSGI, SSI, TLS and SSL encrypted connections, \
     15        Virtual hosts, Authentication, on the fly encoding, Load Balancing, \
     16        Apache compatible log files, Data Base Balancing, Reverse HTTP Proxy, \
     17        Traffic Shaper, Video Streaming and much more.
    1618homepage        http://www.cherokee-project.com/
    17 master_sites    http://www.cherokee-project.com/download/1.0/${version}
     19master_sites    http://www.cherokee-project.com/download/1.2/${version}
    1820distname        ${name}-${version}
    19 checksums       md5     12117a80c2a970173bd32660439c2db0 \
    20                 sha1    28b2e2b192c713aa9c43737ae8376a55effa7336
     21checksums           md5     21b01e7d45c0e82ecc0c4257a9c27feb \
     22                    sha1    3efcf8115268f8b4ff97b8dc79234a68c41905da
    2123depends_lib     port:pcre \
    22                 port:zlib \
    23                 port:libgeoip \
    24                 port:rrdtool
     24                port:zlib
    2525
    2626configure.args    --mandir=${prefix}/share/man
    2727
     
    3636startupitem.start   "${prefix}/sbin/cherokee -C ${cherokee_config}"
    3737startupitem.stop    "kill \$(cat \$PIDFILE)"
    3838
     39default_variants +ssl
     40
     41variant rrdtool description {Install rrdtool for graphs} {
     42        depends_lib-append      port:rrdtool
     43}
     44
     45variant geoip description {Enable libgeopip} {
     46        depends_lib-append      port:libgeoip
     47}
     48
     49variant ffmpeg description {Enable ffmpeg support} {
     50        depends_lib-append port:ffmpeg-devel
     51}
     52
     53variant mysql4 conflicts mysql5 description {Enable DBSlayer support} {
     54    depends_lib-append      port:mysql4
     55    configure.args-append   --with-mysql=${prefix}/bin/mysql_config
     56}
     57
     58variant mysql5 conflicts mysql4 description {Enable DBSlayer support} {
     59        depends_lib-append      port:mysql5
     60        configure.args-append   --with-mysql=${prefix}/bin/mysql_config5
     61}
     62
    3963variant no_startupitem description {Do not create a startup item} {
    4064    startupitem.create  no
    4165}
     
    7498    configure.args-append --disable-admin
    7599}
    76100
     101variant no_nls description {do not use Native Language Support} {
     102    configure.args-append --disable-admin
     103}
     104
    77105pre-destroot {
    78106    xinstall -m 755 -d ${destroot}${prefix}/var/log
    79107    destroot.keepdirs-append ${destroot}${prefix}/var/log