Browse Source

upgrading package: varnish 2.1.4 -> 2.1.5

master
parent
commit
a5c07b4129
  1. 16
      varnish/varnish.patch
  2. 8
      varnish/varnish.spec

16
varnish/varnish.patch

@ -1,19 +1,3 @@
Index: bin/varnishd/cache_fetch.c
--- bin/varnishd/cache_fetch.c.orig 2010-10-21 10:57:22.000000000 +0200
+++ bin/varnishd/cache_fetch.c 2010-12-12 12:52:59.000000000 +0100
@@ -554,9 +554,11 @@
assert(uu == sp->obj->len);
}
- if (mklen > 0)
+ if (mklen > 0) {
+ http_Unset(sp->obj->http, H_Content_Length);
http_PrintfHeader(sp->wrk, sp->fd, sp->obj->http,
"Content-Length: %u", sp->obj->len);
+ }
if (http_HdrIs(hp, H_Connection, "close"))
cls = 1;
Index: bin/varnishd/common.h
--- bin/varnishd/common.h.orig 2010-10-21 10:57:22.000000000 +0200
+++ bin/varnishd/common.h 2010-12-12 12:52:59.000000000 +0100

8
varnish/varnish.spec

@ -22,8 +22,8 @@
##
# package version
%define V_opkg 2.1.4
%define V_dist 2.1.4
%define V_opkg 2.1.5
%define V_dist 2.1.5
# package information
Name: varnish
@ -36,10 +36,10 @@ Class: EVAL
Group: Web
License: BSD
Version: %{V_opkg}
Release: 20101212
Release: 20110129
# list of sources
Source0: http://www.varnish-software.com/sites/default/files/varnish-%{V_dist}.tar.gz
Source0: http://repo.varnish-cache.org/source/varnish-%{V_dist}.tar.gz
Source1: rc.varnish
Source2: varnish.vcl
Patch0: varnish.patch

Loading…
Cancel
Save