Changeset 1385


Ignore:
Timestamp:
Oct 28, 2008, 3:23:42 PM (16 years ago)
Author:
broder
Message:

Switch sipb-xen-vnc-server to use distutils

Location:
trunk/packages/sipb-xen-vnc-server
Files:
5 added
1 deleted
4 edited
3 moved

Legend:

Unmodified
Added
Removed
  • trunk/packages/sipb-xen-vnc-server/debian/changelog

    r1384 r1385  
    22
    33  * Move certificate files into /usr/share/sipb-xen-vnc-server
     4  * Switch to distutils-based package
    45
    5  -- Evan Broder <broder@mit.edu>  Tue, 28 Oct 2008 14:59:24 -0400
     6 -- Evan Broder <broder@mit.edu>  Tue, 28 Oct 2008 15:07:33 -0400
    67
    78sipb-xen-vnc-server (1.1) unstable; urgency=low
  • trunk/packages/sipb-xen-vnc-server/debian/control

    r1030 r1385  
    33Priority: extra
    44Maintainer: SIPB Xen Project <sipb-xen@mit.edu>
    5 Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.1.0), subversion
     5Build-Depends: cdbs (>= 0.4.23-1.1), debhelper (>= 4.1.0),
     6 python-all-dev (>=2.3.5-11), python-support (>= 0.5.3),
     7 python-setuptools, python-debian, python-apt
    68Standards-Version: 3.7.2
    79
    810Package: sipb-xen-vnc-server
    911Architecture: all
    10 Depends: ${misc:Depends}, daemon, python-twisted-core, python-xen-3.2
     12Depends: ${python:Depends}, ${misc:Depends}, daemon,
     13 python-twisted-core, python-xen-3.2
     14Provides: ${python:Provides}
     15XB-Python-Version: ${python:Versions}
    1116Description: Install and enable the VNC server
  • trunk/packages/sipb-xen-vnc-server/debian/rules

    r286 r1385  
    11#!/usr/bin/make -f
    22
     3DEB_PYTHON_SYSTEM=pysupport
     4
    35include /usr/share/cdbs/1/rules/debhelper.mk
     6include /usr/share/cdbs/1/class/python-distutils.mk
    47
    58binary-fixup/sipb-xen-vnc-server::
    6         svn co https://sipb-xen-dev.mit.edu:1111/trunk/packages/sipb-xen-vnc-server/code/ $(DEB_DESTDIR)/usr/local/lib/sipb-xen-vnc-server
     9        mv $(DEB_DESTDIR)usr/bin/sipb-xen-vnc-server $(DEB_DESTDIR)usr/sbin/sipb-xen-vnc-server
     10
     11clean::
     12        rm -rf invirt.vnc.egg-info
  • trunk/packages/sipb-xen-vnc-server/debian/sipb-xen-vnc-server.init

    r291 r1385  
    1818DESC="The sipb-xen VNC Proxy Server"
    1919NAME=sipb-xen-vnc-server
    20 DAEMON=/usr/local/lib/sipb-xen-vnc-server/vncproxy.py
     20DAEMON=/usr/sbin/sipb-xen-vnc-server
    2121DAEMON_ARGS=""
    2222PIDFILE=/var/run/$NAME.pid
  • trunk/packages/sipb-xen-vnc-server/sipb-xen-vnc-server

    r1384 r1385  
    11#! /usr/bin/python
    22from twisted.internet import reactor, ssl
    3 import vncexternalauth
     3from invirt import vnc
    44
    55sslContext = ssl.DefaultOpenSSLContextFactory(
     
    99
    1010if '__main__' == __name__:
    11     reactor.listenSSL(10003,vncexternalauth.VNCAuthFactory("localhost"), contextFactory=sslContext)
     11    reactor.listenSSL(10003,vnc.VNCAuthFactory("localhost"), contextFactory=sslContext)
    1212    reactor.run()
Note: See TracChangeset for help on using the changeset viewer.