rpms/varnish/EL-4 varnish.varnishtest_debugflag.patch, NONE, 1.1 .cvsignore, 1.5, 1.6 sources, 1.5, 1.6 varnish.spec, 1.12, 1.13
Ingvar Hagelund
ingvar at fedoraproject.org
Fri Oct 17 21:37:14 UTC 2008
Author: ingvar
Update of /cvs/pkgs/rpms/varnish/EL-4
In directory cvs1.fedora.phx.redhat.com:/tmp/cvs-serv7756
Modified Files:
.cvsignore sources varnish.spec
Added Files:
varnish.varnishtest_debugflag.patch
Log Message:
varnish-2.0.1: Initial release for EPEL
varnish.varnishtest_debugflag.patch:
--- NEW FILE varnish.varnishtest_debugflag.patch ---
diff -Naur ../varnish-2.0-beta2.orig/bin/varnishtest/Makefile.am ./bin/varnishtest/Makefile.am
--- ../varnish-2.0-beta2.orig/bin/varnishtest/Makefile.am 2008-09-24 20:05:19.000000000 +0200
+++ ./bin/varnishtest/Makefile.am 2008-09-26 12:34:05.565663207 +0200
@@ -1,6 +1,6 @@
# $Id: Makefile.am 3139 2008-08-28 11:03:23Z tfheen $
-TESTS_ENVIRONMENT = ./varnishtest
+TESTS_ENVIRONMENT = ./varnishtest -v
TESTS = $(srcdir)/tests/*.vtc
DISTCLEANFILES = _.ok
diff -Naur ../varnish-2.0-beta2.orig/bin/varnishtest/Makefile.in ./bin/varnishtest/Makefile.in
--- ../varnish-2.0-beta2.orig/bin/varnishtest/Makefile.in 2008-09-24 20:36:06.000000000 +0200
+++ ./bin/varnishtest/Makefile.in 2008-09-26 12:36:07.190263234 +0200
@@ -199,7 +199,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
Index: .cvsignore
===================================================================
RCS file: /cvs/pkgs/rpms/varnish/EL-4/.cvsignore,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- .cvsignore 2 Sep 2008 17:54:03 -0000 1.5
+++ .cvsignore 17 Oct 2008 21:36:43 -0000 1.6
@@ -1 +1 @@
-varnish-2.0-beta1.tar.gz
+varnish-2.0.1.tar.gz
Index: sources
===================================================================
RCS file: /cvs/pkgs/rpms/varnish/EL-4/sources,v
retrieving revision 1.5
retrieving revision 1.6
diff -u -r1.5 -r1.6
--- sources 2 Sep 2008 17:54:03 -0000 1.5
+++ sources 17 Oct 2008 21:36:43 -0000 1.6
@@ -1 +1 @@
-66582fd4baa3f7fb91727fa27f41aa94 varnish-2.0-beta1.tar.gz
+f23fbdf493abd2262d45d3d1c26b4481 varnish-2.0.1.tar.gz
Index: varnish.spec
===================================================================
RCS file: /cvs/pkgs/rpms/varnish/EL-4/varnish.spec,v
retrieving revision 1.12
retrieving revision 1.13
diff -u -r1.12 -r1.13
--- varnish.spec 8 Sep 2008 22:28:30 -0000 1.12
+++ varnish.spec 17 Oct 2008 21:36:43 -0000 1.13
@@ -1,18 +1,11 @@
Summary: Varnish is a high-performance HTTP accelerator
Name: varnish
-Version: 2.0
-Release: 0.8.beta1%{?dist}
+Version: 2.0.1
+Release: 1%{?dist}
License: BSD
Group: System Environment/Daemons
URL: http://www.varnish-cache.org/
-#Source0: http://varnish.projects.linpro.no/static/varnish-cache.tar.gz
-#Source0: http://downloads.sourceforge.net/varnish/varnish-%{version}.tar.gz
-Source0: http://downloads.sourceforge.net/varnish/varnish-2.0-beta1.tar.gz
-Patch0: varnish.lockfile.patch
-Patch1: varnish.coresize.patch
-Patch2: varnish.vcl_changes.patch
-Patch3: varnish.cs3157.patch
-Patch4: varnish.endianfix.cs3170-3071.patch
+Source0: http://downloads.sourceforge.net/varnish/varnish-%{version}.tar.gz
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
@@ -67,18 +60,12 @@
#Varnish is a high-performance HTTP accelerator
%prep
-#%setup -q
-%setup -q -n varnish-2.0-beta1
-
-%patch0 -p0
-%patch1 -p0
-%patch2 -p0
-%patch3 -p0
-%patch4 -p0
+%setup -q
+#%setup -q -n varnish-cache
# The svn sources needs to generate a suitable configure script
# Release tarballs would not need this
-# ./autogen.sh
+#./autogen.sh
# Hack to get 32- and 64-bits tests run concurrently on the same build machine
case `uname -m` in
@@ -101,12 +88,17 @@
%build
# Remove "--disable static" if you want to build static libraries
+# jemalloc is not compatible with Red Hat's ppc64 RHEL5 kernel koji server :-(
+%ifarch ppc64 ppc
+%configure --disable-static --localstatedir=/var/lib --disable-jemalloc
+%else
%configure --disable-static --localstatedir=/var/lib
+%endif
# 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;
- s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
+ s|^runpath_var=LD_RUN_PATH|runpath_var=DIE_RPATH_DIE|g' libtool
%{__make} %{?_smp_mflags}
@@ -121,14 +113,16 @@
tail -n +11 etc/default.vcl >> redhat/default.vcl
-%if "%dist" == "el4"
- sed -i 's,--pidfile \$pidfile,,g;
- s,status -p \$pidfile,status,g;
- s,killproc -p \$pidfile,killproc,g' \
- redhat/varnish.initrc redhat/varnishlog.initrc
+%if 0%{?fedora}%{?rhel} == 0 || 0%{?rhel} <= 4 && 0%{?fedora} <= 8
+ # Old style daemon function
+ sed -i 's,--pidfile \$pidfile,,g;
+ s,status -p \$pidfile,status,g;
+ s,killproc -p \$pidfile,killproc,g' \
+ redhat/varnish.initrc redhat/varnishlog.initrc redhat/varnishncsa.initrc
%endif
%check
+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"
%install
@@ -149,6 +143,7 @@
%{__install} -D -m 0644 redhat/varnish.logrotate %{buildroot}%{_sysconfdir}/logrotate.d/varnish
%{__install} -D -m 0755 redhat/varnish.initrc %{buildroot}%{_initrddir}/varnish
%{__install} -D -m 0755 redhat/varnishlog.initrc %{buildroot}%{_initrddir}/varnishlog
+%{__install} -D -m 0755 redhat/varnishncsa.initrc %{buildroot}%{_initrddir}/varnishncsa
%clean
rm -rf %{buildroot}
@@ -169,6 +164,7 @@
%config(noreplace) %{_sysconfdir}/logrotate.d/varnish
%{_initrddir}/varnish
%{_initrddir}/varnishlog
+%{_initrddir}/varnishncsa
%files libs
%defattr(-,root,root,-)
@@ -200,26 +196,23 @@
%pre
getent group varnish >/dev/null || groupadd -r varnish
getent passwd varnish >/dev/null || \
- useradd -r -g varnish -d /var/lib/varnish -s /sbin/nologin \
- -c "Varnish http accelerator user" varnish
+ useradd -r -g varnish -d /var/lib/varnish -s /sbin/nologin \
+ -c "Varnish http accelerator user" varnish
exit 0
%post
/sbin/chkconfig --add varnish
/sbin/chkconfig --add varnishlog
+/sbin/chkconfig --add varnishncsa
%preun
if [ $1 -lt 1 ]; then
/sbin/service varnish stop > /dev/null 2>&1
/sbin/service varnishlog stop > /dev/null 2>&1
+ /sbin/service varnishncsa stop > /dev/null 2>%1
/sbin/chkconfig --del varnish
/sbin/chkconfig --del varnishlog
-fi
-
-%postun
-if [ $1 -ge 1 ]; then
- /sbin/service varnish condrestart > /dev/null 2>&1
- /sbin/service varnishlog condrestart > /dev/null 2>&1
+ /sbin/chkconfig --del varnishncsa
fi
%post libs -p /sbin/ldconfig
@@ -227,6 +220,29 @@
%postun libs -p /sbin/ldconfig
%changelog
+* Fri Oct 17 2008 Ingvar Hagelund <ingvar at linpro.no> - 2.0.1-1
+- 2.0.1 released, a bugfix release. New upstream sources
+- Package now also available in EPEL
+
+* Wed Oct 15 2008 Ingvar Hagelund <ingvar at linpro.no> - 2.0-1
+- 2.0 released. New upstream sources
+- Disabled jemalloc on ppc and ppc64. Added a note in README.redhat
+- Synced to upstream again. No more patches needed.
+
+* Wed Oct 08 2008 Ingvar Hagelund <ingvar at linpro.no> - 2.0-0.11.rc1
+- 2.0-rc1 released. New upstream sources
+- Added a patch for pagesize to match redhat's rhel5 ppc64 koji build boxes
+- Added a patch for test a00008, from r3269
+- Removed condrestart in postscript at upgrade. We don't want that
+
+* Fri Sep 26 2008 Ingvar Hagelund <ingvar at linpro.no> - 2.0-0.10.beta2
+- 2.0-beta2 released. New upstream sources
+- Whitespace changes to make rpmlint more happy
+
+* Fri Sep 12 2008 Ingvar Hagelund <ingvar at linpro.no> - 2.0-0.9.20080912svn3184
+- Added varnisnsca init script (Colin Hill)
+- Corrected varnishlog init script (Colin Hill)
+
* Tue Sep 09 2008 Ingvar Hagelund <ingvar at linpro.no> - 2.0-0.8.beta1
- Added a patch from r3171 that fixes an endian bug on ppc and ppc64
- Added a hack that changes the varnishtest ports for 64bits builds,
More information about the scm-commits
mailing list