Raimund Konz 2 years ago
commit
d85b8906e5
100 changed files with 15910 additions and 0 deletions
  1. 10 0
      .gitignore
  2. 29 0
      CHANGELOG.md
  3. 49 0
      CONTRIBUTING.md
  4. 19 0
      LICENSE.txt
  5. 183 0
      README.md
  6. 38 0
      build.bat
  7. 200 0
      build.tcl
  8. 38 0
      clean.bat
  9. 34 0
      clean.tcl
  10. 38 0
      i18n-compile.bat
  11. 47 0
      i18n-compile.tcl
  12. 38 0
      i18n-extract.bat
  13. 39 0
      i18n-extract.tcl
  14. 38 0
      i18n-merge.bat
  15. 31 0
      i18n-merge.tcl
  16. 74 0
      init.tcl
  17. 17 0
      misc/config.ini
  18. 47 0
      misc/darwin/Info.plist
  19. BIN
      misc/darwin/application.icns
  20. 301 0
      misc/i18n/app-support.pot
  21. 310 0
      misc/i18n/app-support/de.po
  22. BIN
      misc/images/icon/128.png
  23. BIN
      misc/images/icon/16.png
  24. BIN
      misc/images/icon/22.png
  25. BIN
      misc/images/icon/32.png
  26. BIN
      misc/images/icon/48.png
  27. BIN
      misc/images/icon/64.png
  28. 14 0
      misc/images/icon/build-icns.sh
  29. 15 0
      misc/images/icon/build-ico.sh
  30. BIN
      misc/images/logo.xcf
  31. BIN
      misc/images/sidebar-IN-Ulm.xcf
  32. BIN
      misc/images/sidebar.xcf
  33. BIN
      misc/images/sidebar_about-IN-Ulm.xcf
  34. BIN
      misc/images/sidebar_about.xcf
  35. BIN
      misc/images/sidebar_settings-IN-Ulm.xcf
  36. BIN
      misc/images/sidebar_settings.xcf
  37. BIN
      misc/screenshots/application-dialog.png
  38. BIN
      misc/screenshots/settings-dialog.png
  39. BIN
      misc/use-cases/icons/database.png
  40. BIN
      misc/use-cases/icons/display.png
  41. BIN
      misc/use-cases/icons/firewall.png
  42. BIN
      misc/use-cases/icons/os-support.png
  43. BIN
      misc/use-cases/vnc-through-ssh-gateway.png
  44. 213 0
      misc/use-cases/vnc-through-ssh-gateway.sla
  45. 6662 0
      misc/use-cases/vnc-through-ssh-gateway.svg
  46. BIN
      misc/use-cases/vnc-through-ssh-tunnel.png
  47. 161 0
      misc/use-cases/vnc-through-ssh-tunnel.sla
  48. 3747 0
      misc/use-cases/vnc-through-ssh-tunnel.svg
  49. BIN
      misc/use-cases/vnc-unencrypted.png
  50. 123 0
      misc/use-cases/vnc-unencrypted.sla
  51. 1690 0
      misc/use-cases/vnc-unencrypted.svg
  52. BIN
      misc/windows/application.ico
  53. 26 0
      misc/windows/application.rc
  54. 9 0
      misc/windows/reshack.script
  55. 19 0
      src/data/LICENSE.txt
  56. 58 0
      src/data/config.ini
  57. 184 0
      src/data/config_global.ini
  58. 340 0
      src/data/darwin/osxvnc/LICENSE.txt
  59. BIN
      src/data/darwin/osxvnc/OSXvnc-server
  60. BIN
      src/data/icon.png
  61. BIN
      src/data/icon_connect_creating.png
  62. BIN
      src/data/icon_connect_established.png
  63. BIN
      src/data/icon_connect_no.png
  64. BIN
      src/data/icon_warning.png
  65. 339 0
      src/data/linux-amd64/x11vnc/LICENSE.txt
  66. BIN
      src/data/linux-amd64/x11vnc/x11vnc
  67. 339 0
      src/data/linux-i386/x11vnc/LICENSE.txt
  68. BIN
      src/data/linux-i386/x11vnc/x11vnc
  69. BIN
      src/data/sidebar.png
  70. BIN
      src/data/sidebar_about.png
  71. BIN
      src/data/sidebar_settings.png
  72. 51 0
      src/data/ssh.key
  73. 340 0
      src/data/windows-xp/openssh/LICENSE.txt
  74. BIN
      src/data/windows-xp/openssh/bin/bash.exe
  75. BIN
      src/data/windows-xp/openssh/bin/chmod.exe
  76. BIN
      src/data/windows-xp/openssh/bin/chown.exe
  77. BIN
      src/data/windows-xp/openssh/bin/cygattr-1.dll
  78. BIN
      src/data/windows-xp/openssh/bin/cygcom_err-2.dll
  79. BIN
      src/data/windows-xp/openssh/bin/cygcrypt-0.dll
  80. BIN
      src/data/windows-xp/openssh/bin/cygcrypto-1.0.0.dll
  81. BIN
      src/data/windows-xp/openssh/bin/cygedit-0.dll
  82. BIN
      src/data/windows-xp/openssh/bin/cyggcc_s-1.dll
  83. BIN
      src/data/windows-xp/openssh/bin/cyggssapi_krb5-2.dll
  84. BIN
      src/data/windows-xp/openssh/bin/cygiconv-2.dll
  85. BIN
      src/data/windows-xp/openssh/bin/cygintl-8.dll
  86. BIN
      src/data/windows-xp/openssh/bin/cygk5crypto-3.dll
  87. BIN
      src/data/windows-xp/openssh/bin/cygkrb5-3.dll
  88. BIN
      src/data/windows-xp/openssh/bin/cygkrb5support-0.dll
  89. BIN
      src/data/windows-xp/openssh/bin/cygncursesw-10.dll
  90. BIN
      src/data/windows-xp/openssh/bin/cygreadline7.dll
  91. BIN
      src/data/windows-xp/openssh/bin/cygssp-0.dll
  92. BIN
      src/data/windows-xp/openssh/bin/cygwin1.dll
  93. BIN
      src/data/windows-xp/openssh/bin/cygz.dll
  94. BIN
      src/data/windows-xp/openssh/bin/editrights.exe
  95. BIN
      src/data/windows-xp/openssh/bin/junction.exe
  96. BIN
      src/data/windows-xp/openssh/bin/md5sum.exe
  97. BIN
      src/data/windows-xp/openssh/bin/mkgroup.exe
  98. BIN
      src/data/windows-xp/openssh/bin/mkpasswd.exe
  99. BIN
      src/data/windows-xp/openssh/bin/mv.exe
  100. 0 0
      src/data/windows-xp/openssh/bin/scp.exe

+ 10 - 0
.gitignore

@@ -0,0 +1,10 @@
+/*.log
+/build
+/misc/i18n/**/*.po~
+/misc/ssh.key
+/misc/ssh.key.pub
+/src/*.log
+/target
+/utils/ResourceHacker.ini
+/utils/build
+/utils/target

+ 29 - 0
CHANGELOG.md

@@ -0,0 +1,29 @@
+Changelog for Remote Support Tool
+=================================
+
+0.5 (16 Jan 2017)
+----------------------
+
+-   migrated from Python to Tcl/Tk
+-   replaced Paramiko with OpenSSH
+-   implemented a new build process based on Tclkit
+-   updated to OSXvnc 5.0.1, which should fix problems with Retina displays on
+    Mac OS X
+-   rebuild x11vnc, which should fix problems with a missing libxss library
+    on amd64 based Linux systems
+-   added some more options for GUI configuration via config.ini
+
+
+0.4.1 (10 Nov 2015)
+-------------------
+
+-   translated into Italian
+    (thanks to [Sjd-Risca](https://github.com/Sjd-Risca))
+-   compatibility fixes for PyInstaller 3
+    (thanks to [Sjd-Risca](https://github.com/Sjd-Risca))
+-   rebuilt with PyInstaller 3 on all supported platforms
+
+0.4 (17 Jun 2015)
+-----------------
+
+-   first public relase

+ 49 - 0
CONTRIBUTING.md

@@ -0,0 +1,49 @@
+# Contributing
+
+
+## Notes about branches
+
+This project follows the principles of the 
+[GitFlow branching model](http://jeffkreeftmeijer.com/2010/why-arent-you-using-git-flow/)
+as [proposed by Vincent Driessen](http://nvie.com/posts/a-successful-git-branching-model/). According to this model you 
+will find these branches at the GitHub project page:
+
+-   The [master branch](https://github.com/OpenIndex/RemoteSupportTool/tree/master) contains the current stable 
+    releases. No development is directly taking place in that branch.
+     
+-   The [develop branch](https://github.com/OpenIndex/RemoteSupportTool/tree/develop) represents the current state of 
+    development. Changes from this branch are merged into 
+    [master](https://github.com/OpenIndex/RemoteSupportTool/tree/master) when a new version is released.
+    
+-   For more complex features you may also find different feature branches. These are derived from
+    [develop branch](https://github.com/OpenIndex/RemoteSupportTool/tree/develop) and are merged back / removed as 
+    soon as the feature is ready for release.
+
+> **Notice:** If you like to provide changes to this project, you should always use the 
+> [develop branch](https://github.com/OpenIndex/RemoteSupportTool/tree/develop) as basis for your customization. Feel
+> free to create separate feature branches for any custom feature you like to share. 
+
+
+## Create a pull request
+
+We love pull requests. Here's a quick guide.
+
+-   Fork this project into you GitHub profile.
+
+-   Clone the [develop branch](https://github.com/OpenIndex/RemoteSupportTool/tree/develop) of the repository to your 
+    local disk:
+    ```
+    git clone -b develop git@github.com:your-username/RemoteSupportTool.git
+    ```
+    
+-   Do your changes to the local repository and push the changes back into your fork at GitHub.
+ 
+-   [Submit a pull request](https://github.com/OpenIndex/RemoteSupportTool/compare/) with the changes from your fork.
+
+At this point you're waiting on us. We like to comment on pull requests as soon as possible. We may suggest some changes 
+or improvements or alternatives.
+
+Some things that will increase the chance that your pull request is accepted:
+
+-   Test your changes.
+-   Write a [good commit message](http://tbaggery.com/2008/04/19/a-note-about-git-commit-messages.html).

+ 19 - 0
LICENSE.txt

@@ -0,0 +1,19 @@
+Copyright (c) 2015-2017 OpenIndex.de
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.

+ 183 - 0
README.md

@@ -0,0 +1,183 @@
+Remote Support Tool 0.5
+=======================
+
+*Remote Support Tool* is an easy single click solution for remote maintenance
+via [VNC](https://en.wikipedia.org/wiki/Virtual_Network_Computing) inspired by
+[UltraVNC Single Click](http://www.uvnc.com/products/uvnc-sc.html) and
+[Gitso](https://code.google.com/p/gitso/).
+
+
+About this program
+------------------
+
+[Remote administration](https://en.wikipedia.org/wiki/Remote_administration) is
+common practice in software support for end users. There are a lot of different
+solutions on the market, that can solve this task. But most of them are lacking
+at least in one of these requirements:
+
+-   The end user should be able to start the remote administration session with
+    as less clicks as possible.
+
+    -   No complex installation procedure should be required. The end user just
+        has to download a single file and start it.
+
+    -   The end user often sits behind a router / NAT and should not bother with
+        port forwarding. On one hand this is quite complicated process for an
+        end user and on the other hand it is a possible security risk to open
+        local ports to the internet.
+
+-   The remote maintenance session should be completely private and secure.
+
+    -   All transferred data has to be encrypted - especially when it is sent
+        over the internet
+
+    -   Most commercial solutions are initiating (or even routing) the traffic
+        through their own servers. This can become a privacy problem -
+        especially if the servers are located in countries with loose data
+        privacy policies.
+
+-   All major operating systems for desktop PC's should be supported.
+
+-   Support for different languages - because not all end users speak English.
+
+Because we did not find a solution that fits all of these requirements, we've
+decided to build our own little application based on
+[VNC](https://en.wikipedia.org/wiki/Virtual_Network_Computing). In general this
+application behaves similar to the
+[UltraVNC Single Click](http://www.uvnc.com/products/uvnc-sc.html) solution -
+but it also provides encryption and supports Linux and Mac OS X.
+
+In addition we wanted to make this program customizable for other companies.
+
+-   A company may provide custom configuration files together with the
+    executable binary.
+
+-   A company may compile its configurations directly into the executable
+    binary. This makes it possible to provide a single executable file for the
+    end users, that contains all required configurations by default.
+
+In both cases the end user just has to click the *Connect* button and does not
+have to change any settings.
+
+
+### Application dialog
+
+![application dialog](misc/screenshots/application-dialog.png)
+
+In the best case the end user will just have to click the *Connect* button. But
+maybe the support staff will have to tell his IP address to the end user.
+Therefore the user will find the most basic settings directly in the application
+window.
+
+
+### Extended settings dialog
+
+![extended settings dialog](misc/screenshots/settings-dialog.png)
+
+All relevant settings for a VNC reverse connection (tunneled through SSH) can be
+modified in the extended settings dialog if necessary.
+
+
+Documentation
+-------------
+
+You can find documentations about *Remote Support Tool* in the
+[project wiki](https://github.com/OpenIndex/RemoteSupportTool/wiki).
+
+
+Bundled applications
+--------------------
+
+The following applications are bundled into *Remote Support Tool* (depending on
+the operating system):
+
+-   for Linux (i386 / amd64)
+
+    -   [x11vnc 0.9.13](http://www.karlrunge.com/x11vnc/) (GPLv2) created with
+        the [`build-x11vnc.tcl`](utils/build-x11vnc.tcl) script
+
+-   for Mac OS X (10.7+)
+
+    -   [OSXvnc 5.0.1](https://github.com/stweil/OSXvnc) (GPLv2) using binaries
+        from [github.com](https://github.com/stweil/OSXvnc/releases)
+
+-   for Windows (Vista and newer)
+
+    -   [TightVNC 2.8.5](http://www.tightvnc.com/) (GPLv2) using binaries from
+        [tightvnc.com](http://www.tightvnc.com/download.php)
+
+    -   [OpenSSH 7.4p1-1](https://www.openssh.com/) (BSD) using binaries from
+        [mls-software.com](https://www.mls-software.com/opensshd.html)
+
+-   for Windows (XP / 2003)
+
+    -   [TightVNC 2.8.5](http://www.tightvnc.com/) (GPLv2) using binaries from
+        [tightvnc.com](http://www.tightvnc.com/download.php)
+
+    -   [OpenSSH 7.3p1-2](https://www.openssh.com/) (BSD) using binaries from
+        [mls-software.com](https://www.mls-software.com/opensshd-old-cygwin.html)
+
+
+Bundled components
+------------------
+
+The following third party components are bundled into the application:
+
+-   [Tcl/Tk](http://www.tcl.tk/) (BSD)
+-   [inifile](https://github.com/tcltk/tcllib/tree/master/modules/inifile) (BSD)
+-   [scrolledframe](http://wiki.tcl.tk/9223) (Public Domain)
+-   [Crystal Clear Icons](http://www.everaldo.com/) (LGPL)
+
+
+Created with
+------------
+
+-   A custom [Tclkit](http://wiki.tcl.tk/52) is used in order to create
+    application binaries. For each supported target system the Tclkit can be
+    found in the [`utils`](utils) folder.
+
+-   The Tclkits for Linux and Mac OS X were created with
+    [KitCreator](https://kitcreator.rkeene.org/) through the
+    [`build-x11vnc.tcl`](utils/build-tclkit.tcl) script.
+
+-   The Tclkit for Windows was created with KitCreator's
+    [Interactive Build System](http://kitcreator.rkeene.org/kitcreator).
+
+-   Windows binaries are post processed with
+    [Resource Hacker](http://www.angusj.com/resourcehacker/) in order to modify
+    resources (icon & version information).
+
+
+Supported operating systems
+---------------------------
+
+-   Windows (XP or newer)
+-   Mac OS X (10.7 or newer)
+-   Linux (i386 / amd64)
+
+
+Translations
+------------
+
+*Remote Support Tool* is developed in **English** and is translated into
+**German** language. The
+[translation documentation](https://github.com/OpenIndex/RemoteSupportTool/wiki/Translation)
+contains informations about how to translate the application for yourself. Feel
+free to send your translation files to us.
+
+
+License
+-------
+
+This application is licensed under the terms of the
+[MIT License](http://opensource.org/licenses/MIT). Take a look at
+[`LICENSE.txt`](LICENSE.txt) for the license text.
+
+
+Further informations
+--------------------
+
+-   [*Remote Support Tool* at GitHub](https://github.com/OpenIndex/RemoteSupportTool)
+-   [Releases of *Remote Support Tool*](https://github.com/OpenIndex/RemoteSupportTool/releases)
+-   [Changelog of *Remote Support Tool*](https://github.com/OpenIndex/RemoteSupportTool/blob/develop/CHANGELOG.md)
+-   [Documentation of *Remote Support Tool*](https://github.com/OpenIndex/RemoteSupportTool/wiki)

+ 38 - 0
build.bat

@@ -0,0 +1,38 @@
+@echo off
+goto :TopOfCode
+
+================================================================================
+
+Build application bundles.
+
+Copyright (c) 2015-2017 OpenIndex.de
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+================================================================================
+
+:TopOfCode
+
+set BASE_DIR=%~dp0
+set BASE_DIR=%BASE_DIR:~0,-1%
+set TCLKITSH=%BASE_DIR%\utils\tclkitsh-win32.upx.exe
+%TCLKITSH% %BASE_DIR%\build.tcl
+
+echo.
+pause

+ 200 - 0
build.tcl

@@ -0,0 +1,200 @@
+#!/usr/bin/env tclsh
+#
+# Build application bundles.
+#
+# Copyright 2015-2017 OpenIndex.de.
+# Distributed under the MIT License.
+# See accompanying LICENSE.txt file or at http://opensource.org/licenses/MIT
+#
+
+# initialization
+source [file join [file normalize [file dirname $argv0]] init.tcl]
+
+puts ""
+puts "========================================================================="
+puts " $PROJECT $VERSION: build application bundles"
+puts "========================================================================="
+puts ""
+
+
+# Create a binary package, that contains tclkit and application sources.
+proc create_package {output tclkit arch {archTarget ""}} {
+  global BUILD_DIR
+  global BUILD_SRC_DIR
+  global BUILD_TCLKIT
+  global SRC_DIR
+  global TCLKIT
+  global SDX
+
+  if {$archTarget == ""} {
+    set archTarget $arch
+  }
+
+  set tclkit_temp [file join $BUILD_DIR [file tail $tclkit]]
+  file copy -force $tclkit $tclkit_temp
+  file copy -force [file join $SRC_DIR "data" $arch] [file join $BUILD_SRC_DIR "data" $archTarget]
+
+  if { [catch {exec $BUILD_TCLKIT $SDX wrap $output -vfs $BUILD_SRC_DIR -runtime $tclkit_temp} result] } {
+    puts "ERROR: Can't create binary package!"
+    puts $::errorInfo
+  }
+
+  file delete -force [file join $BUILD_SRC_DIR "data" $archTarget]
+}
+
+# Modify resources of the created EXE file.
+proc postprocess_exe {dir} {
+  global RESHACK
+
+  set rc [file join $dir "application.rc"]
+  set script [file join $dir "reshack.script"]
+  cd $dir
+
+  if {[is_windows]} {
+
+    # Execute ResourceHacker.exe directly on Windows systems.
+    if {$rc != "" && [file isfile $rc]} {
+      if { [catch {exec $RESHACK -open application.rc -save application.res -action compile -log CONSOLE} result] } {
+        puts "ERROR: Can't compile resources in windows binary!"
+        puts $::errorInfo
+      }
+      #puts "ResourceHacker: $result"
+    }
+
+    if {$script != "" && [file isfile $script]} {
+      if { [catch {exec $RESHACK -script "reshack.script"} result] } {
+        puts "ERROR: Can't modify resources in windows binary!"
+        puts $::errorInfo
+      }
+      #puts "ResourceHacker: $result"
+    }
+
+  } else {
+
+    # Execute ResourceHacker.exe through WINE on non-Windows systems.
+    global WINE
+    if {$WINE == "" || ![file executable $WINE]} {
+      puts "ERROR: Can't find a WINE installation!"
+      puts "Therefore we can't replace icons and resources of the created EXE file."
+      puts "The created EXE file is still usable but it will contain a TK icon and references to the TK authors."
+      puts "Install WINE on your system or build the application on a Windows system in order to get an EXE file with correct resources."
+      return
+    }
+
+    if {$rc != "" && [file isfile $rc]} {
+      if { [catch {exec $WINE $RESHACK -open application.rc -save application.res -action compile -log CONSOLE} result] } {
+        puts "ERROR: Can't compile resources in windows binary!"
+        puts $::errorInfo
+      }
+      #puts "ResourceHacker: $result"
+    }
+
+    if {$script != "" && [file isfile $script]} {
+      if { [catch {exec $WINE $RESHACK -script "reshack.script"} result] } {
+        puts "ERROR: Can't modify resources in windows binary!"
+        puts $::errorInfo
+      }
+      #puts "ResourceHacker: $result"
+    }
+
+  }
+
+  return [file join $dir "application-modified.exe"]
+}
+
+
+set BUILD_SRC_DIR [file join $BUILD_DIR "$PROJECT.vfs"]
+
+if {[is_windows]} {
+  # Use tclkitsh binary on windows system for packaging.
+  set BUILD_TCLKIT $TCLKITSH_WINDOWS
+} else {
+  # Use tclkit binary on other systems for packaging.
+  set BUILD_TCLKIT $TCLKIT
+}
+
+puts "cleanup"
+if {[file exists $BUILD_DIR]} {
+  file delete -force $BUILD_DIR
+}
+if {[file exists $TARGET_DIR]} {
+  file delete -force $TARGET_DIR
+}
+file mkdir $BUILD_DIR
+file mkdir $TARGET_DIR
+
+puts "prepare build"
+file copy $SRC_DIR $BUILD_SRC_DIR
+foreach log [glob -nocomplain -directory $BUILD_SRC_DIR -type f  "*.log"] {
+  file delete $log
+}
+
+puts "create $PROJECT-$VERSION.kit"
+if { [catch {exec $BUILD_TCLKIT $SDX wrap [file join $TARGET_DIR "$PROJECT-$VERSION.kit"] -vfs $BUILD_SRC_DIR} result] } {
+  puts "ERROR: Can't starkit bundle!"
+  puts $::errorInfo
+}
+
+puts "prepare binary builds"
+foreach dir [glob -nocomplain -directory [file join $BUILD_SRC_DIR "data"] -type d  "*"] {
+  file delete -force $dir
+}
+
+puts "create $PROJECT-$VERSION-linux-amd64"
+create_package [file join $TARGET_DIR "$PROJECT-$VERSION-linux-amd64"] $TCLKIT_LINUX_AMD64 "linux-amd64"
+
+puts "create $PROJECT-$VERSION-linux-i386"
+create_package [file join $TARGET_DIR "$PROJECT-$VERSION-linux-i386"] $TCLKIT_LINUX_I386 "linux-i386"
+
+puts "create $PROJECT-$VERSION-macosx"
+create_package [file join $TARGET_DIR "$PROJECT-$VERSION-macosx"] $TCLKIT_MAC "darwin"
+
+puts "create $PROJECT-$VERSION.app"
+set BUILD_BUNDLE [file join $BUILD_DIR "darwin" "$PROJECT-$VERSION.app"]
+file mkdir $BUILD_BUNDLE
+file mkdir [file join $BUILD_BUNDLE "Contents"]
+file mkdir [file join $BUILD_BUNDLE "Contents" "Framework"]
+file mkdir [file join $BUILD_BUNDLE "Contents" "MacOS"]
+file mkdir [file join $BUILD_BUNDLE "Contents" "Resources"]
+file copy [file join $BASE_DIR "misc" "darwin" "Info.plist"] [file join $BUILD_BUNDLE "Contents"]
+file copy [file join $BASE_DIR "misc" "darwin" "application.icns"] [file join $BUILD_BUNDLE "Contents" "Resources"]
+file copy [file join $TARGET_DIR "$PROJECT-$VERSION-macosx"] [file join $BUILD_BUNDLE "Contents" "MacOS" "application"]
+targz $BUILD_BUNDLE [file join $TARGET_DIR "$PROJECT-$VERSION-macosx.app.tar.gz"]
+
+puts "create $PROJECT-$VERSION.exe"
+set BUILD_WINDOWS_DIR [file join $BUILD_DIR "windows"]
+file mkdir $BUILD_WINDOWS_DIR
+create_package [file join $BUILD_WINDOWS_DIR "application.exe"] $TCLKIT_WINDOWS "windows"
+
+puts "post processing $PROJECT-$VERSION.exe"
+file copy [file join $BASE_DIR "misc" "windows" "application.ico"] [file join $BUILD_WINDOWS_DIR "application.ico"]
+file copy [file join $BASE_DIR "misc" "windows" "application.rc"] [file join $BUILD_WINDOWS_DIR "application.rc"]
+file copy [file join $BASE_DIR "misc" "windows" "reshack.script"] [file join $BUILD_WINDOWS_DIR "reshack.script"]
+set modifiedExe [postprocess_exe $BUILD_WINDOWS_DIR]
+if {$modifiedExe != "" && [file isfile $modifiedExe]} {
+  file copy [file join $BUILD_WINDOWS_DIR "application-modified.exe"] [file join $TARGET_DIR "$PROJECT-$VERSION.exe"]
+} else {
+  file copy [file join $BUILD_WINDOWS_DIR "application.exe"] [file join $TARGET_DIR "$PROJECT-$VERSION.exe"]
+}
+
+puts "create $PROJECT-$VERSION-xp.exe"
+set BUILD_WINDOWS_DIR [file join $BUILD_DIR "windows-xp"]
+file mkdir $BUILD_WINDOWS_DIR
+create_package [file join $BUILD_WINDOWS_DIR "application.exe"] $TCLKIT_WINDOWS "windows-xp" "windows"
+
+puts "post processing $PROJECT-$VERSION-xp.exe"
+file copy [file join $BASE_DIR "misc" "windows" "application.ico"] [file join $BUILD_WINDOWS_DIR "application.ico"]
+file copy [file join $BASE_DIR "misc" "windows" "application.rc"] [file join $BUILD_WINDOWS_DIR "application.rc"]
+file copy [file join $BASE_DIR "misc" "windows" "reshack.script"] [file join $BUILD_WINDOWS_DIR "reshack.script"]
+set modifiedExe [postprocess_exe $BUILD_WINDOWS_DIR]
+if {$modifiedExe != "" && [file isfile $modifiedExe]} {
+  file copy [file join $BUILD_WINDOWS_DIR "application-modified.exe"] [file join $TARGET_DIR "$PROJECT-$VERSION-xp.exe"]
+} else {
+  file copy [file join $BUILD_WINDOWS_DIR "application.exe"] [file join $TARGET_DIR "$PROJECT-$VERSION-xp.exe"]
+}
+
+# On Windows systems there is an unusable bat file written into the target folder.
+# To avoid any confusions we're deleting this file.
+foreach f [glob -nocomplain -directory $TARGET_DIR -type f  "*.bat"] {
+  file delete $f
+}

+ 38 - 0
clean.bat

@@ -0,0 +1,38 @@
+@echo off
+goto :TopOfCode
+
+================================================================================
+
+Remove files created from previous builds.
+
+Copyright (c) 2015-2017 OpenIndex.de
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+================================================================================
+
+:TopOfCode
+
+set BASE_DIR=%~dp0
+set BASE_DIR=%BASE_DIR:~0,-1%
+set TCLKITSH=%BASE_DIR%\utils\tclkitsh-win32.upx.exe
+%TCLKITSH% %BASE_DIR%\clean.tcl
+
+echo.
+pause

+ 34 - 0
clean.tcl

@@ -0,0 +1,34 @@
+#!/usr/bin/env tclsh
+#
+# Remove files created from previous builds.
+#
+# Copyright 2015-2017 OpenIndex.de.
+# Distributed under the MIT License.
+# See accompanying LICENSE.txt file or at http://opensource.org/licenses/MIT
+#
+
+# initialization
+source [file join [file normalize [file dirname $argv0]] init.tcl]
+
+puts ""
+puts "========================================================================="
+puts " $PROJECT $VERSION: cleanup"
+puts "========================================================================="
+puts ""
+
+if {[file exists $BUILD_DIR]} {
+  file delete -force $BUILD_DIR
+}
+if {[file exists $TARGET_DIR]} {
+  file delete -force $TARGET_DIR
+}
+
+set utilsBuildDir [file join $UTILS_DIR "build"]
+if {[file exists $utilsBuildDir]} {
+  file delete -force $utilsBuildDir
+}
+
+set utilsTargetDir [file join $UTILS_DIR "target"]
+if {[file exists $utilsTargetDir]} {
+  file delete -force $utilsTargetDir
+}

+ 38 - 0
i18n-compile.bat

@@ -0,0 +1,38 @@
+@echo off
+goto :TopOfCode
+
+================================================================================
+
+Compile messages (msg files) from translation files (po files).
+
+Copyright (c) 2015-2017 OpenIndex.de
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+================================================================================
+
+:TopOfCode
+
+set BASE_DIR=%~dp0
+set BASE_DIR=%BASE_DIR:~0,-1%
+set TCLKITSH=%BASE_DIR%\utils\tclkitsh-win32.upx.exe
+%TCLKITSH% %BASE_DIR%\i18n-compile.tcl
+
+echo.
+pause

+ 47 - 0
i18n-compile.tcl

@@ -0,0 +1,47 @@
+#!/usr/bin/env tclsh
+#
+# Compile messages (msg files) from translation files (po files).
+#
+# Copyright 2015-2017 OpenIndex.de.
+# Distributed under the MIT License.
+# See accompanying LICENSE.txt file or at http://opensource.org/licenses/MIT
+#
+
+# initialization
+source [file join [file normalize [file dirname $argv0]] init.tcl]
+
+puts ""
+puts "========================================================================="
+puts " $PROJECT $VERSION: compile translations"
+puts "========================================================================="
+puts ""
+
+if {$MSGFMT == "" || ![file isfile $MSGFMT] || ![file executable $MSGFMT]} {
+  puts "ERROR: Can't find the msgfmt application!"
+  exit 1
+}
+
+# Remove old translation files.
+foreach msg [glob -nocomplain -directory $SRC_MSGS_DIR -type f  "*.msg"] {
+  puts "remove $msg"
+  file delete $msg
+}
+
+# Build new translation files.
+foreach po [glob -nocomplain -directory $I18N_PO_DIR -type f  "*.po"] {
+  puts "compile $po"
+
+  set name [file tail $po]
+  set pos [string last "." $name]
+  if {$pos<1} {
+    puts "ERROR: invalid translation file at $po"
+  }
+  set lang [string range $name 0 [expr {$pos - 1}]]
+  set msg [file join $SRC_MSGS_DIR [concat $name ".msg"]]
+
+  if { [catch {exec $MSGFMT --tcl [file nativename $po] -l $lang -d [file nativename $SRC_MSGS_DIR]} result] } {
+    puts "ERROR: Can't compile translation!"
+    puts "at: $po"
+    puts $::errorInfo
+  }
+}

+ 38 - 0
i18n-extract.bat

@@ -0,0 +1,38 @@
+@echo off
+goto :TopOfCode
+
+================================================================================
+
+Extract translations from source codes into a translation template (pot file).
+
+Copyright (c) 2015-2017 OpenIndex.de
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+================================================================================
+
+:TopOfCode
+
+set BASE_DIR=%~dp0
+set BASE_DIR=%BASE_DIR:~0,-1%
+set TCLKITSH=%BASE_DIR%\utils\tclkitsh-win32.upx.exe
+%TCLKITSH% %BASE_DIR%\i18n-extract.tcl
+
+echo.
+pause

+ 39 - 0
i18n-extract.tcl

@@ -0,0 +1,39 @@
+#!/usr/bin/env tclsh
+#
+# Extract translations from source codes into a translation template (pot file).
+#
+# Copyright 2015-2017 OpenIndex.de.
+# Distributed under the MIT License.
+# See accompanying LICENSE.txt file or at http://opensource.org/licenses/MIT
+#
+
+# initialization
+source [file join [file normalize [file dirname $argv0]] init.tcl]
+
+puts ""
+puts "========================================================================="
+puts " $PROJECT $VERSION: extract translations"
+puts "========================================================================="
+puts ""
+
+if {$XGETTEXT == "" || ![file isfile $XGETTEXT] || ![file executable $XGETTEXT]} {
+  puts "ERROR: Can't find the xgettext application!"
+  exit 1
+}
+
+puts "recreate $I18N_POT"
+if {[file exists $I18N_POT]} {
+  file delete $I18N_POT
+}
+touch $I18N_POT
+
+cd $SRC_APP_DIR
+foreach tcl [glob -nocomplain -directory $SRC_APP_DIR -type f  "*.tcl"] {
+  puts "process $tcl"
+  set f [file tail $tcl]
+  if { [catch {exec $XGETTEXT -j -c -o [file nativename $I18N_POT] -L Tcl -k_ --copyright-holder=$AUTHOR_NAME --msgid-bugs-address=$AUTHOR_EMAIL $f} result] } {
+    puts "ERROR: Can't extract translation!"
+    puts "from: $tcl"
+    puts $::errorInfo
+  }
+}

+ 38 - 0
i18n-merge.bat

@@ -0,0 +1,38 @@
+@echo off
+goto :TopOfCode
+
+================================================================================
+
+Merge translation template (pot file) into translation files (po files).
+
+Copyright (c) 2015-2017 OpenIndex.de
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.
+
+================================================================================
+
+:TopOfCode
+
+set BASE_DIR=%~dp0
+set BASE_DIR=%BASE_DIR:~0,-1%
+set TCLKITSH=%BASE_DIR%\utils\tclkitsh-win32.upx.exe
+%TCLKITSH% %BASE_DIR%\i18n-merge.tcl
+
+echo.
+pause

+ 31 - 0
i18n-merge.tcl

@@ -0,0 +1,31 @@
+#!/usr/bin/env tclsh
+#
+# Merge translation template (pot file) into translation files (po files).
+#
+# Copyright 2015-2017 OpenIndex.de.
+# Distributed under the MIT License.
+# See accompanying LICENSE.txt file or at http://opensource.org/licenses/MIT
+#
+
+# initialization
+source [file join [file normalize [file dirname $argv0]] init.tcl]
+
+puts ""
+puts "========================================================================="
+puts " $PROJECT $VERSION: merge translations"
+puts "========================================================================="
+puts ""
+
+if {$MSGMERGE == "" || ![file isfile $MSGMERGE] || ![file executable $MSGMERGE]} {
+  puts "ERROR: Can't find the msgmerge application!"
+  exit 1
+}
+
+foreach po [glob -nocomplain -directory $I18N_PO_DIR -type f  "*.po"] {
+  puts "merge $po"
+  if { [catch {exec $MSGMERGE -q -U [file nativename $po] [file nativename $I18N_POT]} result] } {
+    puts "ERROR: Can't merge translation!"
+    puts "at: $po"
+    puts $::errorInfo
+  }
+}

+ 74 - 0
init.tcl

@@ -0,0 +1,74 @@
+#!/usr/bin/env tclsh
+#
+# Configurations for the build environment.
+#
+# Copyright 2015-2017 OpenIndex.de.
+# Distributed under the MIT License.
+# See accompanying LICENSE.txt file or at http://opensource.org/licenses/MIT
+#
+
+#
+# configurations
+#
+
+# project settings
+set PROJECT "RemoteSupportTool"
+set VERSION "0.5"
+set AUTHOR_NAME "OpenIndex"
+set AUTHOR_EMAIL "info@openindex.de"
+
+# preferred applications
+set TAR ""
+set XGETTEXT ""
+set MSGFMT ""
+set MSGMERGE ""
+set WINE ""
+
+# setup internal pathes
+set BASE_DIR [file normalize [file dirname $argv0]]
+set SRC_DIR [file join $BASE_DIR src]
+set SRC_APP_DIR [file join $SRC_DIR "lib" "app-support"]
+set SRC_MSGS_DIR [file join $SRC_APP_DIR "msgs"]
+set UTILS_DIR [file join $BASE_DIR "utils"]
+set BUILD_DIR [file join $BASE_DIR "build"]
+set TARGET_DIR [file join $BASE_DIR "target"]
+set I18N_DIR [file join $BASE_DIR "misc" "i18n"]
+set I18N_PO_DIR [file join $I18N_DIR "app-support"]
+set I18N_POT [file join $I18N_DIR "app-support.pot"]
+set SDX [file join $UTILS_DIR "sdx-20110317.kit"]
+set RESHACK [file join $UTILS_DIR "ResourceHacker.exe"]
+set SEVENZIP [file join $UTILS_DIR "7za.exe"]
+set TCLKIT_LINUX_AMD64 [file join $UTILS_DIR "tclkit-8.6.6-linux-amd64"]
+set TCLKIT_LINUX_I386 [file join $UTILS_DIR "tclkit-8.6.6-linux-i386"]
+set TCLKIT_MAC [file join $UTILS_DIR "tclkit-8.6.6-macosx"]
+set TCLKIT_WINDOWS [file join $UTILS_DIR "tclkit-8.6.6-windows.exe"]
+set TCLKITSH_WINDOWS [file join $UTILS_DIR "tclkitsh-win32.upx.exe"]
+
+
+
+#
+# start initialization
+#
+
+# import functions
+source [file join $UTILS_DIR "utils.tcl"]
+
+# detect application pathes
+set TCLKIT [get_tclkit]
+if {![info exists XGETTEXT] || $XGETTEXT == ""} {
+  set XGETTEXT [which "xgettext"]
+}
+if {![info exists MSGFMT] || $MSGFMT == ""} {
+  set MSGFMT [which "msgfmt"]
+}
+if {![info exists MSGMERGE] || $MSGMERGE == ""} {
+  set MSGMERGE [which "msgmerge"]
+}
+if {![is_windows]} {
+  if {![info exists TAR] || $TAR == ""} {
+    set TAR [which "tar"]
+  }
+  if {![info exists WINE] || $WINE == ""} {
+    set WINE [which "wine"]
+  }
+}

+ 17 - 0
misc/config.ini

@@ -0,0 +1,17 @@
+[about]
+
+[gui]
+
+[gui-darwin]
+
+[gui-linux]
+
+[gui-windows]
+
+[session]
+
+[session-darwin]
+
+[session-linux]
+
+[session-windows]

+ 47 - 0
misc/darwin/Info.plist

@@ -0,0 +1,47 @@
+<?xml version="1.0" encoding="UTF-8"?>
+<!DOCTYPE plist PUBLIC "-//Apple Computer//DTD PLIST 1.0//EN" "http://www.apple.com/DTDs/PropertyList-1.0.dtd">
+<plist version="1.0">
+    <dict>
+        <key>LSEnvironment</key>
+        <dict>
+            <key>MAC_APPLICATION_BUNDLE</key>
+            <string>1</string>
+        </dict>
+
+        <key>CFBundleShortVersionString</key>
+        <string>0.5.0</string>
+
+        <key>CFBundleExecutable</key>
+        <string>MacOS/application</string>
+
+        <key>CFBundleName</key>
+        <string>Remote-Support-Tool</string>
+
+        <key>CFBundleDisplayName</key>
+        <string>Remote-Support-Tool</string>
+
+        <key>CFBundleIconFile</key>
+        <string>application.icns</string>
+
+        <key>CFBundlePackageType</key>
+        <string>APPL</string>
+
+        <key>CFBundleInfoDictionaryVersion</key>
+        <string>6.0</string>
+
+        <key>NSHighResolutionCapable</key>
+        <true/>
+
+        <key>LSApplicationCategoryType</key>
+        <string>public.app-category.utilities</string>
+
+        <key>LSMultipleInstancesProhibited</key>
+        <true/>
+
+        <key>LSGetAppDiedEvents</key>
+        <true/>
+
+        <key>LSMinimumSystemVersion</key>
+        <string>10.5.0</string>
+    </dict>
+</plist>

BIN
misc/darwin/application.icns


+ 301 - 0
misc/i18n/app-support.pot

@@ -0,0 +1,301 @@
+# Copyright 2015-2017 OpenIndex.de.
+# Distributed under the MIT License.
+# See accompanying LICENSE.txt file or at http://opensource.org/licenses/MIT
+#
+#, fuzzy
+msgid ""
+msgstr ""
+"Project-Id-Version: RemoteSupportTool 0.5\n"
+"Report-Msgid-Bugs-To: info@openindex.de\n"
+"POT-Creation-Date: 2017-01-16 13:57+0100\n"
+"PO-Revision-Date: YEAR-MO-DA HO:MI+ZONE\n"
+"Last-Translator: FULL NAME <EMAIL@ADDRESS>\n"
+"Language-Team: LANGUAGE <LL@li.org>\n"
+"Language: \n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+
+#: gui.tcl:96
+#, tcl-format
+msgid ""
+"This application provides access to your desktop for the support staff of %s."
+msgstr ""
+
+#: gui.tcl:98 gui.tcl:375
+msgid "This application provides access to your desktop for our support staff."
+msgstr ""
+
+#. Create address field.
+#: gui.tcl:110
+msgid "Address"
+msgstr ""
+
+#. Create port field.
+#: gui.tcl:117
+msgid "Port"
+msgstr ""
+
+#. Create ssh checkbox.
+#: gui.tcl:123
+msgid "Enable SSH encryption."
+msgstr ""
+
+#. Create options button.
+#: gui.tcl:127
+msgid "Extended…"
+msgstr ""
+
+#. Create quit button.
+#: gui.tcl:136
+msgid "Quit"
+msgstr ""
+
+#. Create about button.
+#: gui.tcl:140
+msgid "About"
+msgstr ""
+
+#. Create connect button.
+#: gui.tcl:144
+msgid "Connect"
+msgstr ""
+
+#. Create disconnect button.
+#: gui.tcl:148
+msgid "Disconnect"
+msgstr ""
+
+#: gui.tcl:202 gui.tcl:714 gui.tcl:735 gui.tcl:756
+msgid "Error"
+msgstr ""
+
+#: gui.tcl:202
+msgid "Can't open connection!"
+msgstr ""
+
+#: gui.tcl:244
+msgid "Connection is established."
+msgstr ""
+
+#: gui.tcl:257
+msgid "Establishing a connection…"
+msgstr ""
+
+#: gui.tcl:270
+msgid "The connection was closed."
+msgstr ""
+
+#: gui.tcl:283
+msgid "An error occured."
+msgstr ""
+
+#: gui.tcl:296
+msgid "Welcome to remote maintenance."
+msgstr ""
+
+#: gui.tcl:334
+msgid "Company"
+msgstr ""
+
+#: gui.tcl:341
+msgid "About this program"
+msgstr ""
+
+#: gui.tcl:377
+msgid ""
+"Our support staff will tell you the required settings in order to build up a "
+"connection for remote maintenance."
+msgstr ""
+
+#: gui.tcl:382
+#, tcl-format
+msgid ""
+"This software is based on the free and open Remote Support Tool and was "
+"modified for %s."
+msgstr ""
+
+#: gui.tcl:384
+#, tcl-format
+msgid ""
+"Please contact %s for any questions or problems according to this software."
+msgstr ""
+
+#: gui.tcl:388
+msgid "Authors"
+msgstr ""
+
+#: gui.tcl:400
+msgid "Translators"
+msgstr ""
+
+#: gui.tcl:402
+msgid "German"
+msgstr ""
+
+#: gui.tcl:405
+msgid "Internal components"
+msgstr ""
+
+#: gui.tcl:407
+msgid "The following third party components were integrated:"
+msgstr ""
+
+#: gui.tcl:417
+msgid "Created with"
+msgstr ""
+
+#: gui.tcl:419
+msgid "The application was created with:"
+msgstr ""
+
+#: gui.tcl:427
+msgid "License"
+msgstr ""
+
+#: gui.tcl:470
+msgid "Source code"
+msgstr ""
+
+#: gui.tcl:474
+msgid "Close"
+msgstr ""
+
+#: gui.tcl:565
+msgid "Extended Settings"
+msgstr ""
+
+#. Create VNC title.
+#: gui.tcl:602
+msgid "Settings for VNC"
+msgstr ""
+
+#. Create VNC application field.
+#. Create SSH application field.
+#: gui.tcl:606 gui.tcl:630
+msgid "Application"
+msgstr ""
+
+#: gui.tcl:608 gui.tcl:632 gui.tcl:640
+msgid "Select"
+msgstr ""
+
+#: gui.tcl:615
+msgid "Parameters"
+msgstr ""
+
+#. Create internal VNC application field.
+#: gui.tcl:622
+msgid "Use provided VNC application."
+msgstr ""
+
+#. Create SSH title.
+#: gui.tcl:626
+msgid "Settings for SSH"
+msgstr ""
+
+#. Create SSH key field.
+#: gui.tcl:638
+msgid "Key"
+msgstr ""
+
+#. Create SSH user field.
+#: gui.tcl:646
+msgid "User"
+msgstr ""
+
+#. Create SSH port field.
+#: gui.tcl:652
+msgid "SSH Port"
+msgstr ""
+
+#: gui.tcl:659
+msgid "Use provided SSH application."
+msgstr ""
+
+#: gui.tcl:665
+msgid "Use provided key."
+msgstr ""
+
+#. Create submit button.
+#: gui.tcl:675
+msgid "Submit"
+msgstr ""
+
+#. Create cancel button.
+#: gui.tcl:679
+msgid "Cancel"
+msgstr ""
+
+#: gui.tcl:711
+msgid "Select your SSH key."
+msgstr ""
+
+#: gui.tcl:714
+msgid "Can't select SSH key!"
+msgstr ""
+
+#: gui.tcl:714
+msgid "The selected file is invalid."
+msgstr ""
+
+#: gui.tcl:732
+msgid "Select your SSH application."
+msgstr ""
+
+#: gui.tcl:735
+msgid "Can't select SSH application!"
+msgstr ""
+
+#: gui.tcl:735 gui.tcl:756
+msgid "The selected file is not an executable program."
+msgstr ""
+
+#: gui.tcl:753
+msgid "Select your VNC application."
+msgstr ""
+
+#: gui.tcl:756
+msgid "Can't select VNC application!"
+msgstr ""
+
+#. Set application settings.
+#: support.tcl:83
+msgid "Remote Support Tool"
+msgstr ""
+
+#: session.tcl:810
+msgid "An invalid address was specified."
+msgstr ""
+
+#: session.tcl:816
+msgid "An invalid port number was specified."
+msgstr ""
+
+#: session.tcl:824
+msgid "An invalid VNC application was specified."
+msgstr ""
+
+#: session.tcl:839
+msgid "There is no provided SSH application available."
+msgstr ""
+
+#: session.tcl:847
+msgid "An invalid SSH application was specified."
+msgstr ""
+
+#: session.tcl:855
+msgid "An invalid SSH user was specified."
+msgstr ""
+
+#: session.tcl:861
+msgid "An invalid SSH port number was specified."
+msgstr ""
+
+#: session.tcl:871
+msgid "There is no provided SSH key available."
+msgstr ""
+
+#: session.tcl:879
+msgid "An invalid SSH key was specified."
+msgstr ""

+ 310 - 0
misc/i18n/app-support/de.po

@@ -0,0 +1,310 @@
+# Copyright 2015-2017 OpenIndex.de.
+# Distributed under the MIT License.
+# See accompanying LICENSE.txt file or at http://opensource.org/licenses/MIT
+#
+msgid ""
+msgstr ""
+"Project-Id-Version: RemoteSupportTool 0.5\n"
+"Report-Msgid-Bugs-To: info@openindex.de\n"
+"POT-Creation-Date: 2017-01-13 11:40+0100\n"
+"PO-Revision-Date: 2017-01-13 11:42+0100\n"
+"Last-Translator: Andreas Rudolph <andy@openindex.de>\n"
+"Language-Team: \n"
+"Language: de\n"
+"MIME-Version: 1.0\n"
+"Content-Type: text/plain; charset=UTF-8\n"
+"Content-Transfer-Encoding: 8bit\n"
+"X-Generator: Poedit 1.8.11\n"
+"Plural-Forms: nplurals=2; plural=(n != 1);\n"
+
+#: gui.tcl:96
+#, tcl-format
+msgid ""
+"This application provides access to your desktop for the support staff of %s."
+msgstr ""
+"Diese Anwendungen stellt den Support-Mitarbeitern von %s einen Zugriff auf "
+"Ihren Rechner bereit."
+
+#: gui.tcl:98 gui.tcl:375
+msgid "This application provides access to your desktop for our support staff."
+msgstr ""
+"Diese Anwendungen stellt unseren Support-Mitarbeitern einen Zugriff auf "
+"Ihren Rechner bereit."
+
+#. Create address field.
+#: gui.tcl:110
+msgid "Address"
+msgstr "Adresse"
+
+#. Create port field.
+#: gui.tcl:117
+msgid "Port"
+msgstr "Port"
+
+#. Create ssh checkbox.
+#: gui.tcl:123
+msgid "Enable SSH encryption."
+msgstr "SSH-Verschlüsselung aktivieren."
+
+#. Create options button.
+#: gui.tcl:127
+msgid "Extended…"
+msgstr "Erweitert…"
+
+#. Create quit button.
+#: gui.tcl:136
+msgid "Quit"
+msgstr "Beenden"
+
+#. Create about button.
+#: gui.tcl:140
+msgid "About"
+msgstr "Info"
+
+#. Create connect button.
+#: gui.tcl:144
+msgid "Connect"
+msgstr "Verbinden"
+
+#. Create disconnect button.
+#: gui.tcl:148
+msgid "Disconnect"
+msgstr "Trennen"
+
+#: gui.tcl:202 gui.tcl:714 gui.tcl:735 gui.tcl:756
+msgid "Error"
+msgstr "Fehler"
+
+#: gui.tcl:202
+msgid "Can't open connection!"
+msgstr "Verbindung kann nicht hergestellt werden!"
+
+#: gui.tcl:244
+msgid "Connection is established."
+msgstr "Die Verbindung wurde hergestellt."
+
+#: gui.tcl:257
+msgid "Establishing a connection…"
+msgstr "Eine Verbindung wird hergestellt…"
+
+#: gui.tcl:270
+msgid "The connection was closed."
+msgstr "Die Verbindung wurde getrennt."
+
+#: gui.tcl:283
+msgid "An error occured."
+msgstr "Ein Fehler ist aufgetreten."
+
+#: gui.tcl:296
+msgid "Welcome to remote maintenance."
+msgstr "Willkommen zur Fernwartung."
+
+#: gui.tcl:334
+msgid "Company"
+msgstr "Firma"
+
+#: gui.tcl:341
+msgid "About this program"
+msgstr "Über dieses Programm"
+
+#: gui.tcl:377
+msgid ""
+"Our support staff will tell you the required settings in order to build up a "
+"connection for remote maintenance."
+msgstr ""
+"Unsere Support-Mitarbeiter werden Ihnen die nötigen Einstellungen mitteilen "
+"um eine Verbindung zur Fernwartung herstellen zu können."
+
+#: gui.tcl:382
+#, tcl-format
+msgid ""
+"This software is based on the free and open Remote Support Tool and was "
+"modified for %s."
+msgstr ""
+"Diese Software basiert auf dem freien und offenen Remote Support Tool und "
+"wurde für %s modifiziert."
+
+#: gui.tcl:384
+#, tcl-format
+msgid ""
+"Please contact %s for any questions or problems according to this software."
+msgstr "Bitte wenden Sie sich an %s bei Fragen oder Problemen."
+
+#: gui.tcl:388
+msgid "Authors"
+msgstr "Autoren"
+
+#: gui.tcl:400
+msgid "Translators"
+msgstr "Übersetzer"
+
+#: gui.tcl:402
+msgid "German"
+msgstr "Deutsch"
+
+#: gui.tcl:405
+msgid "Internal components"
+msgstr "Interne Komponenten"
+
+#: gui.tcl:407
+msgid "The following third party components were integrated:"
+msgstr "Die folgenden Komponenten von Drittanbietern wurden integriert:"
+
+#: gui.tcl:417
+msgid "Created with"
+msgstr "Erstellt mit"
+
+#: gui.tcl:419
+msgid "The application was created with:"
+msgstr "Das Programm wurde erstellt mit:"
+
+#: gui.tcl:427
+msgid "License"
+msgstr "Lizenz"
+
+#: gui.tcl:470
+msgid "Source code"
+msgstr "Quelltext"
+
+#: gui.tcl:474
+msgid "Close"
+msgstr "Schließen"
+
+#: gui.tcl:565
+msgid "Extended Settings"
+msgstr "Erweiterte Einstellungen"
+
+#. Create VNC title.
+#: gui.tcl:602
+msgid "Settings for VNC"
+msgstr "Einstellungen für VNC"
+
+#. Create VNC application field.
+#. Create SSH application field.
+#: gui.tcl:606 gui.tcl:630
+msgid "Application"
+msgstr "Programm"
+
+#: gui.tcl:608 gui.tcl:632 gui.tcl:640
+msgid "Select"
+msgstr "Auswahl"
+
+#: gui.tcl:615
+msgid "Parameters"
+msgstr "Parameter"
+
+#. Create internal VNC application field.
+#: gui.tcl:622
+msgid "Use provided VNC application."
+msgstr "Internes VNC-Programm verwenden."
+
+#. Create SSH title.
+#: gui.tcl:626
+msgid "Settings for SSH"
+msgstr "Einstellungen für SSH"
+
+#. Create SSH key field.
+#: gui.tcl:638
+msgid "Key"
+msgstr "Schlüssel"
+
+#. Create SSH user field.
+#: gui.tcl:646
+msgid "User"
+msgstr "Benutzer"
+
+#. Create SSH port field.
+#: gui.tcl:652
+msgid "SSH Port"
+msgstr "SSH-Port"
+
+#: gui.tcl:659
+msgid "Use provided SSH application."
+msgstr "Internes SSH-Programm verwenden."
+
+#: gui.tcl:665
+msgid "Use provided key."
+msgstr "Interne Schlüsseldatei verwenden."
+
+#. Create submit button.
+#: gui.tcl:675
+msgid "Submit"
+msgstr "Übernehmen"
+
+#. Create cancel button.
+#: gui.tcl:679
+msgid "Cancel"
+msgstr "Abbrechen"
+
+#: gui.tcl:711
+msgid "Select your SSH key."
+msgstr "Wählen Sie Ihren SSH-Schlüssel aus."
+
+#: gui.tcl:714
+msgid "Can't select SSH key!"
+msgstr "SSH-Schlüssel kann nicht übernommen werden!"
+
+#: gui.tcl:714
+msgid "The selected file is invalid."
+msgstr "Die gewählte Datei ist ungültig."
+
+#: gui.tcl:732
+msgid "Select your SSH application."
+msgstr "Wählen Sie Ihr SSH-Programm aus."
+
+#: gui.tcl:735
+msgid "Can't select SSH application!"
+msgstr "SSH-Programm kann nicht übernommen werden!"
+
+#: gui.tcl:735 gui.tcl:756
+msgid "The selected file is not an executable program."
+msgstr "Die gewählte Datei ist kein ausführbares Programm."
+
+#: gui.tcl:753
+msgid "Select your VNC application."
+msgstr "Wählen Sie Ihr VNC-Programm aus."
+
+#: gui.tcl:756
+msgid "Can't select VNC application!"
+msgstr "VNC-Programm kann nicht übernommen werden!"
+
+#. Set application settings.
+#: support.tcl:83
+msgid "Remote Support Tool"
+msgstr "Fernwartungs-Tool"
+
+#: session.tcl:809
+msgid "An invalid address was specified."
+msgstr "Eine ungültige Adresse wurde angegeben."
+
+#: session.tcl:815
+msgid "An invalid port number was specified."
+msgstr "Eine ungültige Port-Nr wurde angegeben."
+
+#: session.tcl:823
+msgid "An invalid VNC application was specified."
+msgstr "Ein ungültiges VNC-Programm wurde angegeben."
+
+#: session.tcl:838
+msgid "There is no provided SSH application available."
+msgstr "Es steht kein internes SSH-Programm zur Verfügung."
+
+#: session.tcl:846
+msgid "An invalid SSH application was specified."
+msgstr "Ein ungültiges SSH-Programm wurde angegeben."
+
+#: session.tcl:854
+msgid "An invalid SSH user was specified."
+msgstr "Ein ungültiger SSH-Benutzer wurde angegeben."
+
+#: session.tcl:860
+msgid "An invalid SSH port number was specified."
+msgstr "Eine ungültige SSH Port-Nr wurde angegeben."
+
+#: session.tcl:870
+msgid "There is no provided SSH key available."
+msgstr "Es steht kein interner SSH-Schlüssel zur Verfügung."
+
+#: session.tcl:878
+msgid "An invalid SSH key was specified."
+msgstr "Ein ungültiger SSH-Schlüssel wurde angegeben."

BIN
misc/images/icon/128.png


BIN
misc/images/icon/16.png


BIN
misc/images/icon/22.png


BIN
misc/images/icon/32.png


BIN
misc/images/icon/48.png


BIN
misc/images/icon/64.png


+ 14 - 0
misc/images/icon/build-icns.sh

@@ -0,0 +1,14 @@
+#!/bin/bash
+#
+# Convert PNG icons in the current directory into ICNS format for Mac OS X.
+#
+# Copyright 2015 OpenIndex.de.
+# Distributed under the MIT License.
+# See accompanying LICENSE.txt file or at http://opensource.org/licenses/MIT
+#
+
+APP="png2icns"
+
+BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+TARGET=$(readlink -f "$BASE_DIR/../../darwin/Remote-Support-Tool.icns")
+$APP "$TARGET" "$BASE_DIR/16.png" "$BASE_DIR/32.png" "$BASE_DIR/48.png" "$BASE_DIR/128.png"

+ 15 - 0
misc/images/icon/build-ico.sh

@@ -0,0 +1,15 @@
+#!/bin/bash
+#
+# Convert PNG icons in the current directory into ICO format for Windows.
+#
+# Copyright 2015 OpenIndex.de.
+# Distributed under the MIT License.
+# See accompanying LICENSE.txt file or at http://opensource.org/licenses/MIT
+#
+
+APP="png2ico"
+
+BASE_DIR="$( cd "$( dirname "${BASH_SOURCE[0]}" )" && pwd )"
+TARGET=$(readlink -f "$BASE_DIR/../../windows/Remote-Support-Tool.ico")
+$APP "$TARGET" "$BASE_DIR/16.png" "$BASE_DIR/32.png" "$BASE_DIR/48.png"
+echo "Saved ico file to $TARGET"

BIN
misc/images/logo.xcf


BIN
misc/images/sidebar-IN-Ulm.xcf


BIN
misc/images/sidebar.xcf


BIN
misc/images/sidebar_about-IN-Ulm.xcf


BIN
misc/images/sidebar_about.xcf


BIN
misc/images/sidebar_settings-IN-Ulm.xcf


BIN
misc/images/sidebar_settings.xcf


BIN
misc/screenshots/application-dialog.png


BIN
misc/screenshots/settings-dialog.png


BIN
misc/use-cases/icons/database.png


BIN
misc/use-cases/icons/display.png


BIN
misc/use-cases/icons/firewall.png


BIN
misc/use-cases/icons/os-support.png


BIN
misc/use-cases/vnc-through-ssh-gateway.png


File diff suppressed because it is too large
+ 213 - 0
misc/use-cases/vnc-through-ssh-gateway.sla


File diff suppressed because it is too large
+ 6662 - 0
misc/use-cases/vnc-through-ssh-gateway.svg


BIN
misc/use-cases/vnc-through-ssh-tunnel.png


File diff suppressed because it is too large
+ 161 - 0
misc/use-cases/vnc-through-ssh-tunnel.sla


File diff suppressed because it is too large
+ 3747 - 0
misc/use-cases/vnc-through-ssh-tunnel.svg


BIN
misc/use-cases/vnc-unencrypted.png


File diff suppressed because it is too large
+ 123 - 0
misc/use-cases/vnc-unencrypted.sla


File diff suppressed because it is too large
+ 1690 - 0
misc/use-cases/vnc-unencrypted.svg


BIN
misc/windows/application.ico


+ 26 - 0
misc/windows/application.rc

@@ -0,0 +1,26 @@
+
+1 VERSIONINFO
+FILEVERSION 0,5,0,0
+PRODUCTVERSION 0,5,0,0
+FILEOS 0x4
+FILETYPE 0x1
+{
+BLOCK "StringFileInfo"
+{
+	BLOCK "040904b0"
+	{
+		VALUE "FileDescription", "Remote Support Tool"
+		VALUE "OriginalFilename", "RemoteSupportTool-0.5.exe"
+		VALUE "CompanyName", "OpenIndex.de"
+		VALUE "FileVersion", "0.5.0"
+		VALUE "LegalCopyright", "Copyright © 2015-2017 OpenIndex"
+		VALUE "ProductName", "Remote Support Tool"
+		VALUE "ProductVersion", "0.5.0"
+	}
+}
+
+BLOCK "VarFileInfo"
+{
+	VALUE "Translation", 0x0409 0x04B0
+}
+}

+ 9 - 0
misc/windows/reshack.script

@@ -0,0 +1,9 @@
+[FILENAMES]
+Exe=    application.exe
+SaveAs= application-modified.exe
+Log=    CONSOLE
+
+[COMMANDS]
+-delete ICONGROUP,TK,1033
+-addoverwrite application.ico, ICONGROUP,MAINICON,0
+-addoverwrite application.res, VERSIONINFO,,1033

+ 19 - 0
src/data/LICENSE.txt

@@ -0,0 +1,19 @@
+Copyright (c) 2015-2017 OpenIndex.de
+
+Permission is hereby granted, free of charge, to any person obtaining a copy
+of this software and associated documentation files (the "Software"), to deal
+in the Software without restriction, including without limitation the rights
+to use, copy, modify, merge, publish, distribute, sublicense, and/or sell
+copies of the Software, and to permit persons to whom the Software is
+furnished to do so, subject to the following conditions:
+
+The above copyright notice and this permission notice shall be included in
+all copies or substantial portions of the Software.
+
+THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR
+IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY,
+FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE
+AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER
+LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM,
+OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN
+THE SOFTWARE.

+ 58 - 0
src/data/config.ini

@@ -0,0 +1,58 @@
+#
+# This file contains custom configurations of RemoteSupportTool.
+#
+# Copy the settings you like to modify from "config_global.ini" into this file.
+#
+
+[about]
+# URL of the applications source code repository.
+repository = https://git.in-ulm.de/in-ulm/RemoteSupportTool
+
+# Name of the company.
+company-name = Internet Ulm/Neu-Ulm e.V.
+
+# URL of the company website.
+company-website =https://www.in-ulm.de
+
+# Short title of the company website.
+company-website-title =IN-Ulm
+
+# Additional authors. Multiple authors may be separated by a semicolon.
+authors =Raimund Konz / IN-Ulm e.V.
+
+[gui]
+
+[gui-darwin]
+
+[gui-linux]
+
+[gui-windows]
+
+[session]
+# Default VNC host.
+host = support.in-ulm.de
+
+# Default VNC port.
+port = 5500
+
+# SSH is enabled by default (yes / no).
+ssh-enabled = yes
+
+# Default path to the SSH application.
+ssh-application =
+
+# Default port for SSH connections.
+ssh-port = 22
+
+# Default user for SSH connections.
+ssh-user = support
+
+# Default file with a SSH private key.
+ssh-keyfile = ssh.key
+
+[session-darwin]
+
+[session-linux]
+
+[session-windows]
+

+ 184 - 0
src/data/config_global.ini

@@ -0,0 +1,184 @@
+#
+# This file contains default configurations of RemoteSupportTool.
+#
+# You should not change settings in this file directly. In order to preserve
+# the default settings, you should put your modifications into the "config.ini"
+# file.
+#
+
+
+[about]
+
+# URL of the applications source code repository.
+repository = https://github.com/OpenIndex/RemoteSupportTool
+
+# Name of the company.
+company-name =
+
+# URL of the company website.
+company-website =
+
+# Short title of the company website.
+company-website-title =
+
+# Additional authors. Multiple authors may be separated by a semicolon.
+authors =
+
+[gui]
+
+# Default background color.
+background = white
+
+# Default size of the application window.
+application-window-width = 500
+application-window-height = 300
+application-window-min-width = 450
+application-window-min-height = 250
+
+# Default size of the about window.
+about-window-width = 550
+about-window-height = 350
+about-window-min-width = 450
+about-window-min-height = 250
+
+# Default size of the settings window.
+settings-window-width = 550
+settings-window-height = 350
+settings-window-min-width = 450
+settings-window-min-height = 250
+
+# Default settings for titles.
+title-background = white
+title-foreground = black
+title-foreground-disabled = #cccccc
+title-font-family = TkCaptionFont
+title-font-size = 12
+title-font-weight = bold
+
+# Default settings for subtitles.
+subtitle-background = white
+subtitle-foreground = black
+subtitle-foreground-disabled = #cccccc
+subtitle-font-family = TkCaptionFont
+subtitle-font-size = 10
+subtitle-font-weight = bold
+
+# Default settings for labels.
+label-background = white
+label-foreground = black
+label-foreground-disabled = #cccccc
+label-font-family = TkDefaultFont
+label-font-size = 9
+label-font-weight = normal
+
+# Default settings for buttons.
+button-background = white
+button-background-active = #eeeeee
+button-foreground = #333333
+button-foreground-active = black
+button-foreground-disabled = #cccccc
+button-font-family = TkDefaultFont
+button-font-size = 9
+button-font-weight = normal
+
+# Default settings for checkboxes.
+checkbutton-background = white
+checkbutton-background-active = white
+checkbutton-foreground = #333333
+checkbutton-foreground-active = black
+checkbutton-font-family = TkDefaultFont
+checkbutton-font-size = 9
+checkbutton-font-weight = normal
+
+# Default settings for text fields.
+entry-background = white
+entry-background-disabled = #e0e0e0
+entry-background-readonly = #f0f0f0
+entry-foreground = black
+entry-foreground-disabled = #999999
+entry-font-family = TkTextFont
+entry-font-size = 10
+entry-font-weight = normal
+
+# Default settings for the status bar in the application window.
+status-background = #f0f0f0
+status-foreground = black
+status-foreground-disabled = #c0c0c0
+status-font-family = TkDefaultFont
+status-font-size = 9
+status-font-weight = normal
+
+[gui-darwin]
+
+# Settings for titles on Mac OS X.
+title-font-family = systemApplicationFont
+title-font-size = 15
+
+# Settings for subtitles on Mac OS X.
+subtitle-font-family = systemApplicationFont
+subtitle-font-size = 13
+
+# Settings for labels on Mac OS X.
+label-font-family = systemApplicationFont
+label-font-size = 13
+
+# Settings for buttons on Mac OS X.
+button-font-family = systemApplicationFont
+button-font-size = 12
+
+# Settings for checkboxes on Mac OS X.
+checkbutton-font-family = systemApplicationFont
+checkbutton-font-size = 13
+
+# Settings for text fields on Mac OS X.
+entry-font-family = systemApplicationFont
+entry-font-size = 13
+
+# Settings for the status bar on Mac OS X.
+status-font-family = systemApplicationFont
+status-font-size = 12
+
+[gui-linux]
+
+[gui-windows]
+
+[session]
+
+# Default VNC host.
+host =
+
+# Default VNC port.
+port = 5500
+
+# Default path to the VNC application.
+vnc-application =
+
+# Default parameters for the VNC application.
+vnc-parameters =
+
+# SSH is enabled by default (yes / no).
+ssh-enabled = no
+
+# Default path to the SSH application.
+ssh-application =
+
+# Default port for SSH connections.
+ssh-port = 22
+
+# Default user for SSH connections.
+ssh-user =
+
+# Default file with a SSH private key.
+ssh-keyfile =
+
+[session-darwin]
+
+# Parameters for the VNC application on Mac OS X.
+vnc-parameters = -nodimming -disableScreenSaver -bonjour 0
+
+[session-linux]
+
+# Parameters for the VNC application on Linux.
+vnc-parameters = -solid black -norc -noxrandr
+
+[session-windows]

+ 340 - 0
src/data/darwin/osxvnc/LICENSE.txt

@@ -0,0 +1,340 @@
+		    GNU GENERAL PUBLIC LICENSE
+		       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.
+                          59 Temple Place - Suite 330, Boston, MA
+                          02111-1307, USA.
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+			    Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Library General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+		    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+			    NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+		     END OF TERMS AND CONDITIONS
+
+	Appendix: How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) 19yy  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program 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.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License
+    along with this program; if not, write to the Free Software
+    Foundation, Inc., 59 Temple Place - Suite 330, Boston, MA 02111-1307, USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) 19yy name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Library General
+Public License instead of this License.

BIN
src/data/darwin/osxvnc/OSXvnc-server


BIN
src/data/icon.png


BIN
src/data/icon_connect_creating.png


BIN
src/data/icon_connect_established.png


BIN
src/data/icon_connect_no.png


BIN
src/data/icon_warning.png


+ 339 - 0
src/data/linux-amd64/x11vnc/LICENSE.txt

@@ -0,0 +1,339 @@
+                    GNU GENERAL PUBLIC LICENSE
+                       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                            Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+                    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without limitation in
+the term "modification".)  Each licensee is addressed as "you".
+
+Activities other than copying, distribution and modification are not
+covered by this License; they are outside its scope.  The act of
+running the Program is not restricted, and the output from the Program
+is covered only if its contents constitute a work based on the
+Program (independent of having been made by running the Program).
+Whether that is true depends on what the Program does.
+
+  1. You may copy and distribute verbatim copies of the Program's
+source code as you receive it, in any medium, provided that you
+conspicuously and appropriately publish on each copy an appropriate
+copyright notice and disclaimer of warranty; keep intact all the
+notices that refer to this License and to the absence of any warranty;
+and give any other recipients of the Program a copy of this License
+along with the Program.
+
+You may charge a fee for the physical act of transferring a copy, and
+you may at your option offer warranty protection in exchange for a fee.
+
+  2. You may modify your copy or copies of the Program or any portion
+of it, thus forming a work based on the Program, and copy and
+distribute such modifications or work under the terms of Section 1
+above, provided that you also meet all of these conditions:
+
+    a) You must cause the modified files to carry prominent notices
+    stating that you changed the files and the date of any change.
+
+    b) You must cause any work that you distribute or publish, that in
+    whole or in part contains or is derived from the Program or any
+    part thereof, to be licensed as a whole at no charge to all third
+    parties under the terms of this License.
+
+    c) If the modified program normally reads commands interactively
+    when run, you must cause it, when started running for such
+    interactive use in the most ordinary way, to print or display an
+    announcement including an appropriate copyright notice and a
+    notice that there is no warranty (or else, saying that you provide
+    a warranty) and that users may redistribute the program under
+    these conditions, and telling the user how to view a copy of this
+    License.  (Exception: if the Program itself is interactive but
+    does not normally print such an announcement, your work based on
+    the Program is not required to print an announcement.)
+
+These requirements apply to the modified work as a whole.  If
+identifiable sections of that work are not derived from the Program,
+and can be reasonably considered independent and separate works in
+themselves, then this License, and its terms, do not apply to those
+sections when you distribute them as separate works.  But when you
+distribute the same sections as part of a whole which is a work based
+on the Program, the distribution of the whole must be on the terms of
+this License, whose permissions for other licensees extend to the
+entire whole, and thus to each and every part regardless of who wrote it.
+
+Thus, it is not the intent of this section to claim rights or contest
+your rights to work written entirely by you; rather, the intent is to
+exercise the right to control the distribution of derivative or
+collective works based on the Program.
+
+In addition, mere aggregation of another work not based on the Program
+with the Program (or with a work based on the Program) on a volume of
+a storage or distribution medium does not bring the other work under
+the scope of this License.
+
+  3. You may copy and distribute the Program (or a work based on it,
+under Section 2) in object code or executable form under the terms of
+Sections 1 and 2 above provided that you also do one of the following:
+
+    a) Accompany it with the complete corresponding machine-readable
+    source code, which must be distributed under the terms of Sections
+    1 and 2 above on a medium customarily used for software interchange; or,
+
+    b) Accompany it with a written offer, valid for at least three
+    years, to give any third party, for a charge no more than your
+    cost of physically performing source distribution, a complete
+    machine-readable copy of the corresponding source code, to be
+    distributed under the terms of Sections 1 and 2 above on a medium
+    customarily used for software interchange; or,
+
+    c) Accompany it with the information you received as to the offer
+    to distribute corresponding source code.  (This alternative is
+    allowed only for noncommercial distribution and only if you
+    received the program in object code or executable form with such
+    an offer, in accord with Subsection b above.)
+
+The source code for a work means the preferred form of the work for
+making modifications to it.  For an executable work, complete source
+code means all the source code for all modules it contains, plus any
+associated interface definition files, plus the scripts used to
+control compilation and installation of the executable.  However, as a
+special exception, the source code distributed need not include
+anything that is normally distributed (in either source or binary
+form) with the major components (compiler, kernel, and so on) of the
+operating system on which the executable runs, unless that component
+itself accompanies the executable.
+
+If distribution of executable or object code is made by offering
+access to copy from a designated place, then offering equivalent
+access to copy the source code from the same place counts as
+distribution of the source code, even though third parties are not
+compelled to copy the source along with the object code.
+
+  4. You may not copy, modify, sublicense, or distribute the Program
+except as expressly provided under this License.  Any attempt
+otherwise to copy, modify, sublicense or distribute the Program is
+void, and will automatically terminate your rights under this License.
+However, parties who have received copies, or rights, from you under
+this License will not have their licenses terminated so long as such
+parties remain in full compliance.
+
+  5. You are not required to accept this License, since you have not
+signed it.  However, nothing else grants you permission to modify or
+distribute the Program or its derivative works.  These actions are
+prohibited by law if you do not accept this License.  Therefore, by
+modifying or distributing the Program (or any work based on the
+Program), you indicate your acceptance of this License to do so, and
+all its terms and conditions for copying, distributing or modifying
+the Program or works based on it.
+
+  6. Each time you redistribute the Program (or any work based on the
+Program), the recipient automatically receives a license from the
+original licensor to copy, distribute or modify the Program subject to
+these terms and conditions.  You may not impose any further
+restrictions on the recipients' exercise of the rights granted herein.
+You are not responsible for enforcing compliance by third parties to
+this License.
+
+  7. If, as a consequence of a court judgment or allegation of patent
+infringement or for any other reason (not limited to patent issues),
+conditions are imposed on you (whether by court order, agreement or
+otherwise) that contradict the conditions of this License, they do not
+excuse you from the conditions of this License.  If you cannot
+distribute so as to satisfy simultaneously your obligations under this
+License and any other pertinent obligations, then as a consequence you
+may not distribute the Program at all.  For example, if a patent
+license would not permit royalty-free redistribution of the Program by
+all those who receive copies directly or indirectly through you, then
+the only way you could satisfy both it and this License would be to
+refrain entirely from distribution of the Program.
+
+If any portion of this section is held invalid or unenforceable under
+any particular circumstance, the balance of the section is intended to
+apply and the section as a whole is intended to apply in other
+circumstances.
+
+It is not the purpose of this section to induce you to infringe any
+patents or other property right claims or to contest validity of any
+such claims; this section has the sole purpose of protecting the
+integrity of the free software distribution system, which is
+implemented by public license practices.  Many people have made
+generous contributions to the wide range of software distributed
+through that system in reliance on consistent application of that
+system; it is up to the author/donor to decide if he or she is willing
+to distribute software through any other system and a licensee cannot
+impose that choice.
+
+This section is intended to make thoroughly clear what is believed to
+be a consequence of the rest of this License.
+
+  8. If the distribution and/or use of the Program is restricted in
+certain countries either by patents or by copyrighted interfaces, the
+original copyright holder who places the Program under this License
+may add an explicit geographical distribution limitation excluding
+those countries, so that distribution is permitted only in or among
+countries not thus excluded.  In such case, this License incorporates
+the limitation as if written in the body of this License.
+
+  9. The Free Software Foundation may publish revised and/or new versions
+of the General Public License from time to time.  Such new versions will
+be similar in spirit to the present version, but may differ in detail to
+address new problems or concerns.
+
+Each version is given a distinguishing version number.  If the Program
+specifies a version number of this License which applies to it and "any
+later version", you have the option of following the terms and conditions
+either of that version or of any later version published by the Free
+Software Foundation.  If the Program does not specify a version number of
+this License, you may choose any version ever published by the Free Software
+Foundation.
+
+  10. If you wish to incorporate parts of the Program into other free
+programs whose distribution conditions are different, write to the author
+to ask for permission.  For software which is copyrighted by the Free
+Software Foundation, write to the Free Software Foundation; we sometimes
+make exceptions for this.  Our decision will be guided by the two goals
+of preserving the free status of all derivatives of our free software and
+of promoting the sharing and reuse of software generally.
+
+                            NO WARRANTY
+
+  11. BECAUSE THE PROGRAM IS LICENSED FREE OF CHARGE, THERE IS NO WARRANTY
+FOR THE PROGRAM, TO THE EXTENT PERMITTED BY APPLICABLE LAW.  EXCEPT WHEN
+OTHERWISE STATED IN WRITING THE COPYRIGHT HOLDERS AND/OR OTHER PARTIES
+PROVIDE THE PROGRAM "AS IS" WITHOUT WARRANTY OF ANY KIND, EITHER EXPRESSED
+OR IMPLIED, INCLUDING, BUT NOT LIMITED TO, THE IMPLIED WARRANTIES OF
+MERCHANTABILITY AND FITNESS FOR A PARTICULAR PURPOSE.  THE ENTIRE RISK AS
+TO THE QUALITY AND PERFORMANCE OF THE PROGRAM IS WITH YOU.  SHOULD THE
+PROGRAM PROVE DEFECTIVE, YOU ASSUME THE COST OF ALL NECESSARY SERVICING,
+REPAIR OR CORRECTION.
+
+  12. IN NO EVENT UNLESS REQUIRED BY APPLICABLE LAW OR AGREED TO IN WRITING
+WILL ANY COPYRIGHT HOLDER, OR ANY OTHER PARTY WHO MAY MODIFY AND/OR
+REDISTRIBUTE THE PROGRAM AS PERMITTED ABOVE, BE LIABLE TO YOU FOR DAMAGES,
+INCLUDING ANY GENERAL, SPECIAL, INCIDENTAL OR CONSEQUENTIAL DAMAGES ARISING
+OUT OF THE USE OR INABILITY TO USE THE PROGRAM (INCLUDING BUT NOT LIMITED
+TO LOSS OF DATA OR DATA BEING RENDERED INACCURATE OR LOSSES SUSTAINED BY
+YOU OR THIRD PARTIES OR A FAILURE OF THE PROGRAM TO OPERATE WITH ANY OTHER
+PROGRAMS), EVEN IF SUCH HOLDER OR OTHER PARTY HAS BEEN ADVISED OF THE
+POSSIBILITY OF SUCH DAMAGES.
+
+                     END OF TERMS AND CONDITIONS
+
+            How to Apply These Terms to Your New Programs
+
+  If you develop a new program, and you want it to be of the greatest
+possible use to the public, the best way to achieve this is to make it
+free software which everyone can redistribute and change under these terms.
+
+  To do so, attach the following notices to the program.  It is safest
+to attach them to the start of each source file to most effectively
+convey the exclusion of warranty; and each file should have at least
+the "copyright" line and a pointer to where the full notice is found.
+
+    <one line to give the program's name and a brief idea of what it does.>
+    Copyright (C) <year>  <name of author>
+
+    This program is free software; you can redistribute it and/or modify
+    it under the terms of the GNU General Public License as published by
+    the Free Software Foundation; either version 2 of the License, or
+    (at your option) any later version.
+
+    This program 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.  See the
+    GNU General Public License for more details.
+
+    You should have received a copy of the GNU General Public License along
+    with this program; if not, write to the Free Software Foundation, Inc.,
+    51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA.
+
+Also add information on how to contact you by electronic and paper mail.
+
+If the program is interactive, make it output a short notice like this
+when it starts in an interactive mode:
+
+    Gnomovision version 69, Copyright (C) year name of author
+    Gnomovision comes with ABSOLUTELY NO WARRANTY; for details type `show w'.
+    This is free software, and you are welcome to redistribute it
+    under certain conditions; type `show c' for details.
+
+The hypothetical commands `show w' and `show c' should show the appropriate
+parts of the General Public License.  Of course, the commands you use may
+be called something other than `show w' and `show c'; they could even be
+mouse-clicks or menu items--whatever suits your program.
+
+You should also get your employer (if you work as a programmer) or your
+school, if any, to sign a "copyright disclaimer" for the program, if
+necessary.  Here is a sample; alter the names:
+
+  Yoyodyne, Inc., hereby disclaims all copyright interest in the program
+  `Gnomovision' (which makes passes at compilers) written by James Hacker.
+
+  <signature of Ty Coon>, 1 April 1989
+  Ty Coon, President of Vice
+
+This General Public License does not permit incorporating your program into
+proprietary programs.  If your program is a subroutine library, you may
+consider it more useful to permit linking proprietary applications with the
+library.  If this is what you want to do, use the GNU Lesser General
+Public License instead of this License.

BIN
src/data/linux-amd64/x11vnc/x11vnc


+ 339 - 0
src/data/linux-i386/x11vnc/LICENSE.txt

@@ -0,0 +1,339 @@
+                    GNU GENERAL PUBLIC LICENSE
+                       Version 2, June 1991
+
+ Copyright (C) 1989, 1991 Free Software Foundation, Inc.,
+ 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301 USA
+ Everyone is permitted to copy and distribute verbatim copies
+ of this license document, but changing it is not allowed.
+
+                            Preamble
+
+  The licenses for most software are designed to take away your
+freedom to share and change it.  By contrast, the GNU General Public
+License is intended to guarantee your freedom to share and change free
+software--to make sure the software is free for all its users.  This
+General Public License applies to most of the Free Software
+Foundation's software and to any other program whose authors commit to
+using it.  (Some other Free Software Foundation software is covered by
+the GNU Lesser General Public License instead.)  You can apply it to
+your programs, too.
+
+  When we speak of free software, we are referring to freedom, not
+price.  Our General Public Licenses are designed to make sure that you
+have the freedom to distribute copies of free software (and charge for
+this service if you wish), that you receive source code or can get it
+if you want it, that you can change the software or use pieces of it
+in new free programs; and that you know you can do these things.
+
+  To protect your rights, we need to make restrictions that forbid
+anyone to deny you these rights or to ask you to surrender the rights.
+These restrictions translate to certain responsibilities for you if you
+distribute copies of the software, or if you modify it.
+
+  For example, if you distribute copies of such a program, whether
+gratis or for a fee, you must give the recipients all the rights that
+you have.  You must make sure that they, too, receive or can get the
+source code.  And you must show them these terms so they know their
+rights.
+
+  We protect your rights with two steps: (1) copyright the software, and
+(2) offer you this license which gives you legal permission to copy,
+distribute and/or modify the software.
+
+  Also, for each author's protection and ours, we want to make certain
+that everyone understands that there is no warranty for this free
+software.  If the software is modified by someone else and passed on, we
+want its recipients to know that what they have is not the original, so
+that any problems introduced by others will not reflect on the original
+authors' reputations.
+
+  Finally, any free program is threatened constantly by software
+patents.  We wish to avoid the danger that redistributors of a free
+program will individually obtain patent licenses, in effect making the
+program proprietary.  To prevent this, we have made it clear that any
+patent must be licensed for everyone's free use or not licensed at all.
+
+  The precise terms and conditions for copying, distribution and
+modification follow.
+
+                    GNU GENERAL PUBLIC LICENSE
+   TERMS AND CONDITIONS FOR COPYING, DISTRIBUTION AND MODIFICATION
+
+  0. This License applies to any program or other work which contains
+a notice placed by the copyright holder saying it may be distributed
+under the terms of this General Public License.  The "Program", below,
+refers to any such program or work, and a "work based on the Program"
+means either the Program or any derivative work under copyright law:
+that is to say, a work containing the Program or a portion of it,
+either verbatim or with modifications and/or translated into another
+language.  (Hereinafter, translation is included without