Summary: Varnish is a high-performance HTTP accelerator
Name: varnish
Version: 1.0.svn
-Release: 20070516%{?dist}
+Release: 20070517%{?dist}
License: BSD-like
Group: System Environment/Daemons
URL: http://www.varnish-cache.org/
%prep
%setup -q
+# The svn sources needs to generate a suitable configure script
+# Release tarballs would not need this
./autogen.sh
%build
# Remove "--disable static" if you want to build static libraries
# (ie for the devel package)
-%configure --sbindir=/usr/sbin --disable-static
+%configure --disable-static
# We have to remove rpath - not allowed in Fedora
# (This problem only visible on 64 bit arches)
%postun libs -p /sbin/ldconfig
%changelog
-* Wed May 16 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.svn-20070516
+* Wed May 16 2007 Ingvar Hagelund <ingvar@linpro.no> - 1.0.svn-20070517
- Wrapping up for 1.0.4
- Changes in sysconfig and init scripts. Syncing with files in
trunk/debian
# Listen on port 6081, administration on localhost:6082, and forward to
# content server on localhost:8080. Use a fixed-size cache file.
#
-DAEMON_OPTS="-a :6081 \
- -T localhost:6082 \
- -b localhost:8080 \
- -s file,/var/lib/varnish/varnish_storage.bin,1G"
+#DAEMON_OPTS="-a :6081 \
+# -T localhost:6082 \
+# -b localhost:8080 \
+# -s file,/var/lib/varnish/varnish_storage.bin,1G"
## Alternative 2, Configuration with VCL
# one content server selected by the vcl file, based on the request. Use a
# fixed-size cache file.
#
-# DAEMON_OPTS="-a :6081 \
-# -T localhost:6082 \
-# -f /etc/varnish/default.vcl \
-# -s file,/var/lib/varnish/varnish_storage.bin,1G"
+DAEMON_OPTS="-a :6081 \
+ -T localhost:6082 \
+ -f /etc/varnish/default.vcl \
+ -s file,/var/lib/varnish/varnish_storage.bin,1G"
## Alternative 3, Advanced configuration