Turns out sipb-xen-www's init script was the problem, not
[invirt/packages/invirt-web.git] / debian / rules
index 3f9af0f..1c529e4 100755 (executable)
@@ -1,6 +1,13 @@
 #!/usr/bin/make -f
 
+DEB_DIVERT_EXTENSION = .invirt
+DEB_DIVERT_FILES_sipb-xen-www += \
+    /etc/init.d/apache2
+
 include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/config-package.mk
+
+DEB_UPDATE_RCD_PARAMS_sipb-xen-www += defaults 91 9
 
-binary-fixup/sipb-xen-iptables::
-       svn co https://sipb-xen-dev.mit.edu:1111/trunk/packages/sipb-xen-iptables/code/ $(DEB_DESTDIR)/usr/local/share/sipb-xen-iptables
+binary-fixup/sipb-xen-www::
+       svn co $$(invirt-getconf svn.uri)/trunk/packages/sipb-xen-www/code/ $(DEB_DESTDIR)/var/www/sipb-xen-www