5f4daff7e0
Includes new startup scripts. Summary of changes from 2.1.3 to 2.1.4 * A bug in the binary heap layout caused inflated object counts, this has been fixed. * Much more comprehensive documentation. * A DNS director that uses DNS lookups for choosing which backend to route requests to has been added. * The client director now uses the variable client.identity for choosing which backend to send a given request to. * String representation of now, making it easier to add Expires headers * Portability fixes for Solaris. * Various bug fixes. Summary of changes from 2.1.2 to 2.1.3 * The scalability of critbit, the default hashing method, has been improved. * A bug in varnishd would in some cases confuse varnishncsa leading to lost or wrong log lines. * Some bugs in the handling of Range requests has been fixed. This only matters if you enable Range support. * Add «log» command to VCL which will log to the Varnish log. Summary of changes from 2.1.1 to 2.1.2 * When adding Range support in 2.1.1 an error was introduced. Garbage was appended to some objects. This affected some load balancers - but clients seemed not to be affected. Summary of changes from 2.1.0 to 2.1.1 * Experimental support for the Range header, must be enabled with the http_range_support parameter. * A bug in workspace rollback prevented ESI from working correctly in all situations. This is now fixed. * A race condition and a deadlock in the critbit hasher have been fixed. * HEAD requests are no longer converted to GET requests for pass and pipe. * Support for completely obliterating objects including all variants («nuke»). See http://varnish-cache.org/changeset/4668 for details Summary of changes from 2.0.6 to 2.1.0 Varnish 2.1.0 has just been released. It contains lots of changes relative to 2.0.6, the most important ones being: * Experimental support for persistent cache * The regular expression engine is now PCRE * Saint mode, where we can serve a cached object if the backend is down or otherwise faulty. * A more scalable hashing method called critbit * Increased scalability, removing a limitation of maximum 64k connections * obj_workspace is removed, this is now scaled automatically * Hashing and client IP based directors Note: The release has some syntaxchanges in VCL, please read the full changelog
59 lines
1.5 KiB
Makefile
59 lines
1.5 KiB
Makefile
# $NetBSD: Makefile,v 1.8 2010/12/06 14:25:44 wiz Exp $
|
|
#
|
|
|
|
DISTNAME= varnish-2.1.4
|
|
CATEGORIES= www
|
|
MASTER_SITES= http://www.varnish-software.com/sites/default/files/
|
|
|
|
MAINTAINER= pkgsrc-users@NetBSD.org
|
|
HOMEPAGE= http://varnish-cache.org/
|
|
COMMENT= High-performace HTTP accelerator
|
|
LICENSE= modified-bsd
|
|
|
|
PKG_DESTDIR_SUPPORT= user-destdir
|
|
|
|
GNU_CONFIGURE= yes
|
|
USE_LIBTOOL= yes
|
|
USE_TOOLS+= autoconf pkg-config gmake
|
|
BUILD_DEFS+= VARBASE
|
|
|
|
EGDIR= ${PREFIX}/share/examples/varnish
|
|
PKG_SYSCONFSUBDIR= varnish
|
|
CONF_FILES= ${EGDIR}/default.vcl ${PKG_SYSCONFDIR}/default.vcl
|
|
|
|
VRNUSER?= varnish
|
|
VRNGROUP?= ${VRNUSER}
|
|
STATEDIR= ${VARBASE}/db
|
|
VRNDIR= ${STATEDIR}/${PKGBASE}
|
|
|
|
CONFIGURE_ARGS+= --localstatedir=${STATEDIR}
|
|
OWN_DIRS+= ${VRNDIR}
|
|
OWN_DIRS_PERMS+= ${VRNDIR} ${VRNUSER} ${VRNGROUP} 0770
|
|
|
|
PKG_GROUPS+= ${VRNGROUP}
|
|
PKG_USERS+= ${VRNUSER}:${VRNGROUP}
|
|
PKG_HOME.${VRNUSER}= ${VRNDIR}
|
|
PKG_SHELL.${VRNUSER}= ${SH}
|
|
PKG_GECOS.${VRNUSER}= Varnish daemon user
|
|
|
|
RCD_SCRIPTS= varnishd varnishlog varnishncsa
|
|
|
|
.include "../../lang/python/pyversion.mk"
|
|
BUILD_DEPENDS+= ${PYPKGPREFIX}-docutils>=0.5:../../textproc/py-docutils
|
|
|
|
.include "../../devel/pcre/buildlink3.mk"
|
|
.include "../../mk/bsd.prefs.mk"
|
|
|
|
.if ${OPSYS} == "SunOS"
|
|
. if ${PKGSRC_COMPILER} == "sunpro"
|
|
CONFIGURE_ENV+= VCC="cc -Kpic -G -o %o %s"
|
|
. else
|
|
CONFIGURE_ENV+= VCC_CC="gcc -fpic -shared -o %o %s"
|
|
. endif
|
|
.endif
|
|
|
|
pre-configure:
|
|
cd ${WRKSRC} && autoconf
|
|
|
|
.include "../../mk/pthread.buildlink3.mk"
|
|
.include "../../mk/bsd.pkg.mk"
|