View | Details | Raw Unified | Return to bug 154834
Collapse All | Expand All

(-)/usr/ports/www/varnish/Makefile (-5 / +4 lines)
Lines 6-23 Link Here
6
#
6
#
7
7
8
PORTNAME=	varnish
8
PORTNAME=	varnish
9
PORTVERSION=	2.1.4
9
PORTVERSION=	2.1.5
10
PORTREVISION=	1
11
CATEGORIES=	www
10
CATEGORIES=	www
12
MASTER_SITES=	http://www.varnish-software.com/sites/default/files/
11
MASTER_SITES=	http://repo.varnish-cache.org/source/
13
12
14
MAINTAINER=	des@FreeBSD.org
13
MAINTAINER=	des@FreeBSD.org
15
COMMENT=	The Varnish high-performance HTTP accelerator
14
COMMENT=	The Varnish high-performance HTTP accelerator
16
15
17
LICENSE=	BSD
18
19
LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre
16
LIB_DEPENDS=	pcre.0:${PORTSDIR}/devel/pcre
20
17
18
LICENSE=	BSD
19
21
GNU_CONFIGURE=	yes
20
GNU_CONFIGURE=	yes
22
USE_GMAKE=	yes
21
USE_GMAKE=	yes
23
CONFIGURE_ARGS=	--localstatedir=${PREFIX}
22
CONFIGURE_ARGS=	--localstatedir=${PREFIX}
(-)/usr/ports/www/varnish/distinfo (-3 / +2 lines)
Lines 1-3 Link Here
1
MD5 (varnish-2.1.4.tar.gz) = e794a37b6fbb786a083c0946103ae103
1
SHA256 (varnish-2.1.5.tar.gz) = 2d8049be14ada035d0e3a54c2b519143af40d03d917763cf72d53d8188e5ef83
2
SHA256 (varnish-2.1.4.tar.gz) = 474913110458fd0989a5cddf8f67011fc1d20bb1cd61e85cbef99147acb6ac8e
2
SIZE (varnish-2.1.5.tar.gz) = 1530856
3
SIZE (varnish-2.1.4.tar.gz) = 1539241
(-)/usr/ports/www/varnish/files/patch-r5461 (-17 lines)
Lines 1-17 Link Here
1
Index: bin/varnishd/cache_fetch.c
2
===================================================================
3
--- bin/varnishd/cache_fetch.c	(revision 5460)
4
+++ bin/varnishd/cache_fetch.c	(revision 5461)
5
@@ -552,9 +552,11 @@
6
 		assert(uu == sp->obj->len);
7
 	}
8
 
9
-	if (mklen > 0)
10
+	if (mklen > 0) {
11
+		http_Unset(sp->obj->http, H_Content_Length);
12
 		http_PrintfHeader(sp->wrk, sp->fd, sp->obj->http,
13
 		    "Content-Length: %u", sp->obj->len);
14
+	}
15
 
16
 	if (http_HdrIs(hp, H_Connection, "close"))
17
 		cls = 1;

Return to bug 154834