# HG changeset patch # User Hans-G?nter Theisgen # Date 1656485742 -3600 # Node ID 3f8793537981b7d7e09c16b4556403d10ff87cf1 # Parent 96f6808d6c093d4ee0085176fae7b4baba9f9636 updated novnc (201111004 -> 0.5.1) diff -r 96f6808d6c09 -r 3f8793537981 novnc/description.txt --- /dev/null Thu Jan 01 00:00:00 1970 +0000 +++ b/novnc/description.txt Wed Jun 29 07:55:42 2022 +0100 @@ -0,0 +1,1 @@ +VNC client using HTML5 (WebSockets, Canvas) with encryption (wss://) support. diff -r 96f6808d6c09 -r 3f8793537981 novnc/receipt --- a/novnc/receipt Wed Jun 29 07:31:11 2022 +0100 +++ b/novnc/receipt Wed Jun 29 07:55:42 2022 +0100 @@ -1,21 +1,23 @@ # SliTaz package receipt. PACKAGE="novnc" -VERSION="201111004" +VERSION="0.5.1" CATEGORY="network" +TAGS="vnc remote-desktop html5" SHORT_DESC="VNC client in HTML5/javascript." MAINTAINER="pascal.bellard@slitaz.org" LICENSE="MPL2" -WEB_SITE="https://github.com/kanaka/noVNC" -TARBALL="$PACKAGE-$VERSION.tar.bz2" -WGET_URL="git|git://github.com/kanaka/noVNC.git" -TAGS="vnc remote-desktop html5" +WEB_SITE="https://github.com/novnc/noVNC" + +TARBALL="$PACKAGE-$VERSION.tar.gz" +WGET_URL="https://github.com/$PACKAGE/noVNC/archive/v$VERSION.tar.gz" + +SUGGESTED="pyopenssl openssl" +DEPENDS="python python-numpy" +BUILD_DEPENDS="python python-pil openssl" + #HOST_ARCH="any" -DEPENDS="python python-numpy" -BUILD_DEPENDS="python python-pil openssl git" -SUGGESTED="pyopenssl openssl" - current_version() { wget -O - https://github.com/novnc/noVNC/releases 2>/dev/null | \ @@ -25,25 +27,37 @@ # Rules to configure and make the package. compile_rules() { + sed -i 's/bash/sh/;s/ps -p \([^ ]*\)/ps | grep "^ *\1 "/' \ + utils/launch.sh + + IMAGE=/usr/share/images/slitaz-background.jpg + [ -s $IMAGE ] && + utils/img2js.py $IMAGE noVNC_logo > include/logo.js + mkdir -p $DESTDIR - sed -i 's/bash/sh/;s/ps -p \([^ ]*\)/ps | grep "^ *\1 "/' utils/launch.sh - IMAGE=/usr/share/images/slitaz-background.jpg - [ -s $IMAGE ] && utils/img2js.py $IMAGE noVNC_logo > include/logo.js - cp -a *.html images/favicon.ico utils include $DESTDIR + cp -a *.html $DESTDIR + cp -a images $DESTDIR + cp -a utils $DESTDIR + cp -a include $DESTDIR } # Rules to gen a SliTaz package suitable for Tazpkg. genpkg_rules() { mkdir -p $fs/usr/share/novnc - cp -a $install/* $fs/usr/share/novnc + cp -a $install/* $fs/usr/share/novnc } post_install() { which openssl > /dev/null && - openssl req -new -x509 -keyout "$1/usr/share/novnc/self.pem" \ - -out "$1/usr/share/novnc/self.pem" -days 3650 -nodes <