RELEASE=3.2
+PACKAGE=novnc-pve
+PKGREL=1
+
NOVNCDIR=novnc
NOVNCSRC=${NOVNCDIR}.tgz
+NOVNCVER=0.4
ARCH:=$(shell dpkg-architecture -qDEB_BUILD_ARCH)
+DEB=${PACKAGE}_${NOVNCVER}-${PKGREL}_${ARCH}.deb
+
all: deb
.PHONY: dinstall
deb ${DEB}: ${TARSRC}
rm -rf ${NOVNCDIR}
tar xf ${NOVNCSRC}
+ mv ${NOVNCDIR}/debian ${NOVNCDIR}/debian.org
+ cp -a debian ${NOVNCDIR}/debian
cd ${NOVNCDIR}; dpkg-buildpackage -b -uc -us
+ lintian ${DEB}
.PHONY: download
download:
.PHONY: clean
clean:
- rm -rf *~ *_${ARCH}.deb *_all.deb *.changes *.dsc novnc
+ rm -rf *~ debian/*~ *_${ARCH}.deb *_all.deb *.changes *.dsc novnc
--- /dev/null
+novnc-pve (0.4-1) unstable; urgency=low
+
+ * create specialized package for Proxmox VE. We use our own package because
+ upstream novnc package depends on OpenStack.
+
+ -- Proxmox Support Team <support@proxmox.com> Fri, 13 Jun 2014 08:35:06 +0200
--- /dev/null
+Source: novnc-pve
+Section: web
+Priority: optional
+Maintainer: Proxmox Support Team <support@proxmox.com>
+Build-Depends: debhelper (>= 7.0.0~)
+Standards-Version: 3.8.3
+Homepage: https://github.com/kanaka/noVNC/
+
+Package: novnc-pve
+Architecture: any
+Depends: ${shlibs:Depends}, ${misc:Depends}, ${python:Depends}, python (>= 2.4)
+Description: HTML5 VNC client
+ VNC client using HTML5 (WebSockets, Canvas). This packet is use by
+ Proxmox VE to provide HTML VM console.
--- /dev/null
+Upstream Project: https://github.com/kanaka/noVNC/
+
+--------------------- Original LICENSE.txt ---------------------------
+
+noVNC is Copyright (C) 2012 Joel Martin <github@martintribe.org>
+
+Some portions of noVNC are copyright to their individual authors.
+Please refer to the individual source files and/or to the noVNC commit
+history: https://github.com/kanaka/noVNC/commits/master
+
+noVNC is licensed under the MPL 2.0 (Mozilla Public License) with the
+following exceptions:
+
+ *.html, *.css : 2-Clause BSD license
+
+ include/Orbitron* : SIL Open Font License 1.1
+ (Copyright 2009 Matt McInerney)
+
+ images/ : Creative Commons Attribution-ShareAlike
+ http://creativecommons.org/licenses/by-sa/3.0/
+
+ include/base64.js : MPL 2.0
+
+ include/des.js : Various BSD style licenses
+
+ include/jsunzip.js : zlib/libpng license
+
+ include/web-socket-js/ : New BSD license (3-clause). Source code at
+ http://github.com/gimite/web-socket-js
+
+ include/chrome-app/tcp-stream.js
+ : Apache 2.0 license
+
+----------------------------------------------------------------------
+
+The MPL-2.0 license text may be found here:
+ http://www.mozilla.org/MPL/2.0/
--- /dev/null
+README.md
+LICENSE.txt
--- /dev/null
+vnc.html /usr/share/novnc-pve
+vnc_auto.html /usr/share/novnc-pve
+utils/launch.sh /usr/share/novnc-pve/utils
+utils/websocket.py /usr/share/novnc-pve/utils
+utils/websockify /usr/share/novnc-pve/utils
+utils/rebind.so /usr/lib/novnc-pve/utils
+images /usr/share/novnc-pve
+include/base64.js /usr/share/novnc-pve/include
+include/des.js /usr/share/novnc-pve/include
+include/display.js /usr/share/novnc-pve/include
+include/keysymdef.js /usr/share/novnc-pve/include
+include/keyboard.js /usr/share/novnc-pve/include
+include/input.js /usr/share/novnc-pve/include
+include/logo.js /usr/share/novnc-pve/include
+include/base.css /usr/share/novnc-pve/include
+include/blue.css /usr/share/novnc-pve/include
+include/black.css /usr/share/novnc-pve/include
+include/playback.js /usr/share/novnc-pve/include
+include/rfb.js /usr/share/novnc-pve/include
+include/ui.js /usr/share/novnc-pve/include
+include/util.js /usr/share/novnc-pve/include
+include/websock.js /usr/share/novnc-pve/include
+include/webutil.js /usr/share/novnc-pve/include
+include/jsunzip.js /usr/share/novnc-pve/include
+include/web-socket-js/* /usr/share/novnc-pve/include/web-socket-js
--- /dev/null
+#!/usr/bin/make -f
+
+# Uncomment this to turn on verbose mode.
+#export DH_VERBOSE=1
+
+export DEB_BUILD_HARDENING=1
+
+clean:
+ make -C utils clean
+ dh clean
+
+build:
+ make -C utils rebind.so
+
+%:
+ dh ${@}