Mon Mar 8 13:24:01 2010 UTC ()
Updated www/varnish to 2.0.6.

2.0.6:
- Fix off-by-one error in ESI handling
- Bug fixes related to session lingering
- Backend probes should now work correctly with more servers
- Portability fixes
- Make it possible to specify the per-thread stack size, useful for 32 bit
  systems

2.0.5:
- Performance improvements, particularly on Linux.
- Implement support for HTTP continuation lines
- Handle illegal responses from the backend better by serving a 503 page
  rather than panic-ing
- Add backtrace to assertion errors. This requires Varnish to be installed
  unstripped
- Consume less memory when processing ESI
- Better standards compliance with If-None-Match support and emitting more
  headers on 304 responses
- Add a FetchError? log tag which makes it easier to understand why a
  backend fetch failed.

pkgsrc changes:
- Proper EGDIR/SYSCONFDIR support.
- Default user, directory, ownership and permissions support.
- Rudimentary fix for gcc vs. sunpro on Solaris, as used by varnish
  to compile config files.


(fhajny)
diff -r1.5 -r1.6 pkgsrc/www/varnish/Makefile
diff -r1.3 -r1.4 pkgsrc/www/varnish/PLIST
diff -r1.3 -r1.4 pkgsrc/www/varnish/distinfo

cvs diff -r1.5 -r1.6 pkgsrc/www/varnish/Makefile (expand / switch to unified diff)

--- pkgsrc/www/varnish/Makefile 2009/05/19 08:59:38 1.5
+++ pkgsrc/www/varnish/Makefile 2010/03/08 13:24:01 1.6
@@ -1,23 +1,59 @@ @@ -1,23 +1,59 @@
1# $NetBSD: Makefile,v 1.5 2009/05/19 08:59:38 wiz Exp $ 1# $NetBSD: Makefile,v 1.6 2010/03/08 13:24:01 fhajny Exp $
2# 2#
3 3
4DISTNAME= varnish-2.0.4 4DISTNAME= varnish-2.0.6
5CATEGORIES= www 5CATEGORIES= www
6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=varnish/} 6MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=varnish/}
7 7
8MAINTAINER= pkgsrc-users@NetBSD.org 8MAINTAINER= pkgsrc-users@NetBSD.org
9HOMEPAGE= http://varnish-cache.org/ 9HOMEPAGE= http://varnish-cache.org/
10COMMENT= High-performace HTTP accelerator 10COMMENT= High-performace HTTP accelerator
11LICENSE= modified-bsd 11LICENSE= modified-bsd
12 12
13PKG_DESTDIR_SUPPORT= user-destdir 13PKG_DESTDIR_SUPPORT= user-destdir
14 14
15GNU_CONFIGURE= yes 15GNU_CONFIGURE= yes
16USE_LIBTOOL= yes 16USE_LIBTOOL= yes
17USE_TOOLS+= autoconf 17USE_TOOLS+= autoconf
 18BUILD_DEFS+= VARBASE
 19
 20EGDIR= ${PREFIX}/share/examples/varnish
 21PKG_SYSCONFSUBDIR= varnish
 22CONF_FILES= ${EGDIR}/default.vcl ${PKG_SYSCONFDIR}/default.vcl
 23
 24VRNUSER?= varnish
 25VRNGROUP?= ${VRNUSER}
 26STATEDIR= ${VARBASE}/db
 27VRNDIR= ${STATEDIR}/${PKGBASE}
 28
 29CONFIGURE_ARGS+= --localstatedir=${STATEDIR}
 30OWN_DIRS+= ${VRNDIR}
 31OWN_DIRS_PERMS+= ${VRNDIR} ${VRNUSER} ${VRNGROUP} 0770
 32
 33PKG_GROUPS+= ${VRNGROUP}
 34PKG_USERS+= ${VRNUSER}:${VRNGROUP}
 35PKG_HOME.${VRNUSER}= ${VRNDIR}
 36PKG_SHELL.${VRNUSER}= ${SH}
 37PKG_GECOS.${VRNUSER}= Varnish daemon user
 38
 39SUBST_CLASSES+= pkg
 40SUBST_STAGE.pkg= post-patch
 41SUBST_MESSAGE.pkg= Fixing pkgsrc paths
 42SUBST_FILES.pkg= etc/Makefile.in
 43SUBST_SED.pkg= -e 's,@EGDIR@,${EGDIR},'
 44
 45.include "../../mk/bsd.prefs.mk"
 46
 47.if ${OPSYS} == "SunOS"
 48. if ${PKGSRC_COMPILER} == "sunpro"
 49CONFIGURE_ENV+= VCC="cc -Kpic -G -o %o %s"
 50. else
 51CONFIGURE_ENV+= VCC_CC="gcc -fpic -shared -o %o %s"
 52. endif
 53.endif
18 54
19pre-configure: 55pre-configure:
20 cd ${WRKSRC} && autoconf 56 cd ${WRKSRC} && autoconf
21 57
22.include "../../mk/pthread.buildlink3.mk" 58.include "../../mk/pthread.buildlink3.mk"
23.include "../../mk/bsd.pkg.mk" 59.include "../../mk/bsd.pkg.mk"

cvs diff -r1.3 -r1.4 pkgsrc/www/varnish/PLIST (expand / switch to unified diff)

--- pkgsrc/www/varnish/PLIST 2009/06/14 22:00:39 1.3
+++ pkgsrc/www/varnish/PLIST 2010/03/08 13:24:01 1.4
@@ -1,31 +1,31 @@ @@ -1,31 +1,31 @@
1@comment $NetBSD: PLIST,v 1.3 2009/06/14 22:00:39 joerg Exp $ 1@comment $NetBSD: PLIST,v 1.4 2010/03/08 13:24:01 fhajny Exp $
2bin/varnishadm 2bin/varnishadm
3bin/varnishhist 3bin/varnishhist
4bin/varnishlog 4bin/varnishlog
5bin/varnishncsa 5bin/varnishncsa
6bin/varnishreplay 6bin/varnishreplay
7bin/varnishstat 7bin/varnishstat
8bin/varnishtest 8bin/varnishtest
9bin/varnishtop 9bin/varnishtop
10etc/varnish/default.vcl 
11include/varnish/shmlog.h 10include/varnish/shmlog.h
12include/varnish/shmlog_tags.h 11include/varnish/shmlog_tags.h
13include/varnish/stat_field.h 12include/varnish/stat_field.h
14include/varnish/stats.h 13include/varnish/stats.h
15include/varnish/varnishapi.h 14include/varnish/varnishapi.h
16lib/libvarnish.la 15lib/libvarnish.la
17lib/libvarnishapi.la 16lib/libvarnishapi.la
18lib/libvarnishcompat.la 17lib/libvarnishcompat.la
19lib/libvcl.la 18lib/libvcl.la
20lib/pkgconfig/varnishapi.pc 19lib/pkgconfig/varnishapi.pc
21man/man1/varnishadm.1 20man/man1/varnishadm.1
22man/man1/varnishd.1 21man/man1/varnishd.1
23man/man1/varnishhist.1 22man/man1/varnishhist.1
24man/man1/varnishlog.1 23man/man1/varnishlog.1
25man/man1/varnishncsa.1 24man/man1/varnishncsa.1
26man/man1/varnishreplay.1 25man/man1/varnishreplay.1
27man/man1/varnishstat.1 26man/man1/varnishstat.1
28man/man1/varnishtest.1 27man/man1/varnishtest.1
29man/man1/varnishtop.1 28man/man1/varnishtop.1
30man/man7/vcl.7 29man/man7/vcl.7
31sbin/varnishd 30sbin/varnishd
 31share/examples/varnish/default.vcl

cvs diff -r1.3 -r1.4 pkgsrc/www/varnish/distinfo (expand / switch to unified diff)

--- pkgsrc/www/varnish/distinfo 2009/04/11 19:03:53 1.3
+++ pkgsrc/www/varnish/distinfo 2010/03/08 13:24:01 1.4
@@ -1,6 +1,6 @@ @@ -1,6 +1,6 @@
1$NetBSD: distinfo,v 1.3 2009/04/11 19:03:53 spz Exp $ 1$NetBSD: distinfo,v 1.4 2010/03/08 13:24:01 fhajny Exp $
2 2
3SHA1 (varnish-2.0.4.tar.gz) = 7a7b1ce657b64c89025d61983b84d6ebf88dfbb2 3SHA1 (varnish-2.0.6.tar.gz) = c688d7825d52b2f21a368cb332564abe62227595
4RMD160 (varnish-2.0.4.tar.gz) = 93f94555f42205ff5f324e76acb121c8da71f6e9 4RMD160 (varnish-2.0.6.tar.gz) = 5b3827ae4de7be27442d68283bd8e4bd57a13199
5Size (varnish-2.0.4.tar.gz) = 786945 bytes 5Size (varnish-2.0.6.tar.gz) = 810518 bytes
6SHA1 (patch-aa) = c0216a4b4c73b43567a6402a14a64c7597d5c4b9 6SHA1 (patch-aa) = c0216a4b4c73b43567a6402a14a64c7597d5c4b9