pkgsrc/www/lighttpd/options.mk

84 lines
1.9 KiB
Makefile
Raw Normal View History

# $NetBSD: options.mk,v 1.6 2007/02/22 19:27:20 wiz Exp $
PKG_OPTIONS_VAR = PKG_OPTIONS.lighttpd
PKG_SUPPORTED_OPTIONS= bzip fam gdbm inet6 ldap lua mysql ssl memcache
PKG_SUGGESTED_OPTIONS= inet6 ssl
.include "../../mk/bsd.options.mk"
###
### Allow using bzip as a compression method in the "compress" module.
###
.if !empty(PKG_OPTIONS:Mbzip)
. include "../../archivers/bzip2/buildlink3.mk"
CONFIGURE_ARGS+= --with-bzip2
.endif
###
### Use FAM to optimize number of stat() syscalls used.
###
.if !empty(PKG_OPTIONS:Mfam)
. include "../../mk/fam.buildlink3.mk"
CONFIGURE_ARGS+= --with-fam
.endif
###
### Support using GDBM for storage in the "trigger before download" module.
###
.if !empty(PKG_OPTIONS:Mgdbm)
. include "../../databases/gdbm/buildlink3.mk"
CONFIGURE_ARGS+= --with-gdbm
.endif
###
### IPv6 support.
###
.if !empty(PKG_OPTIONS:Minet6)
CONFIGURE_ARGS+= --enable-ipv6
.else
CONFIGURE_ARGS+= --disable-ipv6
.endif
###
### Allow using LDAP for "basic" authentication.
###
.if !empty(PKG_OPTIONS:Mldap)
. include "../../databases/openldap-client/buildlink3.mk"
CONFIGURE_ARGS+= --with-ldap
.endif
###
### Support enabling the Cache Meta Language module with the Lua engine.
###
.if !empty(PKG_OPTIONS:Mlua)
. include "../../lang/lua/buildlink3.mk"
USE_TOOLS+= pkg-config
CONFIGURE_ARGS+= --with-lua
.endif
###
### Support using memcached as an in-memory caching system for the
### "trigger before download" and CML modules.
###
Update lighttpd to 1.4.6. Take maintainership. Activate memcache option, now that devel/libmemcache is imported. From NEWS: - 1.4.6 - 2005-10-09 * fixed compilation on MacOS X and cygwin * fixed compressed output if caching was disabled (seen in IE and Opera) * fixed range-request option * fixed mysql-vhost module (was broken in 1.4.5) * fixed false positive in the detection of case-insensitive FS - 1.4.5 - 2005-10-02 * added all DeltaV methods as known methods * added buffer-to-disk of request content * added warning for unused variables in conditionals * added global index-generators to mod_indexfile * fixed caching for remote-ip conditionals with keep-alive * fixed redirects with content * fixed infinite loop in exec-cmd in mod_ssi * fixed segfault in config handling for mod_mysql_vhost * fixed segfault on FIFOs/Sockets * fixed possible crash on uninit memory if If-Modified-Since was too long * fixed accounting of mem-chunks * fixed starving of connections on high load * fixed crc errors in mod_compress on 64bit platforms * fixed handling of overlapping fastcgi packets (bug added in 1.4.4) * fixed logic of conditionals if a header was not set * fixed a segfault in mod_rewrite if %1 references were used * fixed handling of empty request URIs in HTTP requests - 1.4.4 - 2005-09-16 * added support for %V in mod_accesslog * added a option for a FastCGI responser to send static files * added md5 and blowfish hashes to htpasswd * fixed METHOD in mod_accesslog of WebDAV methods * fixed check for permission before files in sent * fixed mod-proxy and content for non-POST requests * fixed compilation of mod_cml on MacOS X * fixed SSL errmsg after accept() * fixed memleak in stat-cache * fixed aborted connections if file was moved while in transfer * fixed mem-usage for large FastCGI transfers
2005-10-11 17:44:00 +02:00
.if !empty(PKG_OPTIONS:Mmemcache)
. include "../../devel/libmemcache/buildlink3.mk"
CONFIGURE_ARGS+= --with-memcache
.endif
###
### Allow using MySQL for virtual host configuration.
###
.if !empty(PKG_OPTIONS:Mmysql)
. include "../../mk/mysql.buildlink3.mk"
MYSQL_CONFIG?= ${BUILDLINK_PREFIX.mysql-client}/bin/mysql_config
CONFIGURE_ARGS+= --with-mysql=${MYSQL_CONFIG:Q}
.endif
###
### HTTPS support
###
.if !empty(PKG_OPTIONS:Mssl)
. include "../../security/openssl/buildlink3.mk"
CONFIGURE_ARGS+= --with-openssl=${SSLBASE:Q}
.endif