Don't alter the original VNC JAR - make a copy instead
authorEvan Broder <broder@mit.edu>
Mon, 10 Nov 2008 08:58:06 +0000 (03:58 -0500)
committerEvan Broder <broder@mit.edu>
Mon, 10 Nov 2008 08:58:06 +0000 (03:58 -0500)
svn path=/trunk/packages/invirt-vnc-client/; revision=1588

debian/changelog
debian/invirt-update-vnc-cert
debian/rules

index a291cb9..1aa04b8 100644 (file)
@@ -1,3 +1,9 @@
+invirt-vnc-client (0.0.7) unstable; urgency=low
+
+  * Don't alter the original VNC JAR - make a copy instead
+
+ -- Evan Broder <broder@mit.edu>  Sun, 09 Nov 2008 01:07:48 -0500
+
 invirt-vnc-client (0.0.6) unstable; urgency=low
 
   * Isolate our patches from the upstream source
index 8e634c0..27997c0 100755 (executable)
@@ -10,6 +10,9 @@ import shutil
 def main():
     call(['kinit', '-k', 'daemon/%s' % config.web.hostname])
     
+    shutil.copy('/usr/share/invirt-vnc-client/VncViewer.src.jar',
+                '/usr/share/invirt-vnc-client/VncViewer.jar')
+    
     temp_dir = tempfile.mkdtemp()
     keystore = os.path.join(temp_dir, 'trust.store')
     for host in config.hosts:
index 533190a..87093b1 100755 (executable)
@@ -4,4 +4,8 @@ include /usr/share/cdbs/1/rules/debhelper.mk
 include /usr/share/cdbs/1/rules/patchsys-quilt.mk
 include /usr/share/cdbs/1/class/makefile.mk
 
-DEB_MAKE_INSTALL_TARGET = install INSTALL_DIR=$(DEB_DESTDIR)/usr/share/invirt-vnc-client
+INVIRT_VNC_CLIENT_PREFIX = $(DEB_DESTDIR)/usr/share/invirt-vnc-client
+DEB_MAKE_INSTALL_TARGET = install INSTALL_DIR=$(INVIRT_VNC_CLIENT_PREFIX)
+
+install/invirt-vnc-client::
+       cp $(INVIRT_VNC_CLIENT_PREFIX)/VncViewer.jar $(INVIRT_VNC_CLIENT_PREFIX)/VncViewer.src.jar