--- tightvnc-java-1.2.7.orig/Makefile +++ tightvnc-java-1.2.7/Makefile @@ -22,10 +22,12 @@ SocketFactory.java HTTPConnectSocketFactory.java \ HTTPConnectSocket.java ReloginPanel.java +OPTS = -source 1.3 + all: $(CLASSES) $(ARCHIVE) $(CLASSES): $(SOURCES) - $(JC) -O $(SOURCES) + $(JC) -target 1.1 $(OPTS) -O $(SOURCES) $(ARCHIVE): $(CLASSES) $(MANIFEST) $(JAR) cfm $(ARCHIVE) $(MANIFEST) $(CLASSES) --- tightvnc-java-1.2.7.orig/debian/changelog +++ tightvnc-java-1.2.7/debian/changelog @@ -0,0 +1,95 @@ +tightvnc-java (1.2.7-9) unstable; urgency=low + + * Updating to debhelper compatibility 9. + * Added recommendation of bc to make sure tightvncviewer command will + work. Closes: #509079. + * Copyright cleanup. Closes: #507959. + * Updated to standards version 3.9.6. + * Simplified rules file. + * Added misc:Depends to the dependencies. + + -- Ola Lundqvist Thu, 09 Jun 2016 20:08:00 +0200 + +tightvnc-java (1.2.7-8) unstable; urgency=low + + * Corrected bashism. Closes: #530206. + + -- Ola Lundqvist Sun, 27 Sep 2009 14:39:30 +0200 + +tightvnc-java (1.2.7-7) unstable; urgency=low + + * Remove dependency on jikes and kaffe. Closes: #528066. + + -- Ola Lundqvist Sun, 27 Sep 2009 14:37:19 +0200 + +tightvnc-java (1.2.7-6) unstable; urgency=low + + * Recorrection of bashism. Paranthesis was put in wrong direction. + Closes: #465370. + + -- Ola Lundqvist Fri, 13 Jun 2008 08:08:37 +0200 + +tightvnc-java (1.2.7-5) unstable; urgency=low + + * Applied patch from Chris Lamb to correct a + bashism, closes: #465370. + * Changed so that it actually depends on debhelper. + * Bumped standards version to 3.7.2. + + -- Ola Lundqvist Sun, 11 May 2008 14:41:05 +0200 + +tightvnc-java (1.2.7-4) unstable; urgency=low + + * Updated because of changes in kaffe, closes: #348366. + * Updated to standards version 3.6.2. + * Updated to debhelper compatibility 4. + * Now use dh_installman instead of dh_installmanpages. + + -- Ola Lundqvist Sat, 28 Jan 2006 21:40:56 +0100 + +tightvnc-java (1.2.7-3) unstable; urgency=low + + * Fixed so it works with older java engines, closes: #175761. + Thanks to "C. Scott Ananian" + for the suggested fix. + * Fixed rules file so it can build with recent jikes and kaffe packages. + * Added versioned build dependency on debhelper. + * Updated standards version to 3.6.1. + + -- Ola Lundqvist Thu, 22 Jul 2004 23:44:59 +0200 + +tightvnc-java (1.2.7-2) unstable; urgency=low + + * Now really builds using jikes and kaffe, closes: #175671. + * Build-depends-indep instead of build depends. + * Added command line program. + * No longer depends on tightvncserver, just suggest it. + * Now provides vnc-viewer. + + -- Ola Lundqvist Thu, 6 Feb 2003 10:37:09 +0100 + +tightvnc-java (1.2.7-1) unstable; urgency=low + + * Created this package using vnc-java as the source, closes: #172709. + + -- Ola Lundqvist Sun, 15 Dec 2002 12:26:58 +0100 + +vnc-java (3.3.3r2-3) unstable; urgency=low + + * Applied the tightvnc patches version 1.2.1, closes: #106163. + + -- Ola Lundqvist Mon, 01 Oct 2001 10:56:37 +0200 + +vnc-java (3.3.3r2-2) unstable; urgency=low + + * Fixed some dependencies, closes: Bug#80335. + * Now builds with jikes instead (thanks to Colin Watson ), + closes: Bug#80349. + + -- Ola Lundqvist Tue, 19 Dec 2000 20:15:28 +0100 + +vnc-java (3.3.3r2-1) unstable; urgency=low + + * Initial Release, closes: Bug#79759. + + -- Ola Lundqvist Tue, 19 Dec 2000 20:15:28 +0100 --- tightvnc-java-1.2.7.orig/debian/compat +++ tightvnc-java-1.2.7/debian/compat @@ -0,0 +1 @@ +9 --- tightvnc-java-1.2.7.orig/debian/control +++ tightvnc-java-1.2.7/debian/control @@ -0,0 +1,22 @@ +Source: tightvnc-java +Section: contrib/web +Priority: optional +Maintainer: Ola Lundqvist +Build-Depends: debhelper (>> 9.0) +Build-Depends-indep: default-jdk +Standards-Version: 3.9.6 + +Package: tightvnc-java +Architecture: all +Suggests: tightvncserver +Recommends: bc +Depends: ${misc:Depends} +Provides: vnc-viewer +Description: TightVNC java applet and command line program + VNC stands for Virtual Network Computing. It is, in essence, a remote + display system which allows you to view a computing `desktop' environment + not only on the machine where it is running, but from anywhere on the + Internet and from a wide variety of machine architectures. + . + This is the vnc java applet files that the tightvncserver + can distribute to the client. --- tightvnc-java-1.2.7.orig/debian/copyright +++ tightvnc-java-1.2.7/debian/copyright @@ -0,0 +1,97 @@ +This package was debianized by Ola Lundqvist on +Tue, 19 Dec 2000 20:15:28 +0100. + +It was downloaded from + http://www.tightvnc.com/ + +Copyright: + +Copyright (C) 2001,2002 HorizonLive.com, Inc. All Rights Reserved. +Copyright (C) 2001,2002 Constantin Kaplinsky. All Rights Reserved. +Copyright (C) 2000 Tridia Corporation. All Rights Reserved. +Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved. + +License: + +This software is distributed under the GNU General Public Licence as published +by the Free Software Foundation. See the file LICENCE.TXT for the conditions +under which this software is made available. VNC also contains code from other +sources. See the Acknowledgements section (see README), and the individual +files for details of the conditions under which they are made available. + +On Debian Linux systems, the complete text of the GNU General Public +License can be found in '/usr/share/common-licenses/GPL'. + +DesCipher: +---------- + +This software also include a DES class. + +This DES class has been extracted from package Acme.Crypto for use in VNC. +The bytebit[] array has been reversed so that the most significant bit +in each byte of the key is ignored, not the least significant. Also the +unnecessary odd parity code has been removed. + +These changes are: + Copyright (C) 1999 AT&T Laboratories Cambridge. All Rights Reserved. + +This software is distributed in the hope that it will be useful, +but WITHOUT ANY WARRANTY; without even the implied warranty of +MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE. + + +DesCipher - the DES encryption method + +The meat of this code is by Dave Zimmerman , and is: + +Copyright (c) 1996 Widget Workshop, Inc. All Rights Reserved. + +Permission to use, copy, modify, and distribute this software +and its documentation for NON-COMMERCIAL or COMMERCIAL purposes and +without fee is hereby granted, provided that this copyright notice is kept +intact. + +WIDGET WORKSHOP MAKES NO REPRESENTATIONS OR WARRANTIES ABOUT THE SUITABILITY +OF THE SOFTWARE, EITHER EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED +TO THE IMPLIED WARRANTIES OF MERCHANTABILITY, FITNESS FOR A +PARTICULAR PURPOSE, OR NON-INFRINGEMENT. WIDGET WORKSHOP SHALL NOT BE LIABLE +FOR ANY DAMAGES SUFFERED BY LICENSEE AS A RESULT OF USING, MODIFYING OR +DISTRIBUTING THIS SOFTWARE OR ITS DERIVATIVES. + +THIS SOFTWARE IS NOT DESIGNED OR INTENDED FOR USE OR RESALE AS ON-LINE +CONTROL EQUIPMENT IN HAZARDOUS ENVIRONMENTS REQUIRING FAIL-SAFE +PERFORMANCE, SUCH AS IN THE OPERATION OF NUCLEAR FACILITIES, AIRCRAFT +NAVIGATION OR COMMUNICATION SYSTEMS, AIR TRAFFIC CONTROL, DIRECT LIFE +SUPPORT MACHINES, OR WEAPONS SYSTEMS, IN WHICH THE FAILURE OF THE +SOFTWARE COULD LEAD DIRECTLY TO DEATH, PERSONAL INJURY, OR SEVERE +PHYSICAL OR ENVIRONMENTAL DAMAGE ("HIGH RISK ACTIVITIES"). WIDGET WORKSHOP +SPECIFICALLY DISCLAIMS ANY EXPRESS OR IMPLIED WARRANTY OF FITNESS FOR +HIGH RISK ACTIVITIES. + +The rest is: + +Copyright (C) 1996 by Jef Poskanzer . All rights reserved. + +Redistribution and use in source and binary forms, with or without +modification, are permitted provided that the following conditions +are met: +1. Redistributions of source code must retain the above copyright + notice, this list of conditions and the following disclaimer. +2. Redistributions in binary form must reproduce the above copyright + notice, this list of conditions and the following disclaimer in the + documentation and/or other materials provided with the distribution. + +THIS SOFTWARE IS PROVIDED BY THE AUTHOR AND CONTRIBUTORS ``AS IS'' AND +ANY EXPRESS OR IMPLIED WARRANTIES, INCLUDING, BUT NOT LIMITED TO, THE +IMPLIED WARRANTIES OF MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE +ARE DISCLAIMED. IN NO EVENT SHALL THE AUTHOR OR CONTRIBUTORS BE LIABLE +FOR ANY DIRECT, INDIRECT, INCIDENTAL, SPECIAL, EXEMPLARY, OR CONSEQUENTIAL +DAMAGES (INCLUDING, BUT NOT LIMITED TO, PROCUREMENT OF SUBSTITUTE GOODS +OR SERVICES; LOSS OF USE, DATA, OR PROFITS; OR BUSINESS INTERRUPTION) +HOWEVER CAUSED AND ON ANY THEORY OF LIABILITY, WHETHER IN CONTRACT, STRICT +LIABILITY, OR TORT (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY +OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF +SUCH DAMAGE. + +Visit the ACME Labs Java page for up-to-date versions of this and other +fine Java utilities: http://www.acme.com/java/ --- tightvnc-java-1.2.7.orig/debian/jtightvncviewer.pod +++ tightvnc-java-1.2.7/debian/jtightvncviewer.pod @@ -0,0 +1,18 @@ +=head1 NAME + +jvncviewer -- Command line starter of the Java VNC viewer + +=head1 SYNOPSIS + +jvncviewer HOST[:(DISPLAY#|:PORT#)] + +=head1 AUTHOR + +Author of this manpage is Ola Lundqvist + +=head1 SEE ALSO + +java(1) +vncserver(1) + +=cut --- tightvnc-java-1.2.7.orig/debian/jtightvncviewer.sh +++ tightvnc-java-1.2.7/debian/jtightvncviewer.sh @@ -0,0 +1,28 @@ +#!/bin/sh + +if [ "$1" = "--help" ] || [ "$1" = "-help" ] ; then + echo "USAGE: jvncviewer HOST[:(DISPLAY#|:PORT#)]" + exit 0 +fi + +PT=$(echo "$1" | grep "::") +if [ -n "$PT" ] ; then + HOST=$(echo "$PT" | sed -e "s/::.*//;") + PORT=$(echo "$PT" | sed -e "s/.*:://;") +else + PT=$(echo "$1" | grep ":") + if [ -n "$PT" ] ; then + HOST=$(echo "$PT" | sed -e "s/:.*//;") + P=$(echo "$PT" | sed -e "s/.*://;") + PORT=$(echo "5900+$P" | bc) + else + HOST="$1" + PORT=5900 + fi +fi + +echo $HOST $PORT + +export CLASSPATH=/usr/share/java/tightvncviewer.jar + +java VncViewer HOST $HOST PORT $PORT --- tightvnc-java-1.2.7.orig/debian/rules +++ tightvnc-java-1.2.7/debian/rules @@ -0,0 +1,44 @@ +#!/usr/bin/make -f +# Sample debian/rules that uses debhelper. +# GNU copyright 1997 to 1999 by Joey Hess. + +# Uncomment this to turn on verbose mode. +#export DH_VERBOSE=1 + +# This is the debhelper compatability version to use. + +DEST=$(CURDIR)/debian/tightvnc-java + +%: + dh $@ + +override_dh_auto_build: + # Add here commands to compile the package. + $(MAKE) + #/usr/bin/docbook-to-man debian/vnc-java.sgml > vnc-java.1 + pod2man --section=1 \ + --release="Java TightVNC " \ + --date="`date`" \ + debian/jtightvncviewer.pod > debian/jtightvncviewer.1 + +override_dh_auto_clean: + # Add here commands to clean up after the build process. + -$(MAKE) clean + -rm debian/*.1 + +override_dh_auto_install: + # Add here commands to install the package. +# java + mkdir -p $(DEST)/usr/share/tightvnc-java + $(MAKE) install \ + INSTALL_DIR=$(DEST)/usr/share/tightvnc-java + # Fix for making it more policy compliant. + mv $(DEST)/usr/share/tightvnc-java/VncViewer.jar \ + $(DEST)/usr/share/java/tightvncviewer-1.2.7.jar + ln -s ../java/tightvncviewer.jar \ + $(DEST)/usr/share/tightvnc-java/VncViewer.jar + ln -s tightvncviewer-1.2.7.jar \ + $(DEST)/usr/share/java/tightvncviewer.jar + # Install command line. + install -m 755 debian/jtightvncviewer.sh \ + $(DEST)/usr/bin/jtightvncviewer --- tightvnc-java-1.2.7.orig/debian/tightvnc-java.dirs +++ tightvnc-java-1.2.7/debian/tightvnc-java.dirs @@ -0,0 +1,3 @@ +usr/bin +usr/sbin +usr/share/java --- tightvnc-java-1.2.7.orig/debian/tightvnc-java.docs +++ tightvnc-java-1.2.7/debian/tightvnc-java.docs @@ -0,0 +1 @@ +README --- tightvnc-java-1.2.7.orig/debian/tightvnc-java.manpages +++ tightvnc-java-1.2.7/debian/tightvnc-java.manpages @@ -0,0 +1 @@ +debian/jtightvncviewer.1 --- tightvnc-java-1.2.7.orig/debian/tightvnc-java.postinst +++ tightvnc-java-1.2.7/debian/tightvnc-java.postinst @@ -0,0 +1,18 @@ +#!/bin/sh -e + +if [ "$1" = "configure" ]; then + MAN=/usr/share/man/man1 + BIN=/usr/bin + update-alternatives --install \ + $BIN/vncviewer vncviewer $BIN/jtightvncviewer 40 \ + --slave \ + $MAN/vncviewer.1.gz vncviewer.1.gz $MAN/jtightvncviewer.1.gz \ + --slave \ + $MAN/xvncviewer.1.gz xvncviewer.1.gz $MAN/jtightvncviewer.1.gz \ + --slave \ + $BIN/xvncviewer xvncviewer $BIN/jtightvncviewer +fi + +#DEBHELPER# + +exit 0 --- tightvnc-java-1.2.7.orig/debian/tightvnc-java.prerm +++ tightvnc-java-1.2.7/debian/tightvnc-java.prerm @@ -0,0 +1,11 @@ +#!/bin/sh -e + +if [ "$1" = "remove" ] ; then + BIN=/usr/bin + update-alternatives --remove \ + vncviewer $BIN/jtightvncviewer +fi + +#DEBHELPER# + +exit 0