Added a patch from svn that fixes doc/changes-2.0.6-2.1.0.xml

This commit is contained in:
Ingvar Hagelund 2010-04-14 20:34:34 +00:00
parent 2ecc71890e
commit 964195a5e6
2 changed files with 67 additions and 3 deletions

View File

@ -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 @@
<!DOCTYPE group [
<!ENTITY mdash "&#8212;">
]>
-<!-- $Id: changes-2.0.6-2.1.0.xml 4641 2010-03-24 10:36:56Z tfheen $ -->
+<!-- $Id: changes-2.0.6-2.1.0.xml 4643 2010-03-24 12:41:53Z tfheen $ -->
<group from="2.0.6" to="2.1.0">
<subsystem>
<name>varnishd</name>
@@ -48,7 +48,7 @@
<para>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.</para>
</change>
<change type="enh">
@@ -176,7 +176,7 @@
<change type="enh">
<para><code>purge.hash</code> is now deprecated and no longer
- shown in help listings.</code>.</para>
+ shown in help listings.</para>
</change>
<change type="enh" ref="607">
@@ -298,11 +298,19 @@
<para>Exit at the end of the file when started
with <code>-d</code>.</para>
</change>
+ </subsystem>
+ <subsystem>
+ <name>varnishadm</name>
-varnishadm:
- - timeout support
- - secret support
- - handle cli banner
+ <change type="enh">
+ <para><code>varnishadm</code> can now have a timeout when trying
+ to connect to the running <code>varnishd</code>.</para>
+ </change>
+ <change type="enh">
+ <para><code>varnishadm</code> now knows how to respond to the
+ secret from a secured <code>varnishd</code></para>
+ </change>
+ </subsystem>
</group>

View File

@ -1,7 +1,7 @@
Summary: High-performance HTTP accelerator Summary: High-performance HTTP accelerator
Name: varnish Name: varnish
Version: 2.1.0 Version: 2.1.0
Release: 1%{?dist} Release: 2%{?dist}
License: BSD License: BSD
Group: System Environment/Daemons Group: System Environment/Daemons
URL: http://www.varnish-cache.org/ URL: http://www.varnish-cache.org/
@ -9,11 +9,12 @@ URL: http://www.varnish-cache.org/
Source0: http://downloads.sourceforge.net/varnish/varnish-2.1.tar.gz Source0: http://downloads.sourceforge.net/varnish/varnish-2.1.tar.gz
patch0: varnish.S-option.patch patch0: varnish.S-option.patch
patch1: varnish.floor.patch patch1: varnish.floor.patch
patch2: varnish.changes-2.1.0.patch
BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n) BuildRoot: %{_tmppath}/%{name}-%{version}-%{release}-root-%(%{__id_u} -n)
# The svn sources needs autoconf, automake and libtool to generate a suitable # The svn sources needs autoconf, automake and libtool to generate a suitable
# configure script. Release tarballs would not need this # configure script. Release tarballs would not need this
BuildRequires: automake autoconf libtool BuildRequires: automake autoconf libtool
BuildRequires: ncurses-devel libxslt groff pcre-devel pkgconfig BuildRequires: ncurses-devel libxslt groff pcre-devel pkgconfig pcre
Requires: varnish-libs = %{version}-%{release} Requires: varnish-libs = %{version}-%{release}
Requires: logrotate Requires: logrotate
Requires: ncurses Requires: ncurses
@ -74,6 +75,7 @@ Varnish is a high-performance HTTP accelerator
%patch0 %patch0
%patch1 %patch1
%patch2
# Makefile.am was patched. Needs to rerun autoconf # Makefile.am was patched. Needs to rerun autoconf
./autogen.sh ./autogen.sh
@ -109,6 +111,11 @@ cp bin/varnishd/default.vcl etc/zope-plone.vcl examples
%configure --disable-static --localstatedir=/var/lib %configure --disable-static --localstatedir=/var/lib
%endif %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 # We have to remove rpath - not allowed in Fedora
# (This problem only visible on 64 bit arches) # (This problem only visible on 64 bit arches)
sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g; sed -i 's|^hardcode_libdir_flag_spec=.*|hardcode_libdir_flag_spec=""|g;
@ -256,8 +263,12 @@ fi
%postun libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig
%changelog %changelog
* Wed Apr 14 2010 Ingvar Hagelund <ingvar@linpro.no> - 2.1.0-2
- Added a patch from svn that fixes doc/changes-2.0.6-2.1.0.xml
* Tue Apr 06 2010 Ingvar Hagelund <ingvar@linpro.no> - 2.1.0-1 * Tue Apr 06 2010 Ingvar Hagelund <ingvar@linpro.no> - 2.1.0-1
- New upstream release; note: Configuration changes, see the README - New upstream release; note: Configuration changes, see
doc/changes-2.1.0.html
- Removed unneeded patches - Removed unneeded patches
- CVE-2009-2936: Added a patch from Debian that adds the -S option - CVE-2009-2936: Added a patch from Debian that adds the -S option
to the varnisdh(1) manpage and to the sysconfig defaults, thus to the varnisdh(1) manpage and to the sysconfig defaults, thus