New upstream release 2.0.2. A bugfix release

This commit is contained in:
Ingvar Hagelund 2008-11-17 13:21:29 +00:00
parent 03d8e1afcd
commit 0f6f11da21
4 changed files with 52 additions and 7 deletions

View File

@ -1 +1 @@
varnish-2.0.1.tar.gz varnish-2.0.2.tar.gz

View File

@ -1 +1 @@
f23fbdf493abd2262d45d3d1c26b4481 varnish-2.0.1.tar.gz 131f502a9a507b9ce0a7a91b22528e0c varnish-2.0.2.tar.gz

View File

@ -1,17 +1,18 @@
Summary: Varnish is a high-performance HTTP accelerator Summary: Varnish is a high-performance HTTP accelerator
Name: varnish Name: varnish
Version: 2.0.1 Version: 2.0.2
Release: 1%{?dist} Release: 1%{?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/
Source0: http://downloads.sourceforge.net/varnish/varnish-%{version}.tar.gz Source0: http://downloads.sourceforge.net/varnish/varnish-%{version}.tar.gz
Patch0: varnish.varnishtest_debugflag.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 BuildRequires: ncurses-devel libxslt groff
Requires: kernel >= 2.6.0 varnish-libs = %{version}-%{release} Requires: varnish-libs = %{version}-%{release}
Requires: logrotate Requires: logrotate
Requires: ncurses Requires: ncurses
Requires(pre): shadow-utils Requires(pre): shadow-utils
@ -43,7 +44,7 @@ Varnish is a high-performance HTTP accelerator.
Summary: Development files for %{name}-libs Summary: Development files for %{name}-libs
Group: System Environment/Libraries Group: System Environment/Libraries
BuildRequires: ncurses-devel BuildRequires: ncurses-devel
Requires: kernel >= 2.6.0 varnish-libs = %{version}-%{release} Requires: varnish-libs = %{version}-%{release}
%description libs-devel %description libs-devel
Development files for %{name}-libs Development files for %{name}-libs
@ -53,7 +54,7 @@ Varnish is a high-performance HTTP accelerator
#Summary: Files for static linking of %{name} library functions #Summary: Files for static linking of %{name} library functions
#Group: System Environment/Libraries #Group: System Environment/Libraries
#BuildRequires: ncurses-devel #BuildRequires: ncurses-devel
#Requires: kernel >= 2.6.0 varnish-libs-devel = %{version}-%{release} #Requires: varnish-libs-devel = %{version}-%{release}
# #
#%description libs-static #%description libs-static
#Files for static linking of varnish library functions #Files for static linking of varnish library functions
@ -63,6 +64,8 @@ Varnish is a high-performance HTTP accelerator
%setup -q %setup -q
#%setup -q -n varnish-cache #%setup -q -n varnish-cache
%patch0
# The svn sources needs to generate a suitable configure script # The svn sources needs to generate a suitable configure script
# Release tarballs would not need this # Release tarballs would not need this
#./autogen.sh #./autogen.sh
@ -122,6 +125,13 @@ tail -n +11 etc/default.vcl >> redhat/default.vcl
%endif %endif
%check %check
# rhel5 on ppc64 is just too strange
%ifarch ppc64
%if 0%{?rhel} > 4
cp bin/varnishd/.libs/varnishd bin/varnishd/lt-varnishd
%endif
%endif
LD_LIBRARY_PATH="lib/libvarnish/.libs:lib/libvarnishcompat/.libs:lib/libvarnishapi/.libs:lib/libvcl/.libs" bin/varnishd/varnishd -b 127.0.0.1:80 -C -n /tmp/foo LD_LIBRARY_PATH="lib/libvarnish/.libs:lib/libvarnishcompat/.libs:lib/libvarnishapi/.libs:lib/libvcl/.libs" bin/varnishd/varnishd -b 127.0.0.1:80 -C -n /tmp/foo
%{__make} check LD_LIBRARY_PATH="../../lib/libvarnish/.libs:../../lib/libvarnishcompat/.libs:../../lib/libvarnishapi/.libs:../../lib/libvcl/.libs" %{__make} check LD_LIBRARY_PATH="../../lib/libvarnish/.libs:../../lib/libvarnishcompat/.libs:../../lib/libvarnishapi/.libs:../../lib/libvcl/.libs"
@ -220,13 +230,25 @@ fi
%postun libs -p /sbin/ldconfig %postun libs -p /sbin/ldconfig
%changelog %changelog
* Mon Nov 10 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0.2-1
New upstream release 2.0.2. A bugfix release
* Sun Nov 02 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0.1-2
- Removed the requirement for kernel => 2.6.0. All supported
platforms meets this, and it generates strange errors in EPEL
* Fri Oct 17 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0.1-1 * Fri Oct 17 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0.1-1
- 2.0.1 released, a bugfix release. New upstream sources - 2.0.1 released, a bugfix release. New upstream sources
- Package now also available in EPEL
* Thu Oct 16 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-2
- Readded the debugflag patch. It's so practical
- Added a strange workaround for make check on ppc64
* Wed Oct 15 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-1 * Wed Oct 15 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-1
- 2.0 released. New upstream sources - 2.0 released. New upstream sources
- Disabled jemalloc on ppc and ppc64. Added a note in README.redhat - Disabled jemalloc on ppc and ppc64. Added a note in README.redhat
- Synced to upstream again. No more patches needed. - Synced to upstream again. No more patches needed
* Wed Oct 08 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.11.rc1 * Wed Oct 08 2008 Ingvar Hagelund <ingvar@linpro.no> - 2.0-0.11.rc1
- 2.0-rc1 released. New upstream sources - 2.0-rc1 released. New upstream sources

View File

@ -0,0 +1,23 @@
diff -Naur ../varnish-2.0.2.orig/bin/varnishtest/Makefile.am ./bin/varnishtest/Makefile.am
--- ../varnish-2.0.2.orig/bin/varnishtest/Makefile.am 2008-11-14 13:24:08.000000000 +0100
+++ ./bin/varnishtest/Makefile.am 2008-11-17 13:40:05.964237951 +0100
@@ -1,6 +1,6 @@
# $Id: Makefile.am 3374 2008-11-10 10:12:28Z tfheen $
-TESTS_ENVIRONMENT = ./varnishtest
+TESTS_ENVIRONMENT = ./varnishtest -v
TESTS = $(srcdir)/tests/*.vtc
DISTCLEANFILES = _.ok
diff -Naur ../varnish-2.0.2.orig/bin/varnishtest/Makefile.in ./bin/varnishtest/Makefile.in
--- ../varnish-2.0.2.orig/bin/varnishtest/Makefile.in 2008-11-14 13:59:33.000000000 +0100
+++ ./bin/varnishtest/Makefile.in 2008-11-17 13:40:51.503384938 +0100
@@ -204,7 +204,7 @@
top_builddir = @top_builddir@
top_srcdir = @top_srcdir@
varnishconfdir = @varnishconfdir@
-TESTS_ENVIRONMENT = ./varnishtest
+TESTS_ENVIRONMENT = ./varnishtest -v
TESTS = $(srcdir)/tests/*.vtc
DISTCLEANFILES = _.ok
INCLUDES = -I$(top_srcdir)/include