PortGroup old_openssl 1.0
set branch [join [lrange [split ${version} .] 0 1] .]
description Cherokee web server
Cherokee is a relatively new HTTP server designed to be as\
performant as Apache and lighttpd, but much easier to \
configure and maintain. It ships out-of-the-box SCGI \
support, making it ideal for deploying dynamic websites.
homepage http://www.cherokee-project.com/
master_sites ${homepage}download/${branch}/${version}
checksums md5 ef47003355a2e368e4d9596cd070ef23 \
sha1 b27f149c7d7111207ac8c3cd8a4856c05490d136 \
rmd160 dd3dedc352ba17bdcefd8e200143b8ffa19ad035
openssl.configure build_flags
set cherokee_config_name cherokee.conf
set cherokee_config ${prefix}/etc/${name}/${cherokee_config_name}
set cherokee_pidfile_name cherokee.pid
set cherokee_pidfile ${prefix}/var/run/${cherokee_pidfile_name}
startupitem.init "PIDFILE=${cherokee_pidfile}"
startupitem.start "${prefix}/sbin/cherokee -C ${cherokee_config}"
startupitem.stop "kill \$(cat \$PIDFILE)"
variant no_startupitem description {Do not create a startup item} {
variant no_ipv6 description {Disable IPv6 support} {
configure.args-append --disable-ipv6
variant no_pam description {Disable PAM support} {
configure.args-append --disable-pam
variant trace description {Allows debugging options} {
configure.args-append --enable-trace
variant no_epoll description {Disable epoll() support} {
configure.args-append --disable-epoll