-varnish (1.1.1) unstable; urgency=low
+varnish (1.1.1-1) unstable; urgency=low
+ [Lars Bahner]
* New upstream release
* User and Group id added to default DAEMON_OPTS
* Added user and group creation to postinst
* Added missing man pages
- -- Lars Bahner <bahner@debian.org> Mon, 20 Aug 2007 11:29:33 +0200
+ [Stig Sandbeck Mathisen]
+ * Set statedir to /var/lib
+ * Removed -n switch from varnish defaults file and varnishlog init script.
+ Use the default instance name instead.
-varnish (1.1) unstable; urgency=low
+ -- Stig Sandbeck Mathisen <ssm@linpro.no> Tue, 04 Sep 2007 12:27:09 +0200
+
+varnish (1.1-1) unstable; urgency=low
* New upstream release
* Split package into varnish, libvarnish and libvarnish-dev
# The boilerplate linker flags won't allow varnish to compile :(
# There are circular dependencies in the varnish libraries, but
# the core developers have OK'ed that we don't check.
- ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" --localstatedir=/var
+ ./configure --host=$(DEB_HOST_GNU_TYPE) --build=$(DEB_BUILD_GNU_TYPE) --prefix=/usr --mandir=\$${prefix}/share/man --infodir=\$${prefix}/share/info CFLAGS="$(CFLAGS)" --localstatedir=/var/lib
build: build-stamp
# Maximum number of open files (for ulimit -n)
NFILES=131072
+# Default varnish instance name is the local nodename. Can be overridden with
+# the -n switch, to have more instances on a single server.
+INSTANCE=$(uname -n)
+
# This file contains 4 alternatives, please use only one.
## Alternative 1, Minimal configuration, no VCL
-T localhost:6082 \
-b localhost:8080 \
-u varnish -g varnish \
- -n /var/lib/varnish \
- -s file,/var/lib/varnish/varnish_storage.bin,1G"
+ -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G"
## Alternative 2, Configuration with VCL
# -T localhost:6082 \
# -f /etc/varnish/default.vcl \
# -n /var/lib/varnish \
-# -s file,/var/lib/varnish/varnish_storage.bin,1G"
+# -s file,/var/lib/varnish/$INSTANCE/varnish_storage.bin,1G"
## Alternative 3, Advanced configuration
# VARNISH_HOMEDIR=/var/lib/varnish
#
# # Cache file location
-# VARNISH_STORAGE_FILE=/var/lib/varnish/varnish_storage.bin
+# VARNISH_STORAGE_FILE=/var/lib/varnish/$INSTANCE/varnish_storage.bin
#
# # Cache file size: in bytes, optionally using k / M / G / T suffix,
# # or in percentage of available disk space using the % suffix.
# -T ${VARNISH_ADMIN_LISTEN_ADDRESS}:${VARNISH_ADMIN_LISTEN_PORT} \
# -t ${VARNISH_TTL} \
# -w ${VARNISH_MIN_THREADS},${VARNISH_MAX_THREADS},${VARNISH_THREAD_TIMEOUT} \
-# -n ${VARNISH_HOMEDIR} \
# -s ${VARNISH_STORAGE}"
#