Changeset 21400


Ignore:
Timestamp:
Jan 23, 2007, 3:40:37 AM (13 years ago)
Author:
pguyot@…
Message:

www/lighttpd: update to 1.4.13.
No news from maintainer in 3 months, taking over.
Ticket: #10993

File:
1 edited

Legend:

Unmodified
Added
Removed
  • trunk/dports/www/lighttpd/Portfile

    r20490 r21400  
    33PortSystem 1.0
    44name              lighttpd
    5 version           1.4.11
    6 revision          1
     5version           1.4.13
    76categories        www
    8 maintainers       jstetser@icongarden.com
     7maintainers       pguyot@kallisys.net
    98description       A secure, fast, compliant and flexible web-server
    109long_description  lighttpd is a secure, fast, compliant and very flexible\
     
    1413homepage          http://www.lighttpd.net/
    1514master_sites      ${homepage}/download/
    16 checksums         ${distname}.tar.gz sha1 ca904d3d4d9dde76f85156f2c709a394f30e28c8 \
    17                   lighttpd.conf sha1 b13edd7e9f7da3761f4e152ff92d5f34044bd91d
     15checksums         ${distname}.tar.gz \
     16                    md5 d775d6478391b95d841a1018c8db0b95 \
     17                    sha1 b17553e66609f85baec50263712a4a5aeca50ca5 \
     18                    rmd160 4e67e42dc3692d50c044561cc903de7b906f260c
    1819depends_lib       port:pcre \
    1920                  port:zlib
     21patchfiles        patch-doc-lighttpd.conf
     22
     23post-patch {
     24        reinplace "s|__PREFIX|${prefix}|g" "${worksrcpath}/doc/lighttpd.conf"
     25}
    2026
    2127configure.args    --mandir=${prefix}/share/man
     28
     29# Startup item.
     30set lighttpd_config_name   lighttpd.conf
     31set lighttpd_config        ${prefix}/etc/${name}/${lighttpd_config_name}
     32set lighttpd_pidfile_name  lighttpd.pid
     33set lighttpd_pidfile       ${prefix}/var/run/${lighttpd_pidfile_name}
     34
     35startupitem.create  yes
     36startupitem.init    "PIDFILE=${lighttpd_pidfile}"
     37startupitem.start   "${prefix}/sbin/lighttpd -f ${lighttpd_config}"
     38startupitem.stop    "kill \$(cat \$PIDFILE)"
    2239
    2340post-destroot {
    2441   file mkdir "${destroot}${prefix}/etc/${name}/"
    2542   xinstall -m 644 -v "${worksrcpath}/doc/lighttpd.conf" \
    26                       "${destroot}${prefix}/etc/${name}/lighttpd.conf.default"
     43                      "${destroot}${lighttpd_config}.default"
    2744}
     45
     46post-install {
     47  ui_msg "\n Before starting lighttpd it must be configured.\n\
     48    Lighttpd is configured by editing ${lighttpd_config}\n\
     49    There's a sample config file at ${lighttpd_config}.default.\n\
     50    Please note that the launchd daemon relies on the PID being at\n\
     51    ${lighttpd_pidfile}."
     52}
     53
    2854
    2955platform darwin 8 {
     
    75101   configure.args-append --with-webdav-props
    76102}
    77 
Note: See TracChangeset for help on using the changeset viewer.