[master] d8292c2 Track upstream packaging for default.vcl

Lasse Karstensen lkarsten at varnish-software.com
Thu Mar 27 18:00:54 CET 2014


commit d8292c24284a3d8b6ba091991d5252221c4d0375
Author: Lasse Karstensen <lkarsten at varnish-software.com>
Date:   Thu Mar 27 17:59:43 2014 +0100

    Track upstream packaging for default.vcl
    
    New example.vcl should be used as a template from now on.

diff --git a/rules b/rules
index 91ca406..7609b79 100755
--- a/rules
+++ b/rules
@@ -33,9 +33,9 @@ override_dh_auto_configure:
 
 override_dh_auto_install:
 	dh_auto_install -a
-	@ # Activate the default backend
-	sed -i '/backend default {/,/}/ s/^#[[:space:]]//'  \
-		$(CURDIR)/debian/tmp/etc/varnish/default.vcl
+	@ # Install the example as default.
+	install -o root -g root -m 644 $(CURDIR)/etc/example.vlc \
+		$(CURDIR)/debian/varnish/etc/default.vcl
 	@ # Remove .la files
 	@ # (See http://wiki.debian.org/ReleaseGoals/LAFileRemoval)
 	find $(CURDIR)/debian/ -name \*.la -delete



More information about the varnish-commit mailing list