wok-current rev 25133

updated novnc (201111004 -> 0.5.1)
author Hans-G?nter Theisgen
date Wed Jun 29 07:55:42 2022 +0100 (2022-06-29)
parents 96f6808d6c09
children 8c3395ca87eb
files novnc/description.txt novnc/receipt
line diff
     1.1 --- /dev/null	Thu Jan 01 00:00:00 1970 +0000
     1.2 +++ b/novnc/description.txt	Wed Jun 29 07:55:42 2022 +0100
     1.3 @@ -0,0 +1,1 @@
     1.4 +VNC client using HTML5 (WebSockets, Canvas) with encryption (wss://) support.
     2.1 --- a/novnc/receipt	Wed Jun 29 07:31:11 2022 +0100
     2.2 +++ b/novnc/receipt	Wed Jun 29 07:55:42 2022 +0100
     2.3 @@ -1,21 +1,23 @@
     2.4  # SliTaz package receipt.
     2.5  
     2.6  PACKAGE="novnc"
     2.7 -VERSION="201111004"
     2.8 +VERSION="0.5.1"
     2.9  CATEGORY="network"
    2.10 +TAGS="vnc remote-desktop html5"
    2.11  SHORT_DESC="VNC client in HTML5/javascript."
    2.12  MAINTAINER="pascal.bellard@slitaz.org"
    2.13  LICENSE="MPL2"
    2.14 -WEB_SITE="https://github.com/kanaka/noVNC"
    2.15 -TARBALL="$PACKAGE-$VERSION.tar.bz2"
    2.16 -WGET_URL="git|git://github.com/kanaka/noVNC.git"
    2.17 -TAGS="vnc remote-desktop html5"
    2.18 +WEB_SITE="https://github.com/novnc/noVNC"
    2.19 +
    2.20 +TARBALL="$PACKAGE-$VERSION.tar.gz"
    2.21 +WGET_URL="https://github.com/$PACKAGE/noVNC/archive/v$VERSION.tar.gz"
    2.22 +
    2.23 +SUGGESTED="pyopenssl openssl"
    2.24 +DEPENDS="python python-numpy"
    2.25 +BUILD_DEPENDS="python python-pil openssl"
    2.26 +
    2.27  #HOST_ARCH="any"
    2.28  
    2.29 -DEPENDS="python python-numpy"
    2.30 -BUILD_DEPENDS="python python-pil openssl git"
    2.31 -SUGGESTED="pyopenssl openssl"
    2.32 -
    2.33  current_version()
    2.34  {
    2.35  	wget -O - https://github.com/novnc/noVNC/releases 2>/dev/null | \
    2.36 @@ -25,25 +27,37 @@
    2.37  # Rules to configure and make the package.
    2.38  compile_rules()
    2.39  {
    2.40 +	sed -i 's/bash/sh/;s/ps -p \([^ ]*\)/ps | grep "^ *\1 "/' \
    2.41 +		utils/launch.sh
    2.42 +
    2.43 +	IMAGE=/usr/share/images/slitaz-background.jpg
    2.44 +	[ -s $IMAGE ] &&
    2.45 +	utils/img2js.py $IMAGE noVNC_logo > include/logo.js
    2.46 +
    2.47  	mkdir -p $DESTDIR
    2.48 -	sed -i 's/bash/sh/;s/ps -p \([^ ]*\)/ps | grep "^ *\1 "/' utils/launch.sh
    2.49 -	IMAGE=/usr/share/images/slitaz-background.jpg
    2.50 -	[ -s $IMAGE ] && utils/img2js.py $IMAGE noVNC_logo > include/logo.js
    2.51 -	cp -a *.html images/favicon.ico utils include $DESTDIR
    2.52 +	cp -a *.html			$DESTDIR
    2.53 +	cp -a images			$DESTDIR
    2.54 +	cp -a utils			$DESTDIR
    2.55 +	cp -a include			$DESTDIR
    2.56  }
    2.57  
    2.58  # Rules to gen a SliTaz package suitable for Tazpkg.
    2.59  genpkg_rules()
    2.60  {
    2.61  	mkdir -p $fs/usr/share/novnc
    2.62 -	cp -a $install/* $fs/usr/share/novnc
    2.63 +	cp -a $install/*	$fs/usr/share/novnc
    2.64  }
    2.65  
    2.66  post_install()
    2.67  {
    2.68  	which openssl > /dev/null &&
    2.69 -	openssl req -new -x509 -keyout "$1/usr/share/novnc/self.pem" \
    2.70 -		-out "$1/usr/share/novnc/self.pem" -days 3650 -nodes <<EOT
    2.71 +	openssl	req					\
    2.72 +		-new					\
    2.73 +		-x509					\
    2.74 +		-keyout "$1/usr/share/novnc/self.pem"	\
    2.75 +		-out "$1/usr/share/novnc/self.pem"	\
    2.76 +		-days 3650				\
    2.77 +		-nodes <<EOT
    2.78  $(. "$1/etc/locale.conf" ; echo ${LANG#*_})
    2.79  $(cat "$1/etc/TZ")
    2.80