projects
/
invirt/packages/invirt-web.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Require invirt-web POSTs to have proper referers
[invirt/packages/invirt-web.git]
/
debian
/
rules
diff --git
a/debian/rules
b/debian/rules
index
6e66d75
..
473ad29
100755
(executable)
--- a/
debian/rules
+++ b/
debian/rules
@@
-1,6
+1,19
@@
#!/usr/bin/make -f
#!/usr/bin/make -f
+DEB_DIVERT_EXTENSION = .invirt
+DEB_DIVERT_FILES_invirt-web += \
+ /etc/apache2/conf.d/gitweb \
+ /etc/init.d/apache2 \
+ /etc/gitweb.conf \
+
include /usr/share/cdbs/1/rules/debhelper.mk
include /usr/share/cdbs/1/rules/debhelper.mk
+include /usr/share/cdbs/1/rules/config-package.mk
+
+DEB_UPDATE_RCD_PARAMS_invirt-web += defaults 91 9
+
+binary-fixup/invirt-web::
+ mkdir -p $(DEB_DESTDIR)/var/www/
+ mv code/ $(DEB_DESTDIR)/var/www/invirt-web/
-binary-fixup/sipb-xen-dhcp::
- svn co https://sipb-xen-dev.mit.edu:1111/trunk/packages/sipb-xen-www/code/ $(DEB_DESTDIR)/var/www/sipb-xen-www
+clean/invirt-web::
+ mv $(DEB_DESTDIR)/var/www/invirt-web/ code/