From bc6386071cc35350a63c5d204337332e71612321 Mon Sep 17 00:00:00 2001 From: Ingvar Hagelund Date: Apr 14 2010 13:28:41 +0000 Subject: Added a patch from svn that fixes changes-2.0.6-2.1.0.xml --- diff --git a/varnish.changes-2.1.0.patch b/varnish.changes-2.1.0.patch new file mode 100644 index 0000000..460bd5f --- /dev/null +++ b/varnish.changes-2.1.0.patch @@ -0,0 +1,53 @@ +--- doc/changes-2.0.6-2.1.0.xml.orig 2010-04-14 15:16:12.308484148 +0200 ++++ doc/changes-2.0.6-2.1.0.xml 2010-04-14 15:16:28.844484368 +0200 +@@ -2,7 +2,7 @@ + + ]> +- ++ + + + varnishd +@@ -48,7 +48,7 @@ + When closing connections, we experimented with sending RST + to free up load balancers and free up threads more quickly. + This caused some problems with NAT routers and so has been +- reverted for now. ++ reverted for now. + + + +@@ -176,7 +176,7 @@ + + + purge.hash is now deprecated and no longer +- shown in help listings.. ++ shown in help listings. + + + +@@ -298,11 +298,19 @@ + Exit at the end of the file when started + with -d. + ++ + ++ ++ varnishadm + +-varnishadm: +- - timeout support +- - secret support +- - handle cli banner ++ ++ varnishadm can now have a timeout when trying ++ to connect to the running varnishd. ++ + ++ ++ varnishadm now knows how to respond to the ++ secret from a secured varnishd ++ ++ + diff --git a/varnish.spec b/varnish.spec index 7fef031..9282f91 100644 --- a/varnish.spec +++ b/varnish.spec @@ -1,7 +1,7 @@ Summary: High-performance HTTP accelerator Name: varnish Version: 2.1.0 -Release: 1%{?dist} +Release: 2%{?dist} License: BSD Group: System Environment/Daemons URL: http://www.varnish-cache.org/ @@ -9,6 +9,7 @@ URL: http://www.varnish-cache.org/ Source0: http://downloads.sourceforge.net/varnish/varnish-2.1.tar.gz patch0: varnish.S-option.patch patch1: varnish.floor.patch +patch2: varnish.changes-2.1.0.patch BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) # The svn sources needs autoconf, automake and libtool to generate a suitable # configure script. Release tarballs would not need this @@ -74,6 +75,7 @@ Varnish is a high-performance HTTP accelerator %patch0 %patch1 +%patch2 # Makefile.am was patched. Needs to rerun autoconf ./autogen.sh @@ -109,6 +111,11 @@ cp bin/varnishd/default.vcl etc/zope-plone.vcl examples %configure --disable-static --localstatedir=/var/lib %endif +# Have to regenerate the docs because of patched doc/changes-2.0.6-2.1.0.xml +pushd doc/ +make clean +popd + # We have to remove rpath - not allowed in Fedora # (This problem only visible on 64 bit arches) sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g; @@ -256,6 +263,9 @@ fi %postun libs -p /sbin/ldconfig %changelog +* Wed Apr 14 2010 Ingvar Hagelund - 2.1.0-2 +- Added a patch from svn that fixes changes-2.0.6-2.1.0.xml + * Tue Apr 06 2010 Ingvar Hagelund - 2.1.0-1 - New upstream release; note: Configuration changes, see the README - Removed unneeded patches