summaryrefslogtreecommitdiffstats
path: root/x11vnc/misc/enhanced_tightvnc_viewer/src
diff options
context:
space:
mode:
Diffstat (limited to 'x11vnc/misc/enhanced_tightvnc_viewer/src')
-rwxr-xr-xx11vnc/misc/enhanced_tightvnc_viewer/src/patches/_bundle91
-rw-r--r--x11vnc/misc/enhanced_tightvnc_viewer/src/zips/README2
2 files changed, 71 insertions, 22 deletions
diff --git a/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/_bundle b/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/_bundle
index 00e347a..54010b1 100755
--- a/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/_bundle
+++ b/x11vnc/misc/enhanced_tightvnc_viewer/src/patches/_bundle
@@ -1,35 +1,84 @@
#!/bin/sh
rm -rf ./src/tmp/* || exit 1
-vers=1.0.7
+vers=1.0.8
cd .. || exit 1
-if [ -f enhanced_tightvnc_viewer-$vers.zip ]; then
- mv enhanced_tightvnc_viewer-$vers.zip enhanced_tightvnc_viewer-$vers.zip~
+###########################################
+dest=./t.unix_only
+rm -rf $dest
+mkdir -p $dest || exit 1
+
+tar cvf - ssvnc/{README,COPYING} ssvnc/bin ssvnc/Unix | (cd $dest; tar xvf -)
+rm -f $dest/ssvnc/bin/.linkin
+
+tar=ssvnc_unix_only-${vers}.tar.gz
+(cd $dest; tar czvf ../$tar ssvnc)
+ls -l $tar
+rm -rf $dest
+
+###########################################
+dest=./t.unix_minimal
+rm -rf $dest
+mkdir -p $dest || exit 1
+
+#tar cvf - ssvnc/{README,COPYING} ssvnc/bin/{ss*,util/ss*} ssvnc/Unix | (cd $dest; tar xvf -)
+tar cvf - ssvnc/{README,COPYING} ssvnc/bin/{ss*,util/ss*} | (cd $dest; tar xvf -)
+
+tar=ssvnc_unix_minimal-${vers}.tar.gz
+(cd $dest; tar czvf ../$tar ssvnc)
+ls -l $tar
+rm -rf $dest
+
+top='#!/bin/sh
+n=11
+tmp=`mktemp -d "/tmp/ssvnc.XXXXXX"` || exit 1
+if [ "X$tmp" = "X" -o ! -d "$tmp" ]; then exit 1; fi
+trap "cd /tmp; rm -rf $tmp" 0 2 15
+
+tail +$n "$0" | (cd $tmp; tar xf -) || exit 1
+$tmp/bin/ssvnc "$@"
+exit 0
+data__() {'
+
+scr=./ssvnc.sh
+echo "$top" > $scr
+(cd ssvnc; tar cvf - README COPYING bin/{ss*,util/ss*}) >> $scr
+chmod 755 $scr
+ls -l $scr
+
+if [ "X$1" = "Xquick" ]; then
+ exit 0
fi
-rm -f enhanced_tightvnc_viewer_all-$vers.zip
-rm -f enhanced_tightvnc_viewer-$vers.zip
-zip -9 -r enhanced_tightvnc_viewer_all-$vers.zip enhanced_tightvnc_viewer
-zip -9 -r enhanced_tightvnc_viewer-$vers.zip enhanced_tightvnc_viewer -x '*.zip' '*.tar.gz'
-tar cvf - --exclude='*.zip' --exclude='*.tar.gz' enhanced_tightvnc_viewer | gzip -9 > enhanced_tightvnc_viewer-$vers.tar.gz
-tar cvf - --exclude='*.zip' --exclude='*.tar.gz' --exclude='*.dll' --exclude='*.exe' --exclude enhanced_tightvnc_viewer/Windows/util enhanced_tightvnc_viewer | gzip -9 > enhanced_tightvnc_viewer_no_windows-$vers.tar.gz
-ls -l enhanced_tightvnc_viewer*-$vers.*
+###########################################
+rm -f ssvnc_all-$vers.zip
+rm -f ssvnc-$vers.zip
+zip -9 -r ssvnc_all-$vers.zip ssvnc
+zip -9 -r ssvnc-$vers.zip ssvnc -x '*.zip' '*.tar.gz'
+tar cvf - --exclude='*.zip' --exclude='*.tar.gz' ssvnc | gzip -9 > ssvnc-$vers.tar.gz
+tar cvf - --exclude='*.zip' --exclude='*.tar.gz' --exclude='*.dll' --exclude='*.exe' --exclude ssvnc/Windows/util ssvnc | gzip -9 > ssvnc_no_windows-$vers.tar.gz
+
+ls -l ssvnc*-$vers.*
###########################################
+dest=./t.windows_only
+rm -rf ${dest}
+mkdir -p $dest || exit 1
-rm -rf enhanced_tightvnc_viewer_windows_only-${vers}*
+cp -pR ssvnc $dest
+rm -rf $dest/ssvnc/{src,bin,man}
+rm -rf $dest/ssvnc/MacOSX
+rm -rf $dest/ssvnc/Unix
+rm -f $dest/ssvnc/build.unix
+rm -f $dest/ssvnc/filelist.txt
+cp -p ssvnc/bin/util/ssvnc.tcl $dest/ssvnc/Windows/util
-cp -pR enhanced_tightvnc_viewer enhanced_tightvnc_viewer_windows_only-$vers
-rm -rf enhanced_tightvnc_viewer_windows_only-$vers/{src,bin,man}/*
-rm -rf enhanced_tightvnc_viewer_windows_only-$vers/bin/.linkin
-rm -rf enhanced_tightvnc_viewer_windows_only-$vers/MacOSX
-rm -rf enhanced_tightvnc_viewer_windows_only-$vers/Unix
-cp -p enhanced_tightvnc_viewer/bin/util/ssl_tightvncviewer.tcl enhanced_tightvnc_viewer_windows_only-$vers/Windows/util
+zip=ssvnc_windows_only-${vers}.zip
+rm -f $zip
+(cd $dest; zip -9 -r ../$zip ssvnc)
-rm -f enhanced_tightvnc_viewer_windows_only-$vers.zip
-zip -9 -r enhanced_tightvnc_viewer_windows_only-$vers.zip enhanced_tightvnc_viewer_windows_only-$vers
+ls -l $zip
+rm -rf $dest
-ls -l enhanced_tightvnc_viewer_windows_only-$vers.zip
-rm -rf enhanced_tightvnc_viewer_windows_only-${vers}
diff --git a/x11vnc/misc/enhanced_tightvnc_viewer/src/zips/README b/x11vnc/misc/enhanced_tightvnc_viewer/src/zips/README
index e2405b2..a211377 100644
--- a/x11vnc/misc/enhanced_tightvnc_viewer/src/zips/README
+++ b/x11vnc/misc/enhanced_tightvnc_viewer/src/zips/README
@@ -8,7 +8,7 @@ www.tightvnc.com windows
standalone viewer binary: 209149 Jul 25 15:10 tightvnc-1.3dev7_x86_viewer.zip
To save space they may not be included in the package you downloaded.
-The should be included in the "enhanced_tightvnc_viewer_all-<version>.zip" file.
+The should be included in the "ssvnc_all-<version>.zip" file.
Go to the websites indicated above or contact me if you cannot find them.
The stunnel.patched.tar vnc_unixsrc_vncviewer.patched.tar