5
0
mirror of git://git.proxmox.com/git/novnc-pve.git synced 2025-02-01 09:47:22 +03:00

add our own debian files

This commit is contained in:
Dietmar Maurer 2014-06-13 09:20:55 +02:00
parent 42e4925706
commit 0fbbbb73b3
8 changed files with 111 additions and 1 deletions

View File

@ -1,10 +1,16 @@
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
@ -15,7 +21,10 @@ dinstall: deb
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:
@ -25,4 +34,4 @@ download:
.PHONY: clean
clean:
rm -rf *~ *_${ARCH}.deb *_all.deb *.changes *.dsc novnc
rm -rf *~ debian/*~ *_${ARCH}.deb *_all.deb *.changes *.dsc novnc

6
debian/changelog vendored Normal file
View File

@ -0,0 +1,6 @@
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

1
debian/compat vendored Normal file
View File

@ -0,0 +1 @@
7

14
debian/control vendored Normal file
View File

@ -0,0 +1,14 @@
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.

37
debian/copyright vendored Normal file
View File

@ -0,0 +1,37 @@
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/

2
debian/docs vendored Normal file
View File

@ -0,0 +1,2 @@
README.md
LICENSE.txt

25
debian/install vendored Normal file
View File

@ -0,0 +1,25 @@
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

16
debian/rules vendored Executable file
View File

@ -0,0 +1,16 @@
#!/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 ${@}