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.diff -r1.5 -r1.6 pkgsrc/www/varnish/Makefile
(fhajny)
@@ -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 | |||
4 | DISTNAME= varnish-2.0.4 | 4 | DISTNAME= varnish-2.0.6 | |
5 | CATEGORIES= www | 5 | CATEGORIES= www | |
6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=varnish/} | 6 | MASTER_SITES= ${MASTER_SITE_SOURCEFORGE:=varnish/} | |
7 | 7 | |||
8 | MAINTAINER= pkgsrc-users@NetBSD.org | 8 | MAINTAINER= pkgsrc-users@NetBSD.org | |
9 | HOMEPAGE= http://varnish-cache.org/ | 9 | HOMEPAGE= http://varnish-cache.org/ | |
10 | COMMENT= High-performace HTTP accelerator | 10 | COMMENT= High-performace HTTP accelerator | |
11 | LICENSE= modified-bsd | 11 | LICENSE= modified-bsd | |
12 | 12 | |||
13 | PKG_DESTDIR_SUPPORT= user-destdir | 13 | PKG_DESTDIR_SUPPORT= user-destdir | |
14 | 14 | |||
15 | GNU_CONFIGURE= yes | 15 | GNU_CONFIGURE= yes | |
16 | USE_LIBTOOL= yes | 16 | USE_LIBTOOL= yes | |
17 | USE_TOOLS+= autoconf | 17 | USE_TOOLS+= autoconf | |
18 | BUILD_DEFS+= VARBASE | |||
19 | ||||
20 | EGDIR= ${PREFIX}/share/examples/varnish | |||
21 | PKG_SYSCONFSUBDIR= varnish | |||
22 | CONF_FILES= ${EGDIR}/default.vcl ${PKG_SYSCONFDIR}/default.vcl | |||
23 | ||||
24 | VRNUSER?= varnish | |||
25 | VRNGROUP?= ${VRNUSER} | |||
26 | STATEDIR= ${VARBASE}/db | |||
27 | VRNDIR= ${STATEDIR}/${PKGBASE} | |||
28 | ||||
29 | CONFIGURE_ARGS+= --localstatedir=${STATEDIR} | |||
30 | OWN_DIRS+= ${VRNDIR} | |||
31 | OWN_DIRS_PERMS+= ${VRNDIR} ${VRNUSER} ${VRNGROUP} 0770 | |||
32 | ||||
33 | PKG_GROUPS+= ${VRNGROUP} | |||
34 | PKG_USERS+= ${VRNUSER}:${VRNGROUP} | |||
35 | PKG_HOME.${VRNUSER}= ${VRNDIR} | |||
36 | PKG_SHELL.${VRNUSER}= ${SH} | |||
37 | PKG_GECOS.${VRNUSER}= Varnish daemon user | |||
38 | ||||
39 | SUBST_CLASSES+= pkg | |||
40 | SUBST_STAGE.pkg= post-patch | |||
41 | SUBST_MESSAGE.pkg= Fixing pkgsrc paths | |||
42 | SUBST_FILES.pkg= etc/Makefile.in | |||
43 | SUBST_SED.pkg= -e 's,@EGDIR@,${EGDIR},' | |||
44 | ||||
45 | .include "../../mk/bsd.prefs.mk" | |||
46 | ||||
47 | .if ${OPSYS} == "SunOS" | |||
48 | . if ${PKGSRC_COMPILER} == "sunpro" | |||
49 | CONFIGURE_ENV+= VCC="cc -Kpic -G -o %o %s" | |||
50 | . else | |||
51 | CONFIGURE_ENV+= VCC_CC="gcc -fpic -shared -o %o %s" | |||
52 | . endif | |||
53 | .endif | |||
18 | 54 | |||
19 | pre-configure: | 55 | pre-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" |
@@ -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 $ | |
2 | bin/varnishadm | 2 | bin/varnishadm | |
3 | bin/varnishhist | 3 | bin/varnishhist | |
4 | bin/varnishlog | 4 | bin/varnishlog | |
5 | bin/varnishncsa | 5 | bin/varnishncsa | |
6 | bin/varnishreplay | 6 | bin/varnishreplay | |
7 | bin/varnishstat | 7 | bin/varnishstat | |
8 | bin/varnishtest | 8 | bin/varnishtest | |
9 | bin/varnishtop | 9 | bin/varnishtop | |
10 | etc/varnish/default.vcl | |||
11 | include/varnish/shmlog.h | 10 | include/varnish/shmlog.h | |
12 | include/varnish/shmlog_tags.h | 11 | include/varnish/shmlog_tags.h | |
13 | include/varnish/stat_field.h | 12 | include/varnish/stat_field.h | |
14 | include/varnish/stats.h | 13 | include/varnish/stats.h | |
15 | include/varnish/varnishapi.h | 14 | include/varnish/varnishapi.h | |
16 | lib/libvarnish.la | 15 | lib/libvarnish.la | |
17 | lib/libvarnishapi.la | 16 | lib/libvarnishapi.la | |
18 | lib/libvarnishcompat.la | 17 | lib/libvarnishcompat.la | |
19 | lib/libvcl.la | 18 | lib/libvcl.la | |
20 | lib/pkgconfig/varnishapi.pc | 19 | lib/pkgconfig/varnishapi.pc | |
21 | man/man1/varnishadm.1 | 20 | man/man1/varnishadm.1 | |
22 | man/man1/varnishd.1 | 21 | man/man1/varnishd.1 | |
23 | man/man1/varnishhist.1 | 22 | man/man1/varnishhist.1 | |
24 | man/man1/varnishlog.1 | 23 | man/man1/varnishlog.1 | |
25 | man/man1/varnishncsa.1 | 24 | man/man1/varnishncsa.1 | |
26 | man/man1/varnishreplay.1 | 25 | man/man1/varnishreplay.1 | |
27 | man/man1/varnishstat.1 | 26 | man/man1/varnishstat.1 | |
28 | man/man1/varnishtest.1 | 27 | man/man1/varnishtest.1 | |
29 | man/man1/varnishtop.1 | 28 | man/man1/varnishtop.1 | |
30 | man/man7/vcl.7 | 29 | man/man7/vcl.7 | |
31 | sbin/varnishd | 30 | sbin/varnishd | |
31 | share/examples/varnish/default.vcl |
@@ -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 | |||
3 | SHA1 (varnish-2.0.4.tar.gz) = 7a7b1ce657b64c89025d61983b84d6ebf88dfbb2 | 3 | SHA1 (varnish-2.0.6.tar.gz) = c688d7825d52b2f21a368cb332564abe62227595 | |
4 | RMD160 (varnish-2.0.4.tar.gz) = 93f94555f42205ff5f324e76acb121c8da71f6e9 | 4 | RMD160 (varnish-2.0.6.tar.gz) = 5b3827ae4de7be27442d68283bd8e4bd57a13199 | |
5 | Size (varnish-2.0.4.tar.gz) = 786945 bytes | 5 | Size (varnish-2.0.6.tar.gz) = 810518 bytes | |
6 | SHA1 (patch-aa) = c0216a4b4c73b43567a6402a14a64c7597d5c4b9 | 6 | SHA1 (patch-aa) = c0216a4b4c73b43567a6402a14a64c7597d5c4b9 |