<p>The XVM code base is a <strong>free software</strong> project under
development, licensed under GPLv2+. If you're interested in using it,
-we'd be happy to help you set it up in your environment. Our Subversion
-repository is</p> <blockquote><a
-href="https://xvm.mit.edu:1111/">https://xvm.mit.edu:1111/</a></blockquote>
+we'd be happy to help you set it up in your environment. Our Git
+repositories are publicly viewable at</p> <blockquote><a
+href="http://xvm.mit.edu/gitweb">http://xvm.mit.edu/gitweb</a></blockquote>
<p>xvm.mit.edu is provided by <a href="http://sipb.mit.edu/">SIPB</a>,
the student computing group at MIT, with generous funding from <a
invirt-web (0.1.6) unstable; urgency=low
* Remove crufty invirt-web-iptables files
+ * Switch to git from svn
-- Greg Brockman <gdb@mit.edu> Sat, 14 Aug 2010 00:46:44 -0400
Section: base
Priority: extra
Maintainer: Invirt project <invirt@mit.edu>
-Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.1.0), config-package-dev, subversion, invirt-base
+Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.1.0), config-package-dev, git-core, invirt-base
Standards-Version: 3.7.2
Package: invirt-web
PACKAGE=invirt-web
PARENTPACKAGE=apache2
-GEN_FILES=(/etc/apache2/sites-available/{default,ssl,svn} /etc/invirt-iptables/rules.d/50-invirt-web)
+GEN_FILES=(/etc/apache2/sites-available/{default,ssl} /etc/invirt-iptables/rules.d/50-invirt-web)
. /lib/init/config-init.sh
config_init "$1"
case "$1" in
configure)
- cd /var/www/invirt-web
+ cd /usr/share/invirt-web/package/code
make all
a2enmod rewrite
if ! getent group invirt > /dev/null; then
addgroup --system invirt
fi
+
+ if dpkg --compare-versions "$2" lt 0.1.6~; then
+ mv /var/www/invirt-web /var/www/invirt-web.bak || :
+ fi
;;
abort-upgrade)
DEB_UPDATE_RCD_PARAMS_invirt-web += defaults 91 9
binary-fixup/invirt-web::
- svn co $$(invirt-getconf svn.uri)/trunk/packages/invirt-web/code/ $(DEB_DESTDIR)/var/www/invirt-web
+ git clone $$(invirt-getconf git.uri)/invirt/packages/invirt-web $(DEB_DESTDIR)/usr/share/invirt-web/package
+ mkdir -p $(DEB_DESTDIR)/var/www/
+ ln -s /usr/share/invirt-web/package/code $(DEB_DESTDIR)/var/www/invirt-web
+ rm -rf $(DEB_DESTDIR)/var/www/invirt-web-repo
+++ /dev/null
-<%
-from invirt.config import structs as cfg
-hostname = cfg.web.hostname
-errmail = cfg.web.errormail
-svnpath = cfg.svn.repopath
-%>
-Listen 1111
-<VirtualHost *:1111>
- ServerAdmin ${errmail}
- ServerName ${hostname}:1111
-
- <Directory />
- Options FollowSymLinks
- AllowOverride None
- </Directory>
- <Location />
- DAV svn
- SVNPath ${svnpath}
- AuthType Basic
- AuthName "xvm.mit.edu subversion repository"
- AuthUserFile /etc/apache2/dav_svn.passwd
- <LimitExcept GET PROPFIND OPTIONS REPORT>
- Require valid-user
- </LimitExcept>
- </Location>
-
- ErrorLog /var/log/apache2/error.log
-
- # Possible values include: debug, info, notice, warn, error, crit,
- # alert, emerg.
- LogLevel warn
-
- CustomLog /var/log/apache2/svn_access.log combined
- ServerSignature On
-
- SSLEngine on
-
- SSLCertificateFile ssl/server.crt
- SSLCertificateKeyFile ssl/server.key
-</VirtualHost>